From a2f680df782e474c545f8a413820281163319f36 Mon Sep 17 00:00:00 2001 From: Asaf Shushan Date: Sun, 31 Mar 2024 11:07:07 +0300 Subject: [PATCH] version_3_0_6_beta --- README.md | 10 +- api/exchange-accounts-api.ts | 66 ----- api/job-management-api.ts | 12 +- api/users-api.ts | 6 +- api/vaults-api.ts | 246 +----------------- client/client.ts | 12 +- docs/apis/ExchangeAccountsApi.md | 55 ---- docs/apis/NFTsApi.md | 20 +- docs/apis/OTABetaApi.md | 4 +- docs/apis/UsersApi.md | 8 +- docs/apis/VaultsApi.md | 182 ++----------- docs/models/AssetTypeResponse.md | 25 -- docs/models/ChainInfoResponseDto.md | 2 +- docs/models/CreateConnectionResponse.md | 2 +- docs/models/CreateInternalWalletRequest.md | 13 - docs/models/CreateTicket201Response.md | 13 - docs/models/CreateTicketTerm201Response.md | 13 - .../CreateVaultAccountAssetAddressRequest.md | 13 - docs/models/CreateVaultAccountAssetRequest.md | 12 - docs/models/DelegationDto.md | 2 +- docs/models/DestinationTransferPeerPath.md | 71 +---- docs/models/ExecuteAction201Response.md | 12 - docs/models/FindTicketById200Response.md | 13 - docs/models/FindTicketTermById200Response.md | 13 - ....md => GasStationConfigurationResponse.md} | 7 +- docs/models/GasStationPropertiesResponse.md | 2 +- docs/models/GetAssetBalanceRequest.md | 14 - .../GetSmartTransferUserGroups200Response.md | 13 - docs/models/GetUsersResponse.md | 12 - docs/models/NetworkConnectionResponse.md | 6 +- docs/models/NetworkConnectionStatus.md | 26 ++ docs/models/PolicyRule.md | 12 +- docs/models/PublishPolicyRulesRequest.md | 12 - docs/models/RedeemFundsToLinkedDdaRequest.md | 12 - docs/models/RequestOptions.md | 13 - docs/models/SearchTickets200Response.md | 14 - docs/models/SessionDTO.md | 2 +- .../SetAutoFuelForVaultAccountRequest.md | 12 - .../SetCustomerRefIdForVaultAccountRequest.md | 12 - .../SetDiscoverabilityForNetworkIdRequest.md | 12 - .../SetRoutingPolicyForNetworkIdRequest.md | 12 - docs/models/SetUserGroups201Response.md | 13 - docs/models/SmartTransferCreateTicketDto.md | 25 -- .../SmartTransferCreateTicketTermDto.md | 15 -- docs/models/SmartTransferFundTermDto.md | 18 -- .../SmartTransferManuallyFundTermDto.md | 12 - .../SmartTransferSetTicketExpirationDto.md | 12 - .../SmartTransferSetTicketExternalIdDto.md | 12 - docs/models/SmartTransferSetUserGroupsDto.md | 12 - docs/models/SmartTransferSubmitTicketDto.md | 12 - docs/models/SmartTransferTicketDto.md | 70 ----- .../SmartTransferTicketFilteredResponseDto.md | 14 - docs/models/SmartTransferTicketResponseDto.md | 13 - .../SmartTransferTicketResponseDtoData.md | 70 ----- docs/models/SmartTransferTicketTermDto.md | 78 ------ .../SmartTransferTicketTermResponseDto.md | 13 - .../SmartTransferTicketTermResponseDtoData.md | 78 ------ .../SmartTransferUpdateTicketTermDto.md | 15 -- docs/models/SmartTransferUserGroupsDto.md | 12 - .../SmartTransferUserGroupsResponseDto.md | 13 - .../SmartTransferUserGroupsResponseDtoData.md | 12 - docs/models/SourceTransferPeerPath.md | 16 ++ docs/models/TokenOwnershipResponse.md | 4 +- docs/models/TokenResponse.md | 4 +- docs/models/TransactionRequest.md | 2 +- docs/models/TransactionResponse.md | 1 + ...PeerPath.md => TransferPeerPathSubType.md} | 17 +- .../models/TravelRuleConfigurationsRequest.md | 14 - .../TravelRuleCreateTransactionRequest.md | 12 +- docs/models/TravelRulePolicyResponse.md | 16 -- ...lRuleProviderRulesConfigurationResponse.md | 60 ----- ...ravelRuleValidateFullTransactionRequest.md | 12 +- .../TravelRuleValidateTransactionRequest.md | 2 +- docs/models/UnmanagedWallet.md | 2 +- docs/models/UpdateDraftRequest.md | 12 - docs/models/{Ncw.md => VaultActionStatus.md} | 4 +- models/asset-type-response.ts | 18 +- models/chain-info-response-dto.ts | 2 +- .../check-third-party-routing200-response.ts | 36 --- models/create-connection-response.ts | 2 +- models/create-internal-wallet-request.ts | 36 --- models/create-ticket-term201-response.ts | 29 --- models/create-ticket201-response.ts | 29 --- ...ate-vault-account-asset-address-request.ts | 36 --- models/create-vault-account-asset-request.ts | 30 --- models/delegation-dto.ts | 2 +- models/destination-transfer-peer-path.ts | 45 +++- models/execute-action201-response.ts | 26 -- models/fiat-account.ts | 2 +- models/find-ticket-by-id200-response.ts | 29 --- models/find-ticket-term-by-id200-response.ts | 29 --- ... => gas-station-configuration-response.ts} | 22 +- models/gas-station-properties-response.ts | 6 +- ...-smart-transfer-user-groups200-response.ts | 29 --- models/get-users-response.ts | 33 --- models/index.ts | 7 +- models/network-connection-response.ts | 14 +- models/network-connection-status.ts | 38 +++ models/policy-rule-amount.ts | 6 +- models/policy-rule.ts | 12 +- models/publish-policy-rules-request.ts | 33 --- models/redeem-funds-to-linked-dda-request.ts | 30 --- models/request-options.ts | 39 --- models/search-tickets200-response.ts | 29 --- models/session-dto.ts | 2 +- ...set-auto-fuel-for-vault-account-request.ts | 30 --- ...stomer-ref-id-for-vault-account-request.ts | 30 --- ...-discoverability-for-network-id-request.ts | 30 --- ...t-routing-policy-for-network-id-request.ts | 33 --- models/set-user-groups201-response.ts | 29 --- models/smart-transfer-create-ticket-dto.ts | 76 ------ .../smart-transfer-create-ticket-term-dto.ts | 48 ---- models/smart-transfer-fund-term-dto.ts | 66 ----- .../smart-transfer-manually-fund-term-dto.ts | 30 --- ...mart-transfer-set-ticket-expiration-dto.ts | 30 --- ...art-transfer-set-ticket-external-id-dto.ts | 30 --- models/smart-transfer-set-user-groups-dto.ts | 30 --- models/smart-transfer-submit-ticket-dto.ts | 30 --- models/smart-transfer-ticket-dto.ts | 173 ------------ ...t-transfer-ticket-filtered-response-dto.ts | 45 ---- ...smart-transfer-ticket-response-dto-data.ts | 30 --- models/smart-transfer-ticket-response-dto.ts | 39 --- models/smart-transfer-ticket-term-dto.ts | 145 ----------- ...-transfer-ticket-term-response-dto-data.ts | 27 -- ...smart-transfer-ticket-term-response-dto.ts | 39 --- .../smart-transfer-update-ticket-term-dto.ts | 48 ---- models/smart-transfer-user-groups-dto.ts | 30 --- ...-transfer-user-groups-response-dto-data.ts | 27 -- ...smart-transfer-user-groups-response-dto.ts | 39 --- models/source-transfer-peer-path.ts | 62 +++++ models/token-ownership-response.ts | 4 +- models/token-response.ts | 4 +- models/transaction-request.ts | 10 +- models/transaction-response.ts | 6 + ...path.ts => transfer-peer-path-sub-type.ts} | 42 +-- models/travel-rule-configurations-request.ts | 42 --- .../travel-rule-create-transaction-request.ts | 12 +- models/travel-rule-policy-response.ts | 57 ---- ...e-provider-rules-configuration-response.ts | 88 ------- ...-rule-validate-full-transaction-request.ts | 12 +- ...ravel-rule-validate-transaction-request.ts | 2 +- models/unmanaged-wallet.ts | 8 +- models/update-draft-request.ts | 33 --- models/{ncw.ts => vault-action-status.ts} | 10 +- package-lock.json | 218 ++++++---------- package.json | 29 ++- tests/client.spec.ts | 70 ++--- 147 files changed, 507 insertions(+), 3702 deletions(-) delete mode 100644 docs/models/CreateInternalWalletRequest.md delete mode 100644 docs/models/CreateTicket201Response.md delete mode 100644 docs/models/CreateTicketTerm201Response.md delete mode 100644 docs/models/CreateVaultAccountAssetAddressRequest.md delete mode 100644 docs/models/CreateVaultAccountAssetRequest.md delete mode 100644 docs/models/ExecuteAction201Response.md delete mode 100644 docs/models/FindTicketById200Response.md delete mode 100644 docs/models/FindTicketTermById200Response.md rename docs/models/{CheckThirdPartyRouting200Response.md => GasStationConfigurationResponse.md} (57%) delete mode 100644 docs/models/GetAssetBalanceRequest.md delete mode 100644 docs/models/GetSmartTransferUserGroups200Response.md delete mode 100644 docs/models/GetUsersResponse.md create mode 100644 docs/models/NetworkConnectionStatus.md delete mode 100644 docs/models/PublishPolicyRulesRequest.md delete mode 100644 docs/models/RedeemFundsToLinkedDdaRequest.md delete mode 100644 docs/models/RequestOptions.md delete mode 100644 docs/models/SearchTickets200Response.md delete mode 100644 docs/models/SetAutoFuelForVaultAccountRequest.md delete mode 100644 docs/models/SetCustomerRefIdForVaultAccountRequest.md delete mode 100644 docs/models/SetDiscoverabilityForNetworkIdRequest.md delete mode 100644 docs/models/SetRoutingPolicyForNetworkIdRequest.md delete mode 100644 docs/models/SetUserGroups201Response.md delete mode 100644 docs/models/SmartTransferCreateTicketDto.md delete mode 100644 docs/models/SmartTransferCreateTicketTermDto.md delete mode 100644 docs/models/SmartTransferFundTermDto.md delete mode 100644 docs/models/SmartTransferManuallyFundTermDto.md delete mode 100644 docs/models/SmartTransferSetTicketExpirationDto.md delete mode 100644 docs/models/SmartTransferSetTicketExternalIdDto.md delete mode 100644 docs/models/SmartTransferSetUserGroupsDto.md delete mode 100644 docs/models/SmartTransferSubmitTicketDto.md delete mode 100644 docs/models/SmartTransferTicketDto.md delete mode 100644 docs/models/SmartTransferTicketFilteredResponseDto.md delete mode 100644 docs/models/SmartTransferTicketResponseDto.md delete mode 100644 docs/models/SmartTransferTicketResponseDtoData.md delete mode 100644 docs/models/SmartTransferTicketTermDto.md delete mode 100644 docs/models/SmartTransferTicketTermResponseDto.md delete mode 100644 docs/models/SmartTransferTicketTermResponseDtoData.md delete mode 100644 docs/models/SmartTransferUpdateTicketTermDto.md delete mode 100644 docs/models/SmartTransferUserGroupsDto.md delete mode 100644 docs/models/SmartTransferUserGroupsResponseDto.md delete mode 100644 docs/models/SmartTransferUserGroupsResponseDtoData.md create mode 100644 docs/models/SourceTransferPeerPath.md rename docs/models/{TransferPeerPath.md => TransferPeerPathSubType.md} (71%) delete mode 100644 docs/models/TravelRuleConfigurationsRequest.md delete mode 100644 docs/models/TravelRulePolicyResponse.md delete mode 100644 docs/models/TravelRuleProviderRulesConfigurationResponse.md delete mode 100644 docs/models/UpdateDraftRequest.md rename docs/models/{Ncw.md => VaultActionStatus.md} (78%) delete mode 100644 models/check-third-party-routing200-response.ts delete mode 100644 models/create-internal-wallet-request.ts delete mode 100644 models/create-ticket-term201-response.ts delete mode 100644 models/create-ticket201-response.ts delete mode 100644 models/create-vault-account-asset-address-request.ts delete mode 100644 models/create-vault-account-asset-request.ts delete mode 100644 models/execute-action201-response.ts delete mode 100644 models/find-ticket-by-id200-response.ts delete mode 100644 models/find-ticket-term-by-id200-response.ts rename models/{get-asset-balance-request.ts => gas-station-configuration-response.ts} (57%) delete mode 100644 models/get-smart-transfer-user-groups200-response.ts delete mode 100644 models/get-users-response.ts create mode 100644 models/network-connection-status.ts delete mode 100644 models/publish-policy-rules-request.ts delete mode 100644 models/redeem-funds-to-linked-dda-request.ts delete mode 100644 models/request-options.ts delete mode 100644 models/search-tickets200-response.ts delete mode 100644 models/set-auto-fuel-for-vault-account-request.ts delete mode 100644 models/set-customer-ref-id-for-vault-account-request.ts delete mode 100644 models/set-discoverability-for-network-id-request.ts delete mode 100644 models/set-routing-policy-for-network-id-request.ts delete mode 100644 models/set-user-groups201-response.ts delete mode 100644 models/smart-transfer-create-ticket-dto.ts delete mode 100644 models/smart-transfer-create-ticket-term-dto.ts delete mode 100644 models/smart-transfer-fund-term-dto.ts delete mode 100644 models/smart-transfer-manually-fund-term-dto.ts delete mode 100644 models/smart-transfer-set-ticket-expiration-dto.ts delete mode 100644 models/smart-transfer-set-ticket-external-id-dto.ts delete mode 100644 models/smart-transfer-set-user-groups-dto.ts delete mode 100644 models/smart-transfer-submit-ticket-dto.ts delete mode 100644 models/smart-transfer-ticket-dto.ts delete mode 100644 models/smart-transfer-ticket-filtered-response-dto.ts delete mode 100644 models/smart-transfer-ticket-response-dto-data.ts delete mode 100644 models/smart-transfer-ticket-response-dto.ts delete mode 100644 models/smart-transfer-ticket-term-dto.ts delete mode 100644 models/smart-transfer-ticket-term-response-dto-data.ts delete mode 100644 models/smart-transfer-ticket-term-response-dto.ts delete mode 100644 models/smart-transfer-update-ticket-term-dto.ts delete mode 100644 models/smart-transfer-user-groups-dto.ts delete mode 100644 models/smart-transfer-user-groups-response-dto-data.ts delete mode 100644 models/smart-transfer-user-groups-response-dto.ts create mode 100644 models/source-transfer-peer-path.ts rename models/{transfer-peer-path.ts => transfer-peer-path-sub-type.ts} (58%) delete mode 100644 models/travel-rule-configurations-request.ts delete mode 100644 models/travel-rule-policy-response.ts delete mode 100644 models/travel-rule-provider-rules-configuration-response.ts delete mode 100644 models/update-draft-request.ts rename models/{ncw.ts => vault-action-status.ts} (75%) diff --git a/README.md b/README.md index 2ae65d0..dd89ba7 100644 --- a/README.md +++ b/README.md @@ -159,7 +159,6 @@ Class | Method | HTTP request | Description *ExchangeAccountsApi* | [**convertAssets**](docs/apis/ExchangeAccountsApi.md#convertAssets) | **POST** /exchange_accounts/{exchangeAccountId}/convert | Convert exchange account funds from the source asset to the destination asset. *ExchangeAccountsApi* | [**getExchangeAccount**](docs/apis/ExchangeAccountsApi.md#getExchangeAccount) | **GET** /exchange_accounts/{exchangeAccountId} | Find a specific exchange account *ExchangeAccountsApi* | [**getExchangeAccountAsset**](docs/apis/ExchangeAccountsApi.md#getExchangeAccountAsset) | **GET** /exchange_accounts/{exchangeAccountId}/{assetId} | Find an asset for an exchange account -*ExchangeAccountsApi* | [**getExchangeAccounts**](docs/apis/ExchangeAccountsApi.md#getExchangeAccounts) | **GET** /exchange_accounts | List exchange accounts *ExchangeAccountsApi* | [**getPagedExchangeAccounts**](docs/apis/ExchangeAccountsApi.md#getPagedExchangeAccounts) | **GET** /exchange_accounts/paged | Pagination list exchange accounts *ExchangeAccountsApi* | [**internalTransfer**](docs/apis/ExchangeAccountsApi.md#internalTransfer) | **POST** /exchange_accounts/{exchangeAccountId}/internal_transfer | Internal transfer for exchange accounts *ExternalWalletsApi* | [**addAssetToExternalWallet**](docs/apis/ExternalWalletsApi.md#addAssetToExternalWallet) | **POST** /external_wallets/{walletId}/{assetId} | Add an asset to an external wallet. @@ -294,9 +293,7 @@ Class | Method | HTTP request | Description *VaultsApi* | [**getUnspentInputs**](docs/apis/VaultsApi.md#getUnspentInputs) | **GET** /vault/accounts/{vaultAccountId}/{assetId}/unspent_inputs | Get UTXO unspent inputs information *VaultsApi* | [**getVaultAccount**](docs/apis/VaultsApi.md#getVaultAccount) | **GET** /vault/accounts/{vaultAccountId} | Find a vault account by ID *VaultsApi* | [**getVaultAccountAsset**](docs/apis/VaultsApi.md#getVaultAccountAsset) | **GET** /vault/accounts/{vaultAccountId}/{assetId} | Get the asset balance for a vault account -*VaultsApi* | [**getVaultAccountAssetAddresses**](docs/apis/VaultsApi.md#getVaultAccountAssetAddresses) | **GET** /vault/accounts/{vaultAccountId}/{assetId}/addresses | Get asset addresses *VaultsApi* | [**getVaultAccountAssetAddressesPaginated**](docs/apis/VaultsApi.md#getVaultAccountAssetAddressesPaginated) | **GET** /vault/accounts/{vaultAccountId}/{assetId}/addresses_paginated | List addresses (Paginated) -*VaultsApi* | [**getVaultAccounts**](docs/apis/VaultsApi.md#getVaultAccounts) | **GET** /vault/accounts | List vault accounts *VaultsApi* | [**getVaultAssets**](docs/apis/VaultsApi.md#getVaultAssets) | **GET** /vault/assets | Get asset balance for chosen assets *VaultsApi* | [**getVaultBalanceByAsset**](docs/apis/VaultsApi.md#getVaultBalanceByAsset) | **GET** /vault/assets/{assetId} | Get vault balance by asset *VaultsApi* | [**hideVaultAccount**](docs/apis/VaultsApi.md#hideVaultAccount) | **POST** /vault/accounts/{vaultAccountId}/hide | Hide a vault account in the console @@ -402,6 +399,7 @@ Class | Method | HTTP request | Description - [FreezeTransactionResponse](docs/models/FreezeTransactionResponse.md) - [Funds](docs/models/Funds.md) - [GasStationConfiguration](docs/models/GasStationConfiguration.md) + - [GasStationConfigurationResponse](docs/models/GasStationConfigurationResponse.md) - [GasStationPropertiesResponse](docs/models/GasStationPropertiesResponse.md) - [GetAuditLogsResponseDTO](docs/models/GetAuditLogsResponseDTO.md) - [GetConnectionsResponse](docs/models/GetConnectionsResponse.md) @@ -409,7 +407,6 @@ Class | Method | HTTP request | Description - [GetOtaStatus200Response](docs/models/GetOtaStatus200Response.md) - [GetOwnershipTokens200Response](docs/models/GetOwnershipTokens200Response.md) - [GetTransactionOperation](docs/models/GetTransactionOperation.md) - - [GetUsersResponse](docs/models/GetUsersResponse.md) - [GetWorkspaceStatus200Response](docs/models/GetWorkspaceStatus200Response.md) - [InstructionAmount](docs/models/InstructionAmount.md) - [Job](docs/models/Job.md) @@ -426,6 +423,7 @@ Class | Method | HTTP request | Description - [NetworkConnectionRoutingPolicySenTest](docs/models/NetworkConnectionRoutingPolicySenTest.md) - [NetworkConnectionRoutingPolicySignet](docs/models/NetworkConnectionRoutingPolicySignet.md) - [NetworkConnectionRoutingPolicySignetTest](docs/models/NetworkConnectionRoutingPolicySignetTest.md) + - [NetworkConnectionStatus](docs/models/NetworkConnectionStatus.md) - [NetworkFee](docs/models/NetworkFee.md) - [NetworkId](docs/models/NetworkId.md) - [NetworkIdResponse](docs/models/NetworkIdResponse.md) @@ -530,6 +528,7 @@ Class | Method | HTTP request | Description - [SmartTransferUserGroups](docs/models/SmartTransferUserGroups.md) - [SmartTransferUserGroupsResponse](docs/models/SmartTransferUserGroupsResponse.md) - [SolanaBlockchainDataDto](docs/models/SolanaBlockchainDataDto.md) + - [SourceTransferPeerPath](docs/models/SourceTransferPeerPath.md) - [SourceTransferPeerPathResponse](docs/models/SourceTransferPeerPathResponse.md) - [SpamOwnershipResponse](docs/models/SpamOwnershipResponse.md) - [SpamTokenResponse](docs/models/SpamTokenResponse.md) @@ -562,7 +561,7 @@ Class | Method | HTTP request | Description - [TransactionResponse](docs/models/TransactionResponse.md) - [TransactionResponseContractCallDecodedData](docs/models/TransactionResponseContractCallDecodedData.md) - [TransactionResponseDestination](docs/models/TransactionResponseDestination.md) - - [TransferPeerPath](docs/models/TransferPeerPath.md) + - [TransferPeerPathSubType](docs/models/TransferPeerPathSubType.md) - [TransferPeerPathType](docs/models/TransferPeerPathType.md) - [TravelRuleAddress](docs/models/TravelRuleAddress.md) - [TravelRuleCreateTransactionRequest](docs/models/TravelRuleCreateTransactionRequest.md) @@ -596,6 +595,7 @@ Class | Method | HTTP request | Description - [VaultAccount](docs/models/VaultAccount.md) - [VaultAccountsPagedResponse](docs/models/VaultAccountsPagedResponse.md) - [VaultAccountsPagedResponsePaging](docs/models/VaultAccountsPagedResponsePaging.md) + - [VaultActionStatus](docs/models/VaultActionStatus.md) - [VaultAsset](docs/models/VaultAsset.md) - [VaultWalletAddress](docs/models/VaultWalletAddress.md) - [WalletAsset](docs/models/WalletAsset.md) diff --git a/api/exchange-accounts-api.ts b/api/exchange-accounts-api.ts index 5135f86..8383b54 100644 --- a/api/exchange-accounts-api.ts +++ b/api/exchange-accounts-api.ts @@ -149,37 +149,6 @@ export const ExchangeAccountsApiAxiosParamCreator = function (configuration?: Co - setSearchParams(localVarUrlObj, localVarQueryParameter); - let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; - localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; - - return { - url: toPathString(localVarUrlObj), - options: localVarRequestOptions, - }; - }, - /** - * Deprecated (use new \'paged\' endpoint) - Returns all exchange accounts. - * @summary List exchange accounts - * @param {*} [options] Override http request option. - * @deprecated - * @throws {RequiredError} - */ - getExchangeAccounts: async (options: RawAxiosRequestConfig = {}): Promise => { - const localVarPath = `/exchange_accounts`; - // 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}; @@ -331,19 +300,6 @@ export const ExchangeAccountsApiFp = function(configuration?: Configuration) { const operationBasePath = operationServerMap['ExchangeAccountsApi.getExchangeAccountAsset']?.[index]?.url; return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, - /** - * Deprecated (use new \'paged\' endpoint) - Returns all exchange accounts. - * @summary List exchange accounts - * @param {*} [options] Override http request option. - * @deprecated - * @throws {RequiredError} - */ - async getExchangeAccounts(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { - const localVarAxiosArgs = await localVarAxiosParamCreator.getExchangeAccounts(options); - const index = configuration?.serverIndex ?? 0; - const operationBasePath = operationServerMap['ExchangeAccountsApi.getExchangeAccounts']?.[index]?.url; - return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); - }, /** * Returns a page include exchange accounts. * @summary Pagination list exchange accounts @@ -414,16 +370,6 @@ export const ExchangeAccountsApiFactory = function (configuration?: Configuratio getExchangeAccountAsset(requestParameters: ExchangeAccountsApiGetExchangeAccountAssetRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.getExchangeAccountAsset(requestParameters.exchangeAccountId, requestParameters.assetId, options).then((request) => request(axios, basePath)); }, - /** - * Deprecated (use new \'paged\' endpoint) - Returns all exchange accounts. - * @summary List exchange accounts - * @param {*} [options] Override http request option. - * @deprecated - * @throws {RequiredError} - */ - getExchangeAccounts(options?: RawAxiosRequestConfig): AxiosPromise> { - return localVarFp.getExchangeAccounts(options).then((request) => request(axios, basePath)); - }, /** * Returns a page include exchange accounts. * @summary Pagination list exchange accounts @@ -609,18 +555,6 @@ export class ExchangeAccountsApi extends BaseAPI { return ExchangeAccountsApiFp(this.configuration).getExchangeAccountAsset(requestParameters.exchangeAccountId, requestParameters.assetId).then((request) => request(this.axios, this.basePath)).then(convertToFireblocksResponse); } - /** - * Deprecated (use new \'paged\' endpoint) - Returns all exchange accounts. - * @summary List exchange accounts - * @param {*} [options] Override http request option. - * @deprecated - * @throws {RequiredError} - * @memberof ExchangeAccountsApi - */ - public getExchangeAccounts() { - return ExchangeAccountsApiFp(this.configuration).getExchangeAccounts().then((request) => request(this.axios, this.basePath)).then(convertToFireblocksResponse); - } - /** * Returns a page include exchange accounts. * @summary Pagination list exchange accounts diff --git a/api/job-management-api.ts b/api/job-management-api.ts index 51f0f60..c0f0171 100644 --- a/api/job-management-api.ts +++ b/api/job-management-api.ts @@ -66,7 +66,7 @@ export const JobManagementApiAxiosParamCreator = function (configuration?: Confi } - + setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -105,7 +105,7 @@ export const JobManagementApiAxiosParamCreator = function (configuration?: Confi } - + setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -139,7 +139,7 @@ export const JobManagementApiAxiosParamCreator = function (configuration?: Confi const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -173,7 +173,7 @@ export const JobManagementApiAxiosParamCreator = function (configuration?: Confi const localVarQueryParameter = {} as any; - + setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -213,7 +213,7 @@ export const JobManagementApiAxiosParamCreator = function (configuration?: Confi } - + setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -252,7 +252,7 @@ export const JobManagementApiAxiosParamCreator = function (configuration?: Confi } - + setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; diff --git a/api/users-api.ts b/api/users-api.ts index 617377f..259d8c9 100644 --- a/api/users-api.ts +++ b/api/users-api.ts @@ -28,7 +28,7 @@ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError, ope // @ts-ignore import { ErrorSchema } from '../models'; // @ts-ignore -import { GetUsersResponse } from '../models'; +import { UserResponse } from '../models'; /** * UsersApi - axios parameter creator * @export @@ -81,7 +81,7 @@ export const UsersApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getUsers(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async getUsers(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { const localVarAxiosArgs = await localVarAxiosParamCreator.getUsers(options); const index = configuration?.serverIndex ?? 0; const operationBasePath = operationServerMap['UsersApi.getUsers']?.[index]?.url; @@ -103,7 +103,7 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getUsers(options?: RawAxiosRequestConfig): AxiosPromise { + getUsers(options?: RawAxiosRequestConfig): AxiosPromise> { return localVarFp.getUsers(options).then((request) => request(axios, basePath)); }, }; diff --git a/api/vaults-api.ts b/api/vaults-api.ts index e7b9223..93b4f81 100644 --- a/api/vaults-api.ts +++ b/api/vaults-api.ts @@ -64,9 +64,9 @@ import { VaultAccount } from '../models'; // @ts-ignore import { VaultAccountsPagedResponse } from '../models'; // @ts-ignore -import { VaultAsset } from '../models'; +import { VaultActionStatus } from '../models'; // @ts-ignore -import { VaultWalletAddress } from '../models'; +import { VaultAsset } from '../models'; /** * VaultsApi - axios parameter creator * @export @@ -713,44 +713,6 @@ export const VaultsApiAxiosParamCreator = function (configuration?: Configuratio - setSearchParams(localVarUrlObj, localVarQueryParameter); - let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; - localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; - - return { - url: toPathString(localVarUrlObj), - options: localVarRequestOptions, - }; - }, - /** - * Lists all addresses for specific asset of vault account. - This endpoint will be deprecated on Mar 31,2024. - If your application logic or scripts rely on the deprecated endpoint, you should update to account for GET/V1/vault/accounts/{vaultAccountId}/{assetId}/addresses_paginated before Mar 31,2024. - All workspaces created after Mar 31,2024. will have it disabled. If it is disabled for your workspace and you attempt to use it, you will receive the following error message: \"This endpoint is unavailable. - Please use the GET/V1/vault/accounts/{vaultAccountId}/{assetId}/addresses_paginated endpoint to return all the wallet addresses associated with the specified vault account and asset in a paginated list. - This API call is subject to rate limits. - * @summary Get asset addresses - * @param {string} vaultAccountId The ID of the vault account to return - * @param {string} assetId The ID of the asset - * @param {*} [options] Override http request option. - * @throws {RequiredError} - */ - getVaultAccountAssetAddresses: async (vaultAccountId: string, assetId: string, options: RawAxiosRequestConfig = {}): Promise => { - // verify required parameter 'vaultAccountId' is not null or undefined - assertParamExists('getVaultAccountAssetAddresses', 'vaultAccountId', vaultAccountId) - // verify required parameter 'assetId' is not null or undefined - assertParamExists('getVaultAccountAssetAddresses', 'assetId', assetId) - const localVarPath = `/vault/accounts/{vaultAccountId}/{assetId}/addresses` - .replace(`{${"vaultAccountId"}}`, encodeURIComponent(String(vaultAccountId))) - .replace(`{${"assetId"}}`, encodeURIComponent(String(assetId))); - // 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}; @@ -804,56 +766,6 @@ export const VaultsApiAxiosParamCreator = function (configuration?: Configuratio - setSearchParams(localVarUrlObj, localVarQueryParameter); - let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; - localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; - - return { - url: toPathString(localVarUrlObj), - options: localVarRequestOptions, - }; - }, - /** - * Gets all vault accounts in your workspace. - * @summary List vault accounts - * @param {string} [namePrefix] - * @param {string} [nameSuffix] - * @param {number} [minAmountThreshold] - * @param {string} [assetId] - * @param {*} [options] Override http request option. - * @throws {RequiredError} - */ - getVaultAccounts: async (namePrefix?: string, nameSuffix?: string, minAmountThreshold?: number, assetId?: string, options: RawAxiosRequestConfig = {}): Promise => { - const localVarPath = `/vault/accounts`; - // 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 (namePrefix !== undefined) { - localVarQueryParameter['namePrefix'] = namePrefix; - } - - if (nameSuffix !== undefined) { - localVarQueryParameter['nameSuffix'] = nameSuffix; - } - - if (minAmountThreshold !== undefined) { - localVarQueryParameter['minAmountThreshold'] = minAmountThreshold; - } - - if (assetId !== undefined) { - localVarQueryParameter['assetId'] = assetId; - } - - - setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -1524,20 +1436,6 @@ export const VaultsApiFp = function(configuration?: Configuration) { const operationBasePath = operationServerMap['VaultsApi.getVaultAccountAsset']?.[index]?.url; return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, - /** - * Lists all addresses for specific asset of vault account. - This endpoint will be deprecated on Mar 31,2024. - If your application logic or scripts rely on the deprecated endpoint, you should update to account for GET/V1/vault/accounts/{vaultAccountId}/{assetId}/addresses_paginated before Mar 31,2024. - All workspaces created after Mar 31,2024. will have it disabled. If it is disabled for your workspace and you attempt to use it, you will receive the following error message: \"This endpoint is unavailable. - Please use the GET/V1/vault/accounts/{vaultAccountId}/{assetId}/addresses_paginated endpoint to return all the wallet addresses associated with the specified vault account and asset in a paginated list. - This API call is subject to rate limits. - * @summary Get asset addresses - * @param {string} vaultAccountId The ID of the vault account to return - * @param {string} assetId The ID of the asset - * @param {*} [options] Override http request option. - * @throws {RequiredError} - */ - async getVaultAccountAssetAddresses(vaultAccountId: string, assetId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { - const localVarAxiosArgs = await localVarAxiosParamCreator.getVaultAccountAssetAddresses(vaultAccountId, assetId, options); - const index = configuration?.serverIndex ?? 0; - const operationBasePath = operationServerMap['VaultsApi.getVaultAccountAssetAddresses']?.[index]?.url; - return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); - }, /** * Returns a paginated response of the addresses for a given vault account and asset. * @summary List addresses (Paginated) @@ -1555,22 +1453,6 @@ export const VaultsApiFp = function(configuration?: Configuration) { const operationBasePath = operationServerMap['VaultsApi.getVaultAccountAssetAddressesPaginated']?.[index]?.url; return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, - /** - * Gets all vault accounts in your workspace. - * @summary List vault accounts - * @param {string} [namePrefix] - * @param {string} [nameSuffix] - * @param {number} [minAmountThreshold] - * @param {string} [assetId] - * @param {*} [options] Override http request option. - * @throws {RequiredError} - */ - async getVaultAccounts(namePrefix?: string, nameSuffix?: string, minAmountThreshold?: number, assetId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>> { - const localVarAxiosArgs = await localVarAxiosParamCreator.getVaultAccounts(namePrefix, nameSuffix, minAmountThreshold, assetId, options); - const index = configuration?.serverIndex ?? 0; - const operationBasePath = operationServerMap['VaultsApi.getVaultAccounts']?.[index]?.url; - return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); - }, /** * Gets the assets amount summary for all accounts or filtered accounts. * @summary Get asset balance for chosen assets @@ -1606,7 +1488,7 @@ export const VaultsApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async hideVaultAccount(vaultAccountId: string, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async hideVaultAccount(vaultAccountId: string, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.hideVaultAccount(vaultAccountId, idempotencyKey, options); const index = configuration?.serverIndex ?? 0; const operationBasePath = operationServerMap['VaultsApi.hideVaultAccount']?.[index]?.url; @@ -1623,7 +1505,7 @@ export const VaultsApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async setCustomerRefIdForAddress(setCustomerRefIdForAddressRequest: SetCustomerRefIdForAddressRequest, vaultAccountId: string, assetId: string, addressId: string, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async setCustomerRefIdForAddress(setCustomerRefIdForAddressRequest: SetCustomerRefIdForAddressRequest, vaultAccountId: string, assetId: string, addressId: string, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.setCustomerRefIdForAddress(setCustomerRefIdForAddressRequest, vaultAccountId, assetId, addressId, idempotencyKey, options); const index = configuration?.serverIndex ?? 0; const operationBasePath = operationServerMap['VaultsApi.setCustomerRefIdForAddress']?.[index]?.url; @@ -1638,7 +1520,7 @@ export const VaultsApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async setVaultAccountAutoFuel(setAutoFuelRequest: SetAutoFuelRequest, vaultAccountId: string, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async setVaultAccountAutoFuel(setAutoFuelRequest: SetAutoFuelRequest, vaultAccountId: string, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.setVaultAccountAutoFuel(setAutoFuelRequest, vaultAccountId, idempotencyKey, options); const index = configuration?.serverIndex ?? 0; const operationBasePath = operationServerMap['VaultsApi.setVaultAccountAutoFuel']?.[index]?.url; @@ -1653,7 +1535,7 @@ export const VaultsApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async setVaultAccountCustomerRefId(setCustomerRefIdRequest: SetCustomerRefIdRequest, vaultAccountId: string, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async setVaultAccountCustomerRefId(setCustomerRefIdRequest: SetCustomerRefIdRequest, vaultAccountId: string, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.setVaultAccountCustomerRefId(setCustomerRefIdRequest, vaultAccountId, idempotencyKey, options); const index = configuration?.serverIndex ?? 0; const operationBasePath = operationServerMap['VaultsApi.setVaultAccountCustomerRefId']?.[index]?.url; @@ -1667,7 +1549,7 @@ export const VaultsApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async unhideVaultAccount(vaultAccountId: string, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async unhideVaultAccount(vaultAccountId: string, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.unhideVaultAccount(vaultAccountId, idempotencyKey, options); const index = configuration?.serverIndex ?? 0; const operationBasePath = operationServerMap['VaultsApi.unhideVaultAccount']?.[index]?.url; @@ -1699,7 +1581,7 @@ export const VaultsApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async updateVaultAccountAssetAddress(vaultAccountId: string, assetId: string, addressId: string, updateVaultAccountAssetAddressRequest?: UpdateVaultAccountAssetAddressRequest, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async updateVaultAccountAssetAddress(vaultAccountId: string, assetId: string, addressId: string, updateVaultAccountAssetAddressRequest?: UpdateVaultAccountAssetAddressRequest, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.updateVaultAccountAssetAddress(vaultAccountId, assetId, addressId, updateVaultAccountAssetAddressRequest, idempotencyKey, options); const index = configuration?.serverIndex ?? 0; const operationBasePath = operationServerMap['VaultsApi.updateVaultAccountAssetAddress']?.[index]?.url; @@ -1870,16 +1752,6 @@ export const VaultsApiFactory = function (configuration?: Configuration, basePat getVaultAccountAsset(requestParameters: VaultsApiGetVaultAccountAssetRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.getVaultAccountAsset(requestParameters.vaultAccountId, requestParameters.assetId, options).then((request) => request(axios, basePath)); }, - /** - * Lists all addresses for specific asset of vault account. - This endpoint will be deprecated on Mar 31,2024. - If your application logic or scripts rely on the deprecated endpoint, you should update to account for GET/V1/vault/accounts/{vaultAccountId}/{assetId}/addresses_paginated before Mar 31,2024. - All workspaces created after Mar 31,2024. will have it disabled. If it is disabled for your workspace and you attempt to use it, you will receive the following error message: \"This endpoint is unavailable. - Please use the GET/V1/vault/accounts/{vaultAccountId}/{assetId}/addresses_paginated endpoint to return all the wallet addresses associated with the specified vault account and asset in a paginated list. - This API call is subject to rate limits. - * @summary Get asset addresses - * @param {VaultsApiGetVaultAccountAssetAddressesRequest} requestParameters Request parameters. - * @param {*} [options] Override http request option. - * @throws {RequiredError} - */ - getVaultAccountAssetAddresses(requestParameters: VaultsApiGetVaultAccountAssetAddressesRequest, options?: RawAxiosRequestConfig): AxiosPromise> { - return localVarFp.getVaultAccountAssetAddresses(requestParameters.vaultAccountId, requestParameters.assetId, options).then((request) => request(axios, basePath)); - }, /** * Returns a paginated response of the addresses for a given vault account and asset. * @summary List addresses (Paginated) @@ -1890,16 +1762,6 @@ export const VaultsApiFactory = function (configuration?: Configuration, basePat getVaultAccountAssetAddressesPaginated(requestParameters: VaultsApiGetVaultAccountAssetAddressesPaginatedRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.getVaultAccountAssetAddressesPaginated(requestParameters.vaultAccountId, requestParameters.assetId, requestParameters.limit, requestParameters.before, requestParameters.after, options).then((request) => request(axios, basePath)); }, - /** - * Gets all vault accounts in your workspace. - * @summary List vault accounts - * @param {VaultsApiGetVaultAccountsRequest} requestParameters Request parameters. - * @param {*} [options] Override http request option. - * @throws {RequiredError} - */ - getVaultAccounts(requestParameters: VaultsApiGetVaultAccountsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise> { - return localVarFp.getVaultAccounts(requestParameters.namePrefix, requestParameters.nameSuffix, requestParameters.minAmountThreshold, requestParameters.assetId, options).then((request) => request(axios, basePath)); - }, /** * Gets the assets amount summary for all accounts or filtered accounts. * @summary Get asset balance for chosen assets @@ -1927,7 +1789,7 @@ export const VaultsApiFactory = function (configuration?: Configuration, basePat * @param {*} [options] Override http request option. * @throws {RequiredError} */ - hideVaultAccount(requestParameters: VaultsApiHideVaultAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise { + hideVaultAccount(requestParameters: VaultsApiHideVaultAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.hideVaultAccount(requestParameters.vaultAccountId, requestParameters.idempotencyKey, options).then((request) => request(axios, basePath)); }, /** @@ -1937,7 +1799,7 @@ export const VaultsApiFactory = function (configuration?: Configuration, basePat * @param {*} [options] Override http request option. * @throws {RequiredError} */ - setCustomerRefIdForAddress(requestParameters: VaultsApiSetCustomerRefIdForAddressRequest, options?: RawAxiosRequestConfig): AxiosPromise { + setCustomerRefIdForAddress(requestParameters: VaultsApiSetCustomerRefIdForAddressRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.setCustomerRefIdForAddress(requestParameters.setCustomerRefIdForAddressRequest, requestParameters.vaultAccountId, requestParameters.assetId, requestParameters.addressId, requestParameters.idempotencyKey, options).then((request) => request(axios, basePath)); }, /** @@ -1947,7 +1809,7 @@ export const VaultsApiFactory = function (configuration?: Configuration, basePat * @param {*} [options] Override http request option. * @throws {RequiredError} */ - setVaultAccountAutoFuel(requestParameters: VaultsApiSetVaultAccountAutoFuelRequest, options?: RawAxiosRequestConfig): AxiosPromise { + setVaultAccountAutoFuel(requestParameters: VaultsApiSetVaultAccountAutoFuelRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.setVaultAccountAutoFuel(requestParameters.setAutoFuelRequest, requestParameters.vaultAccountId, requestParameters.idempotencyKey, options).then((request) => request(axios, basePath)); }, /** @@ -1957,7 +1819,7 @@ export const VaultsApiFactory = function (configuration?: Configuration, basePat * @param {*} [options] Override http request option. * @throws {RequiredError} */ - setVaultAccountCustomerRefId(requestParameters: VaultsApiSetVaultAccountCustomerRefIdRequest, options?: RawAxiosRequestConfig): AxiosPromise { + setVaultAccountCustomerRefId(requestParameters: VaultsApiSetVaultAccountCustomerRefIdRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.setVaultAccountCustomerRefId(requestParameters.setCustomerRefIdRequest, requestParameters.vaultAccountId, requestParameters.idempotencyKey, options).then((request) => request(axios, basePath)); }, /** @@ -1967,7 +1829,7 @@ export const VaultsApiFactory = function (configuration?: Configuration, basePat * @param {*} [options] Override http request option. * @throws {RequiredError} */ - unhideVaultAccount(requestParameters: VaultsApiUnhideVaultAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise { + unhideVaultAccount(requestParameters: VaultsApiUnhideVaultAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.unhideVaultAccount(requestParameters.vaultAccountId, requestParameters.idempotencyKey, options).then((request) => request(axios, basePath)); }, /** @@ -1987,7 +1849,7 @@ export const VaultsApiFactory = function (configuration?: Configuration, basePat * @param {*} [options] Override http request option. * @throws {RequiredError} */ - updateVaultAccountAssetAddress(requestParameters: VaultsApiUpdateVaultAccountAssetAddressRequest, options?: RawAxiosRequestConfig): AxiosPromise { + updateVaultAccountAssetAddress(requestParameters: VaultsApiUpdateVaultAccountAssetAddressRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.updateVaultAccountAssetAddress(requestParameters.vaultAccountId, requestParameters.assetId, requestParameters.addressId, requestParameters.updateVaultAccountAssetAddressRequest, requestParameters.idempotencyKey, options).then((request) => request(axios, basePath)); }, /** @@ -2444,27 +2306,6 @@ export interface VaultsApiGetVaultAccountAssetRequest { readonly assetId: string } -/** - * Request parameters for getVaultAccountAssetAddresses operation in VaultsApi. - * @export - * @interface VaultsApiGetVaultAccountAssetAddressesRequest - */ -export interface VaultsApiGetVaultAccountAssetAddressesRequest { - /** - * The ID of the vault account to return - * @type {string} - * @memberof VaultsApiGetVaultAccountAssetAddresses - */ - readonly vaultAccountId: string - - /** - * The ID of the asset - * @type {string} - * @memberof VaultsApiGetVaultAccountAssetAddresses - */ - readonly assetId: string -} - /** * Request parameters for getVaultAccountAssetAddressesPaginated operation in VaultsApi. * @export @@ -2507,41 +2348,6 @@ export interface VaultsApiGetVaultAccountAssetAddressesPaginatedRequest { readonly after?: string } -/** - * Request parameters for getVaultAccounts operation in VaultsApi. - * @export - * @interface VaultsApiGetVaultAccountsRequest - */ -export interface VaultsApiGetVaultAccountsRequest { - /** - * - * @type {string} - * @memberof VaultsApiGetVaultAccounts - */ - readonly namePrefix?: string - - /** - * - * @type {string} - * @memberof VaultsApiGetVaultAccounts - */ - readonly nameSuffix?: string - - /** - * - * @type {number} - * @memberof VaultsApiGetVaultAccounts - */ - readonly minAmountThreshold?: number - - /** - * - * @type {string} - * @memberof VaultsApiGetVaultAccounts - */ - readonly assetId?: string -} - /** * Request parameters for getVaultAssets operation in VaultsApi. * @export @@ -2990,18 +2796,6 @@ export class VaultsApi extends BaseAPI { return VaultsApiFp(this.configuration).getVaultAccountAsset(requestParameters.vaultAccountId, requestParameters.assetId).then((request) => request(this.axios, this.basePath)).then(convertToFireblocksResponse); } - /** - * Lists all addresses for specific asset of vault account. - This endpoint will be deprecated on Mar 31,2024. - If your application logic or scripts rely on the deprecated endpoint, you should update to account for GET/V1/vault/accounts/{vaultAccountId}/{assetId}/addresses_paginated before Mar 31,2024. - All workspaces created after Mar 31,2024. will have it disabled. If it is disabled for your workspace and you attempt to use it, you will receive the following error message: \"This endpoint is unavailable. - Please use the GET/V1/vault/accounts/{vaultAccountId}/{assetId}/addresses_paginated endpoint to return all the wallet addresses associated with the specified vault account and asset in a paginated list. - This API call is subject to rate limits. - * @summary Get asset addresses - * @param {VaultsApiGetVaultAccountAssetAddressesRequest} requestParameters Request parameters. - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof VaultsApi - */ - public getVaultAccountAssetAddresses(requestParameters: VaultsApiGetVaultAccountAssetAddressesRequest) { - return VaultsApiFp(this.configuration).getVaultAccountAssetAddresses(requestParameters.vaultAccountId, requestParameters.assetId).then((request) => request(this.axios, this.basePath)).then(convertToFireblocksResponse); - } - /** * Returns a paginated response of the addresses for a given vault account and asset. * @summary List addresses (Paginated) @@ -3014,18 +2808,6 @@ export class VaultsApi extends BaseAPI { return VaultsApiFp(this.configuration).getVaultAccountAssetAddressesPaginated(requestParameters.vaultAccountId, requestParameters.assetId, requestParameters.limit, requestParameters.before, requestParameters.after).then((request) => request(this.axios, this.basePath)).then(convertToFireblocksResponse); } - /** - * Gets all vault accounts in your workspace. - * @summary List vault accounts - * @param {VaultsApiGetVaultAccountsRequest} requestParameters Request parameters. - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof VaultsApi - */ - public getVaultAccounts(requestParameters: VaultsApiGetVaultAccountsRequest = {}) { - return VaultsApiFp(this.configuration).getVaultAccounts(requestParameters.namePrefix, requestParameters.nameSuffix, requestParameters.minAmountThreshold, requestParameters.assetId).then((request) => request(this.axios, this.basePath)).then(convertToFireblocksResponse); - } - /** * Gets the assets amount summary for all accounts or filtered accounts. * @summary Get asset balance for chosen assets diff --git a/client/client.ts b/client/client.ts index 39da29c..959e5bd 100644 --- a/client/client.ts +++ b/client/client.ts @@ -68,9 +68,9 @@ export class Fireblocks { private _gasStations?: GasStationsApi; private _internalWallets?: InternalWalletsApi; private _jobManagement?: JobManagementApi; - private _nFTs?: NFTsApi; + private _nfts?: NFTsApi; private _networkConnections?: NetworkConnectionsApi; - private _oTABeta?: OTABetaApi; + private _otaBeta?: OTABetaApi; private _offExchanges?: OffExchangesApi; private _paymentsPayout?: PaymentsPayoutApi; private _policyEditorBeta?: PolicyEditorBetaApi; @@ -153,14 +153,14 @@ export class Fireblocks { get jobManagement(): JobManagementApi { return this._jobManagement ?? new JobManagementApi(this.config, undefined, this.axiosManager.axios); } - get nFTs(): NFTsApi { - return this._nFTs ?? new NFTsApi(this.config, undefined, this.axiosManager.axios); + get nfts(): NFTsApi { + return this._nfts ?? new NFTsApi(this.config, undefined, this.axiosManager.axios); } get networkConnections(): NetworkConnectionsApi { return this._networkConnections ?? new NetworkConnectionsApi(this.config, undefined, this.axiosManager.axios); } - get oTABeta(): OTABetaApi { - return this._oTABeta ?? new OTABetaApi(this.config, undefined, this.axiosManager.axios); + get otaBeta(): OTABetaApi { + return this._otaBeta ?? new OTABetaApi(this.config, undefined, this.axiosManager.axios); } get offExchanges(): OffExchangesApi { return this._offExchanges ?? new OffExchangesApi(this.config, undefined, this.axiosManager.axios); diff --git a/docs/apis/ExchangeAccountsApi.md b/docs/apis/ExchangeAccountsApi.md index 562204d..2d6b2e6 100644 --- a/docs/apis/ExchangeAccountsApi.md +++ b/docs/apis/ExchangeAccountsApi.md @@ -7,7 +7,6 @@ Method | HTTP request | Description [**convertAssets**](#convertAssets) | **POST** /exchange_accounts/{exchangeAccountId}/convert | Convert exchange account funds from the source asset to the destination asset. [**getExchangeAccount**](#getExchangeAccount) | **GET** /exchange_accounts/{exchangeAccountId} | Find a specific exchange account [**getExchangeAccountAsset**](#getExchangeAccountAsset) | **GET** /exchange_accounts/{exchangeAccountId}/{assetId} | Find an asset for an exchange account -[**getExchangeAccounts**](#getExchangeAccounts) | **GET** /exchange_accounts | List exchange accounts [**getPagedExchangeAccounts**](#getPagedExchangeAccounts) | **GET** /exchange_accounts/paged | Pagination list exchange accounts [**internalTransfer**](#internalTransfer) | **POST** /exchange_accounts/{exchangeAccountId}/internal_transfer | Internal transfer for exchange accounts @@ -201,60 +200,6 @@ 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) -# **getExchangeAccounts** -> Array getExchangeAccounts() - -Deprecated (use new \'paged\' endpoint) - Returns all exchange accounts. - -### Example - - -```typescript -import { readFileSync } from 'fs'; -import { Fireblocks, BasePath } from '@fireblocks/ts-sdk'; -import type { FireblocksResponse } 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:any = {}; - -fireblocks.exchangeAccounts.getExchangeAccounts(body).then((res: FireblocksResponse) => { - console.log('API called successfully. Returned data: ' + JSON.stringify(res, null, 2)); -}).catch((error:any) => console.error(error)); -``` - - -### Parameters -This endpoint does not need any parameter. - - -### Return type - -**[Array](../models/Array.md)** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | An ExchangeAccount object | * X-Request-ID -
| -**0** | Error Response | * X-Request-ID -
| - -[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - # **getPagedExchangeAccounts** > Array getPagedExchangeAccounts() diff --git a/docs/apis/NFTsApi.md b/docs/apis/NFTsApi.md index 40c30e8..e5cc9a0 100644 --- a/docs/apis/NFTsApi.md +++ b/docs/apis/NFTsApi.md @@ -41,7 +41,7 @@ let body: NFTsApiGetNFTRequest = { id: NFT-abcdefabcdefabcdefabcdefabcdefabcdefabcd, }; -fireblocks.nFTs.getNFT(body).then((res: FireblocksResponse) => { +fireblocks.nfts.getNFT(body).then((res: FireblocksResponse) => { console.log('API called successfully. Returned data: ' + JSON.stringify(res, null, 2)); }).catch((error:any) => console.error(error)); ``` @@ -108,7 +108,7 @@ let body: NFTsApiGetNFTsRequest = { order: order_example, }; -fireblocks.nFTs.getNFTs(body).then((res: FireblocksResponse) => { +fireblocks.nfts.getNFTs(body).then((res: FireblocksResponse) => { console.log('API called successfully. Returned data: ' + JSON.stringify(res, null, 2)); }).catch((error:any) => console.error(error)); ``` @@ -197,7 +197,7 @@ let body: NFTsApiGetOwnershipTokensRequest = { spam: spam_example, }; -fireblocks.nFTs.getOwnershipTokens(body).then((res: FireblocksResponse) => { +fireblocks.nfts.getOwnershipTokens(body).then((res: FireblocksResponse) => { console.log('API called successfully. Returned data: ' + JSON.stringify(res, null, 2)); }).catch((error:any) => console.error(error)); ``` @@ -283,7 +283,7 @@ let body: NFTsApiListOwnedCollectionsRequest = { status: status_example, }; -fireblocks.nFTs.listOwnedCollections(body).then((res: FireblocksResponse) => { +fireblocks.nfts.listOwnedCollections(body).then((res: FireblocksResponse) => { console.log('API called successfully. Returned data: ' + JSON.stringify(res, null, 2)); }).catch((error:any) => console.error(error)); ``` @@ -365,7 +365,7 @@ let body: NFTsApiListOwnedTokensRequest = { spam: spam_example, }; -fireblocks.nFTs.listOwnedTokens(body).then((res: FireblocksResponse) => { +fireblocks.nfts.listOwnedTokens(body).then((res: FireblocksResponse) => { console.log('API called successfully. Returned data: ' + JSON.stringify(res, null, 2)); }).catch((error:any) => console.error(error)); ``` @@ -434,7 +434,7 @@ let body: NFTsApiRefreshNFTMetadataRequest = { idempotencyKey: idempotencyKey_example, }; -fireblocks.nFTs.refreshNFTMetadata(body).then((res: FireblocksResponse) => { +fireblocks.nfts.refreshNFTMetadata(body).then((res: FireblocksResponse) => { console.log('API called successfully. Returned data: ' + JSON.stringify(res, null, 2)); }).catch((error:any) => console.error(error)); ``` @@ -498,7 +498,7 @@ let body: NFTsApiUpdateOwnershipTokensRequest = { idempotencyKey: idempotencyKey_example, }; -fireblocks.nFTs.updateOwnershipTokens(body).then((res: FireblocksResponse) => { +fireblocks.nfts.updateOwnershipTokens(body).then((res: FireblocksResponse) => { console.log('API called successfully. Returned data: ' + JSON.stringify(res, null, 2)); }).catch((error:any) => console.error(error)); ``` @@ -563,7 +563,7 @@ let body: NFTsApiUpdateTokenOwnershipStatusRequest = { idempotencyKey: idempotencyKey_example, }; -fireblocks.nFTs.updateTokenOwnershipStatus(body).then((res: FireblocksResponse) => { +fireblocks.nfts.updateTokenOwnershipStatus(body).then((res: FireblocksResponse) => { console.log('API called successfully. Returned data: ' + JSON.stringify(res, null, 2)); }).catch((error:any) => console.error(error)); ``` @@ -626,7 +626,7 @@ let body: NFTsApiUpdateTokensOwnershipSpamRequest = { idempotencyKey: idempotencyKey_example, }; -fireblocks.nFTs.updateTokensOwnershipSpam(body).then((res: FireblocksResponse) => { +fireblocks.nfts.updateTokensOwnershipSpam(body).then((res: FireblocksResponse) => { console.log('API called successfully. Returned data: ' + JSON.stringify(res, null, 2)); }).catch((error:any) => console.error(error)); ``` @@ -690,7 +690,7 @@ let body: NFTsApiUpdateTokensOwnershipStatusRequest = { idempotencyKey: idempotencyKey_example, }; -fireblocks.nFTs.updateTokensOwnershipStatus(body).then((res: FireblocksResponse) => { +fireblocks.nfts.updateTokensOwnershipStatus(body).then((res: FireblocksResponse) => { console.log('API called successfully. Returned data: ' + JSON.stringify(res, null, 2)); }).catch((error:any) => console.error(error)); ``` diff --git a/docs/apis/OTABetaApi.md b/docs/apis/OTABetaApi.md index fbe14a5..cf4e0f5 100644 --- a/docs/apis/OTABetaApi.md +++ b/docs/apis/OTABetaApi.md @@ -30,7 +30,7 @@ const fireblocks = new Fireblocks(); let body:any = {}; -fireblocks.oTABeta.getOtaStatus(body).then((res: FireblocksResponse) => { +fireblocks.otaBeta.getOtaStatus(body).then((res: FireblocksResponse) => { console.log('API called successfully. Returned data: ' + JSON.stringify(res, null, 2)); }).catch((error:any) => console.error(error)); ``` @@ -89,7 +89,7 @@ let body: OTABetaApiSetOtaStatusRequest = { idempotencyKey: idempotencyKey_example, }; -fireblocks.oTABeta.setOtaStatus(body).then((res: FireblocksResponse) => { +fireblocks.otaBeta.setOtaStatus(body).then((res: FireblocksResponse) => { console.log('API called successfully. Returned data: ' + JSON.stringify(res, null, 2)); }).catch((error:any) => console.error(error)); ``` diff --git a/docs/apis/UsersApi.md b/docs/apis/UsersApi.md index 081db51..f182ebb 100644 --- a/docs/apis/UsersApi.md +++ b/docs/apis/UsersApi.md @@ -8,7 +8,7 @@ Method | HTTP request | Description # **getUsers** -> GetUsersResponse getUsers() +> Array getUsers() List all users for the workspace. Please note that this endpoint is available only for API keys with Admin permissions. @@ -18,7 +18,7 @@ List all users for the workspace. Please note that this endpoint is available o ```typescript import { readFileSync } from 'fs'; import { Fireblocks, BasePath } from '@fireblocks/ts-sdk'; -import type { FireblocksResponse, GetUsersResponse } from '@fireblocks/ts-sdk'; +import type { FireblocksResponse } 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" @@ -29,7 +29,7 @@ const fireblocks = new Fireblocks(); let body:any = {}; -fireblocks.users.getUsers(body).then((res: FireblocksResponse) => { +fireblocks.users.getUsers(body).then((res: FireblocksResponse) => { console.log('API called successfully. Returned data: ' + JSON.stringify(res, null, 2)); }).catch((error:any) => console.error(error)); ``` @@ -41,7 +41,7 @@ This endpoint does not need any parameter. ### Return type -**[GetUsersResponse](../models/GetUsersResponse.md)** +**[Array](../models/Array.md)** ### Authorization diff --git a/docs/apis/VaultsApi.md b/docs/apis/VaultsApi.md index f161db3..b24965e 100644 --- a/docs/apis/VaultsApi.md +++ b/docs/apis/VaultsApi.md @@ -18,9 +18,7 @@ Method | HTTP request | Description [**getUnspentInputs**](#getUnspentInputs) | **GET** /vault/accounts/{vaultAccountId}/{assetId}/unspent_inputs | Get UTXO unspent inputs information [**getVaultAccount**](#getVaultAccount) | **GET** /vault/accounts/{vaultAccountId} | Find a vault account by ID [**getVaultAccountAsset**](#getVaultAccountAsset) | **GET** /vault/accounts/{vaultAccountId}/{assetId} | Get the asset balance for a vault account -[**getVaultAccountAssetAddresses**](#getVaultAccountAssetAddresses) | **GET** /vault/accounts/{vaultAccountId}/{assetId}/addresses | Get asset addresses [**getVaultAccountAssetAddressesPaginated**](#getVaultAccountAssetAddressesPaginated) | **GET** /vault/accounts/{vaultAccountId}/{assetId}/addresses_paginated | List addresses (Paginated) -[**getVaultAccounts**](#getVaultAccounts) | **GET** /vault/accounts | List vault accounts [**getVaultAssets**](#getVaultAssets) | **GET** /vault/assets | Get asset balance for chosen assets [**getVaultBalanceByAsset**](#getVaultBalanceByAsset) | **GET** /vault/assets/{assetId} | Get vault balance by asset [**hideVaultAccount**](#hideVaultAccount) | **POST** /vault/accounts/{vaultAccountId}/hide | Hide a vault account in the console @@ -976,69 +974,6 @@ 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) -# **getVaultAccountAssetAddresses** -> Array getVaultAccountAssetAddresses() - -Lists all addresses for specific asset of vault account. - This endpoint will be deprecated on Mar 31,2024. - If your application logic or scripts rely on the deprecated endpoint, you should update to account for GET/V1/vault/accounts/{vaultAccountId}/{assetId}/addresses_paginated before Mar 31,2024. - All workspaces created after Mar 31,2024. will have it disabled. If it is disabled for your workspace and you attempt to use it, you will receive the following error message: \"This endpoint is unavailable. - Please use the GET/V1/vault/accounts/{vaultAccountId}/{assetId}/addresses_paginated endpoint to return all the wallet addresses associated with the specified vault account and asset in a paginated list. - This API call is subject to rate limits. - -### Example - - -```typescript -import { readFileSync } from 'fs'; -import { Fireblocks, BasePath } from '@fireblocks/ts-sdk'; -import type { FireblocksResponse, VaultsApiGetVaultAccountAssetAddressesRequest } 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: VaultsApiGetVaultAccountAssetAddressesRequest = { - // string | The ID of the vault account to return - vaultAccountId: vaultAccountId_example, - // string | The ID of the asset - assetId: assetId_example, -}; - -fireblocks.vaults.getVaultAccountAssetAddresses(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 -------------- | ------------- | ------------- | ------------- - **vaultAccountId** | [**string**] | The ID of the vault account to return | defaults to undefined - **assetId** | [**string**] | The ID of the asset | defaults to undefined - - -### Return type - -**[Array](../models/Array.md)** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | A list of deposit addresses | * 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) - # **getVaultAccountAssetAddressesPaginated** > PaginatedAddressResponse getVaultAccountAssetAddressesPaginated() @@ -1111,75 +1046,6 @@ 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) -# **getVaultAccounts** -> Array getVaultAccounts() - -Gets all vault accounts in your workspace. - -### Example - - -```typescript -import { readFileSync } from 'fs'; -import { Fireblocks, BasePath } from '@fireblocks/ts-sdk'; -import type { FireblocksResponse, VaultsApiGetVaultAccountsRequest } 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: VaultsApiGetVaultAccountsRequest = { - // string (optional) - namePrefix: namePrefix_example, - // string (optional) - nameSuffix: nameSuffix_example, - // number (optional) - minAmountThreshold: 8.14, - // string (optional) - assetId: assetId_example, -}; - -fireblocks.vaults.getVaultAccounts(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 -------------- | ------------- | ------------- | ------------- - **namePrefix** | [**string**] | | (optional) defaults to undefined - **nameSuffix** | [**string**] | | (optional) defaults to undefined - **minAmountThreshold** | [**number**] | | (optional) defaults to undefined - **assetId** | [**string**] | | (optional) defaults to undefined - - -### Return type - -**[Array](../models/Array.md)** - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | A list of vault accounts | * 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) - # **getVaultAssets** > Array getVaultAssets() @@ -1304,7 +1170,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **hideVaultAccount** -> hideVaultAccount() +> VaultActionStatus hideVaultAccount() Hides the requested vault account from the web console view. @@ -1314,7 +1180,7 @@ Hides the requested vault account from the web console view. ```typescript import { readFileSync } from 'fs'; import { Fireblocks, BasePath } from '@fireblocks/ts-sdk'; -import type { FireblocksResponse, VaultsApiHideVaultAccountRequest } from '@fireblocks/ts-sdk'; +import type { FireblocksResponse, VaultsApiHideVaultAccountRequest, VaultActionStatus } 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" @@ -1330,7 +1196,7 @@ let body: VaultsApiHideVaultAccountRequest = { idempotencyKey: idempotencyKey_example, }; -fireblocks.vaults.hideVaultAccount(body).then((res: FireblocksResponse) => { +fireblocks.vaults.hideVaultAccount(body).then((res: FireblocksResponse) => { console.log('API called successfully. Returned data: ' + JSON.stringify(res, null, 2)); }).catch((error:any) => console.error(error)); ``` @@ -1346,7 +1212,7 @@ Name | Type | Description | Notes ### Return type -void (empty response body) +**[VaultActionStatus](../models/VaultActionStatus.md)** ### Authorization @@ -1367,7 +1233,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **setCustomerRefIdForAddress** -> setCustomerRefIdForAddress(setCustomerRefIdForAddressRequest, ) +> VaultActionStatus setCustomerRefIdForAddress(setCustomerRefIdForAddressRequest, ) Sets an AML/KYT customer reference ID for a specific address. @@ -1377,7 +1243,7 @@ Sets an AML/KYT customer reference ID for a specific address. ```typescript import { readFileSync } from 'fs'; import { Fireblocks, BasePath } from '@fireblocks/ts-sdk'; -import type { FireblocksResponse, VaultsApiSetCustomerRefIdForAddressRequest } from '@fireblocks/ts-sdk'; +import type { FireblocksResponse, VaultsApiSetCustomerRefIdForAddressRequest, VaultActionStatus } 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" @@ -1399,7 +1265,7 @@ let body: VaultsApiSetCustomerRefIdForAddressRequest = { idempotencyKey: idempotencyKey_example, }; -fireblocks.vaults.setCustomerRefIdForAddress(body).then((res: FireblocksResponse) => { +fireblocks.vaults.setCustomerRefIdForAddress(body).then((res: FireblocksResponse) => { console.log('API called successfully. Returned data: ' + JSON.stringify(res, null, 2)); }).catch((error:any) => console.error(error)); ``` @@ -1418,7 +1284,7 @@ Name | Type | Description | Notes ### Return type -void (empty response body) +**[VaultActionStatus](../models/VaultActionStatus.md)** ### Authorization @@ -1439,7 +1305,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **setVaultAccountAutoFuel** -> setVaultAccountAutoFuel(setAutoFuelRequest, ) +> VaultActionStatus setVaultAccountAutoFuel(setAutoFuelRequest, ) Sets the autofueling property of the vault account to enabled or disabled. @@ -1449,7 +1315,7 @@ Sets the autofueling property of the vault account to enabled or disabled. ```typescript import { readFileSync } from 'fs'; import { Fireblocks, BasePath } from '@fireblocks/ts-sdk'; -import type { FireblocksResponse, VaultsApiSetVaultAccountAutoFuelRequest } from '@fireblocks/ts-sdk'; +import type { FireblocksResponse, VaultsApiSetVaultAccountAutoFuelRequest, VaultActionStatus } 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" @@ -1467,7 +1333,7 @@ let body: VaultsApiSetVaultAccountAutoFuelRequest = { idempotencyKey: idempotencyKey_example, }; -fireblocks.vaults.setVaultAccountAutoFuel(body).then((res: FireblocksResponse) => { +fireblocks.vaults.setVaultAccountAutoFuel(body).then((res: FireblocksResponse) => { console.log('API called successfully. Returned data: ' + JSON.stringify(res, null, 2)); }).catch((error:any) => console.error(error)); ``` @@ -1484,7 +1350,7 @@ Name | Type | Description | Notes ### Return type -void (empty response body) +**[VaultActionStatus](../models/VaultActionStatus.md)** ### Authorization @@ -1505,7 +1371,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **setVaultAccountCustomerRefId** -> setVaultAccountCustomerRefId(setCustomerRefIdRequest, ) +> VaultActionStatus setVaultAccountCustomerRefId(setCustomerRefIdRequest, ) Assigns an AML/KYT customer reference ID for the vault account. @@ -1515,7 +1381,7 @@ Assigns an AML/KYT customer reference ID for the vault account. ```typescript import { readFileSync } from 'fs'; import { Fireblocks, BasePath } from '@fireblocks/ts-sdk'; -import type { FireblocksResponse, VaultsApiSetVaultAccountCustomerRefIdRequest } from '@fireblocks/ts-sdk'; +import type { FireblocksResponse, VaultsApiSetVaultAccountCustomerRefIdRequest, VaultActionStatus } 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" @@ -1533,7 +1399,7 @@ let body: VaultsApiSetVaultAccountCustomerRefIdRequest = { idempotencyKey: idempotencyKey_example, }; -fireblocks.vaults.setVaultAccountCustomerRefId(body).then((res: FireblocksResponse) => { +fireblocks.vaults.setVaultAccountCustomerRefId(body).then((res: FireblocksResponse) => { console.log('API called successfully. Returned data: ' + JSON.stringify(res, null, 2)); }).catch((error:any) => console.error(error)); ``` @@ -1550,7 +1416,7 @@ Name | Type | Description | Notes ### Return type -void (empty response body) +**[VaultActionStatus](../models/VaultActionStatus.md)** ### Authorization @@ -1571,7 +1437,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **unhideVaultAccount** -> unhideVaultAccount() +> VaultActionStatus unhideVaultAccount() Makes a hidden vault account visible in web console view. @@ -1581,7 +1447,7 @@ Makes a hidden vault account visible in web console view. ```typescript import { readFileSync } from 'fs'; import { Fireblocks, BasePath } from '@fireblocks/ts-sdk'; -import type { FireblocksResponse, VaultsApiUnhideVaultAccountRequest } from '@fireblocks/ts-sdk'; +import type { FireblocksResponse, VaultsApiUnhideVaultAccountRequest, VaultActionStatus } 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" @@ -1597,7 +1463,7 @@ let body: VaultsApiUnhideVaultAccountRequest = { idempotencyKey: idempotencyKey_example, }; -fireblocks.vaults.unhideVaultAccount(body).then((res: FireblocksResponse) => { +fireblocks.vaults.unhideVaultAccount(body).then((res: FireblocksResponse) => { console.log('API called successfully. Returned data: ' + JSON.stringify(res, null, 2)); }).catch((error:any) => console.error(error)); ``` @@ -1613,7 +1479,7 @@ Name | Type | Description | Notes ### Return type -void (empty response body) +**[VaultActionStatus](../models/VaultActionStatus.md)** ### Authorization @@ -1700,7 +1566,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **updateVaultAccountAssetAddress** -> updateVaultAccountAssetAddress() +> VaultActionStatus updateVaultAccountAssetAddress() Updates the description of an existing address of an asset in a vault account. @@ -1710,7 +1576,7 @@ Updates the description of an existing address of an asset in a vault account. ```typescript import { readFileSync } from 'fs'; import { Fireblocks, BasePath } from '@fireblocks/ts-sdk'; -import type { FireblocksResponse, VaultsApiUpdateVaultAccountAssetAddressRequest } from '@fireblocks/ts-sdk'; +import type { FireblocksResponse, VaultsApiUpdateVaultAccountAssetAddressRequest, VaultActionStatus } 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" @@ -1732,7 +1598,7 @@ let body: VaultsApiUpdateVaultAccountAssetAddressRequest = { idempotencyKey: idempotencyKey_example, }; -fireblocks.vaults.updateVaultAccountAssetAddress(body).then((res: FireblocksResponse) => { +fireblocks.vaults.updateVaultAccountAssetAddress(body).then((res: FireblocksResponse) => { console.log('API called successfully. Returned data: ' + JSON.stringify(res, null, 2)); }).catch((error:any) => console.error(error)); ``` @@ -1751,7 +1617,7 @@ Name | Type | Description | Notes ### Return type -void (empty response body) +**[VaultActionStatus](../models/VaultActionStatus.md)** ### Authorization diff --git a/docs/models/AssetTypeResponse.md b/docs/models/AssetTypeResponse.md index 45c678f..0b8de0b 100644 --- a/docs/models/AssetTypeResponse.md +++ b/docs/models/AssetTypeResponse.md @@ -12,31 +12,6 @@ |**decimals** | **number** | | [optional] [default to undefined]| -## Enum: AssetTypeResponseTypeEnum - - -* `AlgoAsset` (value: `'ALGO_ASSET'`) - -* `BaseAsset` (value: `'BASE_ASSET'`) - -* `Bep20` (value: `'BEP20'`) - -* `Compound` (value: `'COMPOUND'`) - -* `Erc20` (value: `'ERC20'`) - -* `Fiat` (value: `'FIAT'`) - -* `SolAsset` (value: `'SOL_ASSET'`) - -* `TronTrc20` (value: `'TRON_TRC20'`) - -* `XlmAsset` (value: `'XLM_ASSET'`) - -* `XdbAsset` (value: `'XDB_ASSET'`) - - - [[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/ChainInfoResponseDto.md b/docs/models/ChainInfoResponseDto.md index a7dd80e..3caa73d 100644 --- a/docs/models/ChainInfoResponseDto.md +++ b/docs/models/ChainInfoResponseDto.md @@ -8,7 +8,7 @@ |**currentEpoch** | **number** | The current epoch number of the blockchain network. | [default to undefined]| |**epochElapsed** | **number** | The percentage of time that has elapsed within the current epoch, represented as a decimal value between 0 and 1. | [default to undefined]| |**epochDuration** | **number** | The total duration in milliseconds of a single epoch. | [default to undefined]| -|**additionalInfo** | [**AdditionalInfoDto**](AdditionalInfoDto.md) | | [default to undefined]| +|**additionalInfo** | [**AdditionalInfoDto**](AdditionalInfoDto.md) | Additional information related to the blockchain. This may include extra details about the blockchain network. | [default to undefined]| diff --git a/docs/models/CreateConnectionResponse.md b/docs/models/CreateConnectionResponse.md index 95501d6..cf863c3 100644 --- a/docs/models/CreateConnectionResponse.md +++ b/docs/models/CreateConnectionResponse.md @@ -5,7 +5,7 @@ |Name | Type | Description | Notes| |------------ | ------------- | ------------- | -------------| |**id** | **string** | The ID of the Web3 connection initiated. | [default to undefined]| -|**sessionMetadata** | [**SessionMetadata**](SessionMetadata.md) | | [default to undefined]| +|**sessionMetadata** | [**SessionMetadata**](SessionMetadata.md) | Metadata of the Web3 connection (provided by the DApp). | [default to undefined]| diff --git a/docs/models/CreateInternalWalletRequest.md b/docs/models/CreateInternalWalletRequest.md deleted file mode 100644 index c9716cc..0000000 --- a/docs/models/CreateInternalWalletRequest.md +++ /dev/null @@ -1,13 +0,0 @@ -# CreateInternalWalletRequest - -## Properties - -|Name | Type | Description | Notes| -|------------ | ------------- | ------------- | -------------| -|**name** | **string** | the wallet\'s display name | [optional] [default to undefined]| -|**customerRefId** | **string** | Optional - Sets a customer reference ID | [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/CreateTicket201Response.md b/docs/models/CreateTicket201Response.md deleted file mode 100644 index 26126c8..0000000 --- a/docs/models/CreateTicket201Response.md +++ /dev/null @@ -1,13 +0,0 @@ -# CreateTicket201Response - -## Properties - -|Name | Type | Description | Notes| -|------------ | ------------- | ------------- | -------------| -|**message** | **string** | Success message | [default to undefined]| -|**data** | [**SmartTransferTicketDto**](SmartTransferTicketDto.md) | | [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/CreateTicketTerm201Response.md b/docs/models/CreateTicketTerm201Response.md deleted file mode 100644 index 2c0d45b..0000000 --- a/docs/models/CreateTicketTerm201Response.md +++ /dev/null @@ -1,13 +0,0 @@ -# CreateTicketTerm201Response - -## Properties - -|Name | Type | Description | Notes| -|------------ | ------------- | ------------- | -------------| -|**message** | **string** | Success message | [default to undefined]| -|**data** | [**SmartTransferTicketTermDto**](SmartTransferTicketTermDto.md) | | [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/CreateVaultAccountAssetAddressRequest.md b/docs/models/CreateVaultAccountAssetAddressRequest.md deleted file mode 100644 index 64eeb8a..0000000 --- a/docs/models/CreateVaultAccountAssetAddressRequest.md +++ /dev/null @@ -1,13 +0,0 @@ -# CreateVaultAccountAssetAddressRequest - -## Properties - -|Name | Type | Description | Notes| -|------------ | ------------- | ------------- | -------------| -|**description** | **string** | (Optional) Attach a description to the new address | [optional] [default to undefined]| -|**customerRefId** | **string** | Optional - Sets a customer reference ID | [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/CreateVaultAccountAssetRequest.md b/docs/models/CreateVaultAccountAssetRequest.md deleted file mode 100644 index b70d7d4..0000000 --- a/docs/models/CreateVaultAccountAssetRequest.md +++ /dev/null @@ -1,12 +0,0 @@ -# CreateVaultAccountAssetRequest - -## Properties - -|Name | Type | Description | Notes| -|------------ | ------------- | ------------- | -------------| -|**eosAccountName** | **string** | Optional - when creating an EOS wallet, the account name. If not provided, a random name will be generated | [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/DelegationDto.md b/docs/models/DelegationDto.md index b41966d..3b96038 100644 --- a/docs/models/DelegationDto.md +++ b/docs/models/DelegationDto.md @@ -18,7 +18,7 @@ |**providerId** | **string** | The unique identifier of the staking provider | [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 (true if ongoing, false if not). | [default to undefined]| -|**blockchainPositionInfo** | [**SolanaBlockchainDataDto**](SolanaBlockchainDataDto.md) | | [default to undefined]| +|**blockchainPositionInfo** | [**SolanaBlockchainDataDto**](SolanaBlockchainDataDto.md) | Additional fields per blockchain - can be empty or missing if not initialized or no additional info exists. The type depends on the chainDescriptor value. For Solana (SOL), stake account address. For Ethereum (ETH), an empty object is returned as no specific data is available. | [default to undefined]| |**inProgressTxId** | **string** | The transaction ID of the ongoing request | [optional] [default to undefined]| diff --git a/docs/models/DestinationTransferPeerPath.md b/docs/models/DestinationTransferPeerPath.md index 1b66047..a90dfe2 100644 --- a/docs/models/DestinationTransferPeerPath.md +++ b/docs/models/DestinationTransferPeerPath.md @@ -5,82 +5,13 @@ |Name | Type | Description | Notes| |------------ | ------------- | ------------- | -------------| |**type** | [**TransferPeerPathType**](TransferPeerPathType.md) | | [default to undefined]| -|**subType** | **string** | | [optional] [default to undefined]| +|**subType** | [**TransferPeerPathSubType**](TransferPeerPathSubType.md) | | [optional] [default to undefined]| |**id** | **string** | | [optional] [default to undefined]| |**name** | **string** | | [optional] [default to undefined]| |**walletId** | **string** | | [optional] [default to undefined]| |**oneTimeAddress** | [**OneTimeAddress**](OneTimeAddress.md) | | [optional] [default to undefined]| -## Enum: DestinationTransferPeerPathSubTypeEnum - - -* `Binance` (value: `'BINANCE'`) - -* `Binanceus` (value: `'BINANCEUS'`) - -* `Bitfinex` (value: `'BITFINEX'`) - -* `Bithumb` (value: `'BITHUMB'`) - -* `Bitmex` (value: `'BITMEX'`) - -* `Bitso` (value: `'BITSO'`) - -* `Bitstamp` (value: `'BITSTAMP'`) - -* `Bittrex` (value: `'BITTREX'`) - -* `Blinc` (value: `'BLINC'`) - -* `Bybit` (value: `'BYBIT'`) - -* `Circle` (value: `'CIRCLE'`) - -* `Coinbaseexchange` (value: `'COINBASEEXCHANGE'`) - -* `Coinbasepro` (value: `'COINBASEPRO'`) - -* `Coinmetro` (value: `'COINMETRO'`) - -* `Coinspro` (value: `'COINSPRO'`) - -* `Cryptocom` (value: `'CRYPTOCOM'`) - -* `Deribit` (value: `'DERIBIT'`) - -* `Gemini` (value: `'GEMINI'`) - -* `Hitbtc` (value: `'HITBTC'`) - -* `Huobi` (value: `'HUOBI'`) - -* `Independentreserve` (value: `'INDEPENDENTRESERVE'`) - -* `Korbit` (value: `'KORBIT'`) - -* `Kraken` (value: `'KRAKEN'`) - -* `Krakenintl` (value: `'KRAKENINTL'`) - -* `Kucoin` (value: `'KUCOIN'`) - -* `Liquid` (value: `'LIQUID'`) - -* `Okcoin` (value: `'OKCOIN'`) - -* `Okex` (value: `'OKEX'`) - -* `Paxos` (value: `'PAXOS'`) - -* `Poloniex` (value: `'POLONIEX'`) - -* `External` (value: `'External'`) - -* `Internal` (value: `'Internal'`) - - - [[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/ExecuteAction201Response.md b/docs/models/ExecuteAction201Response.md deleted file mode 100644 index e179929..0000000 --- a/docs/models/ExecuteAction201Response.md +++ /dev/null @@ -1,12 +0,0 @@ -# ExecuteAction201Response - -## Properties - -|Name | Type | Description | Notes| -|------------ | ------------- | ------------- | -------------| -|**id** | **string** | The unique identifier of the staking position | [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/FindTicketById200Response.md b/docs/models/FindTicketById200Response.md deleted file mode 100644 index 74966ac..0000000 --- a/docs/models/FindTicketById200Response.md +++ /dev/null @@ -1,13 +0,0 @@ -# FindTicketById200Response - -## Properties - -|Name | Type | Description | Notes| -|------------ | ------------- | ------------- | -------------| -|**message** | **string** | Success message | [default to undefined]| -|**data** | [**SmartTransferTicketDto**](SmartTransferTicketDto.md) | | [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/FindTicketTermById200Response.md b/docs/models/FindTicketTermById200Response.md deleted file mode 100644 index b96652d..0000000 --- a/docs/models/FindTicketTermById200Response.md +++ /dev/null @@ -1,13 +0,0 @@ -# FindTicketTermById200Response - -## Properties - -|Name | Type | Description | Notes| -|------------ | ------------- | ------------- | -------------| -|**message** | **string** | Success message | [default to undefined]| -|**data** | [**SmartTransferTicketTermDto**](SmartTransferTicketTermDto.md) | | [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/CheckThirdPartyRouting200Response.md b/docs/models/GasStationConfigurationResponse.md similarity index 57% rename from docs/models/CheckThirdPartyRouting200Response.md rename to docs/models/GasStationConfigurationResponse.md index a89938f..237bcd3 100644 --- a/docs/models/CheckThirdPartyRouting200Response.md +++ b/docs/models/GasStationConfigurationResponse.md @@ -1,11 +1,12 @@ -# CheckThirdPartyRouting200Response +# GasStationConfigurationResponse ## Properties |Name | Type | Description | Notes| |------------ | ------------- | ------------- | -------------| -|**isThirdPartyRouting** | **boolean** | | [optional] [default to undefined]| -|**description** | **string** | | [optional] [default to undefined]| +|**gasThreshold** | **string** | | [optional] [default to undefined]| +|**gasCap** | **string** | | [optional] [default to undefined]| +|**maxGasPrice** | **string** | | [optional] [default to undefined]| diff --git a/docs/models/GasStationPropertiesResponse.md b/docs/models/GasStationPropertiesResponse.md index 6d944af..4158fdb 100644 --- a/docs/models/GasStationPropertiesResponse.md +++ b/docs/models/GasStationPropertiesResponse.md @@ -5,7 +5,7 @@ |Name | Type | Description | Notes| |------------ | ------------- | ------------- | -------------| |**balance** | **object** | | [optional] [default to undefined]| -|**configuration** | [**GasStationConfiguration**](GasStationConfiguration.md) | | [optional] [default to undefined]| +|**configuration** | [**GasStationConfigurationResponse**](GasStationConfigurationResponse.md) | | [optional] [default to undefined]| diff --git a/docs/models/GetAssetBalanceRequest.md b/docs/models/GetAssetBalanceRequest.md deleted file mode 100644 index d0a9e0e..0000000 --- a/docs/models/GetAssetBalanceRequest.md +++ /dev/null @@ -1,14 +0,0 @@ -# GetAssetBalanceRequest - -## Properties - -|Name | Type | Description | Notes| -|------------ | ------------- | ------------- | -------------| -|**assetId** | **string** | The ID of the new asset | [optional] [default to undefined]| -|**vaultAccountIdFrom** | **string** | The smallest vault account ID in the range | [optional] [default to undefined]| -|**vaultAccountIdTo** | **string** | The largest vault account ID in the range | [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/GetSmartTransferUserGroups200Response.md b/docs/models/GetSmartTransferUserGroups200Response.md deleted file mode 100644 index 45a99e8..0000000 --- a/docs/models/GetSmartTransferUserGroups200Response.md +++ /dev/null @@ -1,13 +0,0 @@ -# GetSmartTransferUserGroups200Response - -## Properties - -|Name | Type | Description | Notes| -|------------ | ------------- | ------------- | -------------| -|**message** | **string** | Success message | [default to undefined]| -|**data** | [**SmartTransferUserGroupsDto**](SmartTransferUserGroupsDto.md) | | [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/GetUsersResponse.md b/docs/models/GetUsersResponse.md deleted file mode 100644 index 39b1632..0000000 --- a/docs/models/GetUsersResponse.md +++ /dev/null @@ -1,12 +0,0 @@ -# GetUsersResponse - -## Properties - -|Name | Type | Description | Notes| -|------------ | ------------- | ------------- | -------------| -|**users** | [**Array<UserResponse>**](UserResponse.md) | | [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/NetworkConnectionResponse.md b/docs/models/NetworkConnectionResponse.md index 0e836d6..7383f3f 100644 --- a/docs/models/NetworkConnectionResponse.md +++ b/docs/models/NetworkConnectionResponse.md @@ -5,12 +5,12 @@ |Name | Type | Description | Notes| |------------ | ------------- | ------------- | -------------| |**id** | **string** | | [default to undefined]| -|**status** | [**ConfigChangeRequestStatus**](ConfigChangeRequestStatus.md) | | [default to undefined]| +|**status** | [**NetworkConnectionStatus**](NetworkConnectionStatus.md) | | [default to undefined]| |**localNetworkId** | [**NetworkId**](NetworkId.md) | | [default to undefined]| |**remoteNetworkId** | [**NetworkId**](NetworkId.md) | | [default to undefined]| |**routingPolicy** | [**NetworkConnectionRoutingPolicy**](NetworkConnectionRoutingPolicy.md) | | [default to undefined]| -|**localChannel** | [**NetworkChannel**](NetworkChannel.md) | | [optional] [default to undefined]| -|**remoteChannel** | [**NetworkChannel**](NetworkChannel.md) | | [optional] [default to undefined]| +|**localChannel** | [**NetworkChannel**](NetworkChannel.md) | Deprecated - Replaced by `localNetworkId` | [optional] [default to undefined]| +|**remoteChannel** | [**NetworkChannel**](NetworkChannel.md) | Deprecated - Replaced by `remoteNetworkId` | [optional] [default to undefined]| diff --git a/docs/models/NetworkConnectionStatus.md b/docs/models/NetworkConnectionStatus.md new file mode 100644 index 0000000..d94ff65 --- /dev/null +++ b/docs/models/NetworkConnectionStatus.md @@ -0,0 +1,26 @@ +# NetworkConnectionStatus + +## Enum + + +* `WaitingForApproval` (value: `'WAITING_FOR_APPROVAL'`) + +* `WaitingForPeerApproval` (value: `'WAITING_FOR_PEER_APPROVAL'`) + +* `Approved` (value: `'APPROVED'`) + +* `Cancelled` (value: `'CANCELLED'`) + +* `Failed` (value: `'FAILED'`) + +* `Rejected` (value: `'REJECTED'`) + +* `RejectedByPeer` (value: `'REJECTED_BY_PEER'`) + +* `Removed` (value: `'REMOVED'`) + +* `RemovedByPeer` (value: `'REMOVED_BY_PEER'`) + + + +[[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/PolicyRule.md b/docs/models/PolicyRule.md index 1982cd2..791f998 100644 --- a/docs/models/PolicyRule.md +++ b/docs/models/PolicyRule.md @@ -16,13 +16,13 @@ |**transactionType** | **string** | Defines the type of transaction to which the rule applies. * TRANSFER - Default. Transfers funds from one account to another * CONTRACT_CALL - Calls a smart contract, mainly for DeFi operations. * APPROVE - Allows a smart contract to withdraw from a designated wallet. * MINT - Perform a mint operation (increase supply) on a supported token * BURN - Perform a burn operation (reduce supply) on a supported token * SUPPLY - Use for DeFi to lend assets * REDEEM - Use for DeFi to get lending back * STAKE - Allows you to allocate and lock certain assets for earning staking rewards. * RAW - An off-chain message with no predefined format, use it to sign any message with your private key. * TYPED_MESSAGE - An off-chain message type that follows a predefined format, used to sign specific messages that are not actual transactions. | [optional] [default to undefined]| |**designatedSigner** | **string** | (deprecated - replaced by \"designatedSigners\") Id representing the user who signs transactions that match a specific rule | [optional] [default to undefined]| |**designatedSigners** | [**PolicyRuleDesignatedSigners**](PolicyRuleDesignatedSigners.md) | | [optional] [default to undefined]| -|**srcType** | [**PolicySrcOrDestType**](PolicySrcOrDestType.md) | | [optional] [default to undefined]| -|**srcSubType** | [**PolicySrcOrDestSubType**](PolicySrcOrDestSubType.md) | | [optional] [default to undefined]| -|**srcId** | **string** | Defines the account id, options are * \"*\" - All accounts * Specific account id | [optional] [default to undefined]| +|**srcType** | [**PolicySrcOrDestType**](PolicySrcOrDestType.md) | (deprecated - replaced by "src") source account type | [optional] [default to undefined]| +|**srcSubType** | [**PolicySrcOrDestSubType**](PolicySrcOrDestSubType.md) | (deprecated - replaced by "src") source sub account type | [optional] [default to undefined]| +|**srcId** | **string** | (deprecated - replaced by "src") source account id | [optional] [default to undefined]| |**src** | [**PolicyRuleSrc**](PolicyRuleSrc.md) | | [optional] [default to undefined]| -|**dstType** | [**PolicySrcOrDestType**](PolicySrcOrDestType.md) | | [optional] [default to undefined]| -|**dstSubType** | [**PolicySrcOrDestSubType**](PolicySrcOrDestSubType.md) | | [optional] [default to undefined]| -|**dstId** | **string** | Defines the account id, options are * \"*\" - All accounts * Specific account id | [optional] [default to undefined]| +|**dstType** | [**PolicySrcOrDestType**](PolicySrcOrDestType.md) | (deprecated - replaced by "dst") destination account type | [optional] [default to undefined]| +|**dstSubType** | [**PolicySrcOrDestSubType**](PolicySrcOrDestSubType.md) | (deprecated - replaced by "dst") destination sub account type | [optional] [default to undefined]| +|**dstId** | **string** | (deprecated - replaced by "dst") destination account id | [optional] [default to undefined]| |**dst** | [**PolicyRuleDst**](PolicyRuleDst.md) | | [optional] [default to undefined]| |**dstAddressType** | **string** | Defines whether the destination to which you are sending funds must be whitelisted, to allow one-time transfers to non-whitelisted external addresses, or both. By default, you can only transfer to an external address after it’s whitelisted. * WHITELISTED - Can only be sent to whitelisted addresses. * ONE_TIME - Can only be sent to non-whitelisted external addresses. * \"*\" - can be sent to whitelisted addresses or non-whitelisted external | [optional] [default to undefined]| |**authorizers** | **Array<string>** | (deprecated - replaced by \"authorizationGroups\") Allowed entities which can approves a transaction | [optional] [default to undefined]| diff --git a/docs/models/PublishPolicyRulesRequest.md b/docs/models/PublishPolicyRulesRequest.md deleted file mode 100644 index 1fce45f..0000000 --- a/docs/models/PublishPolicyRulesRequest.md +++ /dev/null @@ -1,12 +0,0 @@ -# PublishPolicyRulesRequest - -## Properties - -|Name | Type | Description | Notes| -|------------ | ------------- | ------------- | -------------| -|**rules** | [**Array<PolicyRule>**](PolicyRule.md) | Policy rules to publish | [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/RedeemFundsToLinkedDdaRequest.md b/docs/models/RedeemFundsToLinkedDdaRequest.md deleted file mode 100644 index 52b2d50..0000000 --- a/docs/models/RedeemFundsToLinkedDdaRequest.md +++ /dev/null @@ -1,12 +0,0 @@ -# RedeemFundsToLinkedDdaRequest - -## Properties - -|Name | Type | Description | Notes| -|------------ | ------------- | ------------- | -------------| -|**amount** | **number** | | [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/RequestOptions.md b/docs/models/RequestOptions.md deleted file mode 100644 index e4d523d..0000000 --- a/docs/models/RequestOptions.md +++ /dev/null @@ -1,13 +0,0 @@ -# RequestOptions - -## Properties - -|Name | Type | Description | Notes| -|------------ | ------------- | ------------- | -------------| -|**idempotencyKey** | **string** | | [optional] [default to undefined]| -|**ncw** | [**Ncw**](Ncw.md) | | [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/SearchTickets200Response.md b/docs/models/SearchTickets200Response.md deleted file mode 100644 index 8006494..0000000 --- a/docs/models/SearchTickets200Response.md +++ /dev/null @@ -1,14 +0,0 @@ -# SearchTickets200Response - -## Properties - -|Name | Type | Description | Notes| -|------------ | ------------- | ------------- | -------------| -|**message** | **string** | Result message | [default to undefined]| -|**after** | **string** | Unique id of next filtered result | [default to undefined]| -|**data** | [**Array<SmartTransferTicketDto>**](SmartTransferTicketDto.md) | | [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/SessionDTO.md b/docs/models/SessionDTO.md index e21e557..146f042 100644 --- a/docs/models/SessionDTO.md +++ b/docs/models/SessionDTO.md @@ -6,7 +6,7 @@ |------------ | ------------- | ------------- | -------------| |**id** | **string** | Id of the connection | [default to undefined]| |**userId** | **string** | Id of the user that created the connection | [default to undefined]| -|**sessionMetadata** | [**SessionMetadata**](SessionMetadata.md) | | [default to undefined]| +|**sessionMetadata** | [**SessionMetadata**](SessionMetadata.md) | Metadata of the connection (provided by the dapp) | [default to undefined]| |**vaultAccountId** | **number** | The vault to connect | [default to undefined]| |**feeLevel** | **string** | The default fee level | [default to undefined]| |**chainIds** | **Array<string>** | The chains approved for the connection | [default to undefined]| diff --git a/docs/models/SetAutoFuelForVaultAccountRequest.md b/docs/models/SetAutoFuelForVaultAccountRequest.md deleted file mode 100644 index abd6f26..0000000 --- a/docs/models/SetAutoFuelForVaultAccountRequest.md +++ /dev/null @@ -1,12 +0,0 @@ -# SetAutoFuelForVaultAccountRequest - -## Properties - -|Name | Type | Description | Notes| -|------------ | ------------- | ------------- | -------------| -|**autoFuel** | **boolean** | Auto Fuel | [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/SetCustomerRefIdForVaultAccountRequest.md b/docs/models/SetCustomerRefIdForVaultAccountRequest.md deleted file mode 100644 index 7fd2b4f..0000000 --- a/docs/models/SetCustomerRefIdForVaultAccountRequest.md +++ /dev/null @@ -1,12 +0,0 @@ -# SetCustomerRefIdForVaultAccountRequest - -## Properties - -|Name | Type | Description | Notes| -|------------ | ------------- | ------------- | -------------| -|**customerRefId** | **string** | Customer reference ID | [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/SetDiscoverabilityForNetworkIdRequest.md b/docs/models/SetDiscoverabilityForNetworkIdRequest.md deleted file mode 100644 index f9be23d..0000000 --- a/docs/models/SetDiscoverabilityForNetworkIdRequest.md +++ /dev/null @@ -1,12 +0,0 @@ -# SetDiscoverabilityForNetworkIdRequest - -## Properties - -|Name | Type | Description | Notes| -|------------ | ------------- | ------------- | -------------| -|**isDiscoverable** | **boolean** | | [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/SetRoutingPolicyForNetworkIdRequest.md b/docs/models/SetRoutingPolicyForNetworkIdRequest.md deleted file mode 100644 index f8cc8c6..0000000 --- a/docs/models/SetRoutingPolicyForNetworkIdRequest.md +++ /dev/null @@ -1,12 +0,0 @@ -# SetRoutingPolicyForNetworkIdRequest - -## Properties - -|Name | Type | Description | Notes| -|------------ | ------------- | ------------- | -------------| -|**routingPolicy** | [**NetworkIdRoutingPolicy**](NetworkIdRoutingPolicy.md) | | [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/SetUserGroups201Response.md b/docs/models/SetUserGroups201Response.md deleted file mode 100644 index 5722f27..0000000 --- a/docs/models/SetUserGroups201Response.md +++ /dev/null @@ -1,13 +0,0 @@ -# SetUserGroups201Response - -## Properties - -|Name | Type | Description | Notes| -|------------ | ------------- | ------------- | -------------| -|**message** | **string** | Success message | [default to undefined]| -|**data** | [**SmartTransferUserGroupsDto**](SmartTransferUserGroupsDto.md) | | [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/SmartTransferCreateTicketDto.md b/docs/models/SmartTransferCreateTicketDto.md deleted file mode 100644 index cd2f348..0000000 --- a/docs/models/SmartTransferCreateTicketDto.md +++ /dev/null @@ -1,25 +0,0 @@ -# SmartTransferCreateTicketDto - -## Properties - -|Name | Type | Description | Notes| -|------------ | ------------- | ------------- | -------------| -|**createdByNetworkId** | **string** | | [default to undefined]| -|**type** | **string** | | [default to undefined]| -|**expiresIn** | **number** | Number of hours after which an OPEN ticket will expire if no term is funded. | [optional] [default to undefined]| -|**terms** | [**Array<SmartTransferCreateTicketTermDto>**](SmartTransferCreateTicketTermDto.md) | | [optional] [default to undefined]| -|**externalRefId** | **string** | | [optional] [default to undefined]| -|**note** | **string** | | [optional] [default to undefined]| -|**submit** | **boolean** | | [optional] [default to undefined]| - - -## Enum: SmartTransferCreateTicketDtoTypeEnum - - -* `Async` (value: `'ASYNC'`) - - - - - -[[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/SmartTransferCreateTicketTermDto.md b/docs/models/SmartTransferCreateTicketTermDto.md deleted file mode 100644 index 36fba38..0000000 --- a/docs/models/SmartTransferCreateTicketTermDto.md +++ /dev/null @@ -1,15 +0,0 @@ -# SmartTransferCreateTicketTermDto - -## Properties - -|Name | Type | Description | Notes| -|------------ | ------------- | ------------- | -------------| -|**asset** | **string** | Asset name | [default to undefined]| -|**amount** | **number** | Amount | [default to undefined]| -|**fromNetworkId** | **string** | Identifier of the origination Network Profile | [default to undefined]| -|**toNetworkId** | **string** | Identifier of the destination Network Profile | [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/SmartTransferFundTermDto.md b/docs/models/SmartTransferFundTermDto.md deleted file mode 100644 index 6de0bae..0000000 --- a/docs/models/SmartTransferFundTermDto.md +++ /dev/null @@ -1,18 +0,0 @@ -# SmartTransferFundTermDto - -## Properties - -|Name | Type | Description | Notes| -|------------ | ------------- | ------------- | -------------| -|**asset** | **string** | Asset name | [default to undefined]| -|**amount** | **string** | Amount | [default to undefined]| -|**networkConnectionId** | **string** | Id of the network connection used. | [default to undefined]| -|**srcId** | **string** | Id of the vault that is used as the source of the asset. | [default to undefined]| -|**srcType** | **string** | Source of the asset. | [default to undefined]| -|**fee** | **string** | Transaction fee | [optional] [default to undefined]| -|**feeLevel** | **string** | Transaction fee level. | [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/SmartTransferManuallyFundTermDto.md b/docs/models/SmartTransferManuallyFundTermDto.md deleted file mode 100644 index dc3c10c..0000000 --- a/docs/models/SmartTransferManuallyFundTermDto.md +++ /dev/null @@ -1,12 +0,0 @@ -# SmartTransferManuallyFundTermDto - -## Properties - -|Name | Type | Description | Notes| -|------------ | ------------- | ------------- | -------------| -|**txHash** | **string** | | [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/SmartTransferSetTicketExpirationDto.md b/docs/models/SmartTransferSetTicketExpirationDto.md deleted file mode 100644 index 4bebd67..0000000 --- a/docs/models/SmartTransferSetTicketExpirationDto.md +++ /dev/null @@ -1,12 +0,0 @@ -# SmartTransferSetTicketExpirationDto - -## Properties - -|Name | Type | Description | Notes| -|------------ | ------------- | ------------- | -------------| -|**expiresIn** | **number** | Sets ticket expiration time (in hours) after a ticket is submitted. If no funding source is set to any term, the ticket will automatically expire after given time. | [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/SmartTransferSetTicketExternalIdDto.md b/docs/models/SmartTransferSetTicketExternalIdDto.md deleted file mode 100644 index 476036d..0000000 --- a/docs/models/SmartTransferSetTicketExternalIdDto.md +++ /dev/null @@ -1,12 +0,0 @@ -# SmartTransferSetTicketExternalIdDto - -## Properties - -|Name | Type | Description | Notes| -|------------ | ------------- | ------------- | -------------| -|**externalRefId** | **string** | Each workspace can set their own external id they want to refer to this Ticket | [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/SmartTransferSetUserGroupsDto.md b/docs/models/SmartTransferSetUserGroupsDto.md deleted file mode 100644 index 68844e0..0000000 --- a/docs/models/SmartTransferSetUserGroupsDto.md +++ /dev/null @@ -1,12 +0,0 @@ -# SmartTransferSetUserGroupsDto - -## Properties - -|Name | Type | Description | Notes| -|------------ | ------------- | ------------- | -------------| -|**userGroupIds** | **Array<string>** | | [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/SmartTransferSubmitTicketDto.md b/docs/models/SmartTransferSubmitTicketDto.md deleted file mode 100644 index 686c0a5..0000000 --- a/docs/models/SmartTransferSubmitTicketDto.md +++ /dev/null @@ -1,12 +0,0 @@ -# SmartTransferSubmitTicketDto - -## Properties - -|Name | Type | Description | Notes| -|------------ | ------------- | ------------- | -------------| -|**expiresIn** | **number** | Sets the ticket expiration time (in hours) after the ticket is submitted. If no funding source is set for any term, the ticket will automatically expire after given time. | [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/SmartTransferTicketDto.md b/docs/models/SmartTransferTicketDto.md deleted file mode 100644 index d705a17..0000000 --- a/docs/models/SmartTransferTicketDto.md +++ /dev/null @@ -1,70 +0,0 @@ -# SmartTransferTicketDto - -## Properties - -|Name | Type | Description | Notes| -|------------ | ------------- | ------------- | -------------| -|**id** | **string** | Unique id of Smart Transfer ticket | [default to undefined]| -|**type** | **string** | Kind of Smart Transfer. Can be either `ASYNC` or `ATOMIC` | [default to undefined]| -|**status** | **string** | Current status of Smart Transfer ticket | [default to undefined]| -|**createdByNetworkId** | **string** | ID of network profile that created ticket | [default to undefined]| -|**createdByNetworkIdName** | **string** | Name of network profile that created ticket | [default to undefined]| -|**createdAt** | **string** | Date and time at which the ticket is created. | [default to undefined]| -|**updatedAt** | **string** | Date and time of last ticket update. | [default to undefined]| -|**direction** | **string** | Direction of Smart Transfer. | [optional] [default to undefined]| -|**terms** | [**Array<SmartTransferTicketTermDto>**](SmartTransferTicketTermDto.md) | Ticket terms (legs) | [optional] [default to undefined]| -|**expiresIn** | **number** | Number of hours for expiration.This data is valid only it ticket not in DRAFT state and it will be used to calculate expiresAt value | [optional] [default to undefined]| -|**expiresAt** | **string** | Date and time at which the ticket will expire if no funding is performed. | [optional] [default to undefined]| -|**submittedAt** | **string** | Date and time when ticket is submitted. | [optional] [default to undefined]| -|**expiredAt** | **string** | Date and time when ticket is expired. | [optional] [default to undefined]| -|**canceledAt** | **string** | Date and time when ticket is canceled. | [optional] [default to undefined]| -|**fulfilledAt** | **string** | Date and time when ticket is fulfilled. | [optional] [default to undefined]| -|**externalRefId** | **string** | External Ref ID for Smart Transfer ticket. | [optional] [default to undefined]| -|**note** | **string** | Note | [optional] [default to undefined]| -|**canceledByNetworkIdName** | **string** | Name of network profile that canceled ticket | [optional] [default to undefined]| -|**canceledByMe** | **boolean** | | [optional] [default to undefined]| -|**createdByMe** | **boolean** | | [optional] [default to undefined]| - - -## Enum: SmartTransferTicketDtoTypeEnum - - -* `Async` (value: `'ASYNC'`) - - - -## Enum: SmartTransferTicketDtoStatusEnum - - -* `Draft` (value: `'DRAFT'`) - -* `PendingApproval` (value: `'PENDING_APPROVAL'`) - -* `Open` (value: `'OPEN'`) - -* `InSettlement` (value: `'IN_SETTLEMENT'`) - -* `Fulfilled` (value: `'FULFILLED'`) - -* `Expired` (value: `'EXPIRED'`) - -* `Canceled` (value: `'CANCELED'`) - - - -## Enum: SmartTransferTicketDtoDirectionEnum - - -* `Exchange` (value: `'EXCHANGE'`) - -* `Send` (value: `'SEND'`) - -* `Receive` (value: `'RECEIVE'`) - -* `Intermediate` (value: `'INTERMEDIATE'`) - - - - - -[[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/SmartTransferTicketFilteredResponseDto.md b/docs/models/SmartTransferTicketFilteredResponseDto.md deleted file mode 100644 index ab46df8..0000000 --- a/docs/models/SmartTransferTicketFilteredResponseDto.md +++ /dev/null @@ -1,14 +0,0 @@ -# SmartTransferTicketFilteredResponseDto - -## Properties - -|Name | Type | Description | Notes| -|------------ | ------------- | ------------- | -------------| -|**message** | **string** | Result message | [default to undefined]| -|**after** | **string** | Returns last skipped id if any preceding elements are skipped in result. | [default to undefined]| -|**data** | [**Array<SmartTransferTicketDto>**](SmartTransferTicketDto.md) | Result that match given query criteria | [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/SmartTransferTicketResponseDto.md b/docs/models/SmartTransferTicketResponseDto.md deleted file mode 100644 index ab6db2a..0000000 --- a/docs/models/SmartTransferTicketResponseDto.md +++ /dev/null @@ -1,13 +0,0 @@ -# SmartTransferTicketResponseDto - -## Properties - -|Name | Type | Description | Notes| -|------------ | ------------- | ------------- | -------------| -|**message** | **string** | Result message | [default to undefined]| -|**data** | [**SmartTransferTicketResponseDtoData**](SmartTransferTicketResponseDtoData.md) | | [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/SmartTransferTicketResponseDtoData.md b/docs/models/SmartTransferTicketResponseDtoData.md deleted file mode 100644 index 304a5f4..0000000 --- a/docs/models/SmartTransferTicketResponseDtoData.md +++ /dev/null @@ -1,70 +0,0 @@ -# SmartTransferTicketResponseDtoData - -## Properties - -|Name | Type | Description | Notes| -|------------ | ------------- | ------------- | -------------| -|**id** | **string** | Unique id of Smart Transfer ticket | [default to undefined]| -|**type** | **string** | Kind of Smart Transfer. Can be either `ASYNC` or `ATOMIC` | [default to undefined]| -|**status** | **string** | Current status of Smart Transfer ticket | [default to undefined]| -|**createdByNetworkId** | **string** | ID of network profile that created ticket | [default to undefined]| -|**createdByNetworkIdName** | **string** | Name of network profile that created ticket | [default to undefined]| -|**createdAt** | **string** | Date and time at which the ticket is created. | [default to undefined]| -|**updatedAt** | **string** | Date and time of last ticket update. | [default to undefined]| -|**direction** | **string** | Direction of Smart Transfer. | [optional] [default to undefined]| -|**terms** | [**Array<SmartTransferTicketTermDto>**](SmartTransferTicketTermDto.md) | Ticket terms (legs) | [optional] [default to undefined]| -|**expiresIn** | **number** | Number of hours for expiration.This data is valid only it ticket not in DRAFT state and it will be used to calculate expiresAt value | [optional] [default to undefined]| -|**expiresAt** | **string** | Date and time at which the ticket will expire if no funding is performed. | [optional] [default to undefined]| -|**submittedAt** | **string** | Date and time when ticket is submitted. | [optional] [default to undefined]| -|**expiredAt** | **string** | Date and time when ticket is expired. | [optional] [default to undefined]| -|**canceledAt** | **string** | Date and time when ticket is canceled. | [optional] [default to undefined]| -|**fulfilledAt** | **string** | Date and time when ticket is fulfilled. | [optional] [default to undefined]| -|**externalRefId** | **string** | External Ref ID for Smart Transfer ticket. | [optional] [default to undefined]| -|**note** | **string** | Note | [optional] [default to undefined]| -|**canceledByNetworkIdName** | **string** | Name of network profile that canceled ticket | [optional] [default to undefined]| -|**canceledByMe** | **boolean** | | [optional] [default to undefined]| -|**createdByMe** | **boolean** | | [optional] [default to undefined]| - - -## Enum: SmartTransferTicketResponseDtoDataTypeEnum - - -* `Async` (value: `'ASYNC'`) - - - -## Enum: SmartTransferTicketResponseDtoDataStatusEnum - - -* `Draft` (value: `'DRAFT'`) - -* `PendingApproval` (value: `'PENDING_APPROVAL'`) - -* `Open` (value: `'OPEN'`) - -* `InSettlement` (value: `'IN_SETTLEMENT'`) - -* `Fulfilled` (value: `'FULFILLED'`) - -* `Expired` (value: `'EXPIRED'`) - -* `Canceled` (value: `'CANCELED'`) - - - -## Enum: SmartTransferTicketResponseDtoDataDirectionEnum - - -* `Exchange` (value: `'EXCHANGE'`) - -* `Send` (value: `'SEND'`) - -* `Receive` (value: `'RECEIVE'`) - -* `Intermediate` (value: `'INTERMEDIATE'`) - - - - - -[[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/SmartTransferTicketTermDto.md b/docs/models/SmartTransferTicketTermDto.md deleted file mode 100644 index c294f7a..0000000 --- a/docs/models/SmartTransferTicketTermDto.md +++ /dev/null @@ -1,78 +0,0 @@ -# SmartTransferTicketTermDto - -## Properties - -|Name | Type | Description | Notes| -|------------ | ------------- | ------------- | -------------| -|**id** | **string** | Unique id of Smart Transfer ticket term | [default to undefined]| -|**ticketId** | **string** | Unique id of Smart Transfer ticket | [default to undefined]| -|**asset** | **string** | Asset name | [default to undefined]| -|**amount** | **string** | Amount | [default to undefined]| -|**fromNetworkId** | **string** | Identifier of the origination Network Profile | [default to undefined]| -|**fromNetworkIdName** | **string** | Source network name | [default to undefined]| -|**toNetworkId** | **string** | Identifier of the destination Network Profile | [default to undefined]| -|**toNetworkIdName** | **string** | Destination network name | [default to undefined]| -|**txHash** | **string** | Blockchain TX hash | [default to undefined]| -|**fbTxId** | **string** | Fireblocks transaction ID. It is set when the funding transaction is created. | [default to undefined]| -|**txStatus** | **string** | Ticket term transaction status | [default to undefined]| -|**status** | **string** | Ticket term status | [default to undefined]| -|**createdAt** | **string** | Date and time when the term is created. | [default to undefined]| -|**updatedAt** | **string** | Date and time of last term update. | [default to undefined]| -|**amountUsd** | **string** | Amount USD | [optional] [default to undefined]| - - -## Enum: SmartTransferTicketTermDtoTxStatusEnum - - -* `Queued` (value: `'queued'`) - -* `Submitted` (value: `'submitted'`) - -* `PendingSignature` (value: `'pendingSignature'`) - -* `PendingAuthorization` (value: `'pendingAuthorization'`) - -* `Broadcasting` (value: `'broadcasting'`) - -* `Confirming` (value: `'confirming'`) - -* `PendingAmlScreening` (value: `'pendingAmlScreening'`) - -* `Completed` (value: `'completed'`) - -* `Cancelled` (value: `'cancelled'`) - -* `Failed` (value: `'failed'`) - -* `Rejected` (value: `'rejected'`) - -* `Blocked` (value: `'blocked'`) - -* `ThirdPartyPendingManualApproval` (value: `'thirdPartyPendingManualApproval'`) - -* `ThirdPartyPending` (value: `'thirdPartyPending'`) - -* `PartiallyCompleted` (value: `'partiallyCompleted'`) - -* `Cancelling` (value: `'cancelling'`) - - - -## Enum: SmartTransferTicketTermDtoStatusEnum - - -* `Created` (value: `'CREATED'`) - -* `Funding` (value: `'FUNDING'`) - -* `FundingFailed` (value: `'FUNDING_FAILED'`) - -* `Funded` (value: `'FUNDED'`) - -* `Rejected` (value: `'REJECTED'`) - - - - - -[[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/SmartTransferTicketTermResponseDto.md b/docs/models/SmartTransferTicketTermResponseDto.md deleted file mode 100644 index 3c43cdc..0000000 --- a/docs/models/SmartTransferTicketTermResponseDto.md +++ /dev/null @@ -1,13 +0,0 @@ -# SmartTransferTicketTermResponseDto - -## Properties - -|Name | Type | Description | Notes| -|------------ | ------------- | ------------- | -------------| -|**message** | **string** | Result message | [default to undefined]| -|**data** | [**SmartTransferTicketTermResponseDtoData**](SmartTransferTicketTermResponseDtoData.md) | | [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/SmartTransferTicketTermResponseDtoData.md b/docs/models/SmartTransferTicketTermResponseDtoData.md deleted file mode 100644 index a29517b..0000000 --- a/docs/models/SmartTransferTicketTermResponseDtoData.md +++ /dev/null @@ -1,78 +0,0 @@ -# SmartTransferTicketTermResponseDtoData - -## Properties - -|Name | Type | Description | Notes| -|------------ | ------------- | ------------- | -------------| -|**id** | **string** | Unique id of Smart Transfer ticket term | [default to undefined]| -|**ticketId** | **string** | Unique id of Smart Transfer ticket | [default to undefined]| -|**asset** | **string** | Asset name | [default to undefined]| -|**amount** | **string** | Amount | [default to undefined]| -|**fromNetworkId** | **string** | Identifier of the origination Network Profile | [default to undefined]| -|**fromNetworkIdName** | **string** | Source network name | [default to undefined]| -|**toNetworkId** | **string** | Identifier of the destination Network Profile | [default to undefined]| -|**toNetworkIdName** | **string** | Destination network name | [default to undefined]| -|**txHash** | **string** | Blockchain TX hash | [default to undefined]| -|**fbTxId** | **string** | Fireblocks transaction ID. It is set when the funding transaction is created. | [default to undefined]| -|**txStatus** | **string** | Ticket term transaction status | [default to undefined]| -|**status** | **string** | Ticket term status | [default to undefined]| -|**createdAt** | **string** | Date and time when the term is created. | [default to undefined]| -|**updatedAt** | **string** | Date and time of last term update. | [default to undefined]| -|**amountUsd** | **string** | Amount USD | [optional] [default to undefined]| - - -## Enum: SmartTransferTicketTermResponseDtoDataTxStatusEnum - - -* `Queued` (value: `'queued'`) - -* `Submitted` (value: `'submitted'`) - -* `PendingSignature` (value: `'pendingSignature'`) - -* `PendingAuthorization` (value: `'pendingAuthorization'`) - -* `Broadcasting` (value: `'broadcasting'`) - -* `Confirming` (value: `'confirming'`) - -* `PendingAmlScreening` (value: `'pendingAmlScreening'`) - -* `Completed` (value: `'completed'`) - -* `Cancelled` (value: `'cancelled'`) - -* `Failed` (value: `'failed'`) - -* `Rejected` (value: `'rejected'`) - -* `Blocked` (value: `'blocked'`) - -* `ThirdPartyPendingManualApproval` (value: `'thirdPartyPendingManualApproval'`) - -* `ThirdPartyPending` (value: `'thirdPartyPending'`) - -* `PartiallyCompleted` (value: `'partiallyCompleted'`) - -* `Cancelling` (value: `'cancelling'`) - - - -## Enum: SmartTransferTicketTermResponseDtoDataStatusEnum - - -* `Created` (value: `'CREATED'`) - -* `Funding` (value: `'FUNDING'`) - -* `FundingFailed` (value: `'FUNDING_FAILED'`) - -* `Funded` (value: `'FUNDED'`) - -* `Rejected` (value: `'REJECTED'`) - - - - - -[[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/SmartTransferUpdateTicketTermDto.md b/docs/models/SmartTransferUpdateTicketTermDto.md deleted file mode 100644 index a00f3a8..0000000 --- a/docs/models/SmartTransferUpdateTicketTermDto.md +++ /dev/null @@ -1,15 +0,0 @@ -# SmartTransferUpdateTicketTermDto - -## Properties - -|Name | Type | Description | Notes| -|------------ | ------------- | ------------- | -------------| -|**asset** | **string** | Asset name | [default to undefined]| -|**amount** | **number** | Amount | [default to undefined]| -|**fromNetworkId** | **string** | Identifier of the origination Network Profile | [default to undefined]| -|**toNetworkId** | **string** | Identifier of the destination Network Profile | [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/SmartTransferUserGroupsDto.md b/docs/models/SmartTransferUserGroupsDto.md deleted file mode 100644 index 97578fa..0000000 --- a/docs/models/SmartTransferUserGroupsDto.md +++ /dev/null @@ -1,12 +0,0 @@ -# SmartTransferUserGroupsDto - -## Properties - -|Name | Type | Description | Notes| -|------------ | ------------- | ------------- | -------------| -|**userGroupIds** | **Array<string>** | Data object with result data | [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/SmartTransferUserGroupsResponseDto.md b/docs/models/SmartTransferUserGroupsResponseDto.md deleted file mode 100644 index f563ba4..0000000 --- a/docs/models/SmartTransferUserGroupsResponseDto.md +++ /dev/null @@ -1,13 +0,0 @@ -# SmartTransferUserGroupsResponseDto - -## Properties - -|Name | Type | Description | Notes| -|------------ | ------------- | ------------- | -------------| -|**message** | **string** | Result message | [default to undefined]| -|**data** | [**SmartTransferUserGroupsResponseDtoData**](SmartTransferUserGroupsResponseDtoData.md) | | [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/SmartTransferUserGroupsResponseDtoData.md b/docs/models/SmartTransferUserGroupsResponseDtoData.md deleted file mode 100644 index c139059..0000000 --- a/docs/models/SmartTransferUserGroupsResponseDtoData.md +++ /dev/null @@ -1,12 +0,0 @@ -# SmartTransferUserGroupsResponseDtoData - -## Properties - -|Name | Type | Description | Notes| -|------------ | ------------- | ------------- | -------------| -|**userGroupIds** | **Array<string>** | Data object with result data | [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/SourceTransferPeerPath.md b/docs/models/SourceTransferPeerPath.md new file mode 100644 index 0000000..1bf38d9 --- /dev/null +++ b/docs/models/SourceTransferPeerPath.md @@ -0,0 +1,16 @@ +# SourceTransferPeerPath + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**type** | [**TransferPeerPathType**](TransferPeerPathType.md) | | [default to undefined]| +|**subType** | [**TransferPeerPathSubType**](TransferPeerPathSubType.md) | | [optional] [default to undefined]| +|**id** | **string** | | [optional] [default to undefined]| +|**name** | **string** | | [optional] [default to undefined]| +|**walletId** | **string** | | [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/TokenOwnershipResponse.md b/docs/models/TokenOwnershipResponse.md index 1d7d99c..30b8820 100644 --- a/docs/models/TokenOwnershipResponse.md +++ b/docs/models/TokenOwnershipResponse.md @@ -15,8 +15,8 @@ |**metadataURI** | **string** | URL of the original token JSON metadata | [optional] [default to undefined]| |**cachedMetadataURI** | **string** | URL of the cached token JSON metadata | [optional] [default to undefined]| |**media** | [**Array<MediaEntityResponse>**](MediaEntityResponse.md) | Media items extracted from metadata JSON | [optional] [default to undefined]| -|**spam** | [**SpamOwnershipResponse**](SpamOwnershipResponse.md) | | [optional] [default to undefined]| -|**collection** | [**TokenCollectionResponse**](TokenCollectionResponse.md) | | [optional] [default to undefined]| +|**spam** | [**SpamOwnershipResponse**](SpamOwnershipResponse.md) | Owned Token's Spam status | [optional] [default to undefined]| +|**collection** | [**TokenCollectionResponse**](TokenCollectionResponse.md) | Parent collection information | [optional] [default to undefined]| |**vaultAccountId** | **string** | | [optional] [default to undefined]| |**description** | **string** | | [optional] [default to undefined]| |**name** | **string** | | [optional] [default to undefined]| diff --git a/docs/models/TokenResponse.md b/docs/models/TokenResponse.md index af1271f..5261ab0 100644 --- a/docs/models/TokenResponse.md +++ b/docs/models/TokenResponse.md @@ -11,8 +11,8 @@ |**metadataURI** | **string** | URL of the original token JSON metadata | [optional] [default to undefined]| |**cachedMetadataURI** | **string** | URL of the cached token JSON metadata | [optional] [default to undefined]| |**media** | [**Array<MediaEntityResponse>**](MediaEntityResponse.md) | Media items extracted from metadata JSON | [optional] [default to undefined]| -|**spam** | [**SpamTokenResponse**](SpamTokenResponse.md) | | [optional] [default to undefined]| -|**collection** | [**TokenCollectionResponse**](TokenCollectionResponse.md) | | [optional] [default to undefined]| +|**spam** | [**SpamTokenResponse**](SpamTokenResponse.md) | Token spam status | [optional] [default to undefined]| +|**collection** | [**TokenCollectionResponse**](TokenCollectionResponse.md) | Parent collection information | [optional] [default to undefined]| |**description** | **string** | | [optional] [default to undefined]| |**name** | **string** | | [optional] [default to undefined]| diff --git a/docs/models/TransactionRequest.md b/docs/models/TransactionRequest.md index 9c5247d..2caeadd 100644 --- a/docs/models/TransactionRequest.md +++ b/docs/models/TransactionRequest.md @@ -8,7 +8,7 @@ |**note** | **string** | Custom note, not sent to the blockchain, to describe the transaction at your Fireblocks workspace. | [optional] [default to undefined]| |**externalTxId** | **string** | An optional but highly recommended parameter. Fireblocks will reject future transactions with same ID. You should set this to a unique ID representing the transaction, to avoid submitting the same transaction twice. This helps with cases where submitting the transaction responds with an error code due to Internet interruptions, but the transaction was actually sent and processed. To validate whether a transaction has been processed, [Find a specific transaction by external transaction ID](https://developers.fireblocks.com/reference/get_transactions-external-tx-id-externaltxid). There is no specific format required for this parameter. | [optional] [default to undefined]| |**assetId** | **string** | The ID of the asset to transfer, for `TRANSFER`, `MINT` or `BURN` operations. [See the list of supported assets and their IDs on Fireblocks.](https://developers.fireblocks.com/reference/get_supported-assets) | [optional] [default to undefined]| -|**source** | [**TransferPeerPath**](TransferPeerPath.md) | | [optional] [default to undefined]| +|**source** | [**SourceTransferPeerPath**](SourceTransferPeerPath.md) | | [optional] [default to undefined]| |**destination** | [**DestinationTransferPeerPath**](DestinationTransferPeerPath.md) | | [optional] [default to undefined]| |**destinations** | [**Array<TransactionRequestDestination>**](TransactionRequestDestination.md) | For UTXO based blockchains, you can send a single transaction to multiple destinations. | [optional] [default to undefined]| |**amount** | [**TransactionRequestAmount**](TransactionRequestAmount.md) | | [optional] [default to undefined]| diff --git a/docs/models/TransactionResponse.md b/docs/models/TransactionResponse.md index 93f0661..1c806ed 100644 --- a/docs/models/TransactionResponse.md +++ b/docs/models/TransactionResponse.md @@ -51,6 +51,7 @@ |**serviceFee** | **number** | The total fee deducted by the exchange from the actual requested amount (`serviceFee` = `amount` - `netAmount`). Deprecated - please use the `feeInfo` field for accuracy. | [optional] [default to undefined]| |**fee** | **number** | Deprecated - please use the `feeInfo` field for accuracy. | [optional] [default to undefined]| |**networkFee** | **number** | The fee paid to the network. Deprecated - please use the `feeInfo` field for accuracy. | [optional] [default to undefined]| +|**errorDescription** | **string** | The transaction\'s revert reason. This field will be returned when `subStatus` = \'SMART_CONTRACT_EXECUTION_FAILED\'. | [optional] [default to undefined]| ## Enum: TransactionResponseAddressTypeEnum diff --git a/docs/models/TransferPeerPath.md b/docs/models/TransferPeerPathSubType.md similarity index 71% rename from docs/models/TransferPeerPath.md rename to docs/models/TransferPeerPathSubType.md index d088310..a3eefa2 100644 --- a/docs/models/TransferPeerPath.md +++ b/docs/models/TransferPeerPathSubType.md @@ -1,17 +1,6 @@ -# TransferPeerPath +# TransferPeerPathSubType -## Properties - -|Name | Type | Description | Notes| -|------------ | ------------- | ------------- | -------------| -|**type** | [**TransferPeerPathType**](TransferPeerPathType.md) | | [default to undefined]| -|**subType** | **string** | | [optional] [default to undefined]| -|**id** | **string** | | [optional] [default to undefined]| -|**name** | **string** | | [optional] [default to undefined]| -|**walletId** | **string** | | [optional] [default to undefined]| - - -## Enum: TransferPeerPathSubTypeEnum +## Enum * `Binance` (value: `'BINANCE'`) @@ -80,6 +69,4 @@ - - [[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/TravelRuleConfigurationsRequest.md b/docs/models/TravelRuleConfigurationsRequest.md deleted file mode 100644 index 62d4d52..0000000 --- a/docs/models/TravelRuleConfigurationsRequest.md +++ /dev/null @@ -1,14 +0,0 @@ -# TravelRuleConfigurationsRequest - -## Properties - -|Name | Type | Description | Notes| -|------------ | ------------- | ------------- | -------------| -|**bypassScreeningDuringServiceOutages** | **boolean** | Flag to enable or disable bypass screening during service outages. | [optional] [default to undefined]| -|**inboundTransactionDelay** | **number** | Inbound transaction delay in seconds. | [optional] [default to undefined]| -|**outboundTransactionDelay** | **number** | Outbound transaction delay in seconds. | [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/TravelRuleCreateTransactionRequest.md b/docs/models/TravelRuleCreateTransactionRequest.md index 478b964..bdbccc4 100644 --- a/docs/models/TravelRuleCreateTransactionRequest.md +++ b/docs/models/TravelRuleCreateTransactionRequest.md @@ -4,19 +4,19 @@ |Name | Type | Description | Notes| |------------ | ------------- | ------------- | -------------| -|**originator** | [**TravelRulePiiIVMS**](TravelRulePiiIVMS.md) | | [default to undefined]| -|**beneficiary** | [**TravelRulePiiIVMS**](TravelRulePiiIVMS.md) | | [default to undefined]| +|**originator** | [**TravelRulePiiIVMS**](TravelRulePiiIVMS.md) | Information about the originator of the transaction | [default to undefined]| +|**beneficiary** | [**TravelRulePiiIVMS**](TravelRulePiiIVMS.md) | Information about the beneficiary of the transaction | [default to undefined]| |**originatorVASPdid** | **string** | The VASP ID of the transaction originator | [optional] [default to undefined]| |**beneficiaryVASPdid** | **string** | The VASP ID of the transaction beneficiary | [optional] [default to undefined]| |**beneficiaryVASPname** | **string** | The name of the VASP acting as the beneficiary | [optional] [default to undefined]| -|**transactionBlockchainInfo** | [**TravelRuleTransactionBlockchainInfo**](TravelRuleTransactionBlockchainInfo.md) | | [optional] [default to undefined]| +|**transactionBlockchainInfo** | [**TravelRuleTransactionBlockchainInfo**](TravelRuleTransactionBlockchainInfo.md) | Information about the blockchain transaction | [optional] [default to undefined]| |**encrypted** | **string** | Encrypted data related to the transaction | [optional] [default to undefined]| |**protocol** | **string** | The protocol used to perform the travel rule | [optional] [default to undefined]| |**skipBeneficiaryDataValidation** | **boolean** | Whether to skip validation of beneficiary data | [optional] [default to undefined]| |**travelRuleBehavior** | **boolean** | Whether to check if the transaction is a TRAVEL_RULE in the beneficiary VASP\'s jurisdiction | [optional] [default to undefined]| -|**originatorProof** | [**TravelRuleOwnershipProof**](TravelRuleOwnershipProof.md) | | [optional] [default to undefined]| -|**beneficiaryProof** | [**TravelRuleOwnershipProof**](TravelRuleOwnershipProof.md) | | [optional] [default to undefined]| -|**pii** | [**TravelRulePiiIVMS**](TravelRulePiiIVMS.md) | | [optional] [default to undefined]| +|**originatorProof** | [**TravelRuleOwnershipProof**](TravelRuleOwnershipProof.md) | Ownership proof related to the originator of the transaction | [optional] [default to undefined]| +|**beneficiaryProof** | [**TravelRuleOwnershipProof**](TravelRuleOwnershipProof.md) | Ownership proof related to the beneficiary of the transaction | [optional] [default to undefined]| +|**pii** | [**TravelRulePiiIVMS**](TravelRulePiiIVMS.md) | Personal identifiable information related to the transaction | [optional] [default to undefined]| diff --git a/docs/models/TravelRulePolicyResponse.md b/docs/models/TravelRulePolicyResponse.md deleted file mode 100644 index b9560b1..0000000 --- a/docs/models/TravelRulePolicyResponse.md +++ /dev/null @@ -1,16 +0,0 @@ -# TravelRulePolicyResponse - -## Properties - -|Name | Type | Description | Notes| -|------------ | ------------- | ------------- | -------------| -|**policy** | [**TravelRulePolicyRuleResponse**](TravelRulePolicyRuleResponse.md) | | [default to undefined]| -|**isDefault** | **boolean** | | [default to undefined]| -|**lastUpdate** | **string** | | [default to undefined]| -|**policyStatus** | **string** | | [optional] [default to undefined]| -|**createDate** | **string** | | [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/TravelRuleProviderRulesConfigurationResponse.md b/docs/models/TravelRuleProviderRulesConfigurationResponse.md deleted file mode 100644 index 00bca23..0000000 --- a/docs/models/TravelRuleProviderRulesConfigurationResponse.md +++ /dev/null @@ -1,60 +0,0 @@ -# TravelRuleProviderRulesConfigurationResponse - -## Properties - -|Name | Type | Description | Notes| -|------------ | ------------- | ------------- | -------------| -|**action** | **string** | | [default to undefined]| -|**direction** | **string** | | [optional] [default to undefined]| -|**status** | **string** | | [optional] [default to undefined]| -|**amountUSD** | **number** | | [optional] [default to undefined]| -|**amount** | **number** | | [optional] [default to undefined]| -|**asset** | **string** | | [optional] [default to undefined]| - - -## Enum: TravelRuleProviderRulesConfigurationResponseActionEnum - - -* `Accept` (value: `'ACCEPT'`) - -* `Reject` (value: `'REJECT'`) - -* `Alert` (value: `'ALERT'`) - -* `Wait` (value: `'WAIT'`) - -* `Freeze` (value: `'FREEZE'`) - -* `Cancel` (value: `'CANCEL'`) - - - -## Enum: TravelRuleProviderRulesConfigurationResponseDirectionEnum - - -* `Inbound` (value: `'INBOUND'`) - -* `Outbound` (value: `'OUTBOUND'`) - - - -## Enum: TravelRuleProviderRulesConfigurationResponseStatusEnum - - -* `Completed` (value: `'COMPLETED'`) - -* `Pending` (value: `'PENDING'`) - -* `Rejected` (value: `'REJECTED'`) - -* `Failed` (value: `'FAILED'`) - -* `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/TravelRuleValidateFullTransactionRequest.md b/docs/models/TravelRuleValidateFullTransactionRequest.md index deb2b29..3275a84 100644 --- a/docs/models/TravelRuleValidateFullTransactionRequest.md +++ b/docs/models/TravelRuleValidateFullTransactionRequest.md @@ -4,8 +4,8 @@ |Name | Type | Description | Notes| |------------ | ------------- | ------------- | -------------| -|**originator** | [**TravelRulePiiIVMS**](TravelRulePiiIVMS.md) | | [default to undefined]| -|**beneficiary** | [**TravelRulePiiIVMS**](TravelRulePiiIVMS.md) | | [default to undefined]| +|**originator** | [**TravelRulePiiIVMS**](TravelRulePiiIVMS.md) | Information about the originator of the transaction | [default to undefined]| +|**beneficiary** | [**TravelRulePiiIVMS**](TravelRulePiiIVMS.md) | Information about the beneficiary of the transaction | [default to undefined]| |**transactionAsset** | **string** | The asset involved in the transaction | [optional] [default to undefined]| |**transactionAmount** | **string** | The amount of the transaction | [optional] [default to undefined]| |**originatorDid** | **string** | The DID of the transaction originator | [optional] [default to undefined]| @@ -13,15 +13,15 @@ |**originatorVASPdid** | **string** | The VASP ID of the transaction originator | [optional] [default to undefined]| |**beneficiaryVASPdid** | **string** | The VASP ID of the transaction beneficiary | [optional] [default to undefined]| |**beneficiaryVASPname** | **string** | The name of the VASP acting as the beneficiary | [optional] [default to undefined]| -|**transactionBlockchainInfo** | [**TravelRuleTransactionBlockchainInfo**](TravelRuleTransactionBlockchainInfo.md) | | [optional] [default to undefined]| +|**transactionBlockchainInfo** | [**TravelRuleTransactionBlockchainInfo**](TravelRuleTransactionBlockchainInfo.md) | Information about the blockchain transaction | [optional] [default to undefined]| |**encrypted** | **string** | Encrypted data related to the transaction | [optional] [default to undefined]| |**protocol** | **string** | The protocol used to perform the travel rule | [optional] [default to undefined]| |**notificationEmail** | **string** | The email address where a notification should be sent upon completion of the travel rule | [optional] [default to undefined]| |**skipBeneficiaryDataValidation** | **boolean** | Whether to skip validation of beneficiary data | [optional] [default to undefined]| |**travelRuleBehavior** | **boolean** | Whether to check if the transaction is a TRAVEL_RULE in the beneficiary VASP\'s jurisdiction | [optional] [default to undefined]| -|**originatorProof** | [**TravelRuleOwnershipProof**](TravelRuleOwnershipProof.md) | | [optional] [default to undefined]| -|**beneficiaryProof** | [**TravelRuleOwnershipProof**](TravelRuleOwnershipProof.md) | | [optional] [default to undefined]| -|**pii** | [**TravelRulePiiIVMS**](TravelRulePiiIVMS.md) | | [optional] [default to undefined]| +|**originatorProof** | [**TravelRuleOwnershipProof**](TravelRuleOwnershipProof.md) | Ownership proof related to the originator of the transaction | [optional] [default to undefined]| +|**beneficiaryProof** | [**TravelRuleOwnershipProof**](TravelRuleOwnershipProof.md) | Ownership proof related to the beneficiary of the transaction | [optional] [default to undefined]| +|**pii** | [**TravelRulePiiIVMS**](TravelRulePiiIVMS.md) | Personal identifiable information related to the transaction | [optional] [default to undefined]| diff --git a/docs/models/TravelRuleValidateTransactionRequest.md b/docs/models/TravelRuleValidateTransactionRequest.md index 2890b88..b91649a 100644 --- a/docs/models/TravelRuleValidateTransactionRequest.md +++ b/docs/models/TravelRuleValidateTransactionRequest.md @@ -14,7 +14,7 @@ |**beneficiaryVASPname** | **string** | Beneficiary VASP name | [optional] [default to undefined]| |**beneficiaryName** | **string** | Beneficiary name | [optional] [default to undefined]| |**beneficiaryAccountNumber** | **string** | Beneficiary name | [optional] [default to undefined]| -|**beneficiaryAddress** | [**TravelRuleAddress**](TravelRuleAddress.md) | | [optional] [default to undefined]| +|**beneficiaryAddress** | [**TravelRuleAddress**](TravelRuleAddress.md) | Beneficiary name | [optional] [default to undefined]| diff --git a/docs/models/UnmanagedWallet.md b/docs/models/UnmanagedWallet.md index 5950142..82dc023 100644 --- a/docs/models/UnmanagedWallet.md +++ b/docs/models/UnmanagedWallet.md @@ -6,8 +6,8 @@ |------------ | ------------- | ------------- | -------------| |**id** | **string** | | [default to undefined]| |**name** | **string** | | [default to undefined]| +|**assets** | [**Array<WalletAsset>**](WalletAsset.md) | | [default to undefined]| |**customerRefId** | **string** | | [optional] [default to undefined]| -|**assets** | [**Array<WalletAsset>**](WalletAsset.md) | | [optional] [default to undefined]| diff --git a/docs/models/UpdateDraftRequest.md b/docs/models/UpdateDraftRequest.md deleted file mode 100644 index 2a061eb..0000000 --- a/docs/models/UpdateDraftRequest.md +++ /dev/null @@ -1,12 +0,0 @@ -# UpdateDraftRequest - -## Properties - -|Name | Type | Description | Notes| -|------------ | ------------- | ------------- | -------------| -|**rules** | [**Array<PolicyRule>**](PolicyRule.md) | rules to update the draft with | [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/Ncw.md b/docs/models/VaultActionStatus.md similarity index 78% rename from docs/models/Ncw.md rename to docs/models/VaultActionStatus.md index c2e95ad..8f174a7 100644 --- a/docs/models/Ncw.md +++ b/docs/models/VaultActionStatus.md @@ -1,10 +1,10 @@ -# Ncw +# VaultActionStatus ## Properties |Name | Type | Description | Notes| |------------ | ------------- | ------------- | -------------| -|**walletId** | **string** | | [optional] [default to undefined]| +|**success** | **boolean** | | [optional] [default to undefined]| diff --git a/models/asset-type-response.ts b/models/asset-type-response.ts index 787f003..cc8073c 100644 --- a/models/asset-type-response.ts +++ b/models/asset-type-response.ts @@ -37,7 +37,7 @@ export interface AssetTypeResponse { * @type {string} * @memberof AssetTypeResponse */ - 'type': AssetTypeResponseTypeEnum; + 'type': string; /** * * @type {string} @@ -58,19 +58,3 @@ export interface AssetTypeResponse { 'decimals'?: number; } -export const AssetTypeResponseTypeEnum = { - AlgoAsset: 'ALGO_ASSET', - BaseAsset: 'BASE_ASSET', - Bep20: 'BEP20', - Compound: 'COMPOUND', - Erc20: 'ERC20', - Fiat: 'FIAT', - SolAsset: 'SOL_ASSET', - TronTrc20: 'TRON_TRC20', - XlmAsset: 'XLM_ASSET', - XdbAsset: 'XDB_ASSET' -} as const; - -export type AssetTypeResponseTypeEnum = typeof AssetTypeResponseTypeEnum[keyof typeof AssetTypeResponseTypeEnum]; - - diff --git a/models/chain-info-response-dto.ts b/models/chain-info-response-dto.ts index b8b4042..5023ad5 100644 --- a/models/chain-info-response-dto.ts +++ b/models/chain-info-response-dto.ts @@ -48,7 +48,7 @@ export interface ChainInfoResponseDto { */ 'epochDuration': number; /** - * + * Additional information related to the blockchain. This may include extra details about the blockchain network. * @type {AdditionalInfoDto} * @memberof ChainInfoResponseDto */ diff --git a/models/check-third-party-routing200-response.ts b/models/check-third-party-routing200-response.ts deleted file mode 100644 index c410a23..0000000 --- a/models/check-third-party-routing200-response.ts +++ /dev/null @@ -1,36 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface CheckThirdPartyRouting200Response - */ -export interface CheckThirdPartyRouting200Response { - /** - * - * @type {boolean} - * @memberof CheckThirdPartyRouting200Response - */ - 'isThirdPartyRouting'?: boolean; - /** - * - * @type {string} - * @memberof CheckThirdPartyRouting200Response - */ - 'description'?: string; -} - diff --git a/models/create-connection-response.ts b/models/create-connection-response.ts index 7e7f0f6..920c6d0 100644 --- a/models/create-connection-response.ts +++ b/models/create-connection-response.ts @@ -30,7 +30,7 @@ export interface CreateConnectionResponse { */ 'id': string; /** - * + * Metadata of the Web3 connection (provided by the DApp). * @type {SessionMetadata} * @memberof CreateConnectionResponse */ diff --git a/models/create-internal-wallet-request.ts b/models/create-internal-wallet-request.ts deleted file mode 100644 index d28c8bf..0000000 --- a/models/create-internal-wallet-request.ts +++ /dev/null @@ -1,36 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface CreateInternalWalletRequest - */ -export interface CreateInternalWalletRequest { - /** - * the wallet\'s display name - * @type {string} - * @memberof CreateInternalWalletRequest - */ - 'name'?: string; - /** - * Optional - Sets a customer reference ID - * @type {string} - * @memberof CreateInternalWalletRequest - */ - 'customerRefId'?: string; -} - diff --git a/models/create-ticket-term201-response.ts b/models/create-ticket-term201-response.ts deleted file mode 100644 index 6665391..0000000 --- a/models/create-ticket-term201-response.ts +++ /dev/null @@ -1,29 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import { SmartTransferTicketTermDto } from './smart-transfer-ticket-term-dto'; -// May contain unused imports in some cases -// @ts-ignore -import { SmartTransferTicketTermResponseDto } from './smart-transfer-ticket-term-response-dto'; - -/** - * @type CreateTicketTerm201Response - * @export - */ -export type CreateTicketTerm201Response = SmartTransferTicketTermResponseDto; - - diff --git a/models/create-ticket201-response.ts b/models/create-ticket201-response.ts deleted file mode 100644 index ef0180b..0000000 --- a/models/create-ticket201-response.ts +++ /dev/null @@ -1,29 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import { SmartTransferTicketDto } from './smart-transfer-ticket-dto'; -// May contain unused imports in some cases -// @ts-ignore -import { SmartTransferTicketResponseDto } from './smart-transfer-ticket-response-dto'; - -/** - * @type CreateTicket201Response - * @export - */ -export type CreateTicket201Response = SmartTransferTicketResponseDto; - - diff --git a/models/create-vault-account-asset-address-request.ts b/models/create-vault-account-asset-address-request.ts deleted file mode 100644 index e039e03..0000000 --- a/models/create-vault-account-asset-address-request.ts +++ /dev/null @@ -1,36 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface CreateVaultAccountAssetAddressRequest - */ -export interface CreateVaultAccountAssetAddressRequest { - /** - * (Optional) Attach a description to the new address - * @type {string} - * @memberof CreateVaultAccountAssetAddressRequest - */ - 'description'?: string; - /** - * Optional - Sets a customer reference ID - * @type {string} - * @memberof CreateVaultAccountAssetAddressRequest - */ - 'customerRefId'?: string; -} - diff --git a/models/create-vault-account-asset-request.ts b/models/create-vault-account-asset-request.ts deleted file mode 100644 index c78fa50..0000000 --- a/models/create-vault-account-asset-request.ts +++ /dev/null @@ -1,30 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface CreateVaultAccountAssetRequest - */ -export interface CreateVaultAccountAssetRequest { - /** - * Optional - when creating an EOS wallet, the account name. If not provided, a random name will be generated - * @type {string} - * @memberof CreateVaultAccountAssetRequest - */ - 'eosAccountName'?: string; -} - diff --git a/models/delegation-dto.ts b/models/delegation-dto.ts index 7347dbd..4ec3f29 100644 --- a/models/delegation-dto.ts +++ b/models/delegation-dto.ts @@ -111,7 +111,7 @@ export interface DelegationDto { */ 'inProgress': boolean; /** - * + * Additional fields per blockchain - can be empty or missing if not initialized or no additional info exists. The type depends on the chainDescriptor value. For Solana (SOL), stake account address. For Ethereum (ETH), an empty object is returned as no specific data is available. * @type {SolanaBlockchainDataDto} * @memberof DelegationDto */ diff --git a/models/destination-transfer-peer-path.ts b/models/destination-transfer-peer-path.ts index 7cae86f..d19bb03 100644 --- a/models/destination-transfer-peer-path.ts +++ b/models/destination-transfer-peer-path.ts @@ -18,15 +18,54 @@ import { OneTimeAddress } from './one-time-address'; // May contain unused imports in some cases // @ts-ignore -import { TransferPeerPath } from './transfer-peer-path'; +import { TransferPeerPathSubType } from './transfer-peer-path-sub-type'; // May contain unused imports in some cases // @ts-ignore import { TransferPeerPathType } from './transfer-peer-path-type'; /** - * @type DestinationTransferPeerPath + * The destination of the transaction. * @export + * @interface DestinationTransferPeerPath */ -export type DestinationTransferPeerPath = TransferPeerPath; +export interface DestinationTransferPeerPath { + /** + * + * @type {TransferPeerPathType} + * @memberof DestinationTransferPeerPath + */ + 'type': TransferPeerPathType; + /** + * + * @type {TransferPeerPathSubType} + * @memberof DestinationTransferPeerPath + */ + 'subType'?: TransferPeerPathSubType; + /** + * + * @type {string} + * @memberof DestinationTransferPeerPath + */ + 'id'?: string; + /** + * + * @type {string} + * @memberof DestinationTransferPeerPath + */ + 'name'?: string; + /** + * + * @type {string} + * @memberof DestinationTransferPeerPath + */ + 'walletId'?: string; + /** + * + * @type {OneTimeAddress} + * @memberof DestinationTransferPeerPath + */ + 'oneTimeAddress'?: OneTimeAddress; +} + diff --git a/models/execute-action201-response.ts b/models/execute-action201-response.ts deleted file mode 100644 index d999a0f..0000000 --- a/models/execute-action201-response.ts +++ /dev/null @@ -1,26 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import { StakeResponseDto } from './stake-response-dto'; - -/** - * @type ExecuteAction201Response - * @export - */ -export type ExecuteAction201Response = StakeResponseDto | object; - - diff --git a/models/fiat-account.ts b/models/fiat-account.ts index 36ba174..6472787 100644 --- a/models/fiat-account.ts +++ b/models/fiat-account.ts @@ -49,7 +49,7 @@ export interface FiatAccount { * @type {string} * @memberof FiatAccount */ - 'address'?: string; + 'address'?: string | null; /** * * @type {Array} diff --git a/models/find-ticket-by-id200-response.ts b/models/find-ticket-by-id200-response.ts deleted file mode 100644 index bbf6b56..0000000 --- a/models/find-ticket-by-id200-response.ts +++ /dev/null @@ -1,29 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import { SmartTransferTicketDto } from './smart-transfer-ticket-dto'; -// May contain unused imports in some cases -// @ts-ignore -import { SmartTransferTicketResponseDto } from './smart-transfer-ticket-response-dto'; - -/** - * @type FindTicketById200Response - * @export - */ -export type FindTicketById200Response = SmartTransferTicketResponseDto; - - diff --git a/models/find-ticket-term-by-id200-response.ts b/models/find-ticket-term-by-id200-response.ts deleted file mode 100644 index 58248c7..0000000 --- a/models/find-ticket-term-by-id200-response.ts +++ /dev/null @@ -1,29 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import { SmartTransferTicketTermDto } from './smart-transfer-ticket-term-dto'; -// May contain unused imports in some cases -// @ts-ignore -import { SmartTransferTicketTermResponseDto } from './smart-transfer-ticket-term-response-dto'; - -/** - * @type FindTicketTermById200Response - * @export - */ -export type FindTicketTermById200Response = SmartTransferTicketTermResponseDto; - - diff --git a/models/get-asset-balance-request.ts b/models/gas-station-configuration-response.ts similarity index 57% rename from models/get-asset-balance-request.ts rename to models/gas-station-configuration-response.ts index 930b2d6..4d106dd 100644 --- a/models/get-asset-balance-request.ts +++ b/models/gas-station-configuration-response.ts @@ -17,26 +17,26 @@ /** * * @export - * @interface GetAssetBalanceRequest + * @interface GasStationConfigurationResponse */ -export interface GetAssetBalanceRequest { +export interface GasStationConfigurationResponse { /** - * The ID of the new asset + * * @type {string} - * @memberof GetAssetBalanceRequest + * @memberof GasStationConfigurationResponse */ - 'assetId'?: string; + 'gasThreshold'?: string; /** - * The smallest vault account ID in the range + * * @type {string} - * @memberof GetAssetBalanceRequest + * @memberof GasStationConfigurationResponse */ - 'vaultAccountIdFrom'?: string; + 'gasCap'?: string; /** - * The largest vault account ID in the range + * * @type {string} - * @memberof GetAssetBalanceRequest + * @memberof GasStationConfigurationResponse */ - 'vaultAccountIdTo'?: string; + 'maxGasPrice'?: string | null; } diff --git a/models/gas-station-properties-response.ts b/models/gas-station-properties-response.ts index 4a97cac..e8e5ffd 100644 --- a/models/gas-station-properties-response.ts +++ b/models/gas-station-properties-response.ts @@ -15,7 +15,7 @@ // May contain unused imports in some cases // @ts-ignore -import { GasStationConfiguration } from './gas-station-configuration'; +import { GasStationConfigurationResponse } from './gas-station-configuration-response'; /** * @@ -31,9 +31,9 @@ export interface GasStationPropertiesResponse { 'balance'?: object; /** * - * @type {GasStationConfiguration} + * @type {GasStationConfigurationResponse} * @memberof GasStationPropertiesResponse */ - 'configuration'?: GasStationConfiguration; + 'configuration'?: GasStationConfigurationResponse; } diff --git a/models/get-smart-transfer-user-groups200-response.ts b/models/get-smart-transfer-user-groups200-response.ts deleted file mode 100644 index 6eb58b9..0000000 --- a/models/get-smart-transfer-user-groups200-response.ts +++ /dev/null @@ -1,29 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import { SmartTransferUserGroupsDto } from './smart-transfer-user-groups-dto'; -// May contain unused imports in some cases -// @ts-ignore -import { SmartTransferUserGroupsResponseDto } from './smart-transfer-user-groups-response-dto'; - -/** - * @type GetSmartTransferUserGroups200Response - * @export - */ -export type GetSmartTransferUserGroups200Response = SmartTransferUserGroupsResponseDto; - - diff --git a/models/get-users-response.ts b/models/get-users-response.ts deleted file mode 100644 index 2ec4bfe..0000000 --- a/models/get-users-response.ts +++ /dev/null @@ -1,33 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import { UserResponse } from './user-response'; - -/** - * - * @export - * @interface GetUsersResponse - */ -export interface GetUsersResponse { - /** - * - * @type {Array} - * @memberof GetUsersResponse - */ - 'users'?: Array; -} - diff --git a/models/index.ts b/models/index.ts index b817df1..9ad56a4 100644 --- a/models/index.ts +++ b/models/index.ts @@ -80,6 +80,7 @@ export * from './fiat-asset'; export * from './freeze-transaction-response'; export * from './funds'; export * from './gas-station-configuration'; +export * from './gas-station-configuration-response'; export * from './gas-station-properties-response'; export * from './get-audit-logs-response-dto'; export * from './get-connections-response'; @@ -87,7 +88,6 @@ export * from './get-filter-parameter'; export * from './get-ota-status200-response'; export * from './get-ownership-tokens200-response'; export * from './get-transaction-operation'; -export * from './get-users-response'; export * from './get-workspace-status200-response'; export * from './instruction-amount'; export * from './job'; @@ -104,6 +104,7 @@ export * from './network-connection-routing-policy-sen'; export * from './network-connection-routing-policy-sen-test'; export * from './network-connection-routing-policy-signet'; export * from './network-connection-routing-policy-signet-test'; +export * from './network-connection-status'; export * from './network-fee'; export * from './network-id'; export * from './network-id-response'; @@ -208,6 +209,7 @@ export * from './smart-transfer-update-ticket-term'; export * from './smart-transfer-user-groups'; export * from './smart-transfer-user-groups-response'; export * from './solana-blockchain-data-dto'; +export * from './source-transfer-peer-path'; export * from './source-transfer-peer-path-response'; export * from './spam-ownership-response'; export * from './spam-token-response'; @@ -240,7 +242,7 @@ export * from './transaction-request-priority-fee'; export * from './transaction-response'; export * from './transaction-response-contract-call-decoded-data'; export * from './transaction-response-destination'; -export * from './transfer-peer-path'; +export * from './transfer-peer-path-sub-type'; export * from './transfer-peer-path-type'; export * from './travel-rule-address'; export * from './travel-rule-create-transaction-request'; @@ -274,6 +276,7 @@ export * from './validator-dto'; export * from './vault-account'; export * from './vault-accounts-paged-response'; export * from './vault-accounts-paged-response-paging'; +export * from './vault-action-status'; export * from './vault-asset'; export * from './vault-wallet-address'; export * from './wallet-asset'; diff --git a/models/network-connection-response.ts b/models/network-connection-response.ts index 8fa1a28..9d44a41 100644 --- a/models/network-connection-response.ts +++ b/models/network-connection-response.ts @@ -13,9 +13,6 @@ */ -// May contain unused imports in some cases -// @ts-ignore -import { ConfigChangeRequestStatus } from './config-change-request-status'; // May contain unused imports in some cases // @ts-ignore import { NetworkChannel } from './network-channel'; @@ -24,6 +21,9 @@ import { NetworkChannel } from './network-channel'; import { NetworkConnectionRoutingPolicy } from './network-connection-routing-policy'; // May contain unused imports in some cases // @ts-ignore +import { NetworkConnectionStatus } from './network-connection-status'; +// May contain unused imports in some cases +// @ts-ignore import { NetworkId } from './network-id'; /** @@ -40,10 +40,10 @@ export interface NetworkConnectionResponse { 'id': string; /** * - * @type {ConfigChangeRequestStatus} + * @type {NetworkConnectionStatus} * @memberof NetworkConnectionResponse */ - 'status': ConfigChangeRequestStatus; + 'status': NetworkConnectionStatus; /** * * @type {NetworkId} @@ -63,14 +63,14 @@ export interface NetworkConnectionResponse { */ 'routingPolicy': NetworkConnectionRoutingPolicy; /** - * + * Deprecated - Replaced by `localNetworkId` * @type {NetworkChannel} * @memberof NetworkConnectionResponse * @deprecated */ 'localChannel'?: NetworkChannel; /** - * + * Deprecated - Replaced by `remoteNetworkId` * @type {NetworkChannel} * @memberof NetworkConnectionResponse * @deprecated diff --git a/models/network-connection-status.ts b/models/network-connection-status.ts new file mode 100644 index 0000000..fb53d0c --- /dev/null +++ b/models/network-connection-status.ts @@ -0,0 +1,38 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Fireblocks API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.6.2 + * Contact: support@fireblocks.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + + +/** + * + * @export + * @enum {string} + */ + +export const NetworkConnectionStatus = { + WaitingForApproval: 'WAITING_FOR_APPROVAL', + WaitingForPeerApproval: 'WAITING_FOR_PEER_APPROVAL', + Approved: 'APPROVED', + Cancelled: 'CANCELLED', + Failed: 'FAILED', + Rejected: 'REJECTED', + RejectedByPeer: 'REJECTED_BY_PEER', + Removed: 'REMOVED', + RemovedByPeer: 'REMOVED_BY_PEER' +} as const; + +export type NetworkConnectionStatus = typeof NetworkConnectionStatus[keyof typeof NetworkConnectionStatus]; + + + diff --git a/models/policy-rule-amount.ts b/models/policy-rule-amount.ts index fb64bff..12b5649 100644 --- a/models/policy-rule-amount.ts +++ b/models/policy-rule-amount.ts @@ -15,10 +15,10 @@ /** - * @type PolicyRuleAmount * Defines the value a transaction must exceed for the rule to apply to it (according to the amountCurrency field) * @export + * @interface PolicyRuleAmount */ -export type PolicyRuleAmount = number | string; - +export interface PolicyRuleAmount { +} diff --git a/models/policy-rule.ts b/models/policy-rule.ts index a68a3d6..5a9059a 100644 --- a/models/policy-rule.ts +++ b/models/policy-rule.ts @@ -125,21 +125,21 @@ export interface PolicyRule { */ 'designatedSigners'?: PolicyRuleDesignatedSigners; /** - * + * (deprecated - replaced by "src") source account type * @type {PolicySrcOrDestType} * @memberof PolicyRule * @deprecated */ 'srcType'?: PolicySrcOrDestType; /** - * + * (deprecated - replaced by "src") source sub account type * @type {PolicySrcOrDestSubType} * @memberof PolicyRule * @deprecated */ 'srcSubType'?: PolicySrcOrDestSubType; /** - * Defines the account id, options are * \"*\" - All accounts * Specific account id + * (deprecated - replaced by "src") source account id * @type {string} * @memberof PolicyRule * @deprecated @@ -152,21 +152,21 @@ export interface PolicyRule { */ 'src'?: PolicyRuleSrc; /** - * + * (deprecated - replaced by "dst") destination account type * @type {PolicySrcOrDestType} * @memberof PolicyRule * @deprecated */ 'dstType'?: PolicySrcOrDestType; /** - * + * (deprecated - replaced by "dst") destination sub account type * @type {PolicySrcOrDestSubType} * @memberof PolicyRule * @deprecated */ 'dstSubType'?: PolicySrcOrDestSubType; /** - * Defines the account id, options are * \"*\" - All accounts * Specific account id + * (deprecated - replaced by "dst") destination account id * @type {string} * @memberof PolicyRule * @deprecated diff --git a/models/publish-policy-rules-request.ts b/models/publish-policy-rules-request.ts deleted file mode 100644 index a99aed8..0000000 --- a/models/publish-policy-rules-request.ts +++ /dev/null @@ -1,33 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import { PolicyRule } from './policy-rule'; - -/** - * - * @export - * @interface PublishPolicyRulesRequest - */ -export interface PublishPolicyRulesRequest { - /** - * Policy rules to publish - * @type {Array} - * @memberof PublishPolicyRulesRequest - */ - 'rules'?: Array; -} - diff --git a/models/redeem-funds-to-linked-dda-request.ts b/models/redeem-funds-to-linked-dda-request.ts deleted file mode 100644 index a15ec78..0000000 --- a/models/redeem-funds-to-linked-dda-request.ts +++ /dev/null @@ -1,30 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface RedeemFundsToLinkedDdaRequest - */ -export interface RedeemFundsToLinkedDdaRequest { - /** - * - * @type {number} - * @memberof RedeemFundsToLinkedDdaRequest - */ - 'amount'?: number; -} - diff --git a/models/request-options.ts b/models/request-options.ts deleted file mode 100644 index 486dcfb..0000000 --- a/models/request-options.ts +++ /dev/null @@ -1,39 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import { Ncw } from './ncw'; - -/** - * - * @export - * @interface RequestOptions - */ -export interface RequestOptions { - /** - * - * @type {string} - * @memberof RequestOptions - */ - 'idempotencyKey'?: string; - /** - * - * @type {Ncw} - * @memberof RequestOptions - */ - 'ncw'?: Ncw; -} - diff --git a/models/search-tickets200-response.ts b/models/search-tickets200-response.ts deleted file mode 100644 index 4e9fa14..0000000 --- a/models/search-tickets200-response.ts +++ /dev/null @@ -1,29 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import { SmartTransferTicketDto } from './smart-transfer-ticket-dto'; -// May contain unused imports in some cases -// @ts-ignore -import { SmartTransferTicketFilteredResponseDto } from './smart-transfer-ticket-filtered-response-dto'; - -/** - * @type SearchTickets200Response - * @export - */ -export type SearchTickets200Response = SmartTransferTicketFilteredResponseDto; - - diff --git a/models/session-dto.ts b/models/session-dto.ts index 4b79a2b..250e79b 100644 --- a/models/session-dto.ts +++ b/models/session-dto.ts @@ -36,7 +36,7 @@ export interface SessionDTO { */ 'userId': string; /** - * + * Metadata of the connection (provided by the dapp) * @type {SessionMetadata} * @memberof SessionDTO */ diff --git a/models/set-auto-fuel-for-vault-account-request.ts b/models/set-auto-fuel-for-vault-account-request.ts deleted file mode 100644 index bf3fd00..0000000 --- a/models/set-auto-fuel-for-vault-account-request.ts +++ /dev/null @@ -1,30 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface SetAutoFuelForVaultAccountRequest - */ -export interface SetAutoFuelForVaultAccountRequest { - /** - * Auto Fuel - * @type {boolean} - * @memberof SetAutoFuelForVaultAccountRequest - */ - 'autoFuel'?: boolean; -} - diff --git a/models/set-customer-ref-id-for-vault-account-request.ts b/models/set-customer-ref-id-for-vault-account-request.ts deleted file mode 100644 index 558fdcb..0000000 --- a/models/set-customer-ref-id-for-vault-account-request.ts +++ /dev/null @@ -1,30 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface SetCustomerRefIdForVaultAccountRequest - */ -export interface SetCustomerRefIdForVaultAccountRequest { - /** - * Customer reference ID - * @type {string} - * @memberof SetCustomerRefIdForVaultAccountRequest - */ - 'customerRefId'?: string; -} - diff --git a/models/set-discoverability-for-network-id-request.ts b/models/set-discoverability-for-network-id-request.ts deleted file mode 100644 index c386884..0000000 --- a/models/set-discoverability-for-network-id-request.ts +++ /dev/null @@ -1,30 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface SetDiscoverabilityForNetworkIdRequest - */ -export interface SetDiscoverabilityForNetworkIdRequest { - /** - * - * @type {boolean} - * @memberof SetDiscoverabilityForNetworkIdRequest - */ - 'isDiscoverable': boolean; -} - diff --git a/models/set-routing-policy-for-network-id-request.ts b/models/set-routing-policy-for-network-id-request.ts deleted file mode 100644 index 3f78ff8..0000000 --- a/models/set-routing-policy-for-network-id-request.ts +++ /dev/null @@ -1,33 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import { NetworkIdRoutingPolicy } from './network-id-routing-policy'; - -/** - * - * @export - * @interface SetRoutingPolicyForNetworkIdRequest - */ -export interface SetRoutingPolicyForNetworkIdRequest { - /** - * - * @type {NetworkIdRoutingPolicy} - * @memberof SetRoutingPolicyForNetworkIdRequest - */ - 'routingPolicy': NetworkIdRoutingPolicy; -} - diff --git a/models/set-user-groups201-response.ts b/models/set-user-groups201-response.ts deleted file mode 100644 index 980ce76..0000000 --- a/models/set-user-groups201-response.ts +++ /dev/null @@ -1,29 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import { SmartTransferUserGroupsDto } from './smart-transfer-user-groups-dto'; -// May contain unused imports in some cases -// @ts-ignore -import { SmartTransferUserGroupsResponseDto } from './smart-transfer-user-groups-response-dto'; - -/** - * @type SetUserGroups201Response - * @export - */ -export type SetUserGroups201Response = SmartTransferUserGroupsResponseDto; - - diff --git a/models/smart-transfer-create-ticket-dto.ts b/models/smart-transfer-create-ticket-dto.ts deleted file mode 100644 index 6991d46..0000000 --- a/models/smart-transfer-create-ticket-dto.ts +++ /dev/null @@ -1,76 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import { SmartTransferCreateTicketTermDto } from './smart-transfer-create-ticket-term-dto'; - -/** - * - * @export - * @interface SmartTransferCreateTicketDto - */ -export interface SmartTransferCreateTicketDto { - /** - * - * @type {string} - * @memberof SmartTransferCreateTicketDto - */ - 'createdByNetworkId': string; - /** - * - * @type {string} - * @memberof SmartTransferCreateTicketDto - */ - 'type': SmartTransferCreateTicketDtoTypeEnum; - /** - * Number of hours after which an OPEN ticket will expire if no term is funded. - * @type {number} - * @memberof SmartTransferCreateTicketDto - */ - 'expiresIn'?: number; - /** - * - * @type {Array} - * @memberof SmartTransferCreateTicketDto - */ - 'terms'?: Array; - /** - * - * @type {string} - * @memberof SmartTransferCreateTicketDto - */ - 'externalRefId'?: string; - /** - * - * @type {string} - * @memberof SmartTransferCreateTicketDto - */ - 'note'?: string; - /** - * - * @type {boolean} - * @memberof SmartTransferCreateTicketDto - */ - 'submit'?: boolean; -} - -export const SmartTransferCreateTicketDtoTypeEnum = { - Async: 'ASYNC' -} as const; - -export type SmartTransferCreateTicketDtoTypeEnum = typeof SmartTransferCreateTicketDtoTypeEnum[keyof typeof SmartTransferCreateTicketDtoTypeEnum]; - - diff --git a/models/smart-transfer-create-ticket-term-dto.ts b/models/smart-transfer-create-ticket-term-dto.ts deleted file mode 100644 index e5e74c9..0000000 --- a/models/smart-transfer-create-ticket-term-dto.ts +++ /dev/null @@ -1,48 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface SmartTransferCreateTicketTermDto - */ -export interface SmartTransferCreateTicketTermDto { - /** - * Asset name - * @type {string} - * @memberof SmartTransferCreateTicketTermDto - */ - 'asset': string; - /** - * Amount - * @type {number} - * @memberof SmartTransferCreateTicketTermDto - */ - 'amount': number; - /** - * Identifier of the origination Network Profile - * @type {string} - * @memberof SmartTransferCreateTicketTermDto - */ - 'fromNetworkId': string; - /** - * Identifier of the destination Network Profile - * @type {string} - * @memberof SmartTransferCreateTicketTermDto - */ - 'toNetworkId': string; -} - diff --git a/models/smart-transfer-fund-term-dto.ts b/models/smart-transfer-fund-term-dto.ts deleted file mode 100644 index f5dc473..0000000 --- a/models/smart-transfer-fund-term-dto.ts +++ /dev/null @@ -1,66 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface SmartTransferFundTermDto - */ -export interface SmartTransferFundTermDto { - /** - * Asset name - * @type {string} - * @memberof SmartTransferFundTermDto - */ - 'asset': string; - /** - * Amount - * @type {string} - * @memberof SmartTransferFundTermDto - */ - 'amount': string; - /** - * Id of the network connection used. - * @type {string} - * @memberof SmartTransferFundTermDto - */ - 'networkConnectionId': string; - /** - * Id of the vault that is used as the source of the asset. - * @type {string} - * @memberof SmartTransferFundTermDto - */ - 'srcId': string; - /** - * Source of the asset. - * @type {string} - * @memberof SmartTransferFundTermDto - */ - 'srcType': string; - /** - * Transaction fee - * @type {string} - * @memberof SmartTransferFundTermDto - */ - 'fee'?: string; - /** - * Transaction fee level. - * @type {string} - * @memberof SmartTransferFundTermDto - */ - 'feeLevel'?: string; -} - diff --git a/models/smart-transfer-manually-fund-term-dto.ts b/models/smart-transfer-manually-fund-term-dto.ts deleted file mode 100644 index 0eac7a3..0000000 --- a/models/smart-transfer-manually-fund-term-dto.ts +++ /dev/null @@ -1,30 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface SmartTransferManuallyFundTermDto - */ -export interface SmartTransferManuallyFundTermDto { - /** - * - * @type {string} - * @memberof SmartTransferManuallyFundTermDto - */ - 'txHash': string; -} - diff --git a/models/smart-transfer-set-ticket-expiration-dto.ts b/models/smart-transfer-set-ticket-expiration-dto.ts deleted file mode 100644 index 2740c5d..0000000 --- a/models/smart-transfer-set-ticket-expiration-dto.ts +++ /dev/null @@ -1,30 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface SmartTransferSetTicketExpirationDto - */ -export interface SmartTransferSetTicketExpirationDto { - /** - * Sets ticket expiration time (in hours) after a ticket is submitted. If no funding source is set to any term, the ticket will automatically expire after given time. - * @type {number} - * @memberof SmartTransferSetTicketExpirationDto - */ - 'expiresIn': number; -} - diff --git a/models/smart-transfer-set-ticket-external-id-dto.ts b/models/smart-transfer-set-ticket-external-id-dto.ts deleted file mode 100644 index b5168ba..0000000 --- a/models/smart-transfer-set-ticket-external-id-dto.ts +++ /dev/null @@ -1,30 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface SmartTransferSetTicketExternalIdDto - */ -export interface SmartTransferSetTicketExternalIdDto { - /** - * Each workspace can set their own external id they want to refer to this Ticket - * @type {string} - * @memberof SmartTransferSetTicketExternalIdDto - */ - 'externalRefId': string; -} - diff --git a/models/smart-transfer-set-user-groups-dto.ts b/models/smart-transfer-set-user-groups-dto.ts deleted file mode 100644 index 8b47e5a..0000000 --- a/models/smart-transfer-set-user-groups-dto.ts +++ /dev/null @@ -1,30 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface SmartTransferSetUserGroupsDto - */ -export interface SmartTransferSetUserGroupsDto { - /** - * - * @type {Array} - * @memberof SmartTransferSetUserGroupsDto - */ - 'userGroupIds': Array; -} - diff --git a/models/smart-transfer-submit-ticket-dto.ts b/models/smart-transfer-submit-ticket-dto.ts deleted file mode 100644 index dff6641..0000000 --- a/models/smart-transfer-submit-ticket-dto.ts +++ /dev/null @@ -1,30 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface SmartTransferSubmitTicketDto - */ -export interface SmartTransferSubmitTicketDto { - /** - * Sets the ticket expiration time (in hours) after the ticket is submitted. If no funding source is set for any term, the ticket will automatically expire after given time. - * @type {number} - * @memberof SmartTransferSubmitTicketDto - */ - 'expiresIn': number; -} - diff --git a/models/smart-transfer-ticket-dto.ts b/models/smart-transfer-ticket-dto.ts deleted file mode 100644 index 1645d77..0000000 --- a/models/smart-transfer-ticket-dto.ts +++ /dev/null @@ -1,173 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import { SmartTransferTicketTermDto } from './smart-transfer-ticket-term-dto'; - -/** - * - * @export - * @interface SmartTransferTicketDto - */ -export interface SmartTransferTicketDto { - /** - * Unique id of Smart Transfer ticket - * @type {string} - * @memberof SmartTransferTicketDto - */ - 'id': string; - /** - * Kind of Smart Transfer. Can be either `ASYNC` or `ATOMIC` - * @type {string} - * @memberof SmartTransferTicketDto - */ - 'type': SmartTransferTicketDtoTypeEnum; - /** - * Current status of Smart Transfer ticket - * @type {string} - * @memberof SmartTransferTicketDto - */ - 'status': SmartTransferTicketDtoStatusEnum; - /** - * ID of network profile that created ticket - * @type {string} - * @memberof SmartTransferTicketDto - */ - 'createdByNetworkId': string; - /** - * Name of network profile that created ticket - * @type {string} - * @memberof SmartTransferTicketDto - */ - 'createdByNetworkIdName': string; - /** - * Date and time at which the ticket is created. - * @type {string} - * @memberof SmartTransferTicketDto - */ - 'createdAt': string; - /** - * Date and time of last ticket update. - * @type {string} - * @memberof SmartTransferTicketDto - */ - 'updatedAt': string; - /** - * Direction of Smart Transfer. - * @type {string} - * @memberof SmartTransferTicketDto - */ - 'direction'?: SmartTransferTicketDtoDirectionEnum; - /** - * Ticket terms (legs) - * @type {Array} - * @memberof SmartTransferTicketDto - */ - 'terms'?: Array; - /** - * Number of hours for expiration.This data is valid only it ticket not in DRAFT state and it will be used to calculate expiresAt value - * @type {number} - * @memberof SmartTransferTicketDto - */ - 'expiresIn'?: number; - /** - * Date and time at which the ticket will expire if no funding is performed. - * @type {string} - * @memberof SmartTransferTicketDto - */ - 'expiresAt'?: string; - /** - * Date and time when ticket is submitted. - * @type {string} - * @memberof SmartTransferTicketDto - */ - 'submittedAt'?: string; - /** - * Date and time when ticket is expired. - * @type {string} - * @memberof SmartTransferTicketDto - */ - 'expiredAt'?: string; - /** - * Date and time when ticket is canceled. - * @type {string} - * @memberof SmartTransferTicketDto - */ - 'canceledAt'?: string; - /** - * Date and time when ticket is fulfilled. - * @type {string} - * @memberof SmartTransferTicketDto - */ - 'fulfilledAt'?: string; - /** - * External Ref ID for Smart Transfer ticket. - * @type {string} - * @memberof SmartTransferTicketDto - */ - 'externalRefId'?: string; - /** - * Note - * @type {string} - * @memberof SmartTransferTicketDto - */ - 'note'?: string; - /** - * Name of network profile that canceled ticket - * @type {string} - * @memberof SmartTransferTicketDto - */ - 'canceledByNetworkIdName'?: string; - /** - * - * @type {boolean} - * @memberof SmartTransferTicketDto - */ - 'canceledByMe'?: boolean; - /** - * - * @type {boolean} - * @memberof SmartTransferTicketDto - */ - 'createdByMe'?: boolean; -} - -export const SmartTransferTicketDtoTypeEnum = { - Async: 'ASYNC' -} as const; - -export type SmartTransferTicketDtoTypeEnum = typeof SmartTransferTicketDtoTypeEnum[keyof typeof SmartTransferTicketDtoTypeEnum]; -export const SmartTransferTicketDtoStatusEnum = { - Draft: 'DRAFT', - PendingApproval: 'PENDING_APPROVAL', - Open: 'OPEN', - InSettlement: 'IN_SETTLEMENT', - Fulfilled: 'FULFILLED', - Expired: 'EXPIRED', - Canceled: 'CANCELED' -} as const; - -export type SmartTransferTicketDtoStatusEnum = typeof SmartTransferTicketDtoStatusEnum[keyof typeof SmartTransferTicketDtoStatusEnum]; -export const SmartTransferTicketDtoDirectionEnum = { - Exchange: 'EXCHANGE', - Send: 'SEND', - Receive: 'RECEIVE', - Intermediate: 'INTERMEDIATE' -} as const; - -export type SmartTransferTicketDtoDirectionEnum = typeof SmartTransferTicketDtoDirectionEnum[keyof typeof SmartTransferTicketDtoDirectionEnum]; - - diff --git a/models/smart-transfer-ticket-filtered-response-dto.ts b/models/smart-transfer-ticket-filtered-response-dto.ts deleted file mode 100644 index bd090c5..0000000 --- a/models/smart-transfer-ticket-filtered-response-dto.ts +++ /dev/null @@ -1,45 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import { SmartTransferTicketDto } from './smart-transfer-ticket-dto'; - -/** - * - * @export - * @interface SmartTransferTicketFilteredResponseDto - */ -export interface SmartTransferTicketFilteredResponseDto { - /** - * Result message - * @type {string} - * @memberof SmartTransferTicketFilteredResponseDto - */ - 'message': string | null; - /** - * Returns last skipped id if any preceding elements are skipped in result. - * @type {string} - * @memberof SmartTransferTicketFilteredResponseDto - */ - 'after': string; - /** - * Result that match given query criteria - * @type {Array} - * @memberof SmartTransferTicketFilteredResponseDto - */ - 'data': Array; -} - diff --git a/models/smart-transfer-ticket-response-dto-data.ts b/models/smart-transfer-ticket-response-dto-data.ts deleted file mode 100644 index f03c778..0000000 --- a/models/smart-transfer-ticket-response-dto-data.ts +++ /dev/null @@ -1,30 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import { SmartTransferTicketDto } from './smart-transfer-ticket-dto'; -// May contain unused imports in some cases -// @ts-ignore -import { SmartTransferTicketTermDto } from './smart-transfer-ticket-term-dto'; - -/** - * @type SmartTransferTicketResponseDtoData - * Data object with result data - * @export - */ -export type SmartTransferTicketResponseDtoData = SmartTransferTicketDto; - - diff --git a/models/smart-transfer-ticket-response-dto.ts b/models/smart-transfer-ticket-response-dto.ts deleted file mode 100644 index 19e10d9..0000000 --- a/models/smart-transfer-ticket-response-dto.ts +++ /dev/null @@ -1,39 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import { SmartTransferTicketResponseDtoData } from './smart-transfer-ticket-response-dto-data'; - -/** - * - * @export - * @interface SmartTransferTicketResponseDto - */ -export interface SmartTransferTicketResponseDto { - /** - * Result message - * @type {string} - * @memberof SmartTransferTicketResponseDto - */ - 'message': string | null; - /** - * - * @type {SmartTransferTicketResponseDtoData} - * @memberof SmartTransferTicketResponseDto - */ - 'data'?: SmartTransferTicketResponseDtoData | null; -} - diff --git a/models/smart-transfer-ticket-term-dto.ts b/models/smart-transfer-ticket-term-dto.ts deleted file mode 100644 index c6dc335..0000000 --- a/models/smart-transfer-ticket-term-dto.ts +++ /dev/null @@ -1,145 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface SmartTransferTicketTermDto - */ -export interface SmartTransferTicketTermDto { - /** - * Unique id of Smart Transfer ticket term - * @type {string} - * @memberof SmartTransferTicketTermDto - */ - 'id': string; - /** - * Unique id of Smart Transfer ticket - * @type {string} - * @memberof SmartTransferTicketTermDto - */ - 'ticketId': string; - /** - * Asset name - * @type {string} - * @memberof SmartTransferTicketTermDto - */ - 'asset': string; - /** - * Amount - * @type {string} - * @memberof SmartTransferTicketTermDto - */ - 'amount': string; - /** - * Identifier of the origination Network Profile - * @type {string} - * @memberof SmartTransferTicketTermDto - */ - 'fromNetworkId': string; - /** - * Source network name - * @type {string} - * @memberof SmartTransferTicketTermDto - */ - 'fromNetworkIdName': string; - /** - * Identifier of the destination Network Profile - * @type {string} - * @memberof SmartTransferTicketTermDto - */ - 'toNetworkId': string; - /** - * Destination network name - * @type {string} - * @memberof SmartTransferTicketTermDto - */ - 'toNetworkIdName': string; - /** - * Blockchain TX hash - * @type {string} - * @memberof SmartTransferTicketTermDto - */ - 'txHash': string | null; - /** - * Fireblocks transaction ID. It is set when the funding transaction is created. - * @type {string} - * @memberof SmartTransferTicketTermDto - */ - 'fbTxId': string | null; - /** - * Ticket term transaction status - * @type {string} - * @memberof SmartTransferTicketTermDto - */ - 'txStatus': SmartTransferTicketTermDtoTxStatusEnum | null; - /** - * Ticket term status - * @type {string} - * @memberof SmartTransferTicketTermDto - */ - 'status': SmartTransferTicketTermDtoStatusEnum; - /** - * Date and time when the term is created. - * @type {string} - * @memberof SmartTransferTicketTermDto - */ - 'createdAt': string; - /** - * Date and time of last term update. - * @type {string} - * @memberof SmartTransferTicketTermDto - */ - 'updatedAt': string; - /** - * Amount USD - * @type {string} - * @memberof SmartTransferTicketTermDto - */ - 'amountUsd'?: string; -} - -export const SmartTransferTicketTermDtoTxStatusEnum = { - Queued: 'queued', - Submitted: 'submitted', - PendingSignature: 'pendingSignature', - PendingAuthorization: 'pendingAuthorization', - Broadcasting: 'broadcasting', - Confirming: 'confirming', - PendingAmlScreening: 'pendingAmlScreening', - Completed: 'completed', - Cancelled: 'cancelled', - Failed: 'failed', - Rejected: 'rejected', - Blocked: 'blocked', - ThirdPartyPendingManualApproval: 'thirdPartyPendingManualApproval', - ThirdPartyPending: 'thirdPartyPending', - PartiallyCompleted: 'partiallyCompleted', - Cancelling: 'cancelling' -} as const; - -export type SmartTransferTicketTermDtoTxStatusEnum = typeof SmartTransferTicketTermDtoTxStatusEnum[keyof typeof SmartTransferTicketTermDtoTxStatusEnum]; -export const SmartTransferTicketTermDtoStatusEnum = { - Created: 'CREATED', - Funding: 'FUNDING', - FundingFailed: 'FUNDING_FAILED', - Funded: 'FUNDED', - Rejected: 'REJECTED' -} as const; - -export type SmartTransferTicketTermDtoStatusEnum = typeof SmartTransferTicketTermDtoStatusEnum[keyof typeof SmartTransferTicketTermDtoStatusEnum]; - - diff --git a/models/smart-transfer-ticket-term-response-dto-data.ts b/models/smart-transfer-ticket-term-response-dto-data.ts deleted file mode 100644 index ffafdbd..0000000 --- a/models/smart-transfer-ticket-term-response-dto-data.ts +++ /dev/null @@ -1,27 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import { SmartTransferTicketTermDto } from './smart-transfer-ticket-term-dto'; - -/** - * @type SmartTransferTicketTermResponseDtoData - * Data object with result data - * @export - */ -export type SmartTransferTicketTermResponseDtoData = SmartTransferTicketTermDto; - - diff --git a/models/smart-transfer-ticket-term-response-dto.ts b/models/smart-transfer-ticket-term-response-dto.ts deleted file mode 100644 index a3f5899..0000000 --- a/models/smart-transfer-ticket-term-response-dto.ts +++ /dev/null @@ -1,39 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import { SmartTransferTicketTermResponseDtoData } from './smart-transfer-ticket-term-response-dto-data'; - -/** - * - * @export - * @interface SmartTransferTicketTermResponseDto - */ -export interface SmartTransferTicketTermResponseDto { - /** - * Result message - * @type {string} - * @memberof SmartTransferTicketTermResponseDto - */ - 'message': string | null; - /** - * - * @type {SmartTransferTicketTermResponseDtoData} - * @memberof SmartTransferTicketTermResponseDto - */ - 'data'?: SmartTransferTicketTermResponseDtoData | null; -} - diff --git a/models/smart-transfer-update-ticket-term-dto.ts b/models/smart-transfer-update-ticket-term-dto.ts deleted file mode 100644 index d9d1a3a..0000000 --- a/models/smart-transfer-update-ticket-term-dto.ts +++ /dev/null @@ -1,48 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface SmartTransferUpdateTicketTermDto - */ -export interface SmartTransferUpdateTicketTermDto { - /** - * Asset name - * @type {string} - * @memberof SmartTransferUpdateTicketTermDto - */ - 'asset': string; - /** - * Amount - * @type {number} - * @memberof SmartTransferUpdateTicketTermDto - */ - 'amount': number; - /** - * Identifier of the origination Network Profile - * @type {string} - * @memberof SmartTransferUpdateTicketTermDto - */ - 'fromNetworkId': string; - /** - * Identifier of the destination Network Profile - * @type {string} - * @memberof SmartTransferUpdateTicketTermDto - */ - 'toNetworkId': string; -} - diff --git a/models/smart-transfer-user-groups-dto.ts b/models/smart-transfer-user-groups-dto.ts deleted file mode 100644 index 2821618..0000000 --- a/models/smart-transfer-user-groups-dto.ts +++ /dev/null @@ -1,30 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface SmartTransferUserGroupsDto - */ -export interface SmartTransferUserGroupsDto { - /** - * Data object with result data - * @type {Array} - * @memberof SmartTransferUserGroupsDto - */ - 'userGroupIds': Array | null; -} - diff --git a/models/smart-transfer-user-groups-response-dto-data.ts b/models/smart-transfer-user-groups-response-dto-data.ts deleted file mode 100644 index d6067f1..0000000 --- a/models/smart-transfer-user-groups-response-dto-data.ts +++ /dev/null @@ -1,27 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import { SmartTransferUserGroupsDto } from './smart-transfer-user-groups-dto'; - -/** - * @type SmartTransferUserGroupsResponseDtoData - * Data object with result data - * @export - */ -export type SmartTransferUserGroupsResponseDtoData = SmartTransferUserGroupsDto; - - diff --git a/models/smart-transfer-user-groups-response-dto.ts b/models/smart-transfer-user-groups-response-dto.ts deleted file mode 100644 index d5862c0..0000000 --- a/models/smart-transfer-user-groups-response-dto.ts +++ /dev/null @@ -1,39 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import { SmartTransferUserGroupsResponseDtoData } from './smart-transfer-user-groups-response-dto-data'; - -/** - * - * @export - * @interface SmartTransferUserGroupsResponseDto - */ -export interface SmartTransferUserGroupsResponseDto { - /** - * Result message - * @type {string} - * @memberof SmartTransferUserGroupsResponseDto - */ - 'message': string | null; - /** - * - * @type {SmartTransferUserGroupsResponseDtoData} - * @memberof SmartTransferUserGroupsResponseDto - */ - 'data'?: SmartTransferUserGroupsResponseDtoData | null; -} - diff --git a/models/source-transfer-peer-path.ts b/models/source-transfer-peer-path.ts new file mode 100644 index 0000000..73b459d --- /dev/null +++ b/models/source-transfer-peer-path.ts @@ -0,0 +1,62 @@ +/* tslint:disable */ +/* eslint-disable */ +/** + * Fireblocks API + * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) + * + * The version of the OpenAPI document: 1.6.2 + * Contact: support@fireblocks.com + * + * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). + * https://openapi-generator.tech + * Do not edit the class manually. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { TransferPeerPathSubType } from './transfer-peer-path-sub-type'; +// May contain unused imports in some cases +// @ts-ignore +import { TransferPeerPathType } from './transfer-peer-path-type'; + +/** + * The source of the transaction. + * @export + * @interface SourceTransferPeerPath + */ +export interface SourceTransferPeerPath { + /** + * + * @type {TransferPeerPathType} + * @memberof SourceTransferPeerPath + */ + 'type': TransferPeerPathType; + /** + * + * @type {TransferPeerPathSubType} + * @memberof SourceTransferPeerPath + */ + 'subType'?: TransferPeerPathSubType; + /** + * + * @type {string} + * @memberof SourceTransferPeerPath + */ + 'id'?: string; + /** + * + * @type {string} + * @memberof SourceTransferPeerPath + */ + 'name'?: string; + /** + * + * @type {string} + * @memberof SourceTransferPeerPath + */ + 'walletId'?: string; +} + + + diff --git a/models/token-ownership-response.ts b/models/token-ownership-response.ts index 52b194f..567df6e 100644 --- a/models/token-ownership-response.ts +++ b/models/token-ownership-response.ts @@ -96,13 +96,13 @@ export interface TokenOwnershipResponse { */ 'media'?: Array; /** - * + * Owned Token's Spam status * @type {SpamOwnershipResponse} * @memberof TokenOwnershipResponse */ 'spam'?: SpamOwnershipResponse; /** - * + * Parent collection information * @type {TokenCollectionResponse} * @memberof TokenOwnershipResponse */ diff --git a/models/token-response.ts b/models/token-response.ts index 18c3f83..16aff30 100644 --- a/models/token-response.ts +++ b/models/token-response.ts @@ -72,13 +72,13 @@ export interface TokenResponse { */ 'media'?: Array; /** - * + * Token spam status * @type {SpamTokenResponse} * @memberof TokenResponse */ 'spam'?: SpamTokenResponse; /** - * + * Parent collection information * @type {TokenCollectionResponse} * @memberof TokenResponse */ diff --git a/models/transaction-request.ts b/models/transaction-request.ts index 31d28cc..be6dccc 100644 --- a/models/transaction-request.ts +++ b/models/transaction-request.ts @@ -18,6 +18,9 @@ import { DestinationTransferPeerPath } from './destination-transfer-peer-path'; // May contain unused imports in some cases // @ts-ignore +import { SourceTransferPeerPath } from './source-transfer-peer-path'; +// May contain unused imports in some cases +// @ts-ignore import { TransactionOperation } from './transaction-operation'; // May contain unused imports in some cases // @ts-ignore @@ -45,9 +48,6 @@ import { TransactionRequestNetworkStaking } from './transaction-request-network- import { TransactionRequestPriorityFee } from './transaction-request-priority-fee'; // May contain unused imports in some cases // @ts-ignore -import { TransferPeerPath } from './transfer-peer-path'; -// May contain unused imports in some cases -// @ts-ignore import { TravelRuleCreateTransactionRequest } from './travel-rule-create-transaction-request'; /** @@ -82,10 +82,10 @@ export interface TransactionRequest { 'assetId'?: string; /** * - * @type {TransferPeerPath} + * @type {SourceTransferPeerPath} * @memberof TransactionRequest */ - 'source'?: TransferPeerPath; + 'source'?: SourceTransferPeerPath; /** * * @type {DestinationTransferPeerPath} diff --git a/models/transaction-response.ts b/models/transaction-response.ts index e1337ba..a360b21 100644 --- a/models/transaction-response.ts +++ b/models/transaction-response.ts @@ -354,6 +354,12 @@ export interface TransactionResponse { * @deprecated */ 'networkFee'?: number; + /** + * The transaction\'s revert reason. This field will be returned when `subStatus` = \'SMART_CONTRACT_EXECUTION_FAILED\'. + * @type {string} + * @memberof TransactionResponse + */ + 'errorDescription'?: string; } export const TransactionResponseAddressTypeEnum = { diff --git a/models/transfer-peer-path.ts b/models/transfer-peer-path-sub-type.ts similarity index 58% rename from models/transfer-peer-path.ts rename to models/transfer-peer-path-sub-type.ts index a07da56..6e09dde 100644 --- a/models/transfer-peer-path.ts +++ b/models/transfer-peer-path-sub-type.ts @@ -13,49 +13,14 @@ */ -// May contain unused imports in some cases -// @ts-ignore -import { TransferPeerPathType } from './transfer-peer-path-type'; /** * * @export - * @interface TransferPeerPath + * @enum {string} */ -export interface TransferPeerPath { - /** - * - * @type {TransferPeerPathType} - * @memberof TransferPeerPath - */ - 'type': TransferPeerPathType; - /** - * - * @type {string} - * @memberof TransferPeerPath - */ - 'subType'?: TransferPeerPathSubTypeEnum; - /** - * - * @type {string} - * @memberof TransferPeerPath - */ - 'id'?: string; - /** - * - * @type {string} - * @memberof TransferPeerPath - */ - 'name'?: string; - /** - * - * @type {string} - * @memberof TransferPeerPath - */ - 'walletId'?: string; -} -export const TransferPeerPathSubTypeEnum = { +export const TransferPeerPathSubType = { Binance: 'BINANCE', Binanceus: 'BINANCEUS', Bitfinex: 'BITFINEX', @@ -90,6 +55,7 @@ export const TransferPeerPathSubTypeEnum = { Internal: 'Internal' } as const; -export type TransferPeerPathSubTypeEnum = typeof TransferPeerPathSubTypeEnum[keyof typeof TransferPeerPathSubTypeEnum]; +export type TransferPeerPathSubType = typeof TransferPeerPathSubType[keyof typeof TransferPeerPathSubType]; + diff --git a/models/travel-rule-configurations-request.ts b/models/travel-rule-configurations-request.ts deleted file mode 100644 index 300302a..0000000 --- a/models/travel-rule-configurations-request.ts +++ /dev/null @@ -1,42 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface TravelRuleConfigurationsRequest - */ -export interface TravelRuleConfigurationsRequest { - /** - * Flag to enable or disable bypass screening during service outages. - * @type {boolean} - * @memberof TravelRuleConfigurationsRequest - */ - 'bypassScreeningDuringServiceOutages'?: boolean; - /** - * Inbound transaction delay in seconds. - * @type {number} - * @memberof TravelRuleConfigurationsRequest - */ - 'inboundTransactionDelay'?: number; - /** - * Outbound transaction delay in seconds. - * @type {number} - * @memberof TravelRuleConfigurationsRequest - */ - 'outboundTransactionDelay'?: number; -} - diff --git a/models/travel-rule-create-transaction-request.ts b/models/travel-rule-create-transaction-request.ts index b75ac92..95deab9 100644 --- a/models/travel-rule-create-transaction-request.ts +++ b/models/travel-rule-create-transaction-request.ts @@ -30,13 +30,13 @@ import { TravelRuleTransactionBlockchainInfo } from './travel-rule-transaction-b */ export interface TravelRuleCreateTransactionRequest { /** - * + * Information about the originator of the transaction * @type {TravelRulePiiIVMS} * @memberof TravelRuleCreateTransactionRequest */ 'originator': TravelRulePiiIVMS; /** - * + * Information about the beneficiary of the transaction * @type {TravelRulePiiIVMS} * @memberof TravelRuleCreateTransactionRequest */ @@ -60,7 +60,7 @@ export interface TravelRuleCreateTransactionRequest { */ 'beneficiaryVASPname'?: string; /** - * + * Information about the blockchain transaction * @type {TravelRuleTransactionBlockchainInfo} * @memberof TravelRuleCreateTransactionRequest */ @@ -90,19 +90,19 @@ export interface TravelRuleCreateTransactionRequest { */ 'travelRuleBehavior'?: boolean; /** - * + * Ownership proof related to the originator of the transaction * @type {TravelRuleOwnershipProof} * @memberof TravelRuleCreateTransactionRequest */ 'originatorProof'?: TravelRuleOwnershipProof; /** - * + * Ownership proof related to the beneficiary of the transaction * @type {TravelRuleOwnershipProof} * @memberof TravelRuleCreateTransactionRequest */ 'beneficiaryProof'?: TravelRuleOwnershipProof; /** - * + * Personal identifiable information related to the transaction * @type {TravelRulePiiIVMS} * @memberof TravelRuleCreateTransactionRequest */ diff --git a/models/travel-rule-policy-response.ts b/models/travel-rule-policy-response.ts deleted file mode 100644 index 42a307b..0000000 --- a/models/travel-rule-policy-response.ts +++ /dev/null @@ -1,57 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import { TravelRulePolicyRuleResponse } from './travel-rule-policy-rule-response'; - -/** - * - * @export - * @interface TravelRulePolicyResponse - */ -export interface TravelRulePolicyResponse { - /** - * - * @type {TravelRulePolicyRuleResponse} - * @memberof TravelRulePolicyResponse - */ - 'policy': TravelRulePolicyRuleResponse; - /** - * - * @type {boolean} - * @memberof TravelRulePolicyResponse - */ - 'isDefault': boolean; - /** - * - * @type {string} - * @memberof TravelRulePolicyResponse - */ - 'lastUpdate': string; - /** - * - * @type {string} - * @memberof TravelRulePolicyResponse - */ - 'policyStatus'?: string; - /** - * - * @type {string} - * @memberof TravelRulePolicyResponse - */ - 'createDate'?: string; -} - diff --git a/models/travel-rule-provider-rules-configuration-response.ts b/models/travel-rule-provider-rules-configuration-response.ts deleted file mode 100644 index b6116a1..0000000 --- a/models/travel-rule-provider-rules-configuration-response.ts +++ /dev/null @@ -1,88 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - - -/** - * - * @export - * @interface TravelRuleProviderRulesConfigurationResponse - */ -export interface TravelRuleProviderRulesConfigurationResponse { - /** - * - * @type {string} - * @memberof TravelRuleProviderRulesConfigurationResponse - */ - 'action': TravelRuleProviderRulesConfigurationResponseActionEnum; - /** - * - * @type {string} - * @memberof TravelRuleProviderRulesConfigurationResponse - */ - 'direction'?: TravelRuleProviderRulesConfigurationResponseDirectionEnum; - /** - * - * @type {string} - * @memberof TravelRuleProviderRulesConfigurationResponse - */ - 'status'?: TravelRuleProviderRulesConfigurationResponseStatusEnum; - /** - * - * @type {number} - * @memberof TravelRuleProviderRulesConfigurationResponse - */ - 'amountUSD'?: number; - /** - * - * @type {number} - * @memberof TravelRuleProviderRulesConfigurationResponse - */ - 'amount'?: number; - /** - * - * @type {string} - * @memberof TravelRuleProviderRulesConfigurationResponse - */ - 'asset'?: string; -} - -export const TravelRuleProviderRulesConfigurationResponseActionEnum = { - Accept: 'ACCEPT', - Reject: 'REJECT', - Alert: 'ALERT', - Wait: 'WAIT', - Freeze: 'FREEZE', - Cancel: 'CANCEL' -} as const; - -export type TravelRuleProviderRulesConfigurationResponseActionEnum = typeof TravelRuleProviderRulesConfigurationResponseActionEnum[keyof typeof TravelRuleProviderRulesConfigurationResponseActionEnum]; -export const TravelRuleProviderRulesConfigurationResponseDirectionEnum = { - Inbound: 'INBOUND', - Outbound: 'OUTBOUND' -} as const; - -export type TravelRuleProviderRulesConfigurationResponseDirectionEnum = typeof TravelRuleProviderRulesConfigurationResponseDirectionEnum[keyof typeof TravelRuleProviderRulesConfigurationResponseDirectionEnum]; -export const TravelRuleProviderRulesConfigurationResponseStatusEnum = { - Completed: 'COMPLETED', - Pending: 'PENDING', - Rejected: 'REJECTED', - Failed: 'FAILED', - Canceled: 'CANCELED', - BlockingTimeExpired: 'BLOCKING_TIME_EXPIRED' -} as const; - -export type TravelRuleProviderRulesConfigurationResponseStatusEnum = typeof TravelRuleProviderRulesConfigurationResponseStatusEnum[keyof typeof TravelRuleProviderRulesConfigurationResponseStatusEnum]; - - diff --git a/models/travel-rule-validate-full-transaction-request.ts b/models/travel-rule-validate-full-transaction-request.ts index 56c2e09..4cc914c 100644 --- a/models/travel-rule-validate-full-transaction-request.ts +++ b/models/travel-rule-validate-full-transaction-request.ts @@ -30,13 +30,13 @@ import { TravelRuleTransactionBlockchainInfo } from './travel-rule-transaction-b */ export interface TravelRuleValidateFullTransactionRequest { /** - * + * Information about the originator of the transaction * @type {TravelRulePiiIVMS} * @memberof TravelRuleValidateFullTransactionRequest */ 'originator': TravelRulePiiIVMS; /** - * + * Information about the beneficiary of the transaction * @type {TravelRulePiiIVMS} * @memberof TravelRuleValidateFullTransactionRequest */ @@ -84,7 +84,7 @@ export interface TravelRuleValidateFullTransactionRequest { */ 'beneficiaryVASPname'?: string; /** - * + * Information about the blockchain transaction * @type {TravelRuleTransactionBlockchainInfo} * @memberof TravelRuleValidateFullTransactionRequest */ @@ -120,19 +120,19 @@ export interface TravelRuleValidateFullTransactionRequest { */ 'travelRuleBehavior'?: boolean; /** - * + * Ownership proof related to the originator of the transaction * @type {TravelRuleOwnershipProof} * @memberof TravelRuleValidateFullTransactionRequest */ 'originatorProof'?: TravelRuleOwnershipProof; /** - * + * Ownership proof related to the beneficiary of the transaction * @type {TravelRuleOwnershipProof} * @memberof TravelRuleValidateFullTransactionRequest */ 'beneficiaryProof'?: TravelRuleOwnershipProof; /** - * + * Personal identifiable information related to the transaction * @type {TravelRulePiiIVMS} * @memberof TravelRuleValidateFullTransactionRequest */ diff --git a/models/travel-rule-validate-transaction-request.ts b/models/travel-rule-validate-transaction-request.ts index 3a27f80..47862e1 100644 --- a/models/travel-rule-validate-transaction-request.ts +++ b/models/travel-rule-validate-transaction-request.ts @@ -84,7 +84,7 @@ export interface TravelRuleValidateTransactionRequest { */ 'beneficiaryAccountNumber'?: string; /** - * + * Beneficiary name * @type {TravelRuleAddress} * @memberof TravelRuleValidateTransactionRequest */ diff --git a/models/unmanaged-wallet.ts b/models/unmanaged-wallet.ts index dd983fc..8a2aa5d 100644 --- a/models/unmanaged-wallet.ts +++ b/models/unmanaged-wallet.ts @@ -37,15 +37,15 @@ export interface UnmanagedWallet { 'name': string; /** * - * @type {string} + * @type {Array} * @memberof UnmanagedWallet */ - 'customerRefId'?: string; + 'assets': Array; /** * - * @type {Array} + * @type {string} * @memberof UnmanagedWallet */ - 'assets'?: Array; + 'customerRefId'?: string; } diff --git a/models/update-draft-request.ts b/models/update-draft-request.ts deleted file mode 100644 index b52c57e..0000000 --- a/models/update-draft-request.ts +++ /dev/null @@ -1,33 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Fireblocks API - * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) - * - * The version of the OpenAPI document: 1.6.2 - * Contact: support@fireblocks.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -// May contain unused imports in some cases -// @ts-ignore -import { PolicyRule } from './policy-rule'; - -/** - * - * @export - * @interface UpdateDraftRequest - */ -export interface UpdateDraftRequest { - /** - * rules to update the draft with - * @type {Array} - * @memberof UpdateDraftRequest - */ - 'rules'?: Array; -} - diff --git a/models/ncw.ts b/models/vault-action-status.ts similarity index 75% rename from models/ncw.ts rename to models/vault-action-status.ts index 515a868..d5ea160 100644 --- a/models/ncw.ts +++ b/models/vault-action-status.ts @@ -17,14 +17,14 @@ /** * * @export - * @interface Ncw + * @interface VaultActionStatus */ -export interface Ncw { +export interface VaultActionStatus { /** * - * @type {string} - * @memberof Ncw + * @type {boolean} + * @memberof VaultActionStatus */ - 'walletId'?: string; + 'success'?: boolean; } diff --git a/package-lock.json b/package-lock.json index 69dd9b1..1ba4c33 100644 --- a/package-lock.json +++ b/package-lock.json @@ -40,113 +40,42 @@ } }, "node_modules/@babel/code-frame": { - "version": "7.23.5", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.23.5.tgz", - "integrity": "sha512-CgH3s1a96LipHCmSUmYFPwY7MNx8C3avkq7i4Wl3cfa662ldtUe4VM1TPXX70pfmrlWTb6jLqTYrZyT2ZTJBgA==", + "version": "7.24.2", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.24.2.tgz", + "integrity": "sha512-y5+tLQyV8pg3fsiln67BVLD1P13Eg4lh5RW9mF0zUuvLrv9uIQ4MCL+CRT+FTsBlBjcIan6PGsLcBN0m3ClUyQ==", "dev": true, "dependencies": { - "@babel/highlight": "^7.23.4", - "chalk": "^2.4.2" + "@babel/highlight": "^7.24.2", + "picocolors": "^1.0.0" }, "engines": { "node": ">=6.9.0" } }, - "node_modules/@babel/code-frame/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dev": true, - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/@babel/code-frame/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "dev": true, - "dependencies": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/@babel/code-frame/node_modules/color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "dev": true, - "dependencies": { - "color-name": "1.1.3" - } - }, - "node_modules/@babel/code-frame/node_modules/color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", - "dev": true - }, - "node_modules/@babel/code-frame/node_modules/escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", - "dev": true, - "engines": { - "node": ">=0.8.0" - } - }, - "node_modules/@babel/code-frame/node_modules/has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/@babel/code-frame/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dev": true, - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, "node_modules/@babel/compat-data": { - "version": "7.23.5", - "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.23.5.tgz", - "integrity": "sha512-uU27kfDRlhfKl+w1U6vp16IuvSLtjAxdArVXPa9BvLkrr7CYIsxH5adpHObeAGY/41+syctUWOZ140a2Rvkgjw==", + "version": "7.24.1", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.24.1.tgz", + "integrity": "sha512-Pc65opHDliVpRHuKfzI+gSA4zcgr65O4cl64fFJIWEEh8JoHIHh0Oez1Eo8Arz8zq/JhgKodQaxEwUPRtZylVA==", "dev": true, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/core": { - "version": "7.24.0", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.24.0.tgz", - "integrity": "sha512-fQfkg0Gjkza3nf0c7/w6Xf34BW4YvzNfACRLmmb7XRLa6XHdR+K9AlJlxneFfWYf6uhOzuzZVTjF/8KfndZANw==", + "version": "7.24.3", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.24.3.tgz", + "integrity": "sha512-5FcvN1JHw2sHJChotgx8Ek0lyuh4kCKelgMTTqhYJJtloNvUfpAFMeNQUtdlIaktwrSV9LtCdqwk48wL2wBacQ==", "dev": true, "dependencies": { "@ampproject/remapping": "^2.2.0", - "@babel/code-frame": "^7.23.5", - "@babel/generator": "^7.23.6", + "@babel/code-frame": "^7.24.2", + "@babel/generator": "^7.24.1", "@babel/helper-compilation-targets": "^7.23.6", "@babel/helper-module-transforms": "^7.23.3", - "@babel/helpers": "^7.24.0", - "@babel/parser": "^7.24.0", + "@babel/helpers": "^7.24.1", + "@babel/parser": "^7.24.1", "@babel/template": "^7.24.0", - "@babel/traverse": "^7.24.0", + "@babel/traverse": "^7.24.1", "@babel/types": "^7.24.0", "convert-source-map": "^2.0.0", "debug": "^4.1.0", @@ -163,14 +92,14 @@ } }, "node_modules/@babel/generator": { - "version": "7.23.6", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.23.6.tgz", - "integrity": "sha512-qrSfCYxYQB5owCmGLbl8XRpX1ytXlpueOb0N0UmQwA073KZxejgQTzAmJezxvpwQD9uGtK2shHdi55QT+MbjIw==", + "version": "7.24.1", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.24.1.tgz", + "integrity": "sha512-DfCRfZsBcrPEHUfuBMgbJ1Ut01Y/itOs+hY2nFLgqsqXd52/iSiVq5TITtUasIUgm+IIKdY2/1I7auiQOEeC9A==", "dev": true, "dependencies": { - "@babel/types": "^7.23.6", - "@jridgewell/gen-mapping": "^0.3.2", - "@jridgewell/trace-mapping": "^0.3.17", + "@babel/types": "^7.24.0", + "@jridgewell/gen-mapping": "^0.3.5", + "@jridgewell/trace-mapping": "^0.3.25", "jsesc": "^2.5.1" }, "engines": { @@ -228,12 +157,12 @@ } }, "node_modules/@babel/helper-module-imports": { - "version": "7.22.15", - "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.22.15.tgz", - "integrity": "sha512-0pYVBnDKZO2fnSPCrgM/6WMc7eS20Fbok+0r88fp+YtWVLZrp4CkafFGIp+W0VKw4a22sgebPT99y+FDNMdP4w==", + "version": "7.24.3", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.24.3.tgz", + "integrity": "sha512-viKb0F9f2s0BCS22QSF308z/+1YWKV/76mwt61NBzS5izMzDPwdq1pTrzf+Li3npBWX9KdQbkeCt1jSAM7lZqg==", "dev": true, "dependencies": { - "@babel/types": "^7.22.15" + "@babel/types": "^7.24.0" }, "engines": { "node": ">=6.9.0" @@ -292,9 +221,9 @@ } }, "node_modules/@babel/helper-string-parser": { - "version": "7.23.4", - "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.23.4.tgz", - "integrity": "sha512-803gmbQdqwdf4olxrX4AJyFBV/RTr3rSmOj0rKwesmzlfhYNDEs+/iOcznzpNWlJlIlTJC2QfPFcHB6DlzdVLQ==", + "version": "7.24.1", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.24.1.tgz", + "integrity": "sha512-2ofRCjnnA9y+wk8b9IAREroeUP02KHp431N2mhKniy2yKIDKpbrHv9eXwm8cBeWQYcJmzv5qKCu65P47eCF7CQ==", "dev": true, "engines": { "node": ">=6.9.0" @@ -319,13 +248,13 @@ } }, "node_modules/@babel/helpers": { - "version": "7.24.0", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.24.0.tgz", - "integrity": "sha512-ulDZdc0Aj5uLc5nETsa7EPx2L7rM0YJM8r7ck7U73AXi7qOV44IHHRAYZHY6iU1rr3C5N4NtTmMRUJP6kwCWeA==", + "version": "7.24.1", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.24.1.tgz", + "integrity": "sha512-BpU09QqEe6ZCHuIHFphEFgvNSrubve1FtyMton26ekZ85gRGi6LrTF7zArARp2YvyFxloeiRmtSCq5sjh1WqIg==", "dev": true, "dependencies": { "@babel/template": "^7.24.0", - "@babel/traverse": "^7.24.0", + "@babel/traverse": "^7.24.1", "@babel/types": "^7.24.0" }, "engines": { @@ -333,14 +262,15 @@ } }, "node_modules/@babel/highlight": { - "version": "7.23.4", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.23.4.tgz", - "integrity": "sha512-acGdbYSfp2WheJoJm/EBBBLh/ID8KDc64ISZ9DYtBmC8/Q204PZJLHyzeB5qMzJ5trcOkybd78M4x2KWsUq++A==", + "version": "7.24.2", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.24.2.tgz", + "integrity": "sha512-Yac1ao4flkTxTteCDZLEvdxg2fZfz1v8M4QpaGypq/WPDqg3ijHYbDfs+LG5hvzSoqaSZ9/Z9lKSP3CjZjv+pA==", "dev": true, "dependencies": { "@babel/helper-validator-identifier": "^7.22.20", "chalk": "^2.4.2", - "js-tokens": "^4.0.0" + "js-tokens": "^4.0.0", + "picocolors": "^1.0.0" }, "engines": { "node": ">=6.9.0" @@ -418,9 +348,9 @@ } }, "node_modules/@babel/parser": { - "version": "7.24.0", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.24.0.tgz", - "integrity": "sha512-QuP/FxEAzMSjXygs8v4N9dvdXzEHN4W1oF3PxuWAtPo08UdM17u89RDMgjLn/mlc56iM0HlLmVkO/wgR+rDgHg==", + "version": "7.24.1", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.24.1.tgz", + "integrity": "sha512-Zo9c7N3xdOIQrNip7Lc9wvRPzlRtovHVE4lkz8WEDr7uYh/GMQhSiIgFxGIArRHYdJE5kxtZjAf8rT0xhdLCzg==", "dev": true, "bin": { "parser": "bin/babel-parser.js" @@ -490,12 +420,12 @@ } }, "node_modules/@babel/plugin-syntax-jsx": { - "version": "7.23.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.23.3.tgz", - "integrity": "sha512-EB2MELswq55OHUoRZLGg/zC7QWUKfNLpE57m/S2yr1uEneIgsTgrSzXP3NXEsMkVn76OlaVVnzN+ugObuYGwhg==", + "version": "7.24.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.24.1.tgz", + "integrity": "sha512-2eCtxZXf+kbkMIsXS4poTvT4Yu5rXiRa+9xGVT56raghjmBTKMpFNc9R4IDiB4emao9eO22Ox7CxuJG7BgExqA==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5" + "@babel/helper-plugin-utils": "^7.24.0" }, "engines": { "node": ">=6.9.0" @@ -592,12 +522,12 @@ } }, "node_modules/@babel/plugin-syntax-typescript": { - "version": "7.23.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.23.3.tgz", - "integrity": "sha512-9EiNjVJOMwCO+43TqoTrgQ8jMwcAd0sWyXi9RPfIsLTj4R2MADDDQXELhffaUx/uJv2AYcxBgPwH6j4TIA4ytQ==", + "version": "7.24.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.24.1.tgz", + "integrity": "sha512-Yhnmvy5HZEnHUty6i++gcfH1/l68AHnItFHnaCv6hn9dNh0hQvvQJsxpi4BMBFN5DLeHBuucT/0DgzXif/OyRw==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.22.5" + "@babel/helper-plugin-utils": "^7.24.0" }, "engines": { "node": ">=6.9.0" @@ -621,18 +551,18 @@ } }, "node_modules/@babel/traverse": { - "version": "7.24.0", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.24.0.tgz", - "integrity": "sha512-HfuJlI8qq3dEDmNU5ChzzpZRWq+oxCZQyMzIMEqLho+AQnhMnKQUzH6ydo3RBl/YjPCuk68Y6s0Gx0AeyULiWw==", + "version": "7.24.1", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.24.1.tgz", + "integrity": "sha512-xuU6o9m68KeqZbQuDt2TcKSxUw/mrsvavlEqQ1leZ/B+C9tk6E4sRWy97WaXgvq5E+nU3cXMxv3WKOCanVMCmQ==", "dev": true, "dependencies": { - "@babel/code-frame": "^7.23.5", - "@babel/generator": "^7.23.6", + "@babel/code-frame": "^7.24.1", + "@babel/generator": "^7.24.1", "@babel/helper-environment-visitor": "^7.22.20", "@babel/helper-function-name": "^7.23.0", "@babel/helper-hoist-variables": "^7.22.5", "@babel/helper-split-export-declaration": "^7.22.6", - "@babel/parser": "^7.24.0", + "@babel/parser": "^7.24.1", "@babel/types": "^7.24.0", "debug": "^4.3.1", "globals": "^11.1.0" @@ -1235,11 +1165,11 @@ "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" }, "node_modules/axios": { - "version": "1.6.7", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.7.tgz", - "integrity": "sha512-/hDJGff6/c7u0hDkvkGxR/oy6CbCs8ziCsC7SqmhjfozqiJGc8Z11wrv9z9lYfY4K8l+H9TpjcMDX0xOZmx+RA==", + "version": "1.6.8", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.8.tgz", + "integrity": "sha512-v/ZHtJDU39mDpyBoFVkETcd/uNdxrWRrg3bKpOKzXFA6Bvqopts6ALSMU3y6ijYxbw2B+wPrIv46egTzJXCLGQ==", "dependencies": { - "follow-redirects": "^1.15.4", + "follow-redirects": "^1.15.6", "form-data": "^4.0.0", "proxy-from-env": "^1.1.0" } @@ -1462,9 +1392,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001596", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001596.tgz", - "integrity": "sha512-zpkZ+kEr6We7w63ORkoJ2pOfBwBkY/bJrG/UZ90qNb45Isblu8wzDgevEOrRL1r9dWayHjYiiyCMEXPn4DweGQ==", + "version": "1.0.30001603", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001603.tgz", + "integrity": "sha512-iL2iSS0eDILMb9n5yKQoTBim9jMZ0Yrk8g0N9K7UzYyWnfIKzXBZD5ngpM37ZcL/cv0Mli8XtVMRYMQAfFpi5Q==", "dev": true, "funding": [ { @@ -1708,9 +1638,9 @@ } }, "node_modules/electron-to-chromium": { - "version": "1.4.695", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.695.tgz", - "integrity": "sha512-eMijZmeqPtm774pCZIOrfUHMs/7ls++W1sLhxwqgu8KQ8E2WmMtzwyqOMt0XXUJ3HTIPfuwlfwF+I5cwnfItBA==", + "version": "1.4.722", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.722.tgz", + "integrity": "sha512-5nLE0TWFFpZ80Crhtp4pIp8LXCztjYX41yUcV6b+bKR2PqzjskTMOOlBi1VjBHlvHwS+4gar7kNKOrsbsewEZQ==", "dev": true }, "node_modules/emittery": { @@ -1860,9 +1790,9 @@ } }, "node_modules/follow-redirects": { - "version": "1.15.5", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.5.tgz", - "integrity": "sha512-vSFWUON1B+yAw1VN4xMfxgn5fTUiaOzAJCKBwIIgT/+7CuGy9+r+5gITvP62j3RmaD5Ph65UaERdOSRGUzZtgw==", + "version": "1.15.6", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.6.tgz", + "integrity": "sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA==", "funding": [ { "type": "individual", @@ -2004,9 +1934,9 @@ } }, "node_modules/hasown": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.1.tgz", - "integrity": "sha512-1/th4MHjnwncwXsIW6QMzlvYL9kG5e/CpVvLRZe4XPa8TOUNbCELqmvhDmnkNsAjwaG4+I8gJJL0JBvTTLO9qA==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", + "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", "dev": true, "dependencies": { "function-bind": "^1.1.2" @@ -3415,9 +3345,9 @@ "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==" }, "node_modules/pure-rand": { - "version": "6.0.4", - "resolved": "https://registry.npmjs.org/pure-rand/-/pure-rand-6.0.4.tgz", - "integrity": "sha512-LA0Y9kxMYv47GIPJy6MI84fqTd2HmYZI83W/kM/SkKfDlajnZYfmXFTxkbY+xSBPkLJxltMa9hIkmdc29eguMA==", + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/pure-rand/-/pure-rand-6.1.0.tgz", + "integrity": "sha512-bVWawvoZoBYpp6yIoQtQXHZjmz35RSVHnUOTefl8Vcjr8snTPY1wnpSPMWekcFwbxI6gtmT7rSYPFvz71ldiOA==", "dev": true, "funding": [ { diff --git a/package.json b/package.json index 488785e..043c481 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@fireblocks/ts-sdk", - "version": "3.0.5-beta", + "version": "3.0.6-beta", "description": "OpenAPI client for @fireblocks/ts-sdk", "author": "Fireblocks SDK Generator", "repository": { @@ -42,31 +42,32 @@ "jest-junit": "^14.0.0", "ts-jest": "29.0.5", "typescript": "^4.0" - }, + } +, "jest": { "moduleFileExtensions": [ - "js", - "json", - "ts" + "js", + "json", + "ts" ], "rootDir": ".", "testRegex": ".spec.ts$", "transform": { - "^.+\\.(t|j)s$": "ts-jest" + "^.+\\.(t|j)s$": "ts-jest" }, "coverageDirectory": "../coverage", "testEnvironment": "node", "reporters": [ - "default", - "jest-junit" + "default", + "jest-junit" ], "coverageReporters": [ - "json", - "cobertura", - "clover", - "json-summary", - "text", - "lcov" + "json", + "cobertura", + "clover", + "json-summary", + "text", + "lcov" ] } } diff --git a/tests/client.spec.ts b/tests/client.spec.ts index d9e380e..980023b 100644 --- a/tests/client.spec.ts +++ b/tests/client.spec.ts @@ -11,39 +11,39 @@ */ import { Fireblocks } from '../client/client'; -import { AdminQuorumApi, -ApiUserApi, -AssetsApi, -AuditLogsApi, -BlockchainsAssetsApi, -ComplianceApi, -ComplianceScreeningConfigurationApi, -ConsoleUserApi, -ContractsApi, -ExchangeAccountsApi, -ExternalWalletsApi, -FiatAccountsApi, -GasStationsApi, -InternalWalletsApi, -JobManagementApi, -NFTsApi, -NetworkConnectionsApi, -OTABetaApi, -OffExchangesApi, -PaymentsPayoutApi, -PolicyEditorBetaApi, -ResetDeviceApi, -SmartTransferApi, -StakingBetaApi, -TransactionsApi, -TravelRuleBetaApi, -UserGroupsBetaApi, -UsersApi, -VaultsApi, -Web3ConnectionsApi, -WebhooksApi, -WhitelistIpAddressesApi, -WorkspaceApi, +import { AdminQuorumApi, +ApiUserApi, +AssetsApi, +AuditLogsApi, +BlockchainsAssetsApi, +ComplianceApi, +ComplianceScreeningConfigurationApi, +ConsoleUserApi, +ContractsApi, +ExchangeAccountsApi, +ExternalWalletsApi, +FiatAccountsApi, +GasStationsApi, +InternalWalletsApi, +JobManagementApi, +NFTsApi, +NetworkConnectionsApi, +OTABetaApi, +OffExchangesApi, +PaymentsPayoutApi, +PolicyEditorBetaApi, +ResetDeviceApi, +SmartTransferApi, +StakingBetaApi, +TransactionsApi, +TravelRuleBetaApi, +UserGroupsBetaApi, +UsersApi, +VaultsApi, +Web3ConnectionsApi, +WebhooksApi, +WhitelistIpAddressesApi, +WorkspaceApi, WorkspaceStatusBetaApi } from '../api'; import { AxiosRequestConfig, AxiosResponse } from "axios"; @@ -264,7 +264,7 @@ describe("Fireblocks Client Tests", () => { expect(mockJobManagementApi).toHaveBeenCalledWith(expectedConfig, undefined, mockAxios); }); it('Should return NFTsApi', async () => { - expect(fireblocks.nFTs).toBeInstanceOf(NFTsApi); + expect(fireblocks.nfts).toBeInstanceOf(NFTsApi); expect(mockNFTsApi).toHaveBeenCalledWith(expectedConfig, undefined, mockAxios); }); it('Should return NetworkConnectionsApi', async () => { @@ -272,7 +272,7 @@ describe("Fireblocks Client Tests", () => { expect(mockNetworkConnectionsApi).toHaveBeenCalledWith(expectedConfig, undefined, mockAxios); }); it('Should return OTABetaApi', async () => { - expect(fireblocks.oTABeta).toBeInstanceOf(OTABetaApi); + expect(fireblocks.otaBeta).toBeInstanceOf(OTABetaApi); expect(mockOTABetaApi).toHaveBeenCalledWith(expectedConfig, undefined, mockAxios); }); it('Should return OffExchangesApi', async () => {