diff --git a/README.md b/README.md index dd89ba7..5b72665 100644 --- a/README.md +++ b/README.md @@ -28,20 +28,22 @@ You can initialize the Fireblocks SDK in two ways, either by setting environment

Using Environment Variables
You can initialize the SDK using environment variables from your .env file or by setting them programmatically:

+use bash commands to set environment variables: +```bash +export FIREBLOCKS_BASE_PATH="https://sandbox-api.fireblocks.io/v1" +export FIREBLOCKS_API_KEY="my-api-key" +export FIREBLOCKS_SECRET_KEY="my-secret-key" +``` +execute the following code to initialize the Fireblocks SDK: ```typescript -import { readFileSync } from 'fs'; -import { Fireblocks, BasePath } from "@fireblocks/ts-sdk"; - -// Set the environment variables -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"); +import { Fireblocks } from "@fireblocks/ts-sdk"; // Create a Fireblocks API instance const fireblocks = new Fireblocks(); ``` +

Providing Local Variables
Alternatively, you can directly pass the required parameters when initializing the Fireblocks API instance:

@@ -131,13 +133,13 @@ All URIs are relative to https://developers.fireblocks.com/reference/ Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- -*AdminQuorumApi* | [**setAdminQuorumThreshold**](docs/apis/AdminQuorumApi.md#setAdminQuorumThreshold) | **PUT** /admin_quorum | Update admin quorum threshold *ApiUserApi* | [**createApiUser**](docs/apis/ApiUserApi.md#createApiUser) | **POST** /management/api_users | create api user *ApiUserApi* | [**getApiUsers**](docs/apis/ApiUserApi.md#getApiUsers) | **GET** /management/api_users | get api users *AssetsApi* | [**createAssetsBulk**](docs/apis/AssetsApi.md#createAssetsBulk) | **POST** /vault/assets/bulk | Bulk creation of wallets *AuditLogsApi* | [**getAuditLogs**](docs/apis/AuditLogsApi.md#getAuditLogs) | **GET** /management/audit_logs | Get audit logs *AuditLogsApi* | [**getAudits**](docs/apis/AuditLogsApi.md#getAudits) | **GET** /audits | Get audit logs *BlockchainsAssetsApi* | [**getSupportedAssets**](docs/apis/BlockchainsAssetsApi.md#getSupportedAssets) | **GET** /supported_assets | List all asset types supported by Fireblocks +*BlockchainsAssetsApi* | [**registerNewAsset**](docs/apis/BlockchainsAssetsApi.md#registerNewAsset) | **POST** /assets | Register an asset *ComplianceApi* | [**getAmlPostScreeningPolicy**](docs/apis/ComplianceApi.md#getAmlPostScreeningPolicy) | **GET** /screening/aml/post_screening_policy | AML - View Post-Screening Policy *ComplianceApi* | [**getAmlScreeningPolicy**](docs/apis/ComplianceApi.md#getAmlScreeningPolicy) | **GET** /screening/aml/screening_policy | AML - View Screening Policy *ComplianceApi* | [**getPostScreeningPolicy**](docs/apis/ComplianceApi.md#getPostScreeningPolicy) | **GET** /screening/travel_rule/post_screening_policy | Travel Rule - View Post-Screening Policy @@ -311,12 +313,14 @@ Class | Method | HTTP request | Description *WebhooksApi* | [**resendTransactionWebhooks**](docs/apis/WebhooksApi.md#resendTransactionWebhooks) | **POST** /webhooks/resend/{txId} | Resend failed webhooks for a transaction by ID *WebhooksApi* | [**resendWebhooks**](docs/apis/WebhooksApi.md#resendWebhooks) | **POST** /webhooks/resend | Resend failed webhooks *WhitelistIpAddressesApi* | [**getWhitelistIpAddresses**](docs/apis/WhitelistIpAddressesApi.md#getWhitelistIpAddresses) | **GET** /management/api_users/{userId}/whitelist_ip_addresses | gets ip addresses -*WorkspaceApi* | [**freezeWorkspace**](docs/apis/WorkspaceApi.md#freezeWorkspace) | **POST** /workspace/freeze | Freeze Workspace *WorkspaceStatusBetaApi* | [**getWorkspaceStatus**](docs/apis/WorkspaceStatusBetaApi.md#getWorkspaceStatus) | **GET** /management/workspace_status | Returns current workspace status ## Documentation for Models + - [APIUser](docs/models/APIUser.md) + - [Account](docs/models/Account.md) + - [AccountType](docs/models/AccountType.md) - [AddAssetToExternalWalletRequest](docs/models/AddAssetToExternalWalletRequest.md) - [AddAssetToExternalWalletRequestOneOf](docs/models/AddAssetToExternalWalletRequestOneOf.md) - [AddAssetToExternalWalletRequestOneOf1](docs/models/AddAssetToExternalWalletRequestOneOf1.md) @@ -332,8 +336,17 @@ Class | Method | HTTP request | Description - [AmountAggregationTimePeriodMethod](docs/models/AmountAggregationTimePeriodMethod.md) - [AmountAndChainDescriptor](docs/models/AmountAndChainDescriptor.md) - [AmountInfo](docs/models/AmountInfo.md) + - [AssetAmount](docs/models/AssetAmount.md) + - [AssetBadRequestErrorResponse](docs/models/AssetBadRequestErrorResponse.md) + - [AssetConflictErrorResponse](docs/models/AssetConflictErrorResponse.md) + - [AssetInternalServerErrorResponse](docs/models/AssetInternalServerErrorResponse.md) + - [AssetNotFoundErrorResponse](docs/models/AssetNotFoundErrorResponse.md) + - [AssetResponse](docs/models/AssetResponse.md) + - [AssetResponseMetadata](docs/models/AssetResponseMetadata.md) + - [AssetResponseOnchain](docs/models/AssetResponseOnchain.md) - [AssetTypeResponse](docs/models/AssetTypeResponse.md) - [AssetWallet](docs/models/AssetWallet.md) + - [AuditLogData](docs/models/AuditLogData.md) - [AuthorizationGroups](docs/models/AuthorizationGroups.md) - [AuthorizationInfo](docs/models/AuthorizationInfo.md) - [BlockInfo](docs/models/BlockInfo.md) @@ -343,16 +356,38 @@ Class | Method | HTTP request | Description - [ComplianceResult](docs/models/ComplianceResult.md) - [ComplianceScreeningResult](docs/models/ComplianceScreeningResult.md) - [ConfigChangeRequestStatus](docs/models/ConfigChangeRequestStatus.md) + - [ConfigConversionOperationSnapshot](docs/models/ConfigConversionOperationSnapshot.md) + - [ConfigDisbursementOperationSnapshot](docs/models/ConfigDisbursementOperationSnapshot.md) + - [ConfigOperation](docs/models/ConfigOperation.md) + - [ConfigOperationSnapshot](docs/models/ConfigOperationSnapshot.md) + - [ConfigOperationStatus](docs/models/ConfigOperationStatus.md) + - [ConfigTransferOperationSnapshot](docs/models/ConfigTransferOperationSnapshot.md) + - [ConsoleUser](docs/models/ConsoleUser.md) + - [ConversionConfigOperation](docs/models/ConversionConfigOperation.md) + - [ConversionOperationConfigParams](docs/models/ConversionOperationConfigParams.md) + - [ConversionOperationExecution](docs/models/ConversionOperationExecution.md) + - [ConversionOperationExecutionOutput](docs/models/ConversionOperationExecutionOutput.md) + - [ConversionOperationExecutionParams](docs/models/ConversionOperationExecutionParams.md) + - [ConversionOperationExecutionParamsExecutionParams](docs/models/ConversionOperationExecutionParamsExecutionParams.md) + - [ConversionOperationFailure](docs/models/ConversionOperationFailure.md) + - [ConversionOperationPreview](docs/models/ConversionOperationPreview.md) + - [ConversionOperationPreviewOutput](docs/models/ConversionOperationPreviewOutput.md) + - [ConversionOperationType](docs/models/ConversionOperationType.md) + - [ConversionValidationFailure](docs/models/ConversionValidationFailure.md) - [ConvertAssetsRequest](docs/models/ConvertAssetsRequest.md) + - [ConvertAssetsResponse](docs/models/ConvertAssetsResponse.md) - [CreateAPIUser](docs/models/CreateAPIUser.md) - [CreateAddressRequest](docs/models/CreateAddressRequest.md) - [CreateAddressResponse](docs/models/CreateAddressResponse.md) - [CreateAssetsBulkRequest](docs/models/CreateAssetsBulkRequest.md) - [CreateAssetsRequest](docs/models/CreateAssetsRequest.md) + - [CreateConfigOperationRequest](docs/models/CreateConfigOperationRequest.md) - [CreateConnectionRequest](docs/models/CreateConnectionRequest.md) - [CreateConnectionResponse](docs/models/CreateConnectionResponse.md) - [CreateConsoleUser](docs/models/CreateConsoleUser.md) - [CreateContractRequest](docs/models/CreateContractRequest.md) + - [CreateConversionConfigOperationRequest](docs/models/CreateConversionConfigOperationRequest.md) + - [CreateDisbursementConfigOperationRequest](docs/models/CreateDisbursementConfigOperationRequest.md) - [CreateInternalTransferRequest](docs/models/CreateInternalTransferRequest.md) - [CreateInternalWalletAssetRequest](docs/models/CreateInternalWalletAssetRequest.md) - [CreateMultipleAccountsRequest](docs/models/CreateMultipleAccountsRequest.md) @@ -361,22 +396,42 @@ Class | Method | HTTP request | Description - [CreatePayoutRequest](docs/models/CreatePayoutRequest.md) - [CreateRequest](docs/models/CreateRequest.md) - [CreateTransactionResponse](docs/models/CreateTransactionResponse.md) + - [CreateTransferConfigOperationRequest](docs/models/CreateTransferConfigOperationRequest.md) - [CreateUserGroupResponse](docs/models/CreateUserGroupResponse.md) - [CreateVaultAccountRequest](docs/models/CreateVaultAccountRequest.md) - [CreateVaultAssetResponse](docs/models/CreateVaultAssetResponse.md) - [CreateWalletRequest](docs/models/CreateWalletRequest.md) - - [CustomCryptoRoutingDest](docs/models/CustomCryptoRoutingDest.md) - - [CustomFiatRoutingDest](docs/models/CustomFiatRoutingDest.md) + - [CreateWorkflowExecutionRequestParamsInner](docs/models/CreateWorkflowExecutionRequestParamsInner.md) + - [CustomRoutingDest](docs/models/CustomRoutingDest.md) - [DefaultNetworkRoutingDest](docs/models/DefaultNetworkRoutingDest.md) - [DelegationDto](docs/models/DelegationDto.md) - [DelegationSummaryDto](docs/models/DelegationSummaryDto.md) + - [DepositFundsFromLinkedDDAResponse](docs/models/DepositFundsFromLinkedDDAResponse.md) + - [Destination](docs/models/Destination.md) - [DestinationTransferPeerPath](docs/models/DestinationTransferPeerPath.md) - [DestinationTransferPeerPathResponse](docs/models/DestinationTransferPeerPathResponse.md) + - [DisbursementAmountInstruction](docs/models/DisbursementAmountInstruction.md) + - [DisbursementConfigOperation](docs/models/DisbursementConfigOperation.md) + - [DisbursementInstruction](docs/models/DisbursementInstruction.md) + - [DisbursementInstructionOutput](docs/models/DisbursementInstructionOutput.md) + - [DisbursementOperationConfigParams](docs/models/DisbursementOperationConfigParams.md) + - [DisbursementOperationExecution](docs/models/DisbursementOperationExecution.md) + - [DisbursementOperationExecutionOutput](docs/models/DisbursementOperationExecutionOutput.md) + - [DisbursementOperationExecutionParams](docs/models/DisbursementOperationExecutionParams.md) + - [DisbursementOperationExecutionParamsExecutionParams](docs/models/DisbursementOperationExecutionParamsExecutionParams.md) + - [DisbursementOperationInput](docs/models/DisbursementOperationInput.md) + - [DisbursementOperationPreview](docs/models/DisbursementOperationPreview.md) + - [DisbursementOperationPreviewOutput](docs/models/DisbursementOperationPreviewOutput.md) + - [DisbursementOperationPreviewOutputInstructionSetInner](docs/models/DisbursementOperationPreviewOutputInstructionSetInner.md) + - [DisbursementOperationType](docs/models/DisbursementOperationType.md) + - [DisbursementPercentageInstruction](docs/models/DisbursementPercentageInstruction.md) + - [DisbursementValidationFailure](docs/models/DisbursementValidationFailure.md) - [DispatchPayoutResponse](docs/models/DispatchPayoutResponse.md) - [DraftResponse](docs/models/DraftResponse.md) - [DraftReviewAndValidationResponse](docs/models/DraftReviewAndValidationResponse.md) - [DropTransactionRequest](docs/models/DropTransactionRequest.md) - [DropTransactionResponse](docs/models/DropTransactionResponse.md) + - [EditGasStationConfigurationResponse](docs/models/EditGasStationConfigurationResponse.md) - [ErrorResponse](docs/models/ErrorResponse.md) - [ErrorResponseError](docs/models/ErrorResponseError.md) - [ErrorSchema](docs/models/ErrorSchema.md) @@ -391,6 +446,11 @@ Class | Method | HTTP request | Description - [ExchangeType](docs/models/ExchangeType.md) - [ExecuteActionRequest](docs/models/ExecuteActionRequest.md) - [ExecuteActionResponse](docs/models/ExecuteActionResponse.md) + - [ExecutionConversionOperation](docs/models/ExecutionConversionOperation.md) + - [ExecutionDisbursementOperation](docs/models/ExecutionDisbursementOperation.md) + - [ExecutionOperationStatus](docs/models/ExecutionOperationStatus.md) + - [ExecutionScreeningOperation](docs/models/ExecutionScreeningOperation.md) + - [ExecutionTransferOperation](docs/models/ExecutionTransferOperation.md) - [ExternalWalletAsset](docs/models/ExternalWalletAsset.md) - [FeeInfo](docs/models/FeeInfo.md) - [FiatAccount](docs/models/FiatAccount.md) @@ -401,14 +461,20 @@ Class | Method | HTTP request | Description - [GasStationConfiguration](docs/models/GasStationConfiguration.md) - [GasStationConfigurationResponse](docs/models/GasStationConfigurationResponse.md) - [GasStationPropertiesResponse](docs/models/GasStationPropertiesResponse.md) + - [GetAPIUsersResponse](docs/models/GetAPIUsersResponse.md) + - [GetAuditLogsResponse](docs/models/GetAuditLogsResponse.md) - [GetAuditLogsResponseDTO](docs/models/GetAuditLogsResponseDTO.md) - [GetConnectionsResponse](docs/models/GetConnectionsResponse.md) + - [GetConsoleUsersResponse](docs/models/GetConsoleUsersResponse.md) - [GetFilterParameter](docs/models/GetFilterParameter.md) + - [GetMaxSpendableAmountResponse](docs/models/GetMaxSpendableAmountResponse.md) - [GetOtaStatus200Response](docs/models/GetOtaStatus200Response.md) - [GetOwnershipTokens200Response](docs/models/GetOwnershipTokens200Response.md) - [GetTransactionOperation](docs/models/GetTransactionOperation.md) + - [GetWhitelistIpAddressesResponse](docs/models/GetWhitelistIpAddressesResponse.md) - [GetWorkspaceStatus200Response](docs/models/GetWorkspaceStatus200Response.md) - [InstructionAmount](docs/models/InstructionAmount.md) + - [InternalTransferResponse](docs/models/InternalTransferResponse.md) - [Job](docs/models/Job.md) - [JobCreated](docs/models/JobCreated.md) - [ListOwnedCollections200Response](docs/models/ListOwnedCollections200Response.md) @@ -417,23 +483,17 @@ Class | Method | HTTP request | Description - [NetworkChannel](docs/models/NetworkChannel.md) - [NetworkConnection](docs/models/NetworkConnection.md) - [NetworkConnectionResponse](docs/models/NetworkConnectionResponse.md) - - [NetworkConnectionRoutingPolicy](docs/models/NetworkConnectionRoutingPolicy.md) - - [NetworkConnectionRoutingPolicyCrypto](docs/models/NetworkConnectionRoutingPolicyCrypto.md) - - [NetworkConnectionRoutingPolicySen](docs/models/NetworkConnectionRoutingPolicySen.md) - - [NetworkConnectionRoutingPolicySenTest](docs/models/NetworkConnectionRoutingPolicySenTest.md) - - [NetworkConnectionRoutingPolicySignet](docs/models/NetworkConnectionRoutingPolicySignet.md) - - [NetworkConnectionRoutingPolicySignetTest](docs/models/NetworkConnectionRoutingPolicySignetTest.md) + - [NetworkConnectionRoutingPolicyValue](docs/models/NetworkConnectionRoutingPolicyValue.md) - [NetworkConnectionStatus](docs/models/NetworkConnectionStatus.md) - [NetworkFee](docs/models/NetworkFee.md) - [NetworkId](docs/models/NetworkId.md) - [NetworkIdResponse](docs/models/NetworkIdResponse.md) - - [NetworkIdRoutingPolicy](docs/models/NetworkIdRoutingPolicy.md) - - [NetworkIdRoutingPolicyCrypto](docs/models/NetworkIdRoutingPolicyCrypto.md) - - [NetworkIdRoutingPolicySen](docs/models/NetworkIdRoutingPolicySen.md) - - [NetworkIdRoutingPolicySenTest](docs/models/NetworkIdRoutingPolicySenTest.md) + - [NetworkIdRoutingPolicyValue](docs/models/NetworkIdRoutingPolicyValue.md) - [NetworkRecord](docs/models/NetworkRecord.md) - [NoneNetworkRoutingDest](docs/models/NoneNetworkRoutingDest.md) - [OneTimeAddress](docs/models/OneTimeAddress.md) + - [OneTimeAddressAccount](docs/models/OneTimeAddressAccount.md) + - [OperationExecutionFailure](docs/models/OperationExecutionFailure.md) - [PaginatedAddressResponse](docs/models/PaginatedAddressResponse.md) - [PaginatedAddressResponsePaging](docs/models/PaginatedAddressResponsePaging.md) - [PaginatedAssetWalletResponse](docs/models/PaginatedAssetWalletResponse.md) @@ -474,24 +534,37 @@ Class | Method | HTTP request | Description - [PolicySrcOrDestType](docs/models/PolicySrcOrDestType.md) - [PolicyStatus](docs/models/PolicyStatus.md) - [PolicyValidation](docs/models/PolicyValidation.md) + - [PreScreening](docs/models/PreScreening.md) - [ProviderDto](docs/models/ProviderDto.md) - [PublicKeyInformation](docs/models/PublicKeyInformation.md) - [PublishDraftRequest](docs/models/PublishDraftRequest.md) - [PublishResult](docs/models/PublishResult.md) + - [RedeemFundsToLinkedDDAResponse](docs/models/RedeemFundsToLinkedDDAResponse.md) + - [RegisterNewAssetRequest](docs/models/RegisterNewAssetRequest.md) - [RelatedTransactionDto](docs/models/RelatedTransactionDto.md) - [RemoveCollateralRequestBody](docs/models/RemoveCollateralRequestBody.md) + - [RenameVaultAccountResponse](docs/models/RenameVaultAccountResponse.md) - [ResendTransactionWebhooksRequest](docs/models/ResendTransactionWebhooksRequest.md) + - [ResendWebhooksByTransactionIdResponse](docs/models/ResendWebhooksByTransactionIdResponse.md) - [ResendWebhooksResponse](docs/models/ResendWebhooksResponse.md) - [RespondToConnectionRequest](docs/models/RespondToConnectionRequest.md) - [RewardInfo](docs/models/RewardInfo.md) - [RewardsInfo](docs/models/RewardsInfo.md) - [ScreeningConfigurationsRequest](docs/models/ScreeningConfigurationsRequest.md) + - [ScreeningOperationExecution](docs/models/ScreeningOperationExecution.md) + - [ScreeningOperationExecutionOutput](docs/models/ScreeningOperationExecutionOutput.md) + - [ScreeningOperationFailure](docs/models/ScreeningOperationFailure.md) + - [ScreeningOperationType](docs/models/ScreeningOperationType.md) - [ScreeningPolicyResponse](docs/models/ScreeningPolicyResponse.md) - [ScreeningProviderRulesConfigurationResponse](docs/models/ScreeningProviderRulesConfigurationResponse.md) - [ScreeningUpdateConfigurationsRequest](docs/models/ScreeningUpdateConfigurationsRequest.md) + - [ScreeningValidationFailure](docs/models/ScreeningValidationFailure.md) + - [ScreeningVerdict](docs/models/ScreeningVerdict.md) + - [ScreeningVerdictMatchedRule](docs/models/ScreeningVerdictMatchedRule.md) - [SessionDTO](docs/models/SessionDTO.md) - [SessionMetadata](docs/models/SessionMetadata.md) - [SetAdminQuorumThresholdRequest](docs/models/SetAdminQuorumThresholdRequest.md) + - [SetAdminQuorumThresholdResponse](docs/models/SetAdminQuorumThresholdResponse.md) - [SetAutoFuelRequest](docs/models/SetAutoFuelRequest.md) - [SetConfirmationsThresholdRequest](docs/models/SetConfirmationsThresholdRequest.md) - [SetConfirmationsThresholdResponse](docs/models/SetConfirmationsThresholdResponse.md) @@ -502,6 +575,8 @@ Class | Method | HTTP request | Description - [SetNetworkIdResponse](docs/models/SetNetworkIdResponse.md) - [SetNetworkIdRoutingPolicyRequest](docs/models/SetNetworkIdRoutingPolicyRequest.md) - [SetOtaStatusRequest](docs/models/SetOtaStatusRequest.md) + - [SetOtaStatusResponse](docs/models/SetOtaStatusResponse.md) + - [SetOtaStatusResponseOneOf](docs/models/SetOtaStatusResponseOneOf.md) - [SetRoutingPolicy200Response](docs/models/SetRoutingPolicy200Response.md) - [SetRoutingPolicyRequest](docs/models/SetRoutingPolicyRequest.md) - [SettlementRequestBody](docs/models/SettlementRequestBody.md) @@ -561,8 +636,20 @@ Class | Method | HTTP request | Description - [TransactionResponse](docs/models/TransactionResponse.md) - [TransactionResponseContractCallDecodedData](docs/models/TransactionResponseContractCallDecodedData.md) - [TransactionResponseDestination](docs/models/TransactionResponseDestination.md) + - [TransferConfigOperation](docs/models/TransferConfigOperation.md) + - [TransferOperationConfigParams](docs/models/TransferOperationConfigParams.md) + - [TransferOperationExecution](docs/models/TransferOperationExecution.md) + - [TransferOperationExecutionOutput](docs/models/TransferOperationExecutionOutput.md) + - [TransferOperationExecutionParams](docs/models/TransferOperationExecutionParams.md) + - [TransferOperationExecutionParamsExecutionParams](docs/models/TransferOperationExecutionParamsExecutionParams.md) + - [TransferOperationFailure](docs/models/TransferOperationFailure.md) + - [TransferOperationFailureData](docs/models/TransferOperationFailureData.md) + - [TransferOperationPreview](docs/models/TransferOperationPreview.md) + - [TransferOperationPreviewOutput](docs/models/TransferOperationPreviewOutput.md) + - [TransferOperationType](docs/models/TransferOperationType.md) - [TransferPeerPathSubType](docs/models/TransferPeerPathSubType.md) - [TransferPeerPathType](docs/models/TransferPeerPathType.md) + - [TransferValidationFailure](docs/models/TransferValidationFailure.md) - [TravelRuleAddress](docs/models/TravelRuleAddress.md) - [TravelRuleCreateTransactionRequest](docs/models/TravelRuleCreateTransactionRequest.md) - [TravelRuleGetAllVASPsResponse](docs/models/TravelRuleGetAllVASPsResponse.md) @@ -590,6 +677,9 @@ Class | Method | HTTP request | Description - [UserGroupResponse](docs/models/UserGroupResponse.md) - [UserGroupUpdateRequest](docs/models/UserGroupUpdateRequest.md) - [UserResponse](docs/models/UserResponse.md) + - [UserRole](docs/models/UserRole.md) + - [UserStatus](docs/models/UserStatus.md) + - [UserType](docs/models/UserType.md) - [ValidateAddressResponse](docs/models/ValidateAddressResponse.md) - [ValidatorDto](docs/models/ValidatorDto.md) - [VaultAccount](docs/models/VaultAccount.md) @@ -601,6 +691,9 @@ Class | Method | HTTP request | Description - [WalletAsset](docs/models/WalletAsset.md) - [WalletAssetAdditionalInfo](docs/models/WalletAssetAdditionalInfo.md) - [WithdrawRequestDto](docs/models/WithdrawRequestDto.md) + - [WorkflowConfigStatus](docs/models/WorkflowConfigStatus.md) + - [WorkflowConfigurationId](docs/models/WorkflowConfigurationId.md) + - [WorkflowExecutionOperation](docs/models/WorkflowExecutionOperation.md) diff --git a/api.ts b/api.ts index ce542d4..1a3d345 100644 --- a/api.ts +++ b/api.ts @@ -14,7 +14,6 @@ -export * from './api/admin-quorum-api'; export * from './api/api-user-api'; export * from './api/assets-api'; export * from './api/audit-logs-api'; @@ -46,6 +45,5 @@ export * from './api/vaults-api'; export * from './api/web3-connections-api'; export * from './api/webhooks-api'; export * from './api/whitelist-ip-addresses-api'; -export * from './api/workspace-api'; export * from './api/workspace-status-beta-api'; diff --git a/api/admin-quorum-api.ts b/api/admin-quorum-api.ts deleted file mode 100644 index 436eea8..0000000 --- a/api/admin-quorum-api.ts +++ /dev/null @@ -1,166 +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. - */ - - -import type { Configuration } from '../configuration'; -import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios'; -import globalAxios from 'axios'; -import { convertToFireblocksResponse } from "../response/fireblocksResponse"; -// URLSearchParams not necessarily used -// @ts-ignore -import { URL, URLSearchParams } from 'url'; -// Some imports not used depending on template conditions -// @ts-ignore -import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common'; -// @ts-ignore -import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base'; -// @ts-ignore -import { ErrorSchema } from '../models'; -// @ts-ignore -import { SetAdminQuorumThresholdRequest } from '../models'; -/** - * AdminQuorumApi - axios parameter creator - * @export - */ -export const AdminQuorumApiAxiosParamCreator = function (configuration?: Configuration) { - return { - /** - * Update admin quorum threshold - * @summary Update admin quorum threshold - * @param {SetAdminQuorumThresholdRequest} setAdminQuorumThresholdRequest - * @param {string} [idempotencyKey] A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. - * @param {*} [options] Override http request option. - * @throws {RequiredError} - */ - setAdminQuorumThreshold: async (setAdminQuorumThresholdRequest: SetAdminQuorumThresholdRequest, idempotencyKey?: string, options: RawAxiosRequestConfig = {}): Promise => { - // verify required parameter 'setAdminQuorumThresholdRequest' is not null or undefined - assertParamExists('setAdminQuorumThreshold', 'setAdminQuorumThresholdRequest', setAdminQuorumThresholdRequest) - const localVarPath = `/admin_quorum`; - // 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: 'PUT', ...baseOptions, ...options}; - const localVarHeaderParameter = {} as any; - const localVarQueryParameter = {} as any; - - if (idempotencyKey != null) { - localVarHeaderParameter['Idempotency-Key'] = String(idempotencyKey); - } - - - - localVarHeaderParameter['Content-Type'] = 'application/json'; - - setSearchParams(localVarUrlObj, localVarQueryParameter); - let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; - localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; - localVarRequestOptions.data = serializeDataIfNeeded(setAdminQuorumThresholdRequest, localVarRequestOptions, configuration) - - return { - url: toPathString(localVarUrlObj), - options: localVarRequestOptions, - }; - }, - } -}; - -/** - * AdminQuorumApi - functional programming interface - * @export - */ -export const AdminQuorumApiFp = function(configuration?: Configuration) { - const localVarAxiosParamCreator = AdminQuorumApiAxiosParamCreator(configuration) - return { - /** - * Update admin quorum threshold - * @summary Update admin quorum threshold - * @param {SetAdminQuorumThresholdRequest} setAdminQuorumThresholdRequest - * @param {string} [idempotencyKey] A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. - * @param {*} [options] Override http request option. - * @throws {RequiredError} - */ - async setAdminQuorumThreshold(setAdminQuorumThresholdRequest: SetAdminQuorumThresholdRequest, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.setAdminQuorumThreshold(setAdminQuorumThresholdRequest, idempotencyKey, options); - const index = configuration?.serverIndex ?? 0; - const operationBasePath = operationServerMap['AdminQuorumApi.setAdminQuorumThreshold']?.[index]?.url; - return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); - }, - } -}; - -/** - * AdminQuorumApi - factory interface - * @export - */ -export const AdminQuorumApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) { - const localVarFp = AdminQuorumApiFp(configuration) - return { - /** - * Update admin quorum threshold - * @summary Update admin quorum threshold - * @param {AdminQuorumApiSetAdminQuorumThresholdRequest} requestParameters Request parameters. - * @param {*} [options] Override http request option. - * @throws {RequiredError} - */ - setAdminQuorumThreshold(requestParameters: AdminQuorumApiSetAdminQuorumThresholdRequest, options?: RawAxiosRequestConfig): AxiosPromise { - return localVarFp.setAdminQuorumThreshold(requestParameters.setAdminQuorumThresholdRequest, requestParameters.idempotencyKey, options).then((request) => request(axios, basePath)); - }, - }; -}; - -/** - * Request parameters for setAdminQuorumThreshold operation in AdminQuorumApi. - * @export - * @interface AdminQuorumApiSetAdminQuorumThresholdRequest - */ -export interface AdminQuorumApiSetAdminQuorumThresholdRequest { - /** - * - * @type {SetAdminQuorumThresholdRequest} - * @memberof AdminQuorumApiSetAdminQuorumThreshold - */ - readonly setAdminQuorumThresholdRequest: SetAdminQuorumThresholdRequest - - /** - * A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. - * @type {string} - * @memberof AdminQuorumApiSetAdminQuorumThreshold - */ - readonly idempotencyKey?: string -} - -/** - * AdminQuorumApi - object-oriented interface - * @export - * @class AdminQuorumApi - * @extends {BaseAPI} - */ -export class AdminQuorumApi extends BaseAPI { - /** - * Update admin quorum threshold - * @summary Update admin quorum threshold - * @param {AdminQuorumApiSetAdminQuorumThresholdRequest} requestParameters Request parameters. - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof AdminQuorumApi - */ - public setAdminQuorumThreshold(requestParameters: AdminQuorumApiSetAdminQuorumThresholdRequest) { - return AdminQuorumApiFp(this.configuration).setAdminQuorumThreshold(requestParameters.setAdminQuorumThresholdRequest, requestParameters.idempotencyKey).then((request) => request(this.axios, this.basePath)).then(convertToFireblocksResponse); - } -} - diff --git a/api/api-user-api.ts b/api/api-user-api.ts index 2a85d07..92fc6f3 100644 --- a/api/api-user-api.ts +++ b/api/api-user-api.ts @@ -31,6 +31,8 @@ import { CreateAPIUser } from '../models'; import { ErrorResponse } from '../models'; // @ts-ignore import { ErrorSchema } from '../models'; +// @ts-ignore +import { GetAPIUsersResponse } from '../models'; /** * ApiUserApi - axios parameter creator * @export @@ -136,7 +138,7 @@ export const ApiUserApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getApiUsers(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async getApiUsers(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.getApiUsers(options); const index = configuration?.serverIndex ?? 0; const operationBasePath = operationServerMap['ApiUserApi.getApiUsers']?.[index]?.url; @@ -168,7 +170,7 @@ export const ApiUserApiFactory = function (configuration?: Configuration, basePa * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getApiUsers(options?: RawAxiosRequestConfig): AxiosPromise { + getApiUsers(options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.getApiUsers(options).then((request) => request(axios, basePath)); }, }; diff --git a/api/audit-logs-api.ts b/api/audit-logs-api.ts index aae6e7e..8f6ffa5 100644 --- a/api/audit-logs-api.ts +++ b/api/audit-logs-api.ts @@ -28,6 +28,8 @@ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError, ope // @ts-ignore import { ErrorSchema } from '../models'; // @ts-ignore +import { GetAuditLogsResponse } from '../models'; +// @ts-ignore import { GetAuditLogsResponseDTO } from '../models'; /** * AuditLogsApi - axios parameter creator @@ -128,7 +130,7 @@ export const AuditLogsApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getAuditLogs(timePeriod?: GetAuditLogsTimePeriodEnum, cursor?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async getAuditLogs(timePeriod?: GetAuditLogsTimePeriodEnum, cursor?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.getAuditLogs(timePeriod, cursor, options); const index = configuration?.serverIndex ?? 0; const operationBasePath = operationServerMap['AuditLogsApi.getAuditLogs']?.[index]?.url; @@ -164,7 +166,7 @@ export const AuditLogsApiFactory = function (configuration?: Configuration, base * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getAuditLogs(requestParameters: AuditLogsApiGetAuditLogsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise { + getAuditLogs(requestParameters: AuditLogsApiGetAuditLogsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.getAuditLogs(requestParameters.timePeriod, requestParameters.cursor, options).then((request) => request(axios, basePath)); }, /** diff --git a/api/blockchains-assets-api.ts b/api/blockchains-assets-api.ts index 6f4753e..979fe70 100644 --- a/api/blockchains-assets-api.ts +++ b/api/blockchains-assets-api.ts @@ -26,9 +26,21 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj // @ts-ignore import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base'; // @ts-ignore +import { AssetBadRequestErrorResponse } from '../models'; +// @ts-ignore +import { AssetConflictErrorResponse } from '../models'; +// @ts-ignore +import { AssetInternalServerErrorResponse } from '../models'; +// @ts-ignore +import { AssetNotFoundErrorResponse } from '../models'; +// @ts-ignore +import { AssetResponse } from '../models'; +// @ts-ignore import { AssetTypeResponse } from '../models'; // @ts-ignore import { ErrorSchema } from '../models'; +// @ts-ignore +import { RegisterNewAssetRequest } from '../models'; /** * BlockchainsAssetsApi - axios parameter creator * @export @@ -60,6 +72,45 @@ export const BlockchainsAssetsApiAxiosParamCreator = function (configuration?: C let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + return { + url: toPathString(localVarUrlObj), + options: localVarRequestOptions, + }; + }, + /** + * Register a new asset to a workspace and return the newly created asset\'s details. Currently supported for EVM based chains only. + * @summary Register an asset + * @param {RegisterNewAssetRequest} [registerNewAssetRequest] + * @param {string} [idempotencyKey] A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + registerNewAsset: async (registerNewAssetRequest?: RegisterNewAssetRequest, idempotencyKey?: string, options: RawAxiosRequestConfig = {}): Promise => { + const localVarPath = `/assets`; + // 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: 'POST', ...baseOptions, ...options}; + const localVarHeaderParameter = {} as any; + const localVarQueryParameter = {} as any; + + if (idempotencyKey != null) { + localVarHeaderParameter['Idempotency-Key'] = String(idempotencyKey); + } + + + + localVarHeaderParameter['Content-Type'] = 'application/json'; + + setSearchParams(localVarUrlObj, localVarQueryParameter); + let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; + localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; + localVarRequestOptions.data = serializeDataIfNeeded(registerNewAssetRequest, localVarRequestOptions, configuration) + return { url: toPathString(localVarUrlObj), options: localVarRequestOptions, @@ -87,6 +138,20 @@ export const BlockchainsAssetsApiFp = function(configuration?: Configuration) { const operationBasePath = operationServerMap['BlockchainsAssetsApi.getSupportedAssets']?.[index]?.url; return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); }, + /** + * Register a new asset to a workspace and return the newly created asset\'s details. Currently supported for EVM based chains only. + * @summary Register an asset + * @param {RegisterNewAssetRequest} [registerNewAssetRequest] + * @param {string} [idempotencyKey] A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + async registerNewAsset(registerNewAssetRequest?: RegisterNewAssetRequest, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + const localVarAxiosArgs = await localVarAxiosParamCreator.registerNewAsset(registerNewAssetRequest, idempotencyKey, options); + const index = configuration?.serverIndex ?? 0; + const operationBasePath = operationServerMap['BlockchainsAssetsApi.registerNewAsset']?.[index]?.url; + return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); + }, } }; @@ -106,9 +171,40 @@ export const BlockchainsAssetsApiFactory = function (configuration?: Configurati getSupportedAssets(options?: RawAxiosRequestConfig): AxiosPromise> { return localVarFp.getSupportedAssets(options).then((request) => request(axios, basePath)); }, + /** + * Register a new asset to a workspace and return the newly created asset\'s details. Currently supported for EVM based chains only. + * @summary Register an asset + * @param {BlockchainsAssetsApiRegisterNewAssetRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + */ + registerNewAsset(requestParameters: BlockchainsAssetsApiRegisterNewAssetRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise { + return localVarFp.registerNewAsset(requestParameters.registerNewAssetRequest, requestParameters.idempotencyKey, options).then((request) => request(axios, basePath)); + }, }; }; +/** + * Request parameters for registerNewAsset operation in BlockchainsAssetsApi. + * @export + * @interface BlockchainsAssetsApiRegisterNewAssetRequest + */ +export interface BlockchainsAssetsApiRegisterNewAssetRequest { + /** + * + * @type {RegisterNewAssetRequest} + * @memberof BlockchainsAssetsApiRegisterNewAsset + */ + readonly registerNewAssetRequest?: RegisterNewAssetRequest + + /** + * A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. + * @type {string} + * @memberof BlockchainsAssetsApiRegisterNewAsset + */ + readonly idempotencyKey?: string +} + /** * BlockchainsAssetsApi - object-oriented interface * @export @@ -126,5 +222,17 @@ export class BlockchainsAssetsApi extends BaseAPI { public getSupportedAssets() { return BlockchainsAssetsApiFp(this.configuration).getSupportedAssets().then((request) => request(this.axios, this.basePath)).then(convertToFireblocksResponse); } + + /** + * Register a new asset to a workspace and return the newly created asset\'s details. Currently supported for EVM based chains only. + * @summary Register an asset + * @param {BlockchainsAssetsApiRegisterNewAssetRequest} requestParameters Request parameters. + * @param {*} [options] Override http request option. + * @throws {RequiredError} + * @memberof BlockchainsAssetsApi + */ + public registerNewAsset(requestParameters: BlockchainsAssetsApiRegisterNewAssetRequest = {}) { + return BlockchainsAssetsApiFp(this.configuration).registerNewAsset(requestParameters.registerNewAssetRequest, requestParameters.idempotencyKey).then((request) => request(this.axios, this.basePath)).then(convertToFireblocksResponse); + } } diff --git a/api/console-user-api.ts b/api/console-user-api.ts index 41c50c4..8ded5fe 100644 --- a/api/console-user-api.ts +++ b/api/console-user-api.ts @@ -31,6 +31,8 @@ import { CreateConsoleUser } from '../models'; import { ErrorResponse } from '../models'; // @ts-ignore import { ErrorSchema } from '../models'; +// @ts-ignore +import { GetConsoleUsersResponse } from '../models'; /** * ConsoleUserApi - axios parameter creator * @export @@ -136,7 +138,7 @@ export const ConsoleUserApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getConsoleUsers(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async getConsoleUsers(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.getConsoleUsers(options); const index = configuration?.serverIndex ?? 0; const operationBasePath = operationServerMap['ConsoleUserApi.getConsoleUsers']?.[index]?.url; @@ -168,7 +170,7 @@ export const ConsoleUserApiFactory = function (configuration?: Configuration, ba * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getConsoleUsers(options?: RawAxiosRequestConfig): AxiosPromise { + getConsoleUsers(options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.getConsoleUsers(options).then((request) => request(axios, basePath)); }, }; diff --git a/api/exchange-accounts-api.ts b/api/exchange-accounts-api.ts index 8383b54..9fd2f6e 100644 --- a/api/exchange-accounts-api.ts +++ b/api/exchange-accounts-api.ts @@ -28,6 +28,8 @@ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError, ope // @ts-ignore import { ConvertAssetsRequest } from '../models'; // @ts-ignore +import { ConvertAssetsResponse } from '../models'; +// @ts-ignore import { CreateInternalTransferRequest } from '../models'; // @ts-ignore import { ErrorSchema } from '../models'; @@ -37,6 +39,8 @@ import { ExchangeAccount } from '../models'; import { ExchangeAccountsPaged } from '../models'; // @ts-ignore import { ExchangeAsset } from '../models'; +// @ts-ignore +import { InternalTransferResponse } from '../models'; /** * ExchangeAccountsApi - axios parameter creator * @export @@ -267,7 +271,7 @@ export const ExchangeAccountsApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async convertAssets(exchangeAccountId: string, convertAssetsRequest?: ConvertAssetsRequest, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async convertAssets(exchangeAccountId: string, convertAssetsRequest?: ConvertAssetsRequest, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.convertAssets(exchangeAccountId, convertAssetsRequest, idempotencyKey, options); const index = configuration?.serverIndex ?? 0; const operationBasePath = operationServerMap['ExchangeAccountsApi.convertAssets']?.[index]?.url; @@ -324,7 +328,7 @@ export const ExchangeAccountsApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async internalTransfer(exchangeAccountId: string, createInternalTransferRequest?: CreateInternalTransferRequest, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async internalTransfer(exchangeAccountId: string, createInternalTransferRequest?: CreateInternalTransferRequest, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.internalTransfer(exchangeAccountId, createInternalTransferRequest, idempotencyKey, options); const index = configuration?.serverIndex ?? 0; const operationBasePath = operationServerMap['ExchangeAccountsApi.internalTransfer']?.[index]?.url; @@ -347,7 +351,7 @@ export const ExchangeAccountsApiFactory = function (configuration?: Configuratio * @param {*} [options] Override http request option. * @throws {RequiredError} */ - convertAssets(requestParameters: ExchangeAccountsApiConvertAssetsRequest, options?: RawAxiosRequestConfig): AxiosPromise { + convertAssets(requestParameters: ExchangeAccountsApiConvertAssetsRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.convertAssets(requestParameters.exchangeAccountId, requestParameters.convertAssetsRequest, requestParameters.idempotencyKey, options).then((request) => request(axios, basePath)); }, /** @@ -387,7 +391,7 @@ export const ExchangeAccountsApiFactory = function (configuration?: Configuratio * @param {*} [options] Override http request option. * @throws {RequiredError} */ - internalTransfer(requestParameters: ExchangeAccountsApiInternalTransferRequest, options?: RawAxiosRequestConfig): AxiosPromise { + internalTransfer(requestParameters: ExchangeAccountsApiInternalTransferRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.internalTransfer(requestParameters.exchangeAccountId, requestParameters.createInternalTransferRequest, requestParameters.idempotencyKey, options).then((request) => request(axios, basePath)); }, }; diff --git a/api/fiat-accounts-api.ts b/api/fiat-accounts-api.ts index fe1ec83..52ee1c5 100644 --- a/api/fiat-accounts-api.ts +++ b/api/fiat-accounts-api.ts @@ -26,11 +26,15 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj // @ts-ignore import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base'; // @ts-ignore +import { DepositFundsFromLinkedDDAResponse } from '../models'; +// @ts-ignore import { ErrorSchema } from '../models'; // @ts-ignore import { FiatAccount } from '../models'; // @ts-ignore import { Funds } from '../models'; +// @ts-ignore +import { RedeemFundsToLinkedDDAResponse } from '../models'; /** * FiatAccountsApi - axios parameter creator * @export @@ -206,7 +210,7 @@ export const FiatAccountsApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async depositFundsFromLinkedDDA(accountId: string, funds?: Funds, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async depositFundsFromLinkedDDA(accountId: string, funds?: Funds, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.depositFundsFromLinkedDDA(accountId, funds, idempotencyKey, options); const index = configuration?.serverIndex ?? 0; const operationBasePath = operationServerMap['FiatAccountsApi.depositFundsFromLinkedDDA']?.[index]?.url; @@ -246,7 +250,7 @@ export const FiatAccountsApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async redeemFundsToLinkedDDA(accountId: string, funds?: Funds, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async redeemFundsToLinkedDDA(accountId: string, funds?: Funds, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.redeemFundsToLinkedDDA(accountId, funds, idempotencyKey, options); const index = configuration?.serverIndex ?? 0; const operationBasePath = operationServerMap['FiatAccountsApi.redeemFundsToLinkedDDA']?.[index]?.url; @@ -269,7 +273,7 @@ export const FiatAccountsApiFactory = function (configuration?: Configuration, b * @param {*} [options] Override http request option. * @throws {RequiredError} */ - depositFundsFromLinkedDDA(requestParameters: FiatAccountsApiDepositFundsFromLinkedDDARequest, options?: RawAxiosRequestConfig): AxiosPromise { + depositFundsFromLinkedDDA(requestParameters: FiatAccountsApiDepositFundsFromLinkedDDARequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.depositFundsFromLinkedDDA(requestParameters.accountId, requestParameters.funds, requestParameters.idempotencyKey, options).then((request) => request(axios, basePath)); }, /** @@ -298,7 +302,7 @@ export const FiatAccountsApiFactory = function (configuration?: Configuration, b * @param {*} [options] Override http request option. * @throws {RequiredError} */ - redeemFundsToLinkedDDA(requestParameters: FiatAccountsApiRedeemFundsToLinkedDDARequest, options?: RawAxiosRequestConfig): AxiosPromise { + redeemFundsToLinkedDDA(requestParameters: FiatAccountsApiRedeemFundsToLinkedDDARequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.redeemFundsToLinkedDDA(requestParameters.accountId, requestParameters.funds, requestParameters.idempotencyKey, options).then((request) => request(axios, basePath)); }, }; diff --git a/api/gas-stations-api.ts b/api/gas-stations-api.ts index c44a266..0e9a67a 100644 --- a/api/gas-stations-api.ts +++ b/api/gas-stations-api.ts @@ -26,6 +26,8 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj // @ts-ignore import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base'; // @ts-ignore +import { EditGasStationConfigurationResponse } from '../models'; +// @ts-ignore import { ErrorSchema } from '../models'; // @ts-ignore import { GasStationConfiguration } from '../models'; @@ -230,7 +232,7 @@ export const GasStationsApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async updateGasStationConfiguration(gasStationConfiguration: GasStationConfiguration, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async updateGasStationConfiguration(gasStationConfiguration: GasStationConfiguration, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.updateGasStationConfiguration(gasStationConfiguration, idempotencyKey, options); const index = configuration?.serverIndex ?? 0; const operationBasePath = operationServerMap['GasStationsApi.updateGasStationConfiguration']?.[index]?.url; @@ -245,7 +247,7 @@ export const GasStationsApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async updateGasStationConfigurationByAssetId(gasStationConfiguration: GasStationConfiguration, assetId: string, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async updateGasStationConfigurationByAssetId(gasStationConfiguration: GasStationConfiguration, assetId: string, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.updateGasStationConfigurationByAssetId(gasStationConfiguration, assetId, idempotencyKey, options); const index = configuration?.serverIndex ?? 0; const operationBasePath = operationServerMap['GasStationsApi.updateGasStationConfigurationByAssetId']?.[index]?.url; @@ -287,7 +289,7 @@ export const GasStationsApiFactory = function (configuration?: Configuration, ba * @param {*} [options] Override http request option. * @throws {RequiredError} */ - updateGasStationConfiguration(requestParameters: GasStationsApiUpdateGasStationConfigurationRequest, options?: RawAxiosRequestConfig): AxiosPromise { + updateGasStationConfiguration(requestParameters: GasStationsApiUpdateGasStationConfigurationRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.updateGasStationConfiguration(requestParameters.gasStationConfiguration, requestParameters.idempotencyKey, options).then((request) => request(axios, basePath)); }, /** @@ -297,7 +299,7 @@ export const GasStationsApiFactory = function (configuration?: Configuration, ba * @param {*} [options] Override http request option. * @throws {RequiredError} */ - updateGasStationConfigurationByAssetId(requestParameters: GasStationsApiUpdateGasStationConfigurationByAssetIdRequest, options?: RawAxiosRequestConfig): AxiosPromise { + updateGasStationConfigurationByAssetId(requestParameters: GasStationsApiUpdateGasStationConfigurationByAssetIdRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.updateGasStationConfigurationByAssetId(requestParameters.gasStationConfiguration, requestParameters.assetId, requestParameters.idempotencyKey, options).then((request) => request(axios, basePath)); }, }; diff --git a/api/network-connections-api.ts b/api/network-connections-api.ts index 9398ea2..bb795e8 100644 --- a/api/network-connections-api.ts +++ b/api/network-connections-api.ts @@ -59,11 +59,11 @@ export const NetworkConnectionsApiAxiosParamCreator = function (configuration?: * The Fireblocks Network allows for flexibility around incoming deposits. A receiver can receive network deposits to locations other than Fireblocks. This endpoint validates whether future transactions are routed to the displayed recipient or to a 3rd party. * @summary Retrieve third-party network routing validation by asset type. * @param {string} connectionId The ID of the network connection - * @param {CheckThirdPartyRoutingAssetTypeEnum} assetType The destination asset type + * @param {string} assetType The destination asset type * @param {*} [options] Override http request option. * @throws {RequiredError} */ - checkThirdPartyRouting: async (connectionId: string, assetType: CheckThirdPartyRoutingAssetTypeEnum, options: RawAxiosRequestConfig = {}): Promise => { + checkThirdPartyRouting: async (connectionId: string, assetType: string, options: RawAxiosRequestConfig = {}): Promise => { // verify required parameter 'connectionId' is not null or undefined assertParamExists('checkThirdPartyRouting', 'connectionId', connectionId) // verify required parameter 'assetType' is not null or undefined @@ -537,11 +537,11 @@ export const NetworkConnectionsApiFp = function(configuration?: Configuration) { * The Fireblocks Network allows for flexibility around incoming deposits. A receiver can receive network deposits to locations other than Fireblocks. This endpoint validates whether future transactions are routed to the displayed recipient or to a 3rd party. * @summary Retrieve third-party network routing validation by asset type. * @param {string} connectionId The ID of the network connection - * @param {CheckThirdPartyRoutingAssetTypeEnum} assetType The destination asset type + * @param {string} assetType The destination asset type * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async checkThirdPartyRouting(connectionId: string, assetType: CheckThirdPartyRoutingAssetTypeEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async checkThirdPartyRouting(connectionId: string, assetType: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.checkThirdPartyRouting(connectionId, assetType, options); const index = configuration?.serverIndex ?? 0; const operationBasePath = operationServerMap['NetworkConnectionsApi.checkThirdPartyRouting']?.[index]?.url; @@ -863,10 +863,10 @@ export interface NetworkConnectionsApiCheckThirdPartyRoutingRequest { /** * The destination asset type - * @type {'CRYPTO' | 'SIGNET' | 'SEN' | 'SIGNET_TEST' | 'SEN_TEST'} + * @type {string} * @memberof NetworkConnectionsApiCheckThirdPartyRouting */ - readonly assetType: CheckThirdPartyRoutingAssetTypeEnum + readonly assetType: string } /** @@ -1213,14 +1213,3 @@ export class NetworkConnectionsApi extends BaseAPI { } } -/** - * @export - */ -export const CheckThirdPartyRoutingAssetTypeEnum = { - Crypto: 'CRYPTO', - Signet: 'SIGNET', - Sen: 'SEN', - SignetTest: 'SIGNET_TEST', - SenTest: 'SEN_TEST' -} as const; -export type CheckThirdPartyRoutingAssetTypeEnum = typeof CheckThirdPartyRoutingAssetTypeEnum[keyof typeof CheckThirdPartyRoutingAssetTypeEnum]; diff --git a/api/otabeta-api.ts b/api/otabeta-api.ts index 4f607ed..4f4ad40 100644 --- a/api/otabeta-api.ts +++ b/api/otabeta-api.ts @@ -29,6 +29,8 @@ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError, ope import { GetOtaStatus200Response } from '../models'; // @ts-ignore import { SetOtaStatusRequest } from '../models'; +// @ts-ignore +import { SetOtaStatusResponse } from '../models'; /** * OTABetaApi - axios parameter creator * @export @@ -136,7 +138,7 @@ export const OTABetaApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async setOtaStatus(setOtaStatusRequest: SetOtaStatusRequest, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async setOtaStatus(setOtaStatusRequest: SetOtaStatusRequest, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.setOtaStatus(setOtaStatusRequest, idempotencyKey, options); const index = configuration?.serverIndex ?? 0; const operationBasePath = operationServerMap['OTABetaApi.setOtaStatus']?.[index]?.url; @@ -168,7 +170,7 @@ export const OTABetaApiFactory = function (configuration?: Configuration, basePa * @param {*} [options] Override http request option. * @throws {RequiredError} */ - setOtaStatus(requestParameters: OTABetaApiSetOtaStatusRequest, options?: RawAxiosRequestConfig): AxiosPromise { + setOtaStatus(requestParameters: OTABetaApiSetOtaStatusRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.setOtaStatus(requestParameters.setOtaStatusRequest, requestParameters.idempotencyKey, options).then((request) => request(axios, basePath)); }, }; diff --git a/api/vaults-api.ts b/api/vaults-api.ts index 93b4f81..0821b86 100644 --- a/api/vaults-api.ts +++ b/api/vaults-api.ts @@ -40,6 +40,8 @@ import { CreateVaultAssetResponse } from '../models'; // @ts-ignore import { ErrorSchema } from '../models'; // @ts-ignore +import { GetMaxSpendableAmountResponse } from '../models'; +// @ts-ignore import { JobCreated } from '../models'; // @ts-ignore import { PaginatedAddressResponse } from '../models'; @@ -48,6 +50,8 @@ import { PaginatedAssetWalletResponse } from '../models'; // @ts-ignore import { PublicKeyInformation } from '../models'; // @ts-ignore +import { RenameVaultAccountResponse } from '../models'; +// @ts-ignore import { SetAutoFuelRequest } from '../models'; // @ts-ignore import { SetCustomerRefIdForAddressRequest } from '../models'; @@ -1337,7 +1341,7 @@ export const VaultsApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getMaxSpendableAmount(vaultAccountId: string, assetId: string, manualSignging?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async getMaxSpendableAmount(vaultAccountId: string, assetId: string, manualSignging?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.getMaxSpendableAmount(vaultAccountId, assetId, manualSignging, options); const index = configuration?.serverIndex ?? 0; const operationBasePath = operationServerMap['VaultsApi.getMaxSpendableAmount']?.[index]?.url; @@ -1564,7 +1568,7 @@ export const VaultsApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async updateVaultAccount(updateVaultAccountRequest: UpdateVaultAccountRequest, vaultAccountId: string, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async updateVaultAccount(updateVaultAccountRequest: UpdateVaultAccountRequest, vaultAccountId: string, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.updateVaultAccount(updateVaultAccountRequest, vaultAccountId, idempotencyKey, options); const index = configuration?.serverIndex ?? 0; const operationBasePath = operationServerMap['VaultsApi.updateVaultAccount']?.[index]?.url; @@ -1689,7 +1693,7 @@ export const VaultsApiFactory = function (configuration?: Configuration, basePat * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getMaxSpendableAmount(requestParameters: VaultsApiGetMaxSpendableAmountRequest, options?: RawAxiosRequestConfig): AxiosPromise { + getMaxSpendableAmount(requestParameters: VaultsApiGetMaxSpendableAmountRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.getMaxSpendableAmount(requestParameters.vaultAccountId, requestParameters.assetId, requestParameters.manualSignging, options).then((request) => request(axios, basePath)); }, /** @@ -1839,7 +1843,7 @@ export const VaultsApiFactory = function (configuration?: Configuration, basePat * @param {*} [options] Override http request option. * @throws {RequiredError} */ - updateVaultAccount(requestParameters: VaultsApiUpdateVaultAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise { + updateVaultAccount(requestParameters: VaultsApiUpdateVaultAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.updateVaultAccount(requestParameters.updateVaultAccountRequest, requestParameters.vaultAccountId, requestParameters.idempotencyKey, options).then((request) => request(axios, basePath)); }, /** diff --git a/api/webhooks-api.ts b/api/webhooks-api.ts index fd44d16..d0f4025 100644 --- a/api/webhooks-api.ts +++ b/api/webhooks-api.ts @@ -30,6 +30,8 @@ import { ErrorSchema } from '../models'; // @ts-ignore import { ResendTransactionWebhooksRequest } from '../models'; // @ts-ignore +import { ResendWebhooksByTransactionIdResponse } from '../models'; +// @ts-ignore import { ResendWebhooksResponse } from '../models'; /** * WebhooksApi - axios parameter creator @@ -136,7 +138,7 @@ export const WebhooksApiFp = function(configuration?: Configuration) { * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async resendTransactionWebhooks(resendTransactionWebhooksRequest: ResendTransactionWebhooksRequest, txId: string, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async resendTransactionWebhooks(resendTransactionWebhooksRequest: ResendTransactionWebhooksRequest, txId: string, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.resendTransactionWebhooks(resendTransactionWebhooksRequest, txId, idempotencyKey, options); const index = configuration?.serverIndex ?? 0; const operationBasePath = operationServerMap['WebhooksApi.resendTransactionWebhooks']?.[index]?.url; @@ -172,7 +174,7 @@ export const WebhooksApiFactory = function (configuration?: Configuration, baseP * @param {*} [options] Override http request option. * @throws {RequiredError} */ - resendTransactionWebhooks(requestParameters: WebhooksApiResendTransactionWebhooksRequest, options?: RawAxiosRequestConfig): AxiosPromise { + resendTransactionWebhooks(requestParameters: WebhooksApiResendTransactionWebhooksRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.resendTransactionWebhooks(requestParameters.resendTransactionWebhooksRequest, requestParameters.txId, requestParameters.idempotencyKey, options).then((request) => request(axios, basePath)); }, /** diff --git a/api/whitelist-ip-addresses-api.ts b/api/whitelist-ip-addresses-api.ts index a11b7b9..f15ab32 100644 --- a/api/whitelist-ip-addresses-api.ts +++ b/api/whitelist-ip-addresses-api.ts @@ -29,6 +29,8 @@ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError, ope import { ErrorResponse } from '../models'; // @ts-ignore import { ErrorSchema } from '../models'; +// @ts-ignore +import { GetWhitelistIpAddressesResponse } from '../models'; /** * WhitelistIpAddressesApi - axios parameter creator * @export @@ -86,7 +88,7 @@ export const WhitelistIpAddressesApiFp = function(configuration?: Configuration) * @param {*} [options] Override http request option. * @throws {RequiredError} */ - async getWhitelistIpAddresses(userId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { + async getWhitelistIpAddresses(userId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { const localVarAxiosArgs = await localVarAxiosParamCreator.getWhitelistIpAddresses(userId, options); const index = configuration?.serverIndex ?? 0; const operationBasePath = operationServerMap['WhitelistIpAddressesApi.getWhitelistIpAddresses']?.[index]?.url; @@ -109,7 +111,7 @@ export const WhitelistIpAddressesApiFactory = function (configuration?: Configur * @param {*} [options] Override http request option. * @throws {RequiredError} */ - getWhitelistIpAddresses(requestParameters: WhitelistIpAddressesApiGetWhitelistIpAddressesRequest, options?: RawAxiosRequestConfig): AxiosPromise { + getWhitelistIpAddresses(requestParameters: WhitelistIpAddressesApiGetWhitelistIpAddressesRequest, options?: RawAxiosRequestConfig): AxiosPromise { return localVarFp.getWhitelistIpAddresses(requestParameters.userId, options).then((request) => request(axios, basePath)); }, }; diff --git a/api/workspace-api.ts b/api/workspace-api.ts deleted file mode 100644 index ee1f798..0000000 --- a/api/workspace-api.ts +++ /dev/null @@ -1,150 +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. - */ - - -import type { Configuration } from '../configuration'; -import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios'; -import globalAxios from 'axios'; -import { convertToFireblocksResponse } from "../response/fireblocksResponse"; -// URLSearchParams not necessarily used -// @ts-ignore -import { URL, URLSearchParams } from 'url'; -// Some imports not used depending on template conditions -// @ts-ignore -import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common'; -// @ts-ignore -import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base'; -// @ts-ignore -import { ErrorSchema } from '../models'; -/** - * WorkspaceApi - axios parameter creator - * @export - */ -export const WorkspaceApiAxiosParamCreator = function (configuration?: Configuration) { - return { - /** - * Freezes a Workspace so that ALL operations by ANY user are blocked. You should only perform this action when the workspace faces imminent risk, such as when you have a security breach. To unfreeze a workspace, the workspace Owner must submit a request to Fireblocks Support. **NOTE:** - This operation can only be performed by the workspace Owner - Your workspace continues to receive incoming transfers during this time. - * @summary Freeze Workspace - * @param {string} [idempotencyKey] A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. - * @param {*} [options] Override http request option. - * @throws {RequiredError} - */ - freezeWorkspace: async (idempotencyKey?: string, options: RawAxiosRequestConfig = {}): Promise => { - const localVarPath = `/workspace/freeze`; - // 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: 'POST', ...baseOptions, ...options}; - const localVarHeaderParameter = {} as any; - const localVarQueryParameter = {} as any; - - if (idempotencyKey != null) { - localVarHeaderParameter['Idempotency-Key'] = String(idempotencyKey); - } - - - - setSearchParams(localVarUrlObj, localVarQueryParameter); - let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; - localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; - - return { - url: toPathString(localVarUrlObj), - options: localVarRequestOptions, - }; - }, - } -}; - -/** - * WorkspaceApi - functional programming interface - * @export - */ -export const WorkspaceApiFp = function(configuration?: Configuration) { - const localVarAxiosParamCreator = WorkspaceApiAxiosParamCreator(configuration) - return { - /** - * Freezes a Workspace so that ALL operations by ANY user are blocked. You should only perform this action when the workspace faces imminent risk, such as when you have a security breach. To unfreeze a workspace, the workspace Owner must submit a request to Fireblocks Support. **NOTE:** - This operation can only be performed by the workspace Owner - Your workspace continues to receive incoming transfers during this time. - * @summary Freeze Workspace - * @param {string} [idempotencyKey] A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. - * @param {*} [options] Override http request option. - * @throws {RequiredError} - */ - async freezeWorkspace(idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> { - const localVarAxiosArgs = await localVarAxiosParamCreator.freezeWorkspace(idempotencyKey, options); - const index = configuration?.serverIndex ?? 0; - const operationBasePath = operationServerMap['WorkspaceApi.freezeWorkspace']?.[index]?.url; - return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath); - }, - } -}; - -/** - * WorkspaceApi - factory interface - * @export - */ -export const WorkspaceApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) { - const localVarFp = WorkspaceApiFp(configuration) - return { - /** - * Freezes a Workspace so that ALL operations by ANY user are blocked. You should only perform this action when the workspace faces imminent risk, such as when you have a security breach. To unfreeze a workspace, the workspace Owner must submit a request to Fireblocks Support. **NOTE:** - This operation can only be performed by the workspace Owner - Your workspace continues to receive incoming transfers during this time. - * @summary Freeze Workspace - * @param {WorkspaceApiFreezeWorkspaceRequest} requestParameters Request parameters. - * @param {*} [options] Override http request option. - * @throws {RequiredError} - */ - freezeWorkspace(requestParameters: WorkspaceApiFreezeWorkspaceRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise { - return localVarFp.freezeWorkspace(requestParameters.idempotencyKey, options).then((request) => request(axios, basePath)); - }, - }; -}; - -/** - * Request parameters for freezeWorkspace operation in WorkspaceApi. - * @export - * @interface WorkspaceApiFreezeWorkspaceRequest - */ -export interface WorkspaceApiFreezeWorkspaceRequest { - /** - * A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. - * @type {string} - * @memberof WorkspaceApiFreezeWorkspace - */ - readonly idempotencyKey?: string -} - -/** - * WorkspaceApi - object-oriented interface - * @export - * @class WorkspaceApi - * @extends {BaseAPI} - */ -export class WorkspaceApi extends BaseAPI { - /** - * Freezes a Workspace so that ALL operations by ANY user are blocked. You should only perform this action when the workspace faces imminent risk, such as when you have a security breach. To unfreeze a workspace, the workspace Owner must submit a request to Fireblocks Support. **NOTE:** - This operation can only be performed by the workspace Owner - Your workspace continues to receive incoming transfers during this time. - * @summary Freeze Workspace - * @param {WorkspaceApiFreezeWorkspaceRequest} requestParameters Request parameters. - * @param {*} [options] Override http request option. - * @throws {RequiredError} - * @memberof WorkspaceApi - */ - public freezeWorkspace(requestParameters: WorkspaceApiFreezeWorkspaceRequest = {}) { - return WorkspaceApiFp(this.configuration).freezeWorkspace(requestParameters.idempotencyKey).then((request) => request(this.axios, this.basePath)).then(convertToFireblocksResponse); - } -} - diff --git a/client/client.ts b/client/client.ts index 959e5bd..568a464 100644 --- a/client/client.ts +++ b/client/client.ts @@ -12,8 +12,7 @@ import type { ConfigurationOptions } from './clientConfiguration'; import { Configuration } from '../configuration'; -import { AdminQuorumApi, - ApiUserApi, +import { ApiUserApi, AssetsApi, AuditLogsApi, BlockchainsAssetsApi, @@ -44,7 +43,6 @@ import { AdminQuorumApi, Web3ConnectionsApi, WebhooksApi, WhitelistIpAddressesApi, - WorkspaceApi, WorkspaceStatusBetaApi } from '../api'; import { AxiosManager } from "../network/axiosManager"; @@ -53,7 +51,6 @@ import { AxiosManager } from "../network/axiosManager"; export class Fireblocks { private readonly config: Configuration; private readonly axiosManager: AxiosManager - private _adminQuorum?: AdminQuorumApi; private _apiUser?: ApiUserApi; private _assets?: AssetsApi; private _auditLogs?: AuditLogsApi; @@ -85,7 +82,6 @@ export class Fireblocks { private _web3Connections?: Web3ConnectionsApi; private _webhooks?: WebhooksApi; private _whitelistIpAddresses?: WhitelistIpAddressesApi; - private _workspace?: WorkspaceApi; private _workspaceStatusBeta?: WorkspaceStatusBetaApi; @@ -108,9 +104,6 @@ export class Fireblocks { this.axiosManager = new AxiosManager(apiKey, secretKey, conf?.additionalOptions); } - get adminQuorum(): AdminQuorumApi { - return this._adminQuorum ?? new AdminQuorumApi(this.config, undefined, this.axiosManager.axios); - } get apiUser(): ApiUserApi { return this._apiUser ?? new ApiUserApi(this.config, undefined, this.axiosManager.axios); } @@ -204,9 +197,6 @@ export class Fireblocks { get whitelistIpAddresses(): WhitelistIpAddressesApi { return this._whitelistIpAddresses ?? new WhitelistIpAddressesApi(this.config, undefined, this.axiosManager.axios); } - get workspace(): WorkspaceApi { - return this._workspace ?? new WorkspaceApi(this.config, undefined, this.axiosManager.axios); - } get workspaceStatusBeta(): WorkspaceStatusBetaApi { return this._workspaceStatusBeta ?? new WorkspaceStatusBetaApi(this.config, undefined, this.axiosManager.axios); } diff --git a/docs/apis/AdminQuorumApi.md b/docs/apis/AdminQuorumApi.md deleted file mode 100644 index 3e6b5a9..0000000 --- a/docs/apis/AdminQuorumApi.md +++ /dev/null @@ -1,73 +0,0 @@ -# AdminQuorumApi - -All URIs are relative to https://developers.fireblocks.com/reference/ - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**setAdminQuorumThreshold**](#setAdminQuorumThreshold) | **PUT** /admin_quorum | Update admin quorum threshold - - -# **setAdminQuorumThreshold** -> setAdminQuorumThreshold(setAdminQuorumThresholdRequest) - -Update admin quorum threshold - -### Example - - -```typescript -import { readFileSync } from 'fs'; -import { Fireblocks, BasePath } from '@fireblocks/ts-sdk'; -import type { FireblocksResponse, AdminQuorumApiSetAdminQuorumThresholdRequest } 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: AdminQuorumApiSetAdminQuorumThresholdRequest = { - // SetAdminQuorumThresholdRequest - setAdminQuorumThresholdRequest: param_value, - // string | A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. (optional) - idempotencyKey: idempotencyKey_example, -}; - -fireblocks.adminQuorum.setAdminQuorumThreshold(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 -------------- | ------------- | ------------- | ------------- - **setAdminQuorumThresholdRequest** | **[SetAdminQuorumThresholdRequest](../models/SetAdminQuorumThresholdRequest.md)**| | - **idempotencyKey** | [**string**] | A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. | (optional) defaults to undefined - - -### Return type - -void (empty response body) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | * X-Request-ID -
| -**0** | Error Response | * X-Request-ID -
| - -[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - - diff --git a/docs/apis/ApiUserApi.md b/docs/apis/ApiUserApi.md index 069ac7f..6ed1474 100644 --- a/docs/apis/ApiUserApi.md +++ b/docs/apis/ApiUserApi.md @@ -66,7 +66,7 @@ No authorization required ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**204** | User sent for creation | * X-Request-ID -
| +**200** | User sent for creation | * X-Request-ID -
| **401** | Unauthorized. Missing / invalid JWT token in Authorization header. | * X-Request-ID -
| **403** | Lacking permissions. | * X-Request-ID -
| **5XX** | Internal error. | * X-Request-ID -
| @@ -75,7 +75,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) # **getApiUsers** -> getApiUsers() +> GetAPIUsersResponse getApiUsers() get api users from the current tenant @@ -85,7 +85,7 @@ get api users from the current tenant ```typescript import { readFileSync } from 'fs'; import { Fireblocks, BasePath } from '@fireblocks/ts-sdk'; -import type { FireblocksResponse } from '@fireblocks/ts-sdk'; +import type { FireblocksResponse, GetAPIUsersResponse } 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" @@ -96,7 +96,7 @@ const fireblocks = new Fireblocks(); let body:any = {}; -fireblocks.apiUser.getApiUsers(body).then((res: FireblocksResponse) => { +fireblocks.apiUser.getApiUsers(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 @@ This endpoint does not need any parameter. ### Return type -void (empty response body) +**[GetAPIUsersResponse](../models/GetAPIUsersResponse.md)** ### Authorization diff --git a/docs/apis/AuditLogsApi.md b/docs/apis/AuditLogsApi.md index fa3a5bc..46e86aa 100644 --- a/docs/apis/AuditLogsApi.md +++ b/docs/apis/AuditLogsApi.md @@ -9,7 +9,7 @@ Method | HTTP request | Description # **getAuditLogs** -> getAuditLogs() +> GetAuditLogsResponse getAuditLogs() Get all audits @@ -19,7 +19,7 @@ Get all audits ```typescript import { readFileSync } from 'fs'; import { Fireblocks, BasePath } from '@fireblocks/ts-sdk'; -import type { FireblocksResponse, AuditLogsApiGetAuditLogsRequest } from '@fireblocks/ts-sdk'; +import type { FireblocksResponse, AuditLogsApiGetAuditLogsRequest, GetAuditLogsResponse } 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" @@ -35,7 +35,7 @@ let body: AuditLogsApiGetAuditLogsRequest = { cursor: cursor_example, }; -fireblocks.auditLogs.getAuditLogs(body).then((res: FireblocksResponse) => { +fireblocks.auditLogs.getAuditLogs(body).then((res: FireblocksResponse) => { console.log('API called successfully. Returned data: ' + JSON.stringify(res, null, 2)); }).catch((error:any) => console.error(error)); ``` @@ -51,7 +51,7 @@ Name | Type | Description | Notes ### Return type -void (empty response body) +**[GetAuditLogsResponse](../models/GetAuditLogsResponse.md)** ### Authorization diff --git a/docs/apis/BlockchainsAssetsApi.md b/docs/apis/BlockchainsAssetsApi.md index 55ebf59..792dd9b 100644 --- a/docs/apis/BlockchainsAssetsApi.md +++ b/docs/apis/BlockchainsAssetsApi.md @@ -5,6 +5,7 @@ All URIs are relative to https://developers.fireblocks.com/reference/ Method | HTTP request | Description ------------- | ------------- | ------------- [**getSupportedAssets**](#getSupportedAssets) | **GET** /supported_assets | List all asset types supported by Fireblocks +[**registerNewAsset**](#registerNewAsset) | **POST** /assets | Register an asset # **getSupportedAssets** @@ -61,4 +62,70 @@ 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) +# **registerNewAsset** +> AssetResponse registerNewAsset() + +Register a new asset to a workspace and return the newly created asset\'s details. Currently supported for EVM based chains only. + +### Example + + +```typescript +import { readFileSync } from 'fs'; +import { Fireblocks, BasePath } from '@fireblocks/ts-sdk'; +import type { FireblocksResponse, BlockchainsAssetsApiRegisterNewAssetRequest, AssetResponse } 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: BlockchainsAssetsApiRegisterNewAssetRequest = { + // RegisterNewAssetRequest (optional) + registerNewAssetRequest: param_value, + // string | A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. (optional) + idempotencyKey: idempotencyKey_example, +}; + +fireblocks.blockchainsAssets.registerNewAsset(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 +------------- | ------------- | ------------- | ------------- + **registerNewAssetRequest** | **[RegisterNewAssetRequest](../models/RegisterNewAssetRequest.md)**| | + **idempotencyKey** | [**string**] | A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. | (optional) defaults to undefined + + +### Return type + +**[AssetResponse](../models/AssetResponse.md)** + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | A new asset has been created successfully | - | +**400** | - Listing an asset on the requested blockchain is not supported. Error code: 1000 - The asset address is invalid. Error code: 1004 | - | +**404** | - Invalid address, could not get asset information. Error code 1004 | - | +**409** | - The asset is already supported globally. Error code: 1002 - The asset has already been added to this workspace. Error code: 1003 | - | +**500** | Failed to create 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/apis/ConsoleUserApi.md b/docs/apis/ConsoleUserApi.md index 297db75..b93c4ee 100644 --- a/docs/apis/ConsoleUserApi.md +++ b/docs/apis/ConsoleUserApi.md @@ -66,7 +66,7 @@ No authorization required ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**204** | Users sent for creation | * X-Request-ID -
| +**200** | Users sent for creation | * X-Request-ID -
| **400** | bad request | * X-Request-ID -
| **401** | Unauthorized. Missing / invalid JWT token in Authorization header. | * X-Request-ID -
| **403** | Lacking permissions. | * X-Request-ID -
| @@ -76,7 +76,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) # **getConsoleUsers** -> getConsoleUsers() +> GetConsoleUsersResponse getConsoleUsers() get console users from the current tenant @@ -86,7 +86,7 @@ get console users from the current tenant ```typescript import { readFileSync } from 'fs'; import { Fireblocks, BasePath } from '@fireblocks/ts-sdk'; -import type { FireblocksResponse } from '@fireblocks/ts-sdk'; +import type { FireblocksResponse, GetConsoleUsersResponse } 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" @@ -97,7 +97,7 @@ const fireblocks = new Fireblocks(); let body:any = {}; -fireblocks.consoleUser.getConsoleUsers(body).then((res: FireblocksResponse) => { +fireblocks.consoleUser.getConsoleUsers(body).then((res: FireblocksResponse) => { console.log('API called successfully. Returned data: ' + JSON.stringify(res, null, 2)); }).catch((error:any) => console.error(error)); ``` @@ -109,7 +109,7 @@ This endpoint does not need any parameter. ### Return type -void (empty response body) +**[GetConsoleUsersResponse](../models/GetConsoleUsersResponse.md)** ### Authorization diff --git a/docs/apis/ExchangeAccountsApi.md b/docs/apis/ExchangeAccountsApi.md index 2d6b2e6..330b4a2 100644 --- a/docs/apis/ExchangeAccountsApi.md +++ b/docs/apis/ExchangeAccountsApi.md @@ -12,7 +12,7 @@ Method | HTTP request | Description # **convertAssets** -> convertAssets() +> ConvertAssetsResponse convertAssets() Convert exchange account funds from the source asset to the destination asset. Coinbase (USD to USDC, USDC to USD) and Bitso (MXN to USD) are supported conversions. @@ -22,7 +22,7 @@ Convert exchange account funds from the source asset to the destination asset. C ```typescript import { readFileSync } from 'fs'; import { Fireblocks, BasePath } from '@fireblocks/ts-sdk'; -import type { FireblocksResponse, ExchangeAccountsApiConvertAssetsRequest } from '@fireblocks/ts-sdk'; +import type { FireblocksResponse, ExchangeAccountsApiConvertAssetsRequest, ConvertAssetsResponse } 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" @@ -40,7 +40,7 @@ let body: ExchangeAccountsApiConvertAssetsRequest = { idempotencyKey: idempotencyKey_example, }; -fireblocks.exchangeAccounts.convertAssets(body).then((res: FireblocksResponse) => { +fireblocks.exchangeAccounts.convertAssets(body).then((res: FireblocksResponse) => { console.log('API called successfully. Returned data: ' + JSON.stringify(res, null, 2)); }).catch((error:any) => console.error(error)); ``` @@ -57,7 +57,7 @@ Name | Type | Description | Notes ### Return type -void (empty response body) +**[ConvertAssetsResponse](../models/ConvertAssetsResponse.md)** ### Authorization @@ -267,7 +267,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) # **internalTransfer** -> internalTransfer() +> InternalTransferResponse internalTransfer() Transfers funds between trading accounts under the same exchange account. @@ -277,7 +277,7 @@ Transfers funds between trading accounts under the same exchange account. ```typescript import { readFileSync } from 'fs'; import { Fireblocks, BasePath } from '@fireblocks/ts-sdk'; -import type { FireblocksResponse, ExchangeAccountsApiInternalTransferRequest } from '@fireblocks/ts-sdk'; +import type { FireblocksResponse, ExchangeAccountsApiInternalTransferRequest, InternalTransferResponse } 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" @@ -295,7 +295,7 @@ let body: ExchangeAccountsApiInternalTransferRequest = { idempotencyKey: idempotencyKey_example, }; -fireblocks.exchangeAccounts.internalTransfer(body).then((res: FireblocksResponse) => { +fireblocks.exchangeAccounts.internalTransfer(body).then((res: FireblocksResponse) => { console.log('API called successfully. Returned data: ' + JSON.stringify(res, null, 2)); }).catch((error:any) => console.error(error)); ``` @@ -312,7 +312,7 @@ Name | Type | Description | Notes ### Return type -void (empty response body) +**[InternalTransferResponse](../models/InternalTransferResponse.md)** ### Authorization diff --git a/docs/apis/FiatAccountsApi.md b/docs/apis/FiatAccountsApi.md index 38fc3d3..73968a1 100644 --- a/docs/apis/FiatAccountsApi.md +++ b/docs/apis/FiatAccountsApi.md @@ -11,7 +11,7 @@ Method | HTTP request | Description # **depositFundsFromLinkedDDA** -> depositFundsFromLinkedDDA() +> DepositFundsFromLinkedDDAResponse depositFundsFromLinkedDDA() Deposits funds from the linked DDA. @@ -21,7 +21,7 @@ Deposits funds from the linked DDA. ```typescript import { readFileSync } from 'fs'; import { Fireblocks, BasePath } from '@fireblocks/ts-sdk'; -import type { FireblocksResponse, FiatAccountsApiDepositFundsFromLinkedDDARequest } from '@fireblocks/ts-sdk'; +import type { FireblocksResponse, FiatAccountsApiDepositFundsFromLinkedDDARequest, DepositFundsFromLinkedDDAResponse } 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" @@ -39,7 +39,7 @@ let body: FiatAccountsApiDepositFundsFromLinkedDDARequest = { idempotencyKey: idempotencyKey_example, }; -fireblocks.fiatAccounts.depositFundsFromLinkedDDA(body).then((res: FireblocksResponse) => { +fireblocks.fiatAccounts.depositFundsFromLinkedDDA(body).then((res: FireblocksResponse) => { console.log('API called successfully. Returned data: ' + JSON.stringify(res, null, 2)); }).catch((error:any) => console.error(error)); ``` @@ -56,7 +56,7 @@ Name | Type | Description | Notes ### Return type -void (empty response body) +**[DepositFundsFromLinkedDDAResponse](../models/DepositFundsFromLinkedDDAResponse.md)** ### Authorization @@ -191,7 +191,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) # **redeemFundsToLinkedDDA** -> redeemFundsToLinkedDDA() +> RedeemFundsToLinkedDDAResponse redeemFundsToLinkedDDA() Redeems funds to the linked DDA. @@ -201,7 +201,7 @@ Redeems funds to the linked DDA. ```typescript import { readFileSync } from 'fs'; import { Fireblocks, BasePath } from '@fireblocks/ts-sdk'; -import type { FireblocksResponse, FiatAccountsApiRedeemFundsToLinkedDDARequest } from '@fireblocks/ts-sdk'; +import type { FireblocksResponse, FiatAccountsApiRedeemFundsToLinkedDDARequest, RedeemFundsToLinkedDDAResponse } 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" @@ -219,7 +219,7 @@ let body: FiatAccountsApiRedeemFundsToLinkedDDARequest = { idempotencyKey: idempotencyKey_example, }; -fireblocks.fiatAccounts.redeemFundsToLinkedDDA(body).then((res: FireblocksResponse) => { +fireblocks.fiatAccounts.redeemFundsToLinkedDDA(body).then((res: FireblocksResponse) => { console.log('API called successfully. Returned data: ' + JSON.stringify(res, null, 2)); }).catch((error:any) => console.error(error)); ``` @@ -236,7 +236,7 @@ Name | Type | Description | Notes ### Return type -void (empty response body) +**[RedeemFundsToLinkedDDAResponse](../models/RedeemFundsToLinkedDDAResponse.md)** ### Authorization diff --git a/docs/apis/GasStationsApi.md b/docs/apis/GasStationsApi.md index 858f042..bb4732a 100644 --- a/docs/apis/GasStationsApi.md +++ b/docs/apis/GasStationsApi.md @@ -125,7 +125,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) # **updateGasStationConfiguration** -> updateGasStationConfiguration(gasStationConfiguration) +> EditGasStationConfigurationResponse updateGasStationConfiguration(gasStationConfiguration) Configures gas station settings for ETH. @@ -135,7 +135,7 @@ Configures gas station settings for ETH. ```typescript import { readFileSync } from 'fs'; import { Fireblocks, BasePath } from '@fireblocks/ts-sdk'; -import type { FireblocksResponse, GasStationsApiUpdateGasStationConfigurationRequest } from '@fireblocks/ts-sdk'; +import type { FireblocksResponse, GasStationsApiUpdateGasStationConfigurationRequest, EditGasStationConfigurationResponse } 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" @@ -151,7 +151,7 @@ let body: GasStationsApiUpdateGasStationConfigurationRequest = { idempotencyKey: idempotencyKey_example, }; -fireblocks.gasStations.updateGasStationConfiguration(body).then((res: FireblocksResponse) => { +fireblocks.gasStations.updateGasStationConfiguration(body).then((res: FireblocksResponse) => { console.log('API called successfully. Returned data: ' + JSON.stringify(res, null, 2)); }).catch((error:any) => console.error(error)); ``` @@ -167,7 +167,7 @@ Name | Type | Description | Notes ### Return type -void (empty response body) +**[EditGasStationConfigurationResponse](../models/EditGasStationConfigurationResponse.md)** ### Authorization @@ -188,7 +188,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) # **updateGasStationConfigurationByAssetId** -> updateGasStationConfigurationByAssetId(gasStationConfiguration, ) +> EditGasStationConfigurationResponse updateGasStationConfigurationByAssetId(gasStationConfiguration, ) Configures gas station settings for a requested asset. @@ -198,7 +198,7 @@ Configures gas station settings for a requested asset. ```typescript import { readFileSync } from 'fs'; import { Fireblocks, BasePath } from '@fireblocks/ts-sdk'; -import type { FireblocksResponse, GasStationsApiUpdateGasStationConfigurationByAssetIdRequest } from '@fireblocks/ts-sdk'; +import type { FireblocksResponse, GasStationsApiUpdateGasStationConfigurationByAssetIdRequest, EditGasStationConfigurationResponse } 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" @@ -216,7 +216,7 @@ let body: GasStationsApiUpdateGasStationConfigurationByAssetIdRequest = { idempotencyKey: idempotencyKey_example, }; -fireblocks.gasStations.updateGasStationConfigurationByAssetId(body).then((res: FireblocksResponse) => { +fireblocks.gasStations.updateGasStationConfigurationByAssetId(body).then((res: FireblocksResponse) => { console.log('API called successfully. Returned data: ' + JSON.stringify(res, null, 2)); }).catch((error:any) => console.error(error)); ``` @@ -233,7 +233,7 @@ Name | Type | Description | Notes ### Return type -void (empty response body) +**[EditGasStationConfigurationResponse](../models/EditGasStationConfigurationResponse.md)** ### Authorization diff --git a/docs/apis/NetworkConnectionsApi.md b/docs/apis/NetworkConnectionsApi.md index 28a70fe..3e57a1f 100644 --- a/docs/apis/NetworkConnectionsApi.md +++ b/docs/apis/NetworkConnectionsApi.md @@ -42,7 +42,7 @@ const fireblocks = new Fireblocks(); let body: NetworkConnectionsApiCheckThirdPartyRoutingRequest = { // string | The ID of the network connection connectionId: connectionId_example, - // 'CRYPTO' | 'SIGNET' | 'SEN' | 'SIGNET_TEST' | 'SEN_TEST' | The destination asset type + // string | The destination asset type assetType: assetType_example, }; @@ -57,7 +57,7 @@ fireblocks.networkConnections.checkThirdPartyRouting(body).then((res: Fireblocks Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **connectionId** | [**string**] | The ID of the network connection | defaults to undefined - **assetType** | [**'CRYPTO' | 'SIGNET' | 'SEN' | 'SIGNET_TEST' | 'SEN_TEST'**]**Array<'CRYPTO' | 'SIGNET' | 'SEN' | 'SIGNET_TEST' | 'SEN_TEST'>** | The destination asset type | defaults to undefined + **assetType** | [**string**] | The destination asset type | defaults to undefined ### Return type diff --git a/docs/apis/OTABetaApi.md b/docs/apis/OTABetaApi.md index cf4e0f5..f296126 100644 --- a/docs/apis/OTABetaApi.md +++ b/docs/apis/OTABetaApi.md @@ -63,7 +63,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) # **setOtaStatus** -> setOtaStatus(setOtaStatusRequest) +> SetOtaStatusResponse setOtaStatus(setOtaStatusRequest) Enable or disable transactions to OTA @@ -73,7 +73,7 @@ Enable or disable transactions to OTA ```typescript import { readFileSync } from 'fs'; import { Fireblocks, BasePath } from '@fireblocks/ts-sdk'; -import type { FireblocksResponse, OTABetaApiSetOtaStatusRequest } from '@fireblocks/ts-sdk'; +import type { FireblocksResponse, OTABetaApiSetOtaStatusRequest, SetOtaStatusResponse } 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" @@ -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)); ``` @@ -105,7 +105,7 @@ Name | Type | Description | Notes ### Return type -void (empty response body) +**[SetOtaStatusResponse](../models/SetOtaStatusResponse.md)** ### Authorization @@ -114,13 +114,13 @@ No authorization required ### HTTP request headers - **Content-Type**: application/json - - **Accept**: Not defined + - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**202** | Successfully updated OTA status | - | +**202** | Successfully updated OTA status | * X-Request-ID -
| **400** | Bad request | - | **409** | Similar request already pending | - | **500** | Internal server error | - | diff --git a/docs/apis/ResetDeviceApi.md b/docs/apis/ResetDeviceApi.md index bb82415..851389b 100644 --- a/docs/apis/ResetDeviceApi.md +++ b/docs/apis/ResetDeviceApi.md @@ -65,7 +65,7 @@ No authorization required ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**204** | User sent for creation | * X-Request-ID -
| +**200** | User sent for creation | * X-Request-ID -
| **401** | Unauthorized. Missing / invalid JWT token in Authorization header. | * X-Request-ID -
| **403** | Lacking permissions. | * X-Request-ID -
| **5XX** | Internal error. | * X-Request-ID -
| diff --git a/docs/apis/VaultsApi.md b/docs/apis/VaultsApi.md index b24965e..bb2a1a1 100644 --- a/docs/apis/VaultsApi.md +++ b/docs/apis/VaultsApi.md @@ -505,7 +505,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) # **getMaxSpendableAmount** -> getMaxSpendableAmount() +> GetMaxSpendableAmountResponse getMaxSpendableAmount() Get the maximum amount of a particular asset that can be spent in a single transaction from a specified vault account (UTXO assets only, with a limitation on number of inputs embedded). Send several transactions if you want to spend more than the maximum spendable amount. @@ -515,7 +515,7 @@ Get the maximum amount of a particular asset that can be spent in a single trans ```typescript import { readFileSync } from 'fs'; import { Fireblocks, BasePath } from '@fireblocks/ts-sdk'; -import type { FireblocksResponse, VaultsApiGetMaxSpendableAmountRequest } from '@fireblocks/ts-sdk'; +import type { FireblocksResponse, VaultsApiGetMaxSpendableAmountRequest, GetMaxSpendableAmountResponse } 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" @@ -533,7 +533,7 @@ let body: VaultsApiGetMaxSpendableAmountRequest = { manualSignging: true, }; -fireblocks.vaults.getMaxSpendableAmount(body).then((res: FireblocksResponse) => { +fireblocks.vaults.getMaxSpendableAmount(body).then((res: FireblocksResponse) => { console.log('API called successfully. Returned data: ' + JSON.stringify(res, null, 2)); }).catch((error:any) => console.error(error)); ``` @@ -550,7 +550,7 @@ Name | Type | Description | Notes ### Return type -void (empty response body) +**[GetMaxSpendableAmountResponse](../models/GetMaxSpendableAmountResponse.md)** ### Authorization @@ -1500,7 +1500,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) # **updateVaultAccount** -> updateVaultAccount(updateVaultAccountRequest, ) +> RenameVaultAccountResponse updateVaultAccount(updateVaultAccountRequest, ) Renames the requested vault account. @@ -1510,7 +1510,7 @@ Renames the requested vault account. ```typescript import { readFileSync } from 'fs'; import { Fireblocks, BasePath } from '@fireblocks/ts-sdk'; -import type { FireblocksResponse, VaultsApiUpdateVaultAccountRequest } from '@fireblocks/ts-sdk'; +import type { FireblocksResponse, VaultsApiUpdateVaultAccountRequest, RenameVaultAccountResponse } 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" @@ -1528,7 +1528,7 @@ let body: VaultsApiUpdateVaultAccountRequest = { idempotencyKey: idempotencyKey_example, }; -fireblocks.vaults.updateVaultAccount(body).then((res: FireblocksResponse) => { +fireblocks.vaults.updateVaultAccount(body).then((res: FireblocksResponse) => { console.log('API called successfully. Returned data: ' + JSON.stringify(res, null, 2)); }).catch((error:any) => console.error(error)); ``` @@ -1545,7 +1545,7 @@ Name | Type | Description | Notes ### Return type -void (empty response body) +**[RenameVaultAccountResponse](../models/RenameVaultAccountResponse.md)** ### Authorization diff --git a/docs/apis/WebhooksApi.md b/docs/apis/WebhooksApi.md index f7b92da..258a340 100644 --- a/docs/apis/WebhooksApi.md +++ b/docs/apis/WebhooksApi.md @@ -9,7 +9,7 @@ Method | HTTP request | Description # **resendTransactionWebhooks** -> resendTransactionWebhooks(resendTransactionWebhooksRequest, ) +> ResendWebhooksByTransactionIdResponse resendTransactionWebhooks(resendTransactionWebhooksRequest, ) Resends failed webhook notifications for a transaction by ID. @@ -19,7 +19,7 @@ Resends failed webhook notifications for a transaction by ID. ```typescript import { readFileSync } from 'fs'; import { Fireblocks, BasePath } from '@fireblocks/ts-sdk'; -import type { FireblocksResponse, WebhooksApiResendTransactionWebhooksRequest } from '@fireblocks/ts-sdk'; +import type { FireblocksResponse, WebhooksApiResendTransactionWebhooksRequest, ResendWebhooksByTransactionIdResponse } 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" @@ -37,7 +37,7 @@ let body: WebhooksApiResendTransactionWebhooksRequest = { idempotencyKey: idempotencyKey_example, }; -fireblocks.webhooks.resendTransactionWebhooks(body).then((res: FireblocksResponse) => { +fireblocks.webhooks.resendTransactionWebhooks(body).then((res: FireblocksResponse) => { console.log('API called successfully. Returned data: ' + JSON.stringify(res, null, 2)); }).catch((error:any) => console.error(error)); ``` @@ -54,7 +54,7 @@ Name | Type | Description | Notes ### Return type -void (empty response body) +**[ResendWebhooksByTransactionIdResponse](../models/ResendWebhooksByTransactionIdResponse.md)** ### Authorization diff --git a/docs/apis/WhitelistIpAddressesApi.md b/docs/apis/WhitelistIpAddressesApi.md index 4f1c97b..6b354e7 100644 --- a/docs/apis/WhitelistIpAddressesApi.md +++ b/docs/apis/WhitelistIpAddressesApi.md @@ -8,7 +8,7 @@ Method | HTTP request | Description # **getWhitelistIpAddresses** -> getWhitelistIpAddresses() +> GetWhitelistIpAddressesResponse getWhitelistIpAddresses() gets ip addresses @@ -18,7 +18,7 @@ gets ip addresses ```typescript import { readFileSync } from 'fs'; import { Fireblocks, BasePath } from '@fireblocks/ts-sdk'; -import type { FireblocksResponse, WhitelistIpAddressesApiGetWhitelistIpAddressesRequest } from '@fireblocks/ts-sdk'; +import type { FireblocksResponse, WhitelistIpAddressesApiGetWhitelistIpAddressesRequest, GetWhitelistIpAddressesResponse } 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" @@ -32,7 +32,7 @@ let body: WhitelistIpAddressesApiGetWhitelistIpAddressesRequest = { userId: userId_example, }; -fireblocks.whitelistIpAddresses.getWhitelistIpAddresses(body).then((res: FireblocksResponse) => { +fireblocks.whitelistIpAddresses.getWhitelistIpAddresses(body).then((res: FireblocksResponse) => { console.log('API called successfully. Returned data: ' + JSON.stringify(res, null, 2)); }).catch((error:any) => console.error(error)); ``` @@ -47,7 +47,7 @@ Name | Type | Description | Notes ### Return type -void (empty response body) +**[GetWhitelistIpAddressesResponse](../models/GetWhitelistIpAddressesResponse.md)** ### Authorization diff --git a/docs/apis/WorkspaceApi.md b/docs/apis/WorkspaceApi.md deleted file mode 100644 index 7e1057d..0000000 --- a/docs/apis/WorkspaceApi.md +++ /dev/null @@ -1,70 +0,0 @@ -# WorkspaceApi - -All URIs are relative to https://developers.fireblocks.com/reference/ - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**freezeWorkspace**](#freezeWorkspace) | **POST** /workspace/freeze | Freeze Workspace - - -# **freezeWorkspace** -> freezeWorkspace() - -Freezes a Workspace so that ALL operations by ANY user are blocked. You should only perform this action when the workspace faces imminent risk, such as when you have a security breach. To unfreeze a workspace, the workspace Owner must submit a request to Fireblocks Support. **NOTE:** - This operation can only be performed by the workspace Owner - Your workspace continues to receive incoming transfers during this time. - -### Example - - -```typescript -import { readFileSync } from 'fs'; -import { Fireblocks, BasePath } from '@fireblocks/ts-sdk'; -import type { FireblocksResponse, WorkspaceApiFreezeWorkspaceRequest } 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: WorkspaceApiFreezeWorkspaceRequest = { - // string | A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. (optional) - idempotencyKey: idempotencyKey_example, -}; - -fireblocks.workspace.freezeWorkspace(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 -------------- | ------------- | ------------- | ------------- - **idempotencyKey** | [**string**] | A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours. | (optional) defaults to undefined - - -### Return type - -void (empty response body) - -### Authorization - -No authorization required - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | indicates that the workspace is now frozen | * X-Request-ID -
| -**0** | Error Response | * X-Request-ID -
| - -[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - - diff --git a/docs/models/APIUser.md b/docs/models/APIUser.md new file mode 100644 index 0000000..420db25 --- /dev/null +++ b/docs/models/APIUser.md @@ -0,0 +1,17 @@ +# APIUser + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**id** | **string** | The unique identifier of the user | [optional] [default to undefined]| +|**name** | **string** | The name of the user | [optional] [default to undefined]| +|**role** | [**UserRole**](UserRole.md) | | [optional] [default to undefined]| +|**enabled** | **boolean** | Whether the user is enabled | [optional] [default to undefined]| +|**status** | [**UserStatus**](UserStatus.md) | | [optional] [default to undefined]| +|**userType** | [**UserType**](UserType.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/Account.md b/docs/models/Account.md new file mode 100644 index 0000000..95df420 --- /dev/null +++ b/docs/models/Account.md @@ -0,0 +1,13 @@ +# Account + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**accountId** | **string** | | [default to undefined]| +|**accountType** | [**AccountType**](AccountType.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/AccountType.md b/docs/models/AccountType.md new file mode 100644 index 0000000..633c1a9 --- /dev/null +++ b/docs/models/AccountType.md @@ -0,0 +1,18 @@ +# AccountType + +## Enum + + +* `ExchangeAccount` (value: `'EXCHANGE_ACCOUNT'`) + +* `UnmanagedWallet` (value: `'UNMANAGED_WALLET'`) + +* `VaultAccount` (value: `'VAULT_ACCOUNT'`) + +* `NetworkConnection` (value: `'NETWORK_CONNECTION'`) + +* `FiatAccount` (value: `'FIAT_ACCOUNT'`) + + + +[[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/AssetAmount.md b/docs/models/AssetAmount.md new file mode 100644 index 0000000..1edd9d6 --- /dev/null +++ b/docs/models/AssetAmount.md @@ -0,0 +1,13 @@ +# AssetAmount + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**amount** | **string** | | [default to undefined]| +|**assetId** | **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/AssetBadRequestErrorResponse.md b/docs/models/AssetBadRequestErrorResponse.md new file mode 100644 index 0000000..4e343f7 --- /dev/null +++ b/docs/models/AssetBadRequestErrorResponse.md @@ -0,0 +1,13 @@ +# AssetBadRequestErrorResponse + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**message** | **string** | Bad request error code | [default to undefined]| +|**code** | **string** | Error code | [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/AssetConflictErrorResponse.md b/docs/models/AssetConflictErrorResponse.md new file mode 100644 index 0000000..5fb919c --- /dev/null +++ b/docs/models/AssetConflictErrorResponse.md @@ -0,0 +1,13 @@ +# AssetConflictErrorResponse + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**message** | **string** | Conflict error code | [default to undefined]| +|**code** | **string** | Error code | [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/AssetInternalServerErrorResponse.md b/docs/models/AssetInternalServerErrorResponse.md new file mode 100644 index 0000000..a8dd056 --- /dev/null +++ b/docs/models/AssetInternalServerErrorResponse.md @@ -0,0 +1,13 @@ +# AssetInternalServerErrorResponse + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**message** | **string** | Internal server error code | [default to undefined]| +|**code** | **string** | Error code | [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/AssetNotFoundErrorResponse.md b/docs/models/AssetNotFoundErrorResponse.md new file mode 100644 index 0000000..2b1730a --- /dev/null +++ b/docs/models/AssetNotFoundErrorResponse.md @@ -0,0 +1,13 @@ +# AssetNotFoundErrorResponse + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**message** | **string** | Not found error code | [default to undefined]| +|**code** | **string** | Error code | [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/AssetResponse.md b/docs/models/AssetResponse.md new file mode 100644 index 0000000..cdb3f25 --- /dev/null +++ b/docs/models/AssetResponse.md @@ -0,0 +1,28 @@ +# AssetResponse + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**legacyId** | **string** | | [default to undefined]| +|**assetClass** | **string** | | [default to undefined]| +|**onchain** | [**AssetResponseOnchain**](AssetResponseOnchain.md) | | [default to undefined]| +|**metadata** | [**AssetResponseMetadata**](AssetResponseMetadata.md) | | [default to undefined]| + + +## Enum: AssetResponseAssetClassEnum + + +* `Native` (value: `'NATIVE'`) + +* `Ft` (value: `'FT'`) + +* `Nft` (value: `'NFT'`) + +* `Sft` (value: `'SFT'`) + + + + + +[[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/AssetResponseMetadata.md b/docs/models/AssetResponseMetadata.md new file mode 100644 index 0000000..80535e9 --- /dev/null +++ b/docs/models/AssetResponseMetadata.md @@ -0,0 +1,22 @@ +# AssetResponseMetadata + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**scope** | **string** | The scope of the asset | [default to undefined]| +|**deprecated** | **boolean** | Is asset deprecated | [default to undefined]| + + +## Enum: AssetResponseMetadataScopeEnum + + +* `Global` (value: `'Global'`) + +* `Local` (value: `'Local'`) + + + + + +[[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/AssetResponseOnchain.md b/docs/models/AssetResponseOnchain.md new file mode 100644 index 0000000..4bcd5e4 --- /dev/null +++ b/docs/models/AssetResponseOnchain.md @@ -0,0 +1,16 @@ +# AssetResponseOnchain + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**symbol** | **string** | The asset symbol | [default to undefined]| +|**name** | **string** | The asset name | [default to undefined]| +|**decimals** | **number** | Number of decimals | [default to undefined]| +|**standard** | **string** | The asset standard | [default to undefined]| +|**address** | **string** | The asset address | [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/AuditLogData.md b/docs/models/AuditLogData.md new file mode 100644 index 0000000..53d5f20 --- /dev/null +++ b/docs/models/AuditLogData.md @@ -0,0 +1,19 @@ +# AuditLogData + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**id** | **string** | The unique identifier of the audit log | [optional] [default to undefined]| +|**timestamp** | **string** | The timestamp of the audit log | [optional] [default to undefined]| +|**createdAt** | **string** | The timestamp of the audit log creation | [optional] [default to undefined]| +|**user** | **string** | The user who performed the action | [optional] [default to undefined]| +|**subject** | **string** | The subject of the action | [optional] [default to undefined]| +|**event** | **string** | The event that was performed | [optional] [default to undefined]| +|**tenantId** | **string** | The tenant ID of the audit log | [optional] [default to undefined]| +|**userId** | **string** | The user ID of the audit log | [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/ConfigConversionOperationSnapshot.md b/docs/models/ConfigConversionOperationSnapshot.md new file mode 100644 index 0000000..3320909 --- /dev/null +++ b/docs/models/ConfigConversionOperationSnapshot.md @@ -0,0 +1,14 @@ +# ConfigConversionOperationSnapshot + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**operationId** | **string** | | [default to undefined]| +|**type** | [**ConversionOperationType**](ConversionOperationType.md) | | [default to undefined]| +|**params** | [**ConversionOperationConfigParams**](ConversionOperationConfigParams.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/ConfigDisbursementOperationSnapshot.md b/docs/models/ConfigDisbursementOperationSnapshot.md new file mode 100644 index 0000000..90e18f1 --- /dev/null +++ b/docs/models/ConfigDisbursementOperationSnapshot.md @@ -0,0 +1,14 @@ +# ConfigDisbursementOperationSnapshot + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**operationId** | **string** | | [default to undefined]| +|**type** | [**DisbursementOperationType**](DisbursementOperationType.md) | | [default to undefined]| +|**params** | [**DisbursementOperationConfigParams**](DisbursementOperationConfigParams.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/ConfigOperation.md b/docs/models/ConfigOperation.md new file mode 100644 index 0000000..1a9b517 --- /dev/null +++ b/docs/models/ConfigOperation.md @@ -0,0 +1,16 @@ +# ConfigOperation + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**operationId** | **string** | | [default to undefined]| +|**type** | [**DisbursementOperationType**](DisbursementOperationType.md) | | [default to undefined]| +|**params** | [**DisbursementOperationConfigParams**](DisbursementOperationConfigParams.md) | | [default to undefined]| +|**status** | [**ConfigOperationStatus**](ConfigOperationStatus.md) | | [default to undefined]| +|**validationFailure** | [**DisbursementValidationFailure**](DisbursementValidationFailure.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/ConfigOperationSnapshot.md b/docs/models/ConfigOperationSnapshot.md new file mode 100644 index 0000000..c3bbf82 --- /dev/null +++ b/docs/models/ConfigOperationSnapshot.md @@ -0,0 +1,14 @@ +# ConfigOperationSnapshot + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**operationId** | **string** | | [default to undefined]| +|**type** | [**DisbursementOperationType**](DisbursementOperationType.md) | | [default to undefined]| +|**params** | [**DisbursementOperationConfigParams**](DisbursementOperationConfigParams.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/ConfigOperationStatus.md b/docs/models/ConfigOperationStatus.md new file mode 100644 index 0000000..d3472d6 --- /dev/null +++ b/docs/models/ConfigOperationStatus.md @@ -0,0 +1,16 @@ +# ConfigOperationStatus + +## Enum + + +* `Pending` (value: `'PENDING'`) + +* `ValidationInProgress` (value: `'VALIDATION_IN_PROGRESS'`) + +* `ReadyForExecution` (value: `'READY_FOR_EXECUTION'`) + +* `ValidationFailed` (value: `'VALIDATION_FAILED'`) + + + +[[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/ConfigTransferOperationSnapshot.md b/docs/models/ConfigTransferOperationSnapshot.md new file mode 100644 index 0000000..e57ff83 --- /dev/null +++ b/docs/models/ConfigTransferOperationSnapshot.md @@ -0,0 +1,14 @@ +# ConfigTransferOperationSnapshot + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**operationId** | **string** | | [default to undefined]| +|**type** | [**TransferOperationType**](TransferOperationType.md) | | [default to undefined]| +|**params** | [**TransferOperationConfigParams**](TransferOperationConfigParams.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/ConsoleUser.md b/docs/models/ConsoleUser.md new file mode 100644 index 0000000..0fbda43 --- /dev/null +++ b/docs/models/ConsoleUser.md @@ -0,0 +1,19 @@ +# ConsoleUser + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**id** | **string** | The unique identifier of the user | [optional] [default to undefined]| +|**firstName** | **string** | The first name of the user | [optional] [default to undefined]| +|**lastName** | **string** | The last name of the user | [optional] [default to undefined]| +|**email** | **string** | The email address of the user | [optional] [default to undefined]| +|**role** | [**UserRole**](UserRole.md) | | [optional] [default to undefined]| +|**enabled** | **boolean** | Whether the user is enabled | [optional] [default to undefined]| +|**status** | [**UserStatus**](UserStatus.md) | | [optional] [default to undefined]| +|**userType** | [**UserType**](UserType.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/ConversionConfigOperation.md b/docs/models/ConversionConfigOperation.md new file mode 100644 index 0000000..12f8084 --- /dev/null +++ b/docs/models/ConversionConfigOperation.md @@ -0,0 +1,16 @@ +# ConversionConfigOperation + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**operationId** | **string** | | [default to undefined]| +|**type** | [**ConversionOperationType**](ConversionOperationType.md) | | [default to undefined]| +|**params** | [**ConversionOperationConfigParams**](ConversionOperationConfigParams.md) | | [default to undefined]| +|**status** | [**ConfigOperationStatus**](ConfigOperationStatus.md) | | [default to undefined]| +|**validationFailure** | [**ConversionValidationFailure**](ConversionValidationFailure.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/ConversionOperationConfigParams.md b/docs/models/ConversionOperationConfigParams.md new file mode 100644 index 0000000..e414d6b --- /dev/null +++ b/docs/models/ConversionOperationConfigParams.md @@ -0,0 +1,16 @@ +# ConversionOperationConfigParams + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**destAssetId** | **string** | | [default to undefined]| +|**amount** | **string** | | [optional] [default to undefined]| +|**accountId** | **string** | | [optional] [default to undefined]| +|**srcAssetId** | **string** | | [optional] [default to undefined]| +|**slippageBasisPoints** | **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/ConversionOperationExecution.md b/docs/models/ConversionOperationExecution.md new file mode 100644 index 0000000..0cba808 --- /dev/null +++ b/docs/models/ConversionOperationExecution.md @@ -0,0 +1,16 @@ +# ConversionOperationExecution + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**input** | [**ConversionOperationConfigParams**](ConversionOperationConfigParams.md) | | [default to undefined]| +|**startedAt** | **number** | | [default to undefined]| +|**output** | [**ConversionOperationExecutionOutput**](ConversionOperationExecutionOutput.md) | | [optional] [default to undefined]| +|**finishedAt** | **number** | | [optional] [default to undefined]| +|**failure** | [**ConversionOperationFailure**](ConversionOperationFailure.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/ConversionOperationExecutionOutput.md b/docs/models/ConversionOperationExecutionOutput.md new file mode 100644 index 0000000..baf44fb --- /dev/null +++ b/docs/models/ConversionOperationExecutionOutput.md @@ -0,0 +1,14 @@ +# ConversionOperationExecutionOutput + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**amount** | [**AssetAmount**](AssetAmount.md) | | [default to undefined]| +|**fee** | [**AssetAmount**](AssetAmount.md) | | [default to undefined]| +|**conversionRate** | **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/ConversionOperationExecutionParams.md b/docs/models/ConversionOperationExecutionParams.md new file mode 100644 index 0000000..fed25bb --- /dev/null +++ b/docs/models/ConversionOperationExecutionParams.md @@ -0,0 +1,13 @@ +# ConversionOperationExecutionParams + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**configOperationId** | **string** | | [default to undefined]| +|**executionParams** | [**ConversionOperationExecutionParamsExecutionParams**](ConversionOperationExecutionParamsExecutionParams.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/ConversionOperationExecutionParamsExecutionParams.md b/docs/models/ConversionOperationExecutionParamsExecutionParams.md new file mode 100644 index 0000000..8700564 --- /dev/null +++ b/docs/models/ConversionOperationExecutionParamsExecutionParams.md @@ -0,0 +1,16 @@ +# ConversionOperationExecutionParamsExecutionParams + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**amount** | **string** | | [optional] [default to undefined]| +|**accountId** | **string** | | [optional] [default to undefined]| +|**srcAssetId** | **string** | | [optional] [default to undefined]| +|**destAssetId** | **string** | | [optional] [default to undefined]| +|**slippageBasisPoints** | **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/ConversionOperationFailure.md b/docs/models/ConversionOperationFailure.md new file mode 100644 index 0000000..f678b4d --- /dev/null +++ b/docs/models/ConversionOperationFailure.md @@ -0,0 +1,26 @@ +# ConversionOperationFailure + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**reason** | **string** | | [default to undefined]| +|**data** | **{ [key: string]: any; }** | | [optional] [default to undefined]| + + +## Enum: ConversionOperationFailureReasonEnum + + +* `InvalidAmount` (value: `'INVALID_AMOUNT'`) + +* `SlippageExceeded` (value: `'SLIPPAGE_EXCEEDED'`) + +* `AmountTooSmall` (value: `'AMOUNT_TOO_SMALL'`) + +* `InsufficientFunds` (value: `'INSUFFICIENT_FUNDS'`) + + + + + +[[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/ConversionOperationPreview.md b/docs/models/ConversionOperationPreview.md new file mode 100644 index 0000000..c18e621 --- /dev/null +++ b/docs/models/ConversionOperationPreview.md @@ -0,0 +1,14 @@ +# ConversionOperationPreview + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**input** | [**ConversionOperationConfigParams**](ConversionOperationConfigParams.md) | | [default to undefined]| +|**output** | [**ConversionOperationPreviewOutput**](ConversionOperationPreviewOutput.md) | | [optional] [default to undefined]| +|**failure** | [**ConversionOperationFailure**](ConversionOperationFailure.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/ConversionOperationPreviewOutput.md b/docs/models/ConversionOperationPreviewOutput.md new file mode 100644 index 0000000..98cafa5 --- /dev/null +++ b/docs/models/ConversionOperationPreviewOutput.md @@ -0,0 +1,15 @@ +# ConversionOperationPreviewOutput + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**amount** | [**AssetAmount**](AssetAmount.md) | | [default to undefined]| +|**fee** | [**AssetAmount**](AssetAmount.md) | | [default to undefined]| +|**conversionRate** | **string** | | [default to undefined]| +|**timeSeconds** | **number** | | [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/ConversionOperationType.md b/docs/models/ConversionOperationType.md new file mode 100644 index 0000000..44f56aa --- /dev/null +++ b/docs/models/ConversionOperationType.md @@ -0,0 +1,10 @@ +# ConversionOperationType + +## Enum + + +* `Conversion` (value: `'CONVERSION'`) + + + +[[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/ConversionValidationFailure.md b/docs/models/ConversionValidationFailure.md new file mode 100644 index 0000000..04b3952 --- /dev/null +++ b/docs/models/ConversionValidationFailure.md @@ -0,0 +1,50 @@ +# ConversionValidationFailure + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**reason** | **string** | | [default to undefined]| +|**data** | **{ [key: string]: any; }** | | [optional] [default to undefined]| + + +## Enum: ConversionValidationFailureReasonEnum + + +* `AccountNotFound` (value: `'ACCOUNT_NOT_FOUND'`) + +* `AccountTypeNotSupported` (value: `'ACCOUNT_TYPE_NOT_SUPPORTED'`) + +* `InsufficientBalance` (value: `'INSUFFICIENT_BALANCE'`) + +* `AssetNotFound` (value: `'ASSET_NOT_FOUND'`) + +* `AssetsContinuityMismatch` (value: `'ASSETS_CONTINUITY_MISMATCH'`) + +* `ExchangeBasketsMismatch` (value: `'EXCHANGE_BASKETS_MISMATCH'`) + +* `AccountsContinuityMismatch` (value: `'ACCOUNTS_CONTINUITY_MISMATCH'`) + +* `OneTimeAddressContinuityNotAllowed` (value: `'ONE_TIME_ADDRESS_CONTINUITY_NOT_ALLOWED'`) + +* `EqualAccountsNotAllowed` (value: `'EQUAL_ACCOUNTS_NOT_ALLOWED'`) + +* `EqualAssetsNotAllowed` (value: `'EQUAL_ASSETS_NOT_ALLOWED'`) + +* `InvalidAmount` (value: `'INVALID_AMOUNT'`) + +* `UnmanagedWalletAsSourceNotAllowed` (value: `'UNMANAGED_WALLET_AS_SOURCE_NOT_ALLOWED'`) + +* `ManagedOperationParamsInvalidSchema` (value: `'MANAGED_OPERATION_PARAMS_INVALID_SCHEMA'`) + +* `AccountIsNotExchange` (value: `'ACCOUNT_IS_NOT_EXCHANGE'`) + +* `UnsupportedTradingMethod` (value: `'UNSUPPORTED_TRADING_METHOD'`) + +* `AssetsCanNotConverted` (value: `'ASSETS_CAN_NOT_CONVERTED'`) + + + + + +[[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/ConvertAssetsResponse.md b/docs/models/ConvertAssetsResponse.md new file mode 100644 index 0000000..cc31b73 --- /dev/null +++ b/docs/models/ConvertAssetsResponse.md @@ -0,0 +1,12 @@ +# ConvertAssetsResponse + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**success** | **boolean** | Indicates whether the conversion was successful | [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/CreateConfigOperationRequest.md b/docs/models/CreateConfigOperationRequest.md new file mode 100644 index 0000000..ce02e5c --- /dev/null +++ b/docs/models/CreateConfigOperationRequest.md @@ -0,0 +1,13 @@ +# CreateConfigOperationRequest + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**type** | [**DisbursementOperationType**](DisbursementOperationType.md) | | [default to undefined]| +|**params** | [**DisbursementOperationConfigParams**](DisbursementOperationConfigParams.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/CreateConversionConfigOperationRequest.md b/docs/models/CreateConversionConfigOperationRequest.md new file mode 100644 index 0000000..930f4a2 --- /dev/null +++ b/docs/models/CreateConversionConfigOperationRequest.md @@ -0,0 +1,13 @@ +# CreateConversionConfigOperationRequest + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**type** | [**ConversionOperationType**](ConversionOperationType.md) | | [default to undefined]| +|**params** | [**ConversionOperationConfigParams**](ConversionOperationConfigParams.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/CreateDisbursementConfigOperationRequest.md b/docs/models/CreateDisbursementConfigOperationRequest.md new file mode 100644 index 0000000..ef4d269 --- /dev/null +++ b/docs/models/CreateDisbursementConfigOperationRequest.md @@ -0,0 +1,13 @@ +# CreateDisbursementConfigOperationRequest + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**type** | [**DisbursementOperationType**](DisbursementOperationType.md) | | [default to undefined]| +|**params** | [**DisbursementOperationConfigParams**](DisbursementOperationConfigParams.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/CreateNetworkIdRequest.md b/docs/models/CreateNetworkIdRequest.md index c48f884..d9b03f9 100644 --- a/docs/models/CreateNetworkIdRequest.md +++ b/docs/models/CreateNetworkIdRequest.md @@ -5,7 +5,7 @@ |Name | Type | Description | Notes| |------------ | ------------- | ------------- | -------------| |**name** | **string** | | [default to undefined]| -|**routingPolicy** | [**NetworkIdRoutingPolicy**](NetworkIdRoutingPolicy.md) | | [optional] [default to undefined]| +|**routingPolicy** | [**{ [key: string]: NetworkIdRoutingPolicyValue; }**](NetworkIdRoutingPolicyValue.md) | | [optional] [default to undefined]| diff --git a/docs/models/CreateTransferConfigOperationRequest.md b/docs/models/CreateTransferConfigOperationRequest.md new file mode 100644 index 0000000..db08e6b --- /dev/null +++ b/docs/models/CreateTransferConfigOperationRequest.md @@ -0,0 +1,13 @@ +# CreateTransferConfigOperationRequest + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**type** | [**TransferOperationType**](TransferOperationType.md) | | [default to undefined]| +|**params** | [**TransferOperationConfigParams**](TransferOperationConfigParams.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/CreateWorkflowExecutionRequestParamsInner.md b/docs/models/CreateWorkflowExecutionRequestParamsInner.md new file mode 100644 index 0000000..c95d294 --- /dev/null +++ b/docs/models/CreateWorkflowExecutionRequestParamsInner.md @@ -0,0 +1,13 @@ +# CreateWorkflowExecutionRequestParamsInner + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**configOperationId** | **string** | | [default to undefined]| +|**executionParams** | [**DisbursementOperationExecutionParamsExecutionParams**](DisbursementOperationExecutionParamsExecutionParams.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/CustomFiatRoutingDest.md b/docs/models/CustomFiatRoutingDest.md deleted file mode 100644 index 7800c6e..0000000 --- a/docs/models/CustomFiatRoutingDest.md +++ /dev/null @@ -1,28 +0,0 @@ -# CustomFiatRoutingDest - -## Properties - -|Name | Type | Description | Notes| -|------------ | ------------- | ------------- | -------------| -|**scheme** | **string** | The network routing logic. | [default to undefined]| -|**dstType** | **string** | The fiat account the funds are being sent to. | [default to undefined]| -|**dstId** | **string** | The ID of the fiat account the funds are being sent to. | [default to undefined]| - - -## Enum: CustomFiatRoutingDestSchemeEnum - - -* `Custom` (value: `'CUSTOM'`) - - - -## Enum: CustomFiatRoutingDestDstTypeEnum - - -* `FiatAccount` (value: `'FIAT_ACCOUNT'`) - - - - - -[[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/CustomCryptoRoutingDest.md b/docs/models/CustomRoutingDest.md similarity index 59% rename from docs/models/CustomCryptoRoutingDest.md rename to docs/models/CustomRoutingDest.md index c2678cc..75815da 100644 --- a/docs/models/CustomCryptoRoutingDest.md +++ b/docs/models/CustomRoutingDest.md @@ -1,24 +1,26 @@ -# CustomCryptoRoutingDest +# CustomRoutingDest ## Properties |Name | Type | Description | Notes| |------------ | ------------- | ------------- | -------------| |**scheme** | **string** | The network routing logic. | [default to undefined]| -|**dstType** | **string** | The type of destination account the funds are being sent to. | [default to undefined]| -|**dstId** | **string** | The ID of the destination account the funds are being sent to. | [default to undefined]| +|**dstType** | **string** | The account the funds are being sent to. | [default to undefined]| +|**dstId** | **string** | The ID of the account the funds are being sent to. | [default to undefined]| -## Enum: CustomCryptoRoutingDestSchemeEnum +## Enum: CustomRoutingDestSchemeEnum * `Custom` (value: `'CUSTOM'`) -## Enum: CustomCryptoRoutingDestDstTypeEnum +## Enum: CustomRoutingDestDstTypeEnum +* `FiatAccount` (value: `'FIAT_ACCOUNT'`) + * `Vault` (value: `'VAULT'`) * `Exchange` (value: `'EXCHANGE'`) diff --git a/docs/models/DepositFundsFromLinkedDDAResponse.md b/docs/models/DepositFundsFromLinkedDDAResponse.md new file mode 100644 index 0000000..b3ebbfe --- /dev/null +++ b/docs/models/DepositFundsFromLinkedDDAResponse.md @@ -0,0 +1,12 @@ +# DepositFundsFromLinkedDDAResponse + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**success** | **boolean** | Indicates whether the funds were successfully deposited from the linked DDA | [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/Destination.md b/docs/models/Destination.md new file mode 100644 index 0000000..954dd4e --- /dev/null +++ b/docs/models/Destination.md @@ -0,0 +1,15 @@ +# Destination + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**accountId** | **string** | | [default to undefined]| +|**accountType** | [**AccountType**](AccountType.md) | | [default to undefined]| +|**oneTimeAddress** | **string** | | [default to undefined]| +|**tag** | **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/DisbursementAmountInstruction.md b/docs/models/DisbursementAmountInstruction.md new file mode 100644 index 0000000..ae0a3f2 --- /dev/null +++ b/docs/models/DisbursementAmountInstruction.md @@ -0,0 +1,14 @@ +# DisbursementAmountInstruction + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**payeeAccount** | [**Destination**](Destination.md) | | [default to undefined]| +|**assetId** | **string** | | [default to undefined]| +|**amount** | **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/DisbursementConfigOperation.md b/docs/models/DisbursementConfigOperation.md new file mode 100644 index 0000000..ea6e874 --- /dev/null +++ b/docs/models/DisbursementConfigOperation.md @@ -0,0 +1,16 @@ +# DisbursementConfigOperation + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**operationId** | **string** | | [default to undefined]| +|**type** | [**DisbursementOperationType**](DisbursementOperationType.md) | | [default to undefined]| +|**params** | [**DisbursementOperationConfigParams**](DisbursementOperationConfigParams.md) | | [default to undefined]| +|**status** | [**ConfigOperationStatus**](ConfigOperationStatus.md) | | [default to undefined]| +|**validationFailure** | [**DisbursementValidationFailure**](DisbursementValidationFailure.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/DisbursementInstruction.md b/docs/models/DisbursementInstruction.md new file mode 100644 index 0000000..1f6d170 --- /dev/null +++ b/docs/models/DisbursementInstruction.md @@ -0,0 +1,15 @@ +# DisbursementInstruction + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**payeeAccount** | [**Destination**](Destination.md) | | [default to undefined]| +|**assetId** | **string** | | [default to undefined]| +|**amount** | **string** | | [default to undefined]| +|**percentage** | **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/DisbursementInstructionOutput.md b/docs/models/DisbursementInstructionOutput.md new file mode 100644 index 0000000..01c4754 --- /dev/null +++ b/docs/models/DisbursementInstructionOutput.md @@ -0,0 +1,14 @@ +# DisbursementInstructionOutput + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**amount** | [**AssetAmount**](AssetAmount.md) | | [default to undefined]| +|**fee** | [**AssetAmount**](AssetAmount.md) | | [default to undefined]| +|**payeeAccount** | [**Destination**](Destination.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/DisbursementOperationConfigParams.md b/docs/models/DisbursementOperationConfigParams.md new file mode 100644 index 0000000..05b61c0 --- /dev/null +++ b/docs/models/DisbursementOperationConfigParams.md @@ -0,0 +1,13 @@ +# DisbursementOperationConfigParams + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**instructionSet** | [**Array<DisbursementInstruction>**](DisbursementInstruction.md) | | [default to undefined]| +|**paymentAccount** | [**Account**](Account.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/DisbursementOperationExecution.md b/docs/models/DisbursementOperationExecution.md new file mode 100644 index 0000000..6b3af40 --- /dev/null +++ b/docs/models/DisbursementOperationExecution.md @@ -0,0 +1,17 @@ +# DisbursementOperationExecution + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**input** | [**DisbursementOperationInput**](DisbursementOperationInput.md) | | [default to undefined]| +|**startedAt** | **number** | | [default to undefined]| +|**output** | [**DisbursementOperationExecutionOutput**](DisbursementOperationExecutionOutput.md) | | [optional] [default to undefined]| +|**payoutId** | **string** | | [optional] [default to undefined]| +|**finishedAt** | **number** | | [optional] [default to undefined]| +|**failure** | [**OperationExecutionFailure**](OperationExecutionFailure.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/DisbursementOperationExecutionOutput.md b/docs/models/DisbursementOperationExecutionOutput.md new file mode 100644 index 0000000..c4b6977 --- /dev/null +++ b/docs/models/DisbursementOperationExecutionOutput.md @@ -0,0 +1,12 @@ +# DisbursementOperationExecutionOutput + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**instructionSet** | [**Array<DisbursementInstructionOutput>**](DisbursementInstructionOutput.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/DisbursementOperationExecutionParams.md b/docs/models/DisbursementOperationExecutionParams.md new file mode 100644 index 0000000..11cde53 --- /dev/null +++ b/docs/models/DisbursementOperationExecutionParams.md @@ -0,0 +1,13 @@ +# DisbursementOperationExecutionParams + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**configOperationId** | **string** | | [default to undefined]| +|**executionParams** | [**DisbursementOperationExecutionParamsExecutionParams**](DisbursementOperationExecutionParamsExecutionParams.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/DisbursementOperationExecutionParamsExecutionParams.md b/docs/models/DisbursementOperationExecutionParamsExecutionParams.md new file mode 100644 index 0000000..d553309 --- /dev/null +++ b/docs/models/DisbursementOperationExecutionParamsExecutionParams.md @@ -0,0 +1,14 @@ +# DisbursementOperationExecutionParamsExecutionParams + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**amount** | **string** | | [optional] [default to undefined]| +|**paymentAccount** | [**Account**](Account.md) | | [optional] [default to undefined]| +|**instructionSet** | [**Array<DisbursementInstruction>**](DisbursementInstruction.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/DisbursementOperationInput.md b/docs/models/DisbursementOperationInput.md new file mode 100644 index 0000000..72f8b41 --- /dev/null +++ b/docs/models/DisbursementOperationInput.md @@ -0,0 +1,14 @@ +# DisbursementOperationInput + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**paymentAccount** | [**Account**](Account.md) | | [default to undefined]| +|**instructionSet** | [**Array<DisbursementInstruction>**](DisbursementInstruction.md) | | [default to undefined]| +|**amount** | **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/DisbursementOperationPreview.md b/docs/models/DisbursementOperationPreview.md new file mode 100644 index 0000000..f7d2e3d --- /dev/null +++ b/docs/models/DisbursementOperationPreview.md @@ -0,0 +1,14 @@ +# DisbursementOperationPreview + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**input** | [**DisbursementOperationInput**](DisbursementOperationInput.md) | | [default to undefined]| +|**output** | [**DisbursementOperationPreviewOutput**](DisbursementOperationPreviewOutput.md) | | [optional] [default to undefined]| +|**failure** | [**OperationExecutionFailure**](OperationExecutionFailure.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/DisbursementOperationPreviewOutput.md b/docs/models/DisbursementOperationPreviewOutput.md new file mode 100644 index 0000000..12c1e3a --- /dev/null +++ b/docs/models/DisbursementOperationPreviewOutput.md @@ -0,0 +1,12 @@ +# DisbursementOperationPreviewOutput + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**instructionSet** | [**Array<DisbursementOperationPreviewOutputInstructionSetInner>**](DisbursementOperationPreviewOutputInstructionSetInner.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/DisbursementOperationPreviewOutputInstructionSetInner.md b/docs/models/DisbursementOperationPreviewOutputInstructionSetInner.md new file mode 100644 index 0000000..5d27d14 --- /dev/null +++ b/docs/models/DisbursementOperationPreviewOutputInstructionSetInner.md @@ -0,0 +1,15 @@ +# DisbursementOperationPreviewOutputInstructionSetInner + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**amount** | [**AssetAmount**](AssetAmount.md) | | [default to undefined]| +|**fee** | [**AssetAmount**](AssetAmount.md) | | [default to undefined]| +|**payeeAccount** | [**Destination**](Destination.md) | | [default to undefined]| +|**timeSeconds** | **number** | | [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/DisbursementOperationType.md b/docs/models/DisbursementOperationType.md new file mode 100644 index 0000000..d79c42f --- /dev/null +++ b/docs/models/DisbursementOperationType.md @@ -0,0 +1,10 @@ +# DisbursementOperationType + +## Enum + + +* `Disbursement` (value: `'DISBURSEMENT'`) + + + +[[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/DisbursementPercentageInstruction.md b/docs/models/DisbursementPercentageInstruction.md new file mode 100644 index 0000000..24baa76 --- /dev/null +++ b/docs/models/DisbursementPercentageInstruction.md @@ -0,0 +1,14 @@ +# DisbursementPercentageInstruction + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**payeeAccount** | [**Destination**](Destination.md) | | [default to undefined]| +|**assetId** | **string** | | [default to undefined]| +|**percentage** | **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/DisbursementValidationFailure.md b/docs/models/DisbursementValidationFailure.md new file mode 100644 index 0000000..2d9a774 --- /dev/null +++ b/docs/models/DisbursementValidationFailure.md @@ -0,0 +1,48 @@ +# DisbursementValidationFailure + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**reason** | **string** | | [default to undefined]| +|**data** | **{ [key: string]: any; }** | | [optional] [default to undefined]| + + +## Enum: DisbursementValidationFailureReasonEnum + + +* `AccountNotFound` (value: `'ACCOUNT_NOT_FOUND'`) + +* `AccountTypeNotSupported` (value: `'ACCOUNT_TYPE_NOT_SUPPORTED'`) + +* `InsufficientBalance` (value: `'INSUFFICIENT_BALANCE'`) + +* `AssetNotFound` (value: `'ASSET_NOT_FOUND'`) + +* `AssetsContinuityMismatch` (value: `'ASSETS_CONTINUITY_MISMATCH'`) + +* `ExchangeBasketsMismatch` (value: `'EXCHANGE_BASKETS_MISMATCH'`) + +* `AccountsContinuityMismatch` (value: `'ACCOUNTS_CONTINUITY_MISMATCH'`) + +* `OneTimeAddressContinuityNotAllowed` (value: `'ONE_TIME_ADDRESS_CONTINUITY_NOT_ALLOWED'`) + +* `EqualAccountsNotAllowed` (value: `'EQUAL_ACCOUNTS_NOT_ALLOWED'`) + +* `EqualAssetsNotAllowed` (value: `'EQUAL_ASSETS_NOT_ALLOWED'`) + +* `InvalidAmount` (value: `'INVALID_AMOUNT'`) + +* `UnmanagedWalletAsSourceNotAllowed` (value: `'UNMANAGED_WALLET_AS_SOURCE_NOT_ALLOWED'`) + +* `ManagedOperationParamsInvalidSchema` (value: `'MANAGED_OPERATION_PARAMS_INVALID_SCHEMA'`) + +* `InstructionsExceedHundredPercent` (value: `'INSTRUCTIONS_EXCEED_HUNDRED_PERCENT'`) + +* `InstructionsArrayEmpty` (value: `'INSTRUCTIONS_ARRAY_EMPTY'`) + + + + + +[[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/EditGasStationConfigurationResponse.md b/docs/models/EditGasStationConfigurationResponse.md new file mode 100644 index 0000000..9d2bf5b --- /dev/null +++ b/docs/models/EditGasStationConfigurationResponse.md @@ -0,0 +1,12 @@ +# EditGasStationConfigurationResponse + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**success** | **boolean** | Indicates whether editing the gas station configuration was successful | [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/ExecutionConversionOperation.md b/docs/models/ExecutionConversionOperation.md new file mode 100644 index 0000000..2d3c2cc --- /dev/null +++ b/docs/models/ExecutionConversionOperation.md @@ -0,0 +1,17 @@ +# ExecutionConversionOperation + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**operationId** | **string** | | [default to undefined]| +|**status** | [**ExecutionOperationStatus**](ExecutionOperationStatus.md) | | [default to undefined]| +|**operationType** | [**ConversionOperationType**](ConversionOperationType.md) | | [default to undefined]| +|**validationFailure** | [**ConversionValidationFailure**](ConversionValidationFailure.md) | | [optional] [default to undefined]| +|**preview** | [**ConversionOperationPreview**](ConversionOperationPreview.md) | | [optional] [default to undefined]| +|**execution** | [**ConversionOperationExecution**](ConversionOperationExecution.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/ExecutionDisbursementOperation.md b/docs/models/ExecutionDisbursementOperation.md new file mode 100644 index 0000000..78d6894 --- /dev/null +++ b/docs/models/ExecutionDisbursementOperation.md @@ -0,0 +1,17 @@ +# ExecutionDisbursementOperation + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**operationId** | **string** | | [default to undefined]| +|**status** | [**ExecutionOperationStatus**](ExecutionOperationStatus.md) | | [default to undefined]| +|**operationType** | [**DisbursementOperationType**](DisbursementOperationType.md) | | [default to undefined]| +|**validationFailure** | [**DisbursementValidationFailure**](DisbursementValidationFailure.md) | | [optional] [default to undefined]| +|**preview** | [**DisbursementOperationPreview**](DisbursementOperationPreview.md) | | [optional] [default to undefined]| +|**execution** | [**DisbursementOperationExecution**](DisbursementOperationExecution.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/ExecutionOperationStatus.md b/docs/models/ExecutionOperationStatus.md new file mode 100644 index 0000000..45eeff1 --- /dev/null +++ b/docs/models/ExecutionOperationStatus.md @@ -0,0 +1,32 @@ +# ExecutionOperationStatus + +## Enum + + +* `Pending` (value: `'PENDING'`) + +* `ValidationInProgress` (value: `'VALIDATION_IN_PROGRESS'`) + +* `ValidationFailed` (value: `'VALIDATION_FAILED'`) + +* `ValidationCompleted` (value: `'VALIDATION_COMPLETED'`) + +* `PreviewRequested` (value: `'PREVIEW_REQUESTED'`) + +* `PreviewInProgress` (value: `'PREVIEW_IN_PROGRESS'`) + +* `PreviewFailed` (value: `'PREVIEW_FAILED'`) + +* `ReadyForLaunch` (value: `'READY_FOR_LAUNCH'`) + +* `ExecutionRequested` (value: `'EXECUTION_REQUESTED'`) + +* `ExecutionInProgress` (value: `'EXECUTION_IN_PROGRESS'`) + +* `ExecutionCompleted` (value: `'EXECUTION_COMPLETED'`) + +* `ExecutionFailed` (value: `'EXECUTION_FAILED'`) + + + +[[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/ExecutionScreeningOperation.md b/docs/models/ExecutionScreeningOperation.md new file mode 100644 index 0000000..5615ca3 --- /dev/null +++ b/docs/models/ExecutionScreeningOperation.md @@ -0,0 +1,16 @@ +# ExecutionScreeningOperation + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**operationId** | **string** | | [default to undefined]| +|**status** | [**ExecutionOperationStatus**](ExecutionOperationStatus.md) | | [default to undefined]| +|**operationType** | [**ScreeningOperationType**](ScreeningOperationType.md) | | [default to undefined]| +|**validationFailure** | [**ScreeningValidationFailure**](ScreeningValidationFailure.md) | | [optional] [default to undefined]| +|**execution** | [**ScreeningOperationExecution**](ScreeningOperationExecution.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/ExecutionTransferOperation.md b/docs/models/ExecutionTransferOperation.md new file mode 100644 index 0000000..b001988 --- /dev/null +++ b/docs/models/ExecutionTransferOperation.md @@ -0,0 +1,17 @@ +# ExecutionTransferOperation + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**operationId** | **string** | | [default to undefined]| +|**status** | [**ExecutionOperationStatus**](ExecutionOperationStatus.md) | | [default to undefined]| +|**operationType** | [**TransferOperationType**](TransferOperationType.md) | | [default to undefined]| +|**validationFailure** | [**TransferValidationFailure**](TransferValidationFailure.md) | | [optional] [default to undefined]| +|**preview** | [**TransferOperationPreview**](TransferOperationPreview.md) | | [optional] [default to undefined]| +|**execution** | [**TransferOperationExecution**](TransferOperationExecution.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/GetAPIUsersResponse.md b/docs/models/GetAPIUsersResponse.md new file mode 100644 index 0000000..6b727ae --- /dev/null +++ b/docs/models/GetAPIUsersResponse.md @@ -0,0 +1,12 @@ +# GetAPIUsersResponse + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**users** | [**Array<APIUser>**](APIUser.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/GetAuditLogsResponse.md b/docs/models/GetAuditLogsResponse.md new file mode 100644 index 0000000..86eb7a8 --- /dev/null +++ b/docs/models/GetAuditLogsResponse.md @@ -0,0 +1,14 @@ +# GetAuditLogsResponse + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**data** | [**Array<AuditLogData>**](AuditLogData.md) | | [optional] [default to undefined]| +|**cursor** | **string** | The next id to start fetch audit logs from | [optional] [default to undefined]| +|**total** | **number** | The total number of audit logs | [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/GetConsoleUsersResponse.md b/docs/models/GetConsoleUsersResponse.md new file mode 100644 index 0000000..84d27d6 --- /dev/null +++ b/docs/models/GetConsoleUsersResponse.md @@ -0,0 +1,12 @@ +# GetConsoleUsersResponse + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**users** | [**Array<ConsoleUser>**](ConsoleUser.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/GetMaxSpendableAmountResponse.md b/docs/models/GetMaxSpendableAmountResponse.md new file mode 100644 index 0000000..2f37e13 --- /dev/null +++ b/docs/models/GetMaxSpendableAmountResponse.md @@ -0,0 +1,12 @@ +# GetMaxSpendableAmountResponse + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**maxSpendableAmount** | **string** | The maximum amount that can be spent from the vault account | [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/GetWhitelistIpAddressesResponse.md b/docs/models/GetWhitelistIpAddressesResponse.md new file mode 100644 index 0000000..dfa0b26 --- /dev/null +++ b/docs/models/GetWhitelistIpAddressesResponse.md @@ -0,0 +1,13 @@ +# GetWhitelistIpAddressesResponse + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**userId** | **string** | The ID of the user | [optional] [default to undefined]| +|**whitelistedIps** | **Array<string>** | List of whitelisted ip addresses | [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/InternalTransferResponse.md b/docs/models/InternalTransferResponse.md new file mode 100644 index 0000000..ac6bc18 --- /dev/null +++ b/docs/models/InternalTransferResponse.md @@ -0,0 +1,12 @@ +# InternalTransferResponse + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**success** | **boolean** | Indicates whether the transfer was successful | [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/NetworkConnection.md b/docs/models/NetworkConnection.md index 7851d74..3e0e9fb 100644 --- a/docs/models/NetworkConnection.md +++ b/docs/models/NetworkConnection.md @@ -6,7 +6,7 @@ |------------ | ------------- | ------------- | -------------| |**localNetworkId** | **string** | The network ID of the profile trying to create the connection. | [default to undefined]| |**remoteNetworkId** | **string** | The network ID the profile is attempting to connect to. | [default to undefined]| -|**routingPolicy** | [**NetworkConnectionRoutingPolicy**](NetworkConnectionRoutingPolicy.md) | | [optional] [default to undefined]| +|**routingPolicy** | [**{ [key: string]: NetworkConnectionRoutingPolicyValue; }**](NetworkConnectionRoutingPolicyValue.md) | | [optional] [default to undefined]| diff --git a/docs/models/NetworkConnectionResponse.md b/docs/models/NetworkConnectionResponse.md index 7383f3f..5e9c2dd 100644 --- a/docs/models/NetworkConnectionResponse.md +++ b/docs/models/NetworkConnectionResponse.md @@ -8,7 +8,7 @@ |**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]| +|**routingPolicy** | [**{ [key: string]: NetworkConnectionRoutingPolicyValue; }**](NetworkConnectionRoutingPolicyValue.md) | | [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/NetworkConnectionRoutingPolicy.md b/docs/models/NetworkConnectionRoutingPolicy.md deleted file mode 100644 index b143e21..0000000 --- a/docs/models/NetworkConnectionRoutingPolicy.md +++ /dev/null @@ -1,16 +0,0 @@ -# NetworkConnectionRoutingPolicy - -## Properties - -|Name | Type | Description | Notes| -|------------ | ------------- | ------------- | -------------| -|**crypto** | [**NetworkConnectionRoutingPolicyCrypto**](NetworkConnectionRoutingPolicyCrypto.md) | | [optional] [default to undefined]| -|**sen** | [**NetworkConnectionRoutingPolicySen**](NetworkConnectionRoutingPolicySen.md) | | [optional] [default to undefined]| -|**signet** | [**NetworkConnectionRoutingPolicySignet**](NetworkConnectionRoutingPolicySignet.md) | | [optional] [default to undefined]| -|**sen_test** | [**NetworkConnectionRoutingPolicySenTest**](NetworkConnectionRoutingPolicySenTest.md) | | [optional] [default to undefined]| -|**signet_test** | [**NetworkConnectionRoutingPolicySignetTest**](NetworkConnectionRoutingPolicySignetTest.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/NetworkConnectionRoutingPolicySen.md b/docs/models/NetworkConnectionRoutingPolicySen.md deleted file mode 100644 index 2df6e82..0000000 --- a/docs/models/NetworkConnectionRoutingPolicySen.md +++ /dev/null @@ -1,28 +0,0 @@ -# NetworkConnectionRoutingPolicySen - -## Properties - -|Name | Type | Description | Notes| -|------------ | ------------- | ------------- | -------------| -|**scheme** | **string** | No network routing logic. | [default to undefined]| -|**dstType** | **string** | The fiat account the funds are being sent to. | [default to undefined]| -|**dstId** | **string** | The ID of the fiat account the funds are being sent to. | [default to undefined]| - - -## Enum: NetworkConnectionRoutingPolicySenSchemeEnum - - -* `None` (value: `'NONE'`) - - - -## Enum: NetworkConnectionRoutingPolicySenDstTypeEnum - - -* `FiatAccount` (value: `'FIAT_ACCOUNT'`) - - - - - -[[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/NetworkConnectionRoutingPolicySenTest.md b/docs/models/NetworkConnectionRoutingPolicySenTest.md deleted file mode 100644 index 5f1e173..0000000 --- a/docs/models/NetworkConnectionRoutingPolicySenTest.md +++ /dev/null @@ -1,28 +0,0 @@ -# NetworkConnectionRoutingPolicySenTest - -## Properties - -|Name | Type | Description | Notes| -|------------ | ------------- | ------------- | -------------| -|**scheme** | **string** | The network routing logic. | [default to undefined]| -|**dstType** | **string** | The fiat account the funds are being sent to. | [default to undefined]| -|**dstId** | **string** | The ID of the fiat account the funds are being sent to. | [default to undefined]| - - -## Enum: NetworkConnectionRoutingPolicySenTestSchemeEnum - - -* `Custom` (value: `'CUSTOM'`) - - - -## Enum: NetworkConnectionRoutingPolicySenTestDstTypeEnum - - -* `FiatAccount` (value: `'FIAT_ACCOUNT'`) - - - - - -[[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/NetworkConnectionRoutingPolicySignet.md b/docs/models/NetworkConnectionRoutingPolicySignet.md deleted file mode 100644 index 6c1989e..0000000 --- a/docs/models/NetworkConnectionRoutingPolicySignet.md +++ /dev/null @@ -1,28 +0,0 @@ -# NetworkConnectionRoutingPolicySignet - -## Properties - -|Name | Type | Description | Notes| -|------------ | ------------- | ------------- | -------------| -|**scheme** | **string** | No network routing logic. | [default to undefined]| -|**dstType** | **string** | The fiat account the funds are being sent to. | [default to undefined]| -|**dstId** | **string** | The ID of the fiat account the funds are being sent to. | [default to undefined]| - - -## Enum: NetworkConnectionRoutingPolicySignetSchemeEnum - - -* `None` (value: `'NONE'`) - - - -## Enum: NetworkConnectionRoutingPolicySignetDstTypeEnum - - -* `FiatAccount` (value: `'FIAT_ACCOUNT'`) - - - - - -[[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/NetworkConnectionRoutingPolicySignetTest.md b/docs/models/NetworkConnectionRoutingPolicySignetTest.md deleted file mode 100644 index 1cddc7b..0000000 --- a/docs/models/NetworkConnectionRoutingPolicySignetTest.md +++ /dev/null @@ -1,28 +0,0 @@ -# NetworkConnectionRoutingPolicySignetTest - -## Properties - -|Name | Type | Description | Notes| -|------------ | ------------- | ------------- | -------------| -|**scheme** | **string** | The network routing logic. | [default to undefined]| -|**dstType** | **string** | The fiat account the funds are being sent to. | [default to undefined]| -|**dstId** | **string** | The ID of the fiat account the funds are being sent to. | [default to undefined]| - - -## Enum: NetworkConnectionRoutingPolicySignetTestSchemeEnum - - -* `Default` (value: `'DEFAULT'`) - - - -## Enum: NetworkConnectionRoutingPolicySignetTestDstTypeEnum - - -* `FiatAccount` (value: `'FIAT_ACCOUNT'`) - - - - - -[[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/NetworkConnectionRoutingPolicyCrypto.md b/docs/models/NetworkConnectionRoutingPolicyValue.md similarity index 55% rename from docs/models/NetworkConnectionRoutingPolicyCrypto.md rename to docs/models/NetworkConnectionRoutingPolicyValue.md index 1be538f..e6ef5a3 100644 --- a/docs/models/NetworkConnectionRoutingPolicyCrypto.md +++ b/docs/models/NetworkConnectionRoutingPolicyValue.md @@ -1,24 +1,26 @@ -# NetworkConnectionRoutingPolicyCrypto +# NetworkConnectionRoutingPolicyValue ## Properties |Name | Type | Description | Notes| |------------ | ------------- | ------------- | -------------| |**scheme** | **string** | No network routing logic. | [default to undefined]| -|**dstType** | **string** | The type of destination account the funds are being sent to. | [default to undefined]| -|**dstId** | **string** | The ID of the destination account the funds are being sent to. | [default to undefined]| +|**dstType** | **string** | The account the funds are being sent to. | [default to undefined]| +|**dstId** | **string** | The ID of the account the funds are being sent to. | [default to undefined]| -## Enum: NetworkConnectionRoutingPolicyCryptoSchemeEnum +## Enum: NetworkConnectionRoutingPolicyValueSchemeEnum * `None` (value: `'NONE'`) -## Enum: NetworkConnectionRoutingPolicyCryptoDstTypeEnum +## Enum: NetworkConnectionRoutingPolicyValueDstTypeEnum +* `FiatAccount` (value: `'FIAT_ACCOUNT'`) + * `Vault` (value: `'VAULT'`) * `Exchange` (value: `'EXCHANGE'`) diff --git a/docs/models/NetworkIdResponse.md b/docs/models/NetworkIdResponse.md index b19af51..ec5d31e 100644 --- a/docs/models/NetworkIdResponse.md +++ b/docs/models/NetworkIdResponse.md @@ -6,7 +6,7 @@ |------------ | ------------- | ------------- | -------------| |**id** | **string** | | [default to undefined]| |**name** | **string** | | [default to undefined]| -|**routingPolicy** | [**NetworkIdRoutingPolicy**](NetworkIdRoutingPolicy.md) | | [optional] [default to undefined]| +|**routingPolicy** | [**{ [key: string]: NetworkIdRoutingPolicyValue; }**](NetworkIdRoutingPolicyValue.md) | | [optional] [default to undefined]| |**isDiscoverable** | **boolean** | The specific network is discoverable. | [optional] [default to undefined]| diff --git a/docs/models/NetworkIdRoutingPolicy.md b/docs/models/NetworkIdRoutingPolicy.md deleted file mode 100644 index 3388374..0000000 --- a/docs/models/NetworkIdRoutingPolicy.md +++ /dev/null @@ -1,16 +0,0 @@ -# NetworkIdRoutingPolicy - -## Properties - -|Name | Type | Description | Notes| -|------------ | ------------- | ------------- | -------------| -|**crypto** | [**NetworkIdRoutingPolicyCrypto**](NetworkIdRoutingPolicyCrypto.md) | | [optional] [default to undefined]| -|**sen** | [**NetworkIdRoutingPolicySen**](NetworkIdRoutingPolicySen.md) | | [optional] [default to undefined]| -|**signet** | [**NetworkIdRoutingPolicySen**](NetworkIdRoutingPolicySen.md) | | [optional] [default to undefined]| -|**sen_test** | [**NetworkIdRoutingPolicySenTest**](NetworkIdRoutingPolicySenTest.md) | | [optional] [default to undefined]| -|**signet_test** | [**NetworkIdRoutingPolicySenTest**](NetworkIdRoutingPolicySenTest.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/NetworkIdRoutingPolicySen.md b/docs/models/NetworkIdRoutingPolicySen.md deleted file mode 100644 index 6a8490b..0000000 --- a/docs/models/NetworkIdRoutingPolicySen.md +++ /dev/null @@ -1,28 +0,0 @@ -# NetworkIdRoutingPolicySen - -## Properties - -|Name | Type | Description | Notes| -|------------ | ------------- | ------------- | -------------| -|**scheme** | **string** | No network routing logic. | [default to undefined]| -|**dstType** | **string** | The fiat account the funds are being sent to. | [default to undefined]| -|**dstId** | **string** | The ID of the fiat account the funds are being sent to. | [default to undefined]| - - -## Enum: NetworkIdRoutingPolicySenSchemeEnum - - -* `None` (value: `'NONE'`) - - - -## Enum: NetworkIdRoutingPolicySenDstTypeEnum - - -* `FiatAccount` (value: `'FIAT_ACCOUNT'`) - - - - - -[[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/NetworkIdRoutingPolicySenTest.md b/docs/models/NetworkIdRoutingPolicySenTest.md deleted file mode 100644 index 1102fac..0000000 --- a/docs/models/NetworkIdRoutingPolicySenTest.md +++ /dev/null @@ -1,28 +0,0 @@ -# NetworkIdRoutingPolicySenTest - -## Properties - -|Name | Type | Description | Notes| -|------------ | ------------- | ------------- | -------------| -|**scheme** | **string** | The network routing logic. | [default to undefined]| -|**dstType** | **string** | The fiat account the funds are being sent to. | [default to undefined]| -|**dstId** | **string** | The ID of the fiat account the funds are being sent to. | [default to undefined]| - - -## Enum: NetworkIdRoutingPolicySenTestSchemeEnum - - -* `Custom` (value: `'CUSTOM'`) - - - -## Enum: NetworkIdRoutingPolicySenTestDstTypeEnum - - -* `FiatAccount` (value: `'FIAT_ACCOUNT'`) - - - - - -[[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/NetworkIdRoutingPolicyCrypto.md b/docs/models/NetworkIdRoutingPolicyValue.md similarity index 57% rename from docs/models/NetworkIdRoutingPolicyCrypto.md rename to docs/models/NetworkIdRoutingPolicyValue.md index 3d30222..f4ff290 100644 --- a/docs/models/NetworkIdRoutingPolicyCrypto.md +++ b/docs/models/NetworkIdRoutingPolicyValue.md @@ -1,24 +1,26 @@ -# NetworkIdRoutingPolicyCrypto +# NetworkIdRoutingPolicyValue ## Properties |Name | Type | Description | Notes| |------------ | ------------- | ------------- | -------------| |**scheme** | **string** | No network routing logic. | [default to undefined]| -|**dstType** | **string** | The type of destination account the funds are being sent to. | [default to undefined]| -|**dstId** | **string** | The ID of the destination account the funds are being sent to. | [default to undefined]| +|**dstType** | **string** | The account the funds are being sent to. | [default to undefined]| +|**dstId** | **string** | The ID of the account the funds are being sent to. | [default to undefined]| -## Enum: NetworkIdRoutingPolicyCryptoSchemeEnum +## Enum: NetworkIdRoutingPolicyValueSchemeEnum * `None` (value: `'NONE'`) -## Enum: NetworkIdRoutingPolicyCryptoDstTypeEnum +## Enum: NetworkIdRoutingPolicyValueDstTypeEnum +* `FiatAccount` (value: `'FIAT_ACCOUNT'`) + * `Vault` (value: `'VAULT'`) * `Exchange` (value: `'EXCHANGE'`) diff --git a/docs/models/OneTimeAddressAccount.md b/docs/models/OneTimeAddressAccount.md new file mode 100644 index 0000000..b03e72c --- /dev/null +++ b/docs/models/OneTimeAddressAccount.md @@ -0,0 +1,13 @@ +# OneTimeAddressAccount + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**oneTimeAddress** | **string** | | [default to undefined]| +|**tag** | **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/OperationExecutionFailure.md b/docs/models/OperationExecutionFailure.md new file mode 100644 index 0000000..685d525 --- /dev/null +++ b/docs/models/OperationExecutionFailure.md @@ -0,0 +1,13 @@ +# OperationExecutionFailure + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**reason** | **string** | | [default to undefined]| +|**data** | **{ [key: string]: any; }** | | [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/PreScreening.md b/docs/models/PreScreening.md new file mode 100644 index 0000000..2d15cd1a8 --- /dev/null +++ b/docs/models/PreScreening.md @@ -0,0 +1,12 @@ +# PreScreening + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**enabled** | **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/RedeemFundsToLinkedDDAResponse.md b/docs/models/RedeemFundsToLinkedDDAResponse.md new file mode 100644 index 0000000..865254b --- /dev/null +++ b/docs/models/RedeemFundsToLinkedDDAResponse.md @@ -0,0 +1,12 @@ +# RedeemFundsToLinkedDDAResponse + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**success** | **boolean** | Indicates whether the funds were successfully redeemed to the linked DDA | [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/RegisterNewAssetRequest.md b/docs/models/RegisterNewAssetRequest.md new file mode 100644 index 0000000..192b636 --- /dev/null +++ b/docs/models/RegisterNewAssetRequest.md @@ -0,0 +1,14 @@ +# RegisterNewAssetRequest + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**blockchainId** | **string** | Native asset of blockchain | [default to undefined]| +|**address** | **string** | Asset address | [default to undefined]| +|**symbol** | **string** | Asset symbol | [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/RenameVaultAccountResponse.md b/docs/models/RenameVaultAccountResponse.md new file mode 100644 index 0000000..770aafd --- /dev/null +++ b/docs/models/RenameVaultAccountResponse.md @@ -0,0 +1,13 @@ +# RenameVaultAccountResponse + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**name** | **string** | The new name of the vault account | [optional] [default to undefined]| +|**id** | **string** | The ID of the vault account | [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/ResendWebhooksByTransactionIdResponse.md b/docs/models/ResendWebhooksByTransactionIdResponse.md new file mode 100644 index 0000000..0e34911 --- /dev/null +++ b/docs/models/ResendWebhooksByTransactionIdResponse.md @@ -0,0 +1,12 @@ +# ResendWebhooksByTransactionIdResponse + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**success** | **boolean** | Indicates whether the webhooks were successfully resent | [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/ScreeningOperationExecution.md b/docs/models/ScreeningOperationExecution.md new file mode 100644 index 0000000..30ba443 --- /dev/null +++ b/docs/models/ScreeningOperationExecution.md @@ -0,0 +1,15 @@ +# ScreeningOperationExecution + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**startedAt** | **number** | | [default to undefined]| +|**output** | [**ScreeningOperationExecutionOutput**](ScreeningOperationExecutionOutput.md) | | [optional] [default to undefined]| +|**finishedAt** | **number** | | [optional] [default to undefined]| +|**failure** | [**ScreeningOperationFailure**](ScreeningOperationFailure.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/ScreeningOperationExecutionOutput.md b/docs/models/ScreeningOperationExecutionOutput.md new file mode 100644 index 0000000..fd20485 --- /dev/null +++ b/docs/models/ScreeningOperationExecutionOutput.md @@ -0,0 +1,12 @@ +# ScreeningOperationExecutionOutput + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**verdicts** | [**Array<ScreeningVerdict>**](ScreeningVerdict.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/ScreeningOperationFailure.md b/docs/models/ScreeningOperationFailure.md new file mode 100644 index 0000000..4d29a9a --- /dev/null +++ b/docs/models/ScreeningOperationFailure.md @@ -0,0 +1,22 @@ +# ScreeningOperationFailure + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**reason** | **string** | | [default to undefined]| +|**data** | [**ScreeningOperationExecutionOutput**](ScreeningOperationExecutionOutput.md) | | [optional] [default to undefined]| + + +## Enum: ScreeningOperationFailureReasonEnum + + +* `AmlProcessFailed` (value: `'AML_PROCESS_FAILED'`) + +* `ScreeningRejected` (value: `'SCREENING_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/ScreeningOperationType.md b/docs/models/ScreeningOperationType.md new file mode 100644 index 0000000..3460251 --- /dev/null +++ b/docs/models/ScreeningOperationType.md @@ -0,0 +1,10 @@ +# ScreeningOperationType + +## Enum + + +* `Screening` (value: `'SCREENING'`) + + + +[[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/ScreeningValidationFailure.md b/docs/models/ScreeningValidationFailure.md new file mode 100644 index 0000000..c3575a7 --- /dev/null +++ b/docs/models/ScreeningValidationFailure.md @@ -0,0 +1,20 @@ +# ScreeningValidationFailure + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**reason** | **string** | | [default to undefined]| +|**data** | **{ [key: string]: any; }** | | [optional] [default to undefined]| + + +## Enum: ScreeningValidationFailureReasonEnum + + +* `ScreeningDisabledInTenant` (value: `'SCREENING_DISABLED_IN_TENANT'`) + + + + + +[[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/ScreeningVerdict.md b/docs/models/ScreeningVerdict.md new file mode 100644 index 0000000..dc5a7f6 --- /dev/null +++ b/docs/models/ScreeningVerdict.md @@ -0,0 +1,32 @@ +# ScreeningVerdict + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**verdict** | **string** | | [default to undefined]| +|**executionOperationId** | **string** | | [default to undefined]| +|**account** | [**Destination**](Destination.md) | | [default to undefined]| +|**assetId** | **string** | | [default to undefined]| +|**amount** | **string** | | [default to undefined]| +|**matchedRule** | [**ScreeningVerdictMatchedRule**](ScreeningVerdictMatchedRule.md) | | [optional] [default to undefined]| + + +## Enum: ScreeningVerdictVerdictEnum + + +* `Passed` (value: `'PASSED'`) + +* `PassedWithAlert` (value: `'PASSED_WITH_ALERT'`) + +* `Rejected` (value: `'REJECTED'`) + +* `Failed` (value: `'FAILED'`) + +* `Bypassed` (value: `'BYPASSED'`) + + + + + +[[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/ScreeningVerdictMatchedRule.md b/docs/models/ScreeningVerdictMatchedRule.md new file mode 100644 index 0000000..07a2d80 --- /dev/null +++ b/docs/models/ScreeningVerdictMatchedRule.md @@ -0,0 +1,13 @@ +# ScreeningVerdictMatchedRule + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**action** | **string** | | [optional] [default to undefined]| +|**category** | **Array<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/SetAdminQuorumThresholdResponse.md b/docs/models/SetAdminQuorumThresholdResponse.md new file mode 100644 index 0000000..a7d4d39 --- /dev/null +++ b/docs/models/SetAdminQuorumThresholdResponse.md @@ -0,0 +1,12 @@ +# SetAdminQuorumThresholdResponse + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**message** | **string** | The message which indicates the result of the operation. | [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/SetNetworkIdRoutingPolicyRequest.md b/docs/models/SetNetworkIdRoutingPolicyRequest.md index a0e780a..61ef526 100644 --- a/docs/models/SetNetworkIdRoutingPolicyRequest.md +++ b/docs/models/SetNetworkIdRoutingPolicyRequest.md @@ -4,7 +4,7 @@ |Name | Type | Description | Notes| |------------ | ------------- | ------------- | -------------| -|**routingPolicy** | [**NetworkIdRoutingPolicy**](NetworkIdRoutingPolicy.md) | | [default to undefined]| +|**routingPolicy** | [**{ [key: string]: NetworkIdRoutingPolicyValue; }**](NetworkIdRoutingPolicyValue.md) | | [default to undefined]| diff --git a/docs/models/SetOtaStatusResponse.md b/docs/models/SetOtaStatusResponse.md new file mode 100644 index 0000000..c9fa571 --- /dev/null +++ b/docs/models/SetOtaStatusResponse.md @@ -0,0 +1,12 @@ +# SetOtaStatusResponse + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**message** | **string** | Message indicating the result of the operation for example when no config change is needed | [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/SetOtaStatusResponseOneOf.md b/docs/models/SetOtaStatusResponseOneOf.md new file mode 100644 index 0000000..aef1e7c --- /dev/null +++ b/docs/models/SetOtaStatusResponseOneOf.md @@ -0,0 +1,12 @@ +# SetOtaStatusResponseOneOf + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**message** | **string** | Message indicating the result of the operation for example when no config change is needed | [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/SetRoutingPolicyRequest.md b/docs/models/SetRoutingPolicyRequest.md index 45b30d8..a2c5c88 100644 --- a/docs/models/SetRoutingPolicyRequest.md +++ b/docs/models/SetRoutingPolicyRequest.md @@ -4,7 +4,7 @@ |Name | Type | Description | Notes| |------------ | ------------- | ------------- | -------------| -|**routingPolicy** | [**NetworkConnectionRoutingPolicy**](NetworkConnectionRoutingPolicy.md) | | [default to undefined]| +|**routingPolicy** | [**{ [key: string]: NetworkConnectionRoutingPolicyValue; }**](NetworkConnectionRoutingPolicyValue.md) | | [default to undefined]| diff --git a/docs/models/TransferConfigOperation.md b/docs/models/TransferConfigOperation.md new file mode 100644 index 0000000..a134229 --- /dev/null +++ b/docs/models/TransferConfigOperation.md @@ -0,0 +1,16 @@ +# TransferConfigOperation + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**operationId** | **string** | | [default to undefined]| +|**type** | [**TransferOperationType**](TransferOperationType.md) | | [default to undefined]| +|**params** | [**TransferOperationConfigParams**](TransferOperationConfigParams.md) | | [default to undefined]| +|**status** | [**ConfigOperationStatus**](ConfigOperationStatus.md) | | [default to undefined]| +|**validationFailure** | [**TransferValidationFailure**](TransferValidationFailure.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/TransferOperationConfigParams.md b/docs/models/TransferOperationConfigParams.md new file mode 100644 index 0000000..537f9ff --- /dev/null +++ b/docs/models/TransferOperationConfigParams.md @@ -0,0 +1,15 @@ +# TransferOperationConfigParams + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**destination** | [**Destination**](Destination.md) | | [default to undefined]| +|**amount** | **string** | | [optional] [default to undefined]| +|**assetId** | **string** | | [optional] [default to undefined]| +|**source** | [**Account**](Account.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/TransferOperationExecution.md b/docs/models/TransferOperationExecution.md new file mode 100644 index 0000000..72eb7d4 --- /dev/null +++ b/docs/models/TransferOperationExecution.md @@ -0,0 +1,17 @@ +# TransferOperationExecution + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**input** | [**TransferOperationConfigParams**](TransferOperationConfigParams.md) | | [default to undefined]| +|**startedAt** | **number** | | [default to undefined]| +|**output** | [**TransferOperationExecutionOutput**](TransferOperationExecutionOutput.md) | | [optional] [default to undefined]| +|**txId** | **string** | | [optional] [default to undefined]| +|**finishedAt** | **number** | | [optional] [default to undefined]| +|**failure** | [**TransferOperationFailure**](TransferOperationFailure.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/TransferOperationExecutionOutput.md b/docs/models/TransferOperationExecutionOutput.md new file mode 100644 index 0000000..09a5428 --- /dev/null +++ b/docs/models/TransferOperationExecutionOutput.md @@ -0,0 +1,13 @@ +# TransferOperationExecutionOutput + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**amount** | [**AssetAmount**](AssetAmount.md) | | [default to undefined]| +|**fee** | [**AssetAmount**](AssetAmount.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/TransferOperationExecutionParams.md b/docs/models/TransferOperationExecutionParams.md new file mode 100644 index 0000000..a796fb8 --- /dev/null +++ b/docs/models/TransferOperationExecutionParams.md @@ -0,0 +1,13 @@ +# TransferOperationExecutionParams + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**configOperationId** | **string** | | [default to undefined]| +|**executionParams** | [**TransferOperationExecutionParamsExecutionParams**](TransferOperationExecutionParamsExecutionParams.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/TransferOperationExecutionParamsExecutionParams.md b/docs/models/TransferOperationExecutionParamsExecutionParams.md new file mode 100644 index 0000000..c694f5e --- /dev/null +++ b/docs/models/TransferOperationExecutionParamsExecutionParams.md @@ -0,0 +1,15 @@ +# TransferOperationExecutionParamsExecutionParams + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**amount** | **string** | | [optional] [default to undefined]| +|**assetId** | **string** | | [optional] [default to undefined]| +|**source** | [**Account**](Account.md) | | [optional] [default to undefined]| +|**destination** | [**Destination**](Destination.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/TransferOperationFailure.md b/docs/models/TransferOperationFailure.md new file mode 100644 index 0000000..1592d3c --- /dev/null +++ b/docs/models/TransferOperationFailure.md @@ -0,0 +1,24 @@ +# TransferOperationFailure + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**reason** | **string** | | [default to undefined]| +|**data** | [**TransferOperationFailureData**](TransferOperationFailureData.md) | | [optional] [default to undefined]| + + +## Enum: TransferOperationFailureReasonEnum + + +* `InvalidAmount` (value: `'INVALID_AMOUNT'`) + +* `SubmissionFailed` (value: `'SUBMISSION_FAILED'`) + +* `TransactionFailed` (value: `'TRANSACTION_FAILED'`) + + + + + +[[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/TransferOperationFailureData.md b/docs/models/TransferOperationFailureData.md new file mode 100644 index 0000000..fd97fae --- /dev/null +++ b/docs/models/TransferOperationFailureData.md @@ -0,0 +1,14 @@ +# TransferOperationFailureData + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**txId** | **string** | | [default to undefined]| +|**txStatus** | **string** | | [default to undefined]| +|**txSubStatus** | **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/TransferOperationPreview.md b/docs/models/TransferOperationPreview.md new file mode 100644 index 0000000..c470162 --- /dev/null +++ b/docs/models/TransferOperationPreview.md @@ -0,0 +1,14 @@ +# TransferOperationPreview + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**input** | [**TransferOperationConfigParams**](TransferOperationConfigParams.md) | | [default to undefined]| +|**output** | [**TransferOperationPreviewOutput**](TransferOperationPreviewOutput.md) | | [optional] [default to undefined]| +|**failure** | [**TransferOperationFailure**](TransferOperationFailure.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/TransferOperationPreviewOutput.md b/docs/models/TransferOperationPreviewOutput.md new file mode 100644 index 0000000..49567b0 --- /dev/null +++ b/docs/models/TransferOperationPreviewOutput.md @@ -0,0 +1,15 @@ +# TransferOperationPreviewOutput + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**amount** | [**AssetAmount**](AssetAmount.md) | | [default to undefined]| +|**fee** | [**AssetAmount**](AssetAmount.md) | | [default to undefined]| +|**isSignRequired** | **boolean** | | [default to undefined]| +|**timeSeconds** | **number** | | [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/TransferOperationType.md b/docs/models/TransferOperationType.md new file mode 100644 index 0000000..59d7db5 --- /dev/null +++ b/docs/models/TransferOperationType.md @@ -0,0 +1,10 @@ +# TransferOperationType + +## Enum + + +* `Transfer` (value: `'TRANSFER'`) + + + +[[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/TransferValidationFailure.md b/docs/models/TransferValidationFailure.md new file mode 100644 index 0000000..6528e7a --- /dev/null +++ b/docs/models/TransferValidationFailure.md @@ -0,0 +1,44 @@ +# TransferValidationFailure + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**reason** | **string** | | [default to undefined]| +|**data** | **{ [key: string]: any; }** | | [optional] [default to undefined]| + + +## Enum: TransferValidationFailureReasonEnum + + +* `AccountNotFound` (value: `'ACCOUNT_NOT_FOUND'`) + +* `AccountTypeNotSupported` (value: `'ACCOUNT_TYPE_NOT_SUPPORTED'`) + +* `InsufficientBalance` (value: `'INSUFFICIENT_BALANCE'`) + +* `AssetNotFound` (value: `'ASSET_NOT_FOUND'`) + +* `AssetsContinuityMismatch` (value: `'ASSETS_CONTINUITY_MISMATCH'`) + +* `ExchangeBasketsMismatch` (value: `'EXCHANGE_BASKETS_MISMATCH'`) + +* `AccountsContinuityMismatch` (value: `'ACCOUNTS_CONTINUITY_MISMATCH'`) + +* `OneTimeAddressContinuityNotAllowed` (value: `'ONE_TIME_ADDRESS_CONTINUITY_NOT_ALLOWED'`) + +* `EqualAccountsNotAllowed` (value: `'EQUAL_ACCOUNTS_NOT_ALLOWED'`) + +* `EqualAssetsNotAllowed` (value: `'EQUAL_ASSETS_NOT_ALLOWED'`) + +* `InvalidAmount` (value: `'INVALID_AMOUNT'`) + +* `UnmanagedWalletAsSourceNotAllowed` (value: `'UNMANAGED_WALLET_AS_SOURCE_NOT_ALLOWED'`) + +* `ManagedOperationParamsInvalidSchema` (value: `'MANAGED_OPERATION_PARAMS_INVALID_SCHEMA'`) + + + + + +[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) diff --git a/docs/models/UserRole.md b/docs/models/UserRole.md new file mode 100644 index 0000000..8371bad --- /dev/null +++ b/docs/models/UserRole.md @@ -0,0 +1,30 @@ +# UserRole + +## Enum + + +* `Owner` (value: `'OWNER'`) + +* `Admin` (value: `'ADMIN'`) + +* `Signer` (value: `'SIGNER'`) + +* `CollateralsSigner` (value: `'COLLATERALS_SIGNER'`) + +* `Editor` (value: `'EDITOR'`) + +* `Approver` (value: `'APPROVER'`) + +* `Viewer` (value: `'VIEWER'`) + +* `NonSigningAdmin` (value: `'NON_SIGNING_ADMIN'`) + +* `Auditor` (value: `'AUDITOR'`) + +* `NcwAdmin` (value: `'NCW_ADMIN'`) + +* `NcwSigner` (value: `'NCW_SIGNER'`) + + + +[[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/UserStatus.md b/docs/models/UserStatus.md new file mode 100644 index 0000000..051064a --- /dev/null +++ b/docs/models/UserStatus.md @@ -0,0 +1,16 @@ +# UserStatus + +## Enum + + +* `PendingActivation` (value: `'PENDING_ACTIVATION'`) + +* `PendingDevicePairing` (value: `'PENDING_DEVICE_PAIRING'`) + +* `PendingDeviceSetup` (value: `'PENDING_DEVICE_SETUP'`) + +* `Ready` (value: `'READY'`) + + + +[[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/UserType.md b/docs/models/UserType.md new file mode 100644 index 0000000..7a64c13 --- /dev/null +++ b/docs/models/UserType.md @@ -0,0 +1,12 @@ +# UserType + +## Enum + + +* `Api` (value: `'API'`) + +* `Console` (value: `'CONSOLE'`) + + + +[[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/WorkflowConfigStatus.md b/docs/models/WorkflowConfigStatus.md new file mode 100644 index 0000000..3be52a4 --- /dev/null +++ b/docs/models/WorkflowConfigStatus.md @@ -0,0 +1,16 @@ +# WorkflowConfigStatus + +## Enum + + +* `Pending` (value: `'PENDING'`) + +* `ValidationInProgress` (value: `'VALIDATION_IN_PROGRESS'`) + +* `ValidationFailed` (value: `'VALIDATION_FAILED'`) + +* `ReadyForExecution` (value: `'READY_FOR_EXECUTION'`) + + + +[[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/WorkflowConfigurationId.md b/docs/models/WorkflowConfigurationId.md new file mode 100644 index 0000000..eee266a --- /dev/null +++ b/docs/models/WorkflowConfigurationId.md @@ -0,0 +1,12 @@ +# WorkflowConfigurationId + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**configId** | **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/WorkflowExecutionOperation.md b/docs/models/WorkflowExecutionOperation.md new file mode 100644 index 0000000..a5cd208 --- /dev/null +++ b/docs/models/WorkflowExecutionOperation.md @@ -0,0 +1,17 @@ +# WorkflowExecutionOperation + +## Properties + +|Name | Type | Description | Notes| +|------------ | ------------- | ------------- | -------------| +|**operationId** | **string** | | [default to undefined]| +|**status** | [**ExecutionOperationStatus**](ExecutionOperationStatus.md) | | [default to undefined]| +|**operationType** | [**DisbursementOperationType**](DisbursementOperationType.md) | | [default to undefined]| +|**validationFailure** | [**DisbursementValidationFailure**](DisbursementValidationFailure.md) | | [optional] [default to undefined]| +|**execution** | [**DisbursementOperationExecution**](DisbursementOperationExecution.md) | | [optional] [default to undefined]| +|**preview** | [**DisbursementOperationPreview**](DisbursementOperationPreview.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/models/account-type.ts b/models/account-type.ts new file mode 100644 index 0000000..054aead --- /dev/null +++ b/models/account-type.ts @@ -0,0 +1,34 @@ +/* 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 AccountType = { + ExchangeAccount: 'EXCHANGE_ACCOUNT', + UnmanagedWallet: 'UNMANAGED_WALLET', + VaultAccount: 'VAULT_ACCOUNT', + NetworkConnection: 'NETWORK_CONNECTION', + FiatAccount: 'FIAT_ACCOUNT' +} as const; + +export type AccountType = typeof AccountType[keyof typeof AccountType]; + + + diff --git a/models/network-id-routing-policy-crypto.ts b/models/account.ts similarity index 60% rename from models/network-id-routing-policy-crypto.ts rename to models/account.ts index 6f22aea..a2e49d2 100644 --- a/models/network-id-routing-policy-crypto.ts +++ b/models/account.ts @@ -15,15 +15,27 @@ // May contain unused imports in some cases // @ts-ignore -import { CustomCryptoRoutingDest } from './custom-crypto-routing-dest'; -// May contain unused imports in some cases -// @ts-ignore -import { NoneNetworkRoutingDest } from './none-network-routing-dest'; +import { AccountType } from './account-type'; /** - * @type NetworkIdRoutingPolicyCrypto + * * @export + * @interface Account */ -export type NetworkIdRoutingPolicyCrypto = CustomCryptoRoutingDest | NoneNetworkRoutingDest; +export interface Account { + /** + * + * @type {string} + * @memberof Account + */ + 'accountId': string; + /** + * + * @type {AccountType} + * @memberof Account + */ + 'accountType': AccountType; +} + diff --git a/models/apiuser.ts b/models/apiuser.ts new file mode 100644 index 0000000..5f7b2eb --- /dev/null +++ b/models/apiuser.ts @@ -0,0 +1,71 @@ +/* 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 { UserRole } from './user-role'; +// May contain unused imports in some cases +// @ts-ignore +import { UserStatus } from './user-status'; +// May contain unused imports in some cases +// @ts-ignore +import { UserType } from './user-type'; + +/** + * + * @export + * @interface APIUser + */ +export interface APIUser { + /** + * The unique identifier of the user + * @type {string} + * @memberof APIUser + */ + 'id'?: string; + /** + * The name of the user + * @type {string} + * @memberof APIUser + */ + 'name'?: string; + /** + * + * @type {UserRole} + * @memberof APIUser + */ + 'role'?: UserRole; + /** + * Whether the user is enabled + * @type {boolean} + * @memberof APIUser + */ + 'enabled'?: boolean; + /** + * + * @type {UserStatus} + * @memberof APIUser + */ + 'status'?: UserStatus; + /** + * + * @type {UserType} + * @memberof APIUser + */ + 'userType'?: UserType; +} + + + diff --git a/models/asset-amount.ts b/models/asset-amount.ts new file mode 100644 index 0000000..18493ac --- /dev/null +++ b/models/asset-amount.ts @@ -0,0 +1,36 @@ +/* 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 AssetAmount + */ +export interface AssetAmount { + /** + * + * @type {string} + * @memberof AssetAmount + */ + 'amount': string; + /** + * + * @type {string} + * @memberof AssetAmount + */ + 'assetId': string; +} + diff --git a/models/asset-bad-request-error-response.ts b/models/asset-bad-request-error-response.ts new file mode 100644 index 0000000..dd0b22b --- /dev/null +++ b/models/asset-bad-request-error-response.ts @@ -0,0 +1,36 @@ +/* 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 AssetBadRequestErrorResponse + */ +export interface AssetBadRequestErrorResponse { + /** + * Bad request error code + * @type {string} + * @memberof AssetBadRequestErrorResponse + */ + 'message': string; + /** + * Error code + * @type {string} + * @memberof AssetBadRequestErrorResponse + */ + 'code': string; +} + diff --git a/models/asset-conflict-error-response.ts b/models/asset-conflict-error-response.ts new file mode 100644 index 0000000..c0b287a --- /dev/null +++ b/models/asset-conflict-error-response.ts @@ -0,0 +1,36 @@ +/* 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 AssetConflictErrorResponse + */ +export interface AssetConflictErrorResponse { + /** + * Conflict error code + * @type {string} + * @memberof AssetConflictErrorResponse + */ + 'message': string; + /** + * Error code + * @type {string} + * @memberof AssetConflictErrorResponse + */ + 'code': string; +} + diff --git a/models/asset-internal-server-error-response.ts b/models/asset-internal-server-error-response.ts new file mode 100644 index 0000000..4b0ef60 --- /dev/null +++ b/models/asset-internal-server-error-response.ts @@ -0,0 +1,36 @@ +/* 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 AssetInternalServerErrorResponse + */ +export interface AssetInternalServerErrorResponse { + /** + * Internal server error code + * @type {string} + * @memberof AssetInternalServerErrorResponse + */ + 'message': string; + /** + * Error code + * @type {string} + * @memberof AssetInternalServerErrorResponse + */ + 'code': string; +} + diff --git a/models/asset-not-found-error-response.ts b/models/asset-not-found-error-response.ts new file mode 100644 index 0000000..32b3091 --- /dev/null +++ b/models/asset-not-found-error-response.ts @@ -0,0 +1,36 @@ +/* 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 AssetNotFoundErrorResponse + */ +export interface AssetNotFoundErrorResponse { + /** + * Not found error code + * @type {string} + * @memberof AssetNotFoundErrorResponse + */ + 'message': string; + /** + * Error code + * @type {string} + * @memberof AssetNotFoundErrorResponse + */ + 'code': string; +} + diff --git a/models/asset-response-metadata.ts b/models/asset-response-metadata.ts new file mode 100644 index 0000000..4d8204b --- /dev/null +++ b/models/asset-response-metadata.ts @@ -0,0 +1,44 @@ +/* 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 AssetResponseMetadata + */ +export interface AssetResponseMetadata { + /** + * The scope of the asset + * @type {string} + * @memberof AssetResponseMetadata + */ + 'scope': AssetResponseMetadataScopeEnum; + /** + * Is asset deprecated + * @type {boolean} + * @memberof AssetResponseMetadata + */ + 'deprecated': boolean; +} + +export const AssetResponseMetadataScopeEnum = { + Global: 'Global', + Local: 'Local' +} as const; + +export type AssetResponseMetadataScopeEnum = typeof AssetResponseMetadataScopeEnum[keyof typeof AssetResponseMetadataScopeEnum]; + + diff --git a/models/asset-response-onchain.ts b/models/asset-response-onchain.ts new file mode 100644 index 0000000..df423e5 --- /dev/null +++ b/models/asset-response-onchain.ts @@ -0,0 +1,54 @@ +/* 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 AssetResponseOnchain + */ +export interface AssetResponseOnchain { + /** + * The asset symbol + * @type {string} + * @memberof AssetResponseOnchain + */ + 'symbol': string; + /** + * The asset name + * @type {string} + * @memberof AssetResponseOnchain + */ + 'name': string; + /** + * Number of decimals + * @type {number} + * @memberof AssetResponseOnchain + */ + 'decimals': number; + /** + * The asset standard + * @type {string} + * @memberof AssetResponseOnchain + */ + 'standard': string; + /** + * The asset address + * @type {string} + * @memberof AssetResponseOnchain + */ + 'address'?: string; +} + diff --git a/models/asset-response.ts b/models/asset-response.ts new file mode 100644 index 0000000..8166887 --- /dev/null +++ b/models/asset-response.ts @@ -0,0 +1,64 @@ +/* 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 { AssetResponseMetadata } from './asset-response-metadata'; +// May contain unused imports in some cases +// @ts-ignore +import { AssetResponseOnchain } from './asset-response-onchain'; + +/** + * + * @export + * @interface AssetResponse + */ +export interface AssetResponse { + /** + * + * @type {string} + * @memberof AssetResponse + */ + 'legacyId': string; + /** + * + * @type {string} + * @memberof AssetResponse + */ + 'assetClass': AssetResponseAssetClassEnum; + /** + * + * @type {AssetResponseOnchain} + * @memberof AssetResponse + */ + 'onchain': AssetResponseOnchain; + /** + * + * @type {AssetResponseMetadata} + * @memberof AssetResponse + */ + 'metadata': AssetResponseMetadata; +} + +export const AssetResponseAssetClassEnum = { + Native: 'NATIVE', + Ft: 'FT', + Nft: 'NFT', + Sft: 'SFT' +} as const; + +export type AssetResponseAssetClassEnum = typeof AssetResponseAssetClassEnum[keyof typeof AssetResponseAssetClassEnum]; + + diff --git a/models/audit-log-data.ts b/models/audit-log-data.ts new file mode 100644 index 0000000..c1089b5 --- /dev/null +++ b/models/audit-log-data.ts @@ -0,0 +1,72 @@ +/* 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 AuditLogData + */ +export interface AuditLogData { + /** + * The unique identifier of the audit log + * @type {string} + * @memberof AuditLogData + */ + 'id'?: string; + /** + * The timestamp of the audit log + * @type {string} + * @memberof AuditLogData + */ + 'timestamp'?: string; + /** + * The timestamp of the audit log creation + * @type {string} + * @memberof AuditLogData + */ + 'createdAt'?: string; + /** + * The user who performed the action + * @type {string} + * @memberof AuditLogData + */ + 'user'?: string; + /** + * The subject of the action + * @type {string} + * @memberof AuditLogData + */ + 'subject'?: string; + /** + * The event that was performed + * @type {string} + * @memberof AuditLogData + */ + 'event'?: string; + /** + * The tenant ID of the audit log + * @type {string} + * @memberof AuditLogData + */ + 'tenantId'?: string; + /** + * The user ID of the audit log + * @type {string} + * @memberof AuditLogData + */ + 'userId'?: string; +} + diff --git a/models/config-conversion-operation-snapshot.ts b/models/config-conversion-operation-snapshot.ts new file mode 100644 index 0000000..b793800 --- /dev/null +++ b/models/config-conversion-operation-snapshot.ts @@ -0,0 +1,50 @@ +/* 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 { ConversionOperationConfigParams } from './conversion-operation-config-params'; +// May contain unused imports in some cases +// @ts-ignore +import { ConversionOperationType } from './conversion-operation-type'; + +/** + * + * @export + * @interface ConfigConversionOperationSnapshot + */ +export interface ConfigConversionOperationSnapshot { + /** + * + * @type {string} + * @memberof ConfigConversionOperationSnapshot + */ + 'operationId': string; + /** + * + * @type {ConversionOperationType} + * @memberof ConfigConversionOperationSnapshot + */ + 'type': ConversionOperationType; + /** + * + * @type {ConversionOperationConfigParams} + * @memberof ConfigConversionOperationSnapshot + */ + 'params': ConversionOperationConfigParams; +} + + + diff --git a/models/config-disbursement-operation-snapshot.ts b/models/config-disbursement-operation-snapshot.ts new file mode 100644 index 0000000..5646a4e --- /dev/null +++ b/models/config-disbursement-operation-snapshot.ts @@ -0,0 +1,50 @@ +/* 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 { DisbursementOperationConfigParams } from './disbursement-operation-config-params'; +// May contain unused imports in some cases +// @ts-ignore +import { DisbursementOperationType } from './disbursement-operation-type'; + +/** + * + * @export + * @interface ConfigDisbursementOperationSnapshot + */ +export interface ConfigDisbursementOperationSnapshot { + /** + * + * @type {string} + * @memberof ConfigDisbursementOperationSnapshot + */ + 'operationId': string; + /** + * + * @type {DisbursementOperationType} + * @memberof ConfigDisbursementOperationSnapshot + */ + 'type': DisbursementOperationType; + /** + * + * @type {DisbursementOperationConfigParams} + * @memberof ConfigDisbursementOperationSnapshot + */ + 'params': DisbursementOperationConfigParams; +} + + + diff --git a/models/config-operation-snapshot.ts b/models/config-operation-snapshot.ts new file mode 100644 index 0000000..7ad4470 --- /dev/null +++ b/models/config-operation-snapshot.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. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { ConfigConversionOperationSnapshot } from './config-conversion-operation-snapshot'; +// May contain unused imports in some cases +// @ts-ignore +import { ConfigDisbursementOperationSnapshot } from './config-disbursement-operation-snapshot'; +// May contain unused imports in some cases +// @ts-ignore +import { ConfigTransferOperationSnapshot } from './config-transfer-operation-snapshot'; +// May contain unused imports in some cases +// @ts-ignore +import { DisbursementOperationConfigParams } from './disbursement-operation-config-params'; +// May contain unused imports in some cases +// @ts-ignore +import { DisbursementOperationType } from './disbursement-operation-type'; + +/** + * @type ConfigOperationSnapshot + * @export + */ +export type ConfigOperationSnapshot = ConfigConversionOperationSnapshot | ConfigDisbursementOperationSnapshot | ConfigTransferOperationSnapshot; + + diff --git a/models/config-operation-status.ts b/models/config-operation-status.ts new file mode 100644 index 0000000..d8b54c6 --- /dev/null +++ b/models/config-operation-status.ts @@ -0,0 +1,33 @@ +/* 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 ConfigOperationStatus = { + Pending: 'PENDING', + ValidationInProgress: 'VALIDATION_IN_PROGRESS', + ReadyForExecution: 'READY_FOR_EXECUTION', + ValidationFailed: 'VALIDATION_FAILED' +} as const; + +export type ConfigOperationStatus = typeof ConfigOperationStatus[keyof typeof ConfigOperationStatus]; + + + diff --git a/models/config-operation.ts b/models/config-operation.ts new file mode 100644 index 0000000..5f0a0c4 --- /dev/null +++ b/models/config-operation.ts @@ -0,0 +1,44 @@ +/* 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 { ConfigOperationStatus } from './config-operation-status'; +// May contain unused imports in some cases +// @ts-ignore +import { ConversionConfigOperation } from './conversion-config-operation'; +// May contain unused imports in some cases +// @ts-ignore +import { DisbursementConfigOperation } from './disbursement-config-operation'; +// May contain unused imports in some cases +// @ts-ignore +import { DisbursementOperationConfigParams } from './disbursement-operation-config-params'; +// May contain unused imports in some cases +// @ts-ignore +import { DisbursementOperationType } from './disbursement-operation-type'; +// May contain unused imports in some cases +// @ts-ignore +import { DisbursementValidationFailure } from './disbursement-validation-failure'; +// May contain unused imports in some cases +// @ts-ignore +import { TransferConfigOperation } from './transfer-config-operation'; + +/** + * @type ConfigOperation + * @export + */ +export type ConfigOperation = ConversionConfigOperation | DisbursementConfigOperation | TransferConfigOperation; + + diff --git a/models/config-transfer-operation-snapshot.ts b/models/config-transfer-operation-snapshot.ts new file mode 100644 index 0000000..1293df4 --- /dev/null +++ b/models/config-transfer-operation-snapshot.ts @@ -0,0 +1,50 @@ +/* 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 { TransferOperationConfigParams } from './transfer-operation-config-params'; +// May contain unused imports in some cases +// @ts-ignore +import { TransferOperationType } from './transfer-operation-type'; + +/** + * + * @export + * @interface ConfigTransferOperationSnapshot + */ +export interface ConfigTransferOperationSnapshot { + /** + * + * @type {string} + * @memberof ConfigTransferOperationSnapshot + */ + 'operationId': string; + /** + * + * @type {TransferOperationType} + * @memberof ConfigTransferOperationSnapshot + */ + 'type': TransferOperationType; + /** + * + * @type {TransferOperationConfigParams} + * @memberof ConfigTransferOperationSnapshot + */ + 'params': TransferOperationConfigParams; +} + + + diff --git a/models/console-user.ts b/models/console-user.ts new file mode 100644 index 0000000..2fd5fcd --- /dev/null +++ b/models/console-user.ts @@ -0,0 +1,83 @@ +/* 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 { UserRole } from './user-role'; +// May contain unused imports in some cases +// @ts-ignore +import { UserStatus } from './user-status'; +// May contain unused imports in some cases +// @ts-ignore +import { UserType } from './user-type'; + +/** + * + * @export + * @interface ConsoleUser + */ +export interface ConsoleUser { + /** + * The unique identifier of the user + * @type {string} + * @memberof ConsoleUser + */ + 'id'?: string; + /** + * The first name of the user + * @type {string} + * @memberof ConsoleUser + */ + 'firstName'?: string; + /** + * The last name of the user + * @type {string} + * @memberof ConsoleUser + */ + 'lastName'?: string; + /** + * The email address of the user + * @type {string} + * @memberof ConsoleUser + */ + 'email'?: string; + /** + * + * @type {UserRole} + * @memberof ConsoleUser + */ + 'role'?: UserRole; + /** + * Whether the user is enabled + * @type {boolean} + * @memberof ConsoleUser + */ + 'enabled'?: boolean; + /** + * + * @type {UserStatus} + * @memberof ConsoleUser + */ + 'status'?: UserStatus; + /** + * + * @type {UserType} + * @memberof ConsoleUser + */ + 'userType'?: UserType; +} + + + diff --git a/models/conversion-config-operation.ts b/models/conversion-config-operation.ts new file mode 100644 index 0000000..7f497f0 --- /dev/null +++ b/models/conversion-config-operation.ts @@ -0,0 +1,68 @@ +/* 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 { ConfigOperationStatus } from './config-operation-status'; +// May contain unused imports in some cases +// @ts-ignore +import { ConversionOperationConfigParams } from './conversion-operation-config-params'; +// May contain unused imports in some cases +// @ts-ignore +import { ConversionOperationType } from './conversion-operation-type'; +// May contain unused imports in some cases +// @ts-ignore +import { ConversionValidationFailure } from './conversion-validation-failure'; + +/** + * + * @export + * @interface ConversionConfigOperation + */ +export interface ConversionConfigOperation { + /** + * + * @type {string} + * @memberof ConversionConfigOperation + */ + 'operationId': string; + /** + * + * @type {ConversionOperationType} + * @memberof ConversionConfigOperation + */ + 'type': ConversionOperationType; + /** + * + * @type {ConversionOperationConfigParams} + * @memberof ConversionConfigOperation + */ + 'params': ConversionOperationConfigParams; + /** + * + * @type {ConfigOperationStatus} + * @memberof ConversionConfigOperation + */ + 'status': ConfigOperationStatus; + /** + * + * @type {ConversionValidationFailure} + * @memberof ConversionConfigOperation + */ + 'validationFailure'?: ConversionValidationFailure; +} + + + diff --git a/models/conversion-operation-config-params.ts b/models/conversion-operation-config-params.ts new file mode 100644 index 0000000..5563397 --- /dev/null +++ b/models/conversion-operation-config-params.ts @@ -0,0 +1,54 @@ +/* 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 ConversionOperationConfigParams + */ +export interface ConversionOperationConfigParams { + /** + * + * @type {string} + * @memberof ConversionOperationConfigParams + */ + 'destAssetId': string; + /** + * + * @type {string} + * @memberof ConversionOperationConfigParams + */ + 'amount'?: string; + /** + * + * @type {string} + * @memberof ConversionOperationConfigParams + */ + 'accountId'?: string; + /** + * + * @type {string} + * @memberof ConversionOperationConfigParams + */ + 'srcAssetId'?: string; + /** + * + * @type {number} + * @memberof ConversionOperationConfigParams + */ + 'slippageBasisPoints'?: number; +} + diff --git a/models/conversion-operation-execution-output.ts b/models/conversion-operation-execution-output.ts new file mode 100644 index 0000000..43ec767 --- /dev/null +++ b/models/conversion-operation-execution-output.ts @@ -0,0 +1,45 @@ +/* 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 { AssetAmount } from './asset-amount'; + +/** + * + * @export + * @interface ConversionOperationExecutionOutput + */ +export interface ConversionOperationExecutionOutput { + /** + * + * @type {AssetAmount} + * @memberof ConversionOperationExecutionOutput + */ + 'amount': AssetAmount; + /** + * + * @type {AssetAmount} + * @memberof ConversionOperationExecutionOutput + */ + 'fee': AssetAmount; + /** + * + * @type {string} + * @memberof ConversionOperationExecutionOutput + */ + 'conversionRate': string; +} + diff --git a/models/conversion-operation-execution-params-execution-params.ts b/models/conversion-operation-execution-params-execution-params.ts new file mode 100644 index 0000000..48beb50 --- /dev/null +++ b/models/conversion-operation-execution-params-execution-params.ts @@ -0,0 +1,54 @@ +/* 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 ConversionOperationExecutionParamsExecutionParams + */ +export interface ConversionOperationExecutionParamsExecutionParams { + /** + * + * @type {string} + * @memberof ConversionOperationExecutionParamsExecutionParams + */ + 'amount'?: string; + /** + * + * @type {string} + * @memberof ConversionOperationExecutionParamsExecutionParams + */ + 'accountId'?: string; + /** + * + * @type {string} + * @memberof ConversionOperationExecutionParamsExecutionParams + */ + 'srcAssetId'?: string; + /** + * + * @type {string} + * @memberof ConversionOperationExecutionParamsExecutionParams + */ + 'destAssetId'?: string; + /** + * + * @type {number} + * @memberof ConversionOperationExecutionParamsExecutionParams + */ + 'slippageBasisPoints'?: number; +} + diff --git a/models/conversion-operation-execution-params.ts b/models/conversion-operation-execution-params.ts new file mode 100644 index 0000000..eaf43c1 --- /dev/null +++ b/models/conversion-operation-execution-params.ts @@ -0,0 +1,39 @@ +/* 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 { ConversionOperationExecutionParamsExecutionParams } from './conversion-operation-execution-params-execution-params'; + +/** + * + * @export + * @interface ConversionOperationExecutionParams + */ +export interface ConversionOperationExecutionParams { + /** + * + * @type {string} + * @memberof ConversionOperationExecutionParams + */ + 'configOperationId': string; + /** + * + * @type {ConversionOperationExecutionParamsExecutionParams} + * @memberof ConversionOperationExecutionParams + */ + 'executionParams'?: ConversionOperationExecutionParamsExecutionParams; +} + diff --git a/models/conversion-operation-execution.ts b/models/conversion-operation-execution.ts new file mode 100644 index 0000000..946a3ba --- /dev/null +++ b/models/conversion-operation-execution.ts @@ -0,0 +1,63 @@ +/* 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 { ConversionOperationConfigParams } from './conversion-operation-config-params'; +// May contain unused imports in some cases +// @ts-ignore +import { ConversionOperationExecutionOutput } from './conversion-operation-execution-output'; +// May contain unused imports in some cases +// @ts-ignore +import { ConversionOperationFailure } from './conversion-operation-failure'; + +/** + * + * @export + * @interface ConversionOperationExecution + */ +export interface ConversionOperationExecution { + /** + * + * @type {ConversionOperationConfigParams} + * @memberof ConversionOperationExecution + */ + 'input': ConversionOperationConfigParams; + /** + * + * @type {number} + * @memberof ConversionOperationExecution + */ + 'startedAt': number; + /** + * + * @type {ConversionOperationExecutionOutput} + * @memberof ConversionOperationExecution + */ + 'output'?: ConversionOperationExecutionOutput; + /** + * + * @type {number} + * @memberof ConversionOperationExecution + */ + 'finishedAt'?: number; + /** + * + * @type {ConversionOperationFailure} + * @memberof ConversionOperationExecution + */ + 'failure'?: ConversionOperationFailure; +} + diff --git a/models/conversion-operation-failure.ts b/models/conversion-operation-failure.ts new file mode 100644 index 0000000..897c0d5 --- /dev/null +++ b/models/conversion-operation-failure.ts @@ -0,0 +1,46 @@ +/* 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 ConversionOperationFailure + */ +export interface ConversionOperationFailure { + /** + * + * @type {string} + * @memberof ConversionOperationFailure + */ + 'reason': ConversionOperationFailureReasonEnum; + /** + * + * @type {{ [key: string]: any; }} + * @memberof ConversionOperationFailure + */ + 'data'?: { [key: string]: any; }; +} + +export const ConversionOperationFailureReasonEnum = { + InvalidAmount: 'INVALID_AMOUNT', + SlippageExceeded: 'SLIPPAGE_EXCEEDED', + AmountTooSmall: 'AMOUNT_TOO_SMALL', + InsufficientFunds: 'INSUFFICIENT_FUNDS' +} as const; + +export type ConversionOperationFailureReasonEnum = typeof ConversionOperationFailureReasonEnum[keyof typeof ConversionOperationFailureReasonEnum]; + + diff --git a/models/conversion-operation-preview-output.ts b/models/conversion-operation-preview-output.ts new file mode 100644 index 0000000..1db6ff0 --- /dev/null +++ b/models/conversion-operation-preview-output.ts @@ -0,0 +1,51 @@ +/* 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 { AssetAmount } from './asset-amount'; + +/** + * + * @export + * @interface ConversionOperationPreviewOutput + */ +export interface ConversionOperationPreviewOutput { + /** + * + * @type {AssetAmount} + * @memberof ConversionOperationPreviewOutput + */ + 'amount': AssetAmount; + /** + * + * @type {AssetAmount} + * @memberof ConversionOperationPreviewOutput + */ + 'fee': AssetAmount; + /** + * + * @type {string} + * @memberof ConversionOperationPreviewOutput + */ + 'conversionRate': string; + /** + * + * @type {number} + * @memberof ConversionOperationPreviewOutput + */ + 'timeSeconds': number; +} + diff --git a/models/conversion-operation-preview.ts b/models/conversion-operation-preview.ts new file mode 100644 index 0000000..35ad666 --- /dev/null +++ b/models/conversion-operation-preview.ts @@ -0,0 +1,51 @@ +/* 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 { ConversionOperationConfigParams } from './conversion-operation-config-params'; +// May contain unused imports in some cases +// @ts-ignore +import { ConversionOperationFailure } from './conversion-operation-failure'; +// May contain unused imports in some cases +// @ts-ignore +import { ConversionOperationPreviewOutput } from './conversion-operation-preview-output'; + +/** + * + * @export + * @interface ConversionOperationPreview + */ +export interface ConversionOperationPreview { + /** + * + * @type {ConversionOperationConfigParams} + * @memberof ConversionOperationPreview + */ + 'input': ConversionOperationConfigParams; + /** + * + * @type {ConversionOperationPreviewOutput} + * @memberof ConversionOperationPreview + */ + 'output'?: ConversionOperationPreviewOutput; + /** + * + * @type {ConversionOperationFailure} + * @memberof ConversionOperationPreview + */ + 'failure'?: ConversionOperationFailure; +} + diff --git a/models/conversion-operation-type.ts b/models/conversion-operation-type.ts new file mode 100644 index 0000000..9d3d94a --- /dev/null +++ b/models/conversion-operation-type.ts @@ -0,0 +1,30 @@ +/* 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 ConversionOperationType = { + Conversion: 'CONVERSION' +} as const; + +export type ConversionOperationType = typeof ConversionOperationType[keyof typeof ConversionOperationType]; + + + diff --git a/models/conversion-validation-failure.ts b/models/conversion-validation-failure.ts new file mode 100644 index 0000000..740a5fa --- /dev/null +++ b/models/conversion-validation-failure.ts @@ -0,0 +1,58 @@ +/* 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 ConversionValidationFailure + */ +export interface ConversionValidationFailure { + /** + * + * @type {string} + * @memberof ConversionValidationFailure + */ + 'reason': ConversionValidationFailureReasonEnum; + /** + * + * @type {{ [key: string]: any; }} + * @memberof ConversionValidationFailure + */ + 'data'?: { [key: string]: any; }; +} + +export const ConversionValidationFailureReasonEnum = { + AccountNotFound: 'ACCOUNT_NOT_FOUND', + AccountTypeNotSupported: 'ACCOUNT_TYPE_NOT_SUPPORTED', + InsufficientBalance: 'INSUFFICIENT_BALANCE', + AssetNotFound: 'ASSET_NOT_FOUND', + AssetsContinuityMismatch: 'ASSETS_CONTINUITY_MISMATCH', + ExchangeBasketsMismatch: 'EXCHANGE_BASKETS_MISMATCH', + AccountsContinuityMismatch: 'ACCOUNTS_CONTINUITY_MISMATCH', + OneTimeAddressContinuityNotAllowed: 'ONE_TIME_ADDRESS_CONTINUITY_NOT_ALLOWED', + EqualAccountsNotAllowed: 'EQUAL_ACCOUNTS_NOT_ALLOWED', + EqualAssetsNotAllowed: 'EQUAL_ASSETS_NOT_ALLOWED', + InvalidAmount: 'INVALID_AMOUNT', + UnmanagedWalletAsSourceNotAllowed: 'UNMANAGED_WALLET_AS_SOURCE_NOT_ALLOWED', + ManagedOperationParamsInvalidSchema: 'MANAGED_OPERATION_PARAMS_INVALID_SCHEMA', + AccountIsNotExchange: 'ACCOUNT_IS_NOT_EXCHANGE', + UnsupportedTradingMethod: 'UNSUPPORTED_TRADING_METHOD', + AssetsCanNotConverted: 'ASSETS_CAN_NOT_CONVERTED' +} as const; + +export type ConversionValidationFailureReasonEnum = typeof ConversionValidationFailureReasonEnum[keyof typeof ConversionValidationFailureReasonEnum]; + + diff --git a/models/convert-assets-response.ts b/models/convert-assets-response.ts new file mode 100644 index 0000000..7287e94 --- /dev/null +++ b/models/convert-assets-response.ts @@ -0,0 +1,30 @@ +/* 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 ConvertAssetsResponse + */ +export interface ConvertAssetsResponse { + /** + * Indicates whether the conversion was successful + * @type {boolean} + * @memberof ConvertAssetsResponse + */ + 'success': boolean; +} + diff --git a/models/create-config-operation-request.ts b/models/create-config-operation-request.ts new file mode 100644 index 0000000..8fedce5 --- /dev/null +++ b/models/create-config-operation-request.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. + */ + + +// May contain unused imports in some cases +// @ts-ignore +import { CreateConversionConfigOperationRequest } from './create-conversion-config-operation-request'; +// May contain unused imports in some cases +// @ts-ignore +import { CreateDisbursementConfigOperationRequest } from './create-disbursement-config-operation-request'; +// May contain unused imports in some cases +// @ts-ignore +import { CreateTransferConfigOperationRequest } from './create-transfer-config-operation-request'; +// May contain unused imports in some cases +// @ts-ignore +import { DisbursementOperationConfigParams } from './disbursement-operation-config-params'; +// May contain unused imports in some cases +// @ts-ignore +import { DisbursementOperationType } from './disbursement-operation-type'; + +/** + * @type CreateConfigOperationRequest + * @export + */ +export type CreateConfigOperationRequest = CreateConversionConfigOperationRequest | CreateDisbursementConfigOperationRequest | CreateTransferConfigOperationRequest; + + diff --git a/models/create-conversion-config-operation-request.ts b/models/create-conversion-config-operation-request.ts new file mode 100644 index 0000000..b67777e --- /dev/null +++ b/models/create-conversion-config-operation-request.ts @@ -0,0 +1,44 @@ +/* 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 { ConversionOperationConfigParams } from './conversion-operation-config-params'; +// May contain unused imports in some cases +// @ts-ignore +import { ConversionOperationType } from './conversion-operation-type'; + +/** + * + * @export + * @interface CreateConversionConfigOperationRequest + */ +export interface CreateConversionConfigOperationRequest { + /** + * + * @type {ConversionOperationType} + * @memberof CreateConversionConfigOperationRequest + */ + 'type': ConversionOperationType; + /** + * + * @type {ConversionOperationConfigParams} + * @memberof CreateConversionConfigOperationRequest + */ + 'params': ConversionOperationConfigParams; +} + + + diff --git a/models/create-disbursement-config-operation-request.ts b/models/create-disbursement-config-operation-request.ts new file mode 100644 index 0000000..6ad8ee1 --- /dev/null +++ b/models/create-disbursement-config-operation-request.ts @@ -0,0 +1,44 @@ +/* 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 { DisbursementOperationConfigParams } from './disbursement-operation-config-params'; +// May contain unused imports in some cases +// @ts-ignore +import { DisbursementOperationType } from './disbursement-operation-type'; + +/** + * + * @export + * @interface CreateDisbursementConfigOperationRequest + */ +export interface CreateDisbursementConfigOperationRequest { + /** + * + * @type {DisbursementOperationType} + * @memberof CreateDisbursementConfigOperationRequest + */ + 'type': DisbursementOperationType; + /** + * + * @type {DisbursementOperationConfigParams} + * @memberof CreateDisbursementConfigOperationRequest + */ + 'params': DisbursementOperationConfigParams; +} + + + diff --git a/models/create-network-id-request.ts b/models/create-network-id-request.ts index a42d3e7..6749b01 100644 --- a/models/create-network-id-request.ts +++ b/models/create-network-id-request.ts @@ -15,7 +15,7 @@ // May contain unused imports in some cases // @ts-ignore -import { NetworkIdRoutingPolicy } from './network-id-routing-policy'; +import { NetworkIdRoutingPolicyValue } from './network-id-routing-policy-value'; /** * @@ -31,9 +31,9 @@ export interface CreateNetworkIdRequest { 'name': string; /** * - * @type {NetworkIdRoutingPolicy} + * @type {{ [key: string]: NetworkIdRoutingPolicyValue; }} * @memberof CreateNetworkIdRequest */ - 'routingPolicy'?: NetworkIdRoutingPolicy; + 'routingPolicy'?: { [key: string]: NetworkIdRoutingPolicyValue; }; } diff --git a/models/create-transfer-config-operation-request.ts b/models/create-transfer-config-operation-request.ts new file mode 100644 index 0000000..845442b --- /dev/null +++ b/models/create-transfer-config-operation-request.ts @@ -0,0 +1,44 @@ +/* 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 { TransferOperationConfigParams } from './transfer-operation-config-params'; +// May contain unused imports in some cases +// @ts-ignore +import { TransferOperationType } from './transfer-operation-type'; + +/** + * + * @export + * @interface CreateTransferConfigOperationRequest + */ +export interface CreateTransferConfigOperationRequest { + /** + * + * @type {TransferOperationType} + * @memberof CreateTransferConfigOperationRequest + */ + 'type': TransferOperationType; + /** + * + * @type {TransferOperationConfigParams} + * @memberof CreateTransferConfigOperationRequest + */ + 'params': TransferOperationConfigParams; +} + + + diff --git a/models/create-workflow-execution-request-params-inner.ts b/models/create-workflow-execution-request-params-inner.ts new file mode 100644 index 0000000..b03e755 --- /dev/null +++ b/models/create-workflow-execution-request-params-inner.ts @@ -0,0 +1,48 @@ +/* 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 { ConversionOperationExecutionParams } from './conversion-operation-execution-params'; +// May contain unused imports in some cases +// @ts-ignore +import { DisbursementOperationExecutionParams } from './disbursement-operation-execution-params'; +// May contain unused imports in some cases +// @ts-ignore +import { DisbursementOperationExecutionParamsExecutionParams } from './disbursement-operation-execution-params-execution-params'; +// May contain unused imports in some cases +// @ts-ignore +import { TransferOperationExecutionParams } from './transfer-operation-execution-params'; + +/** + * + * @export + * @interface CreateWorkflowExecutionRequestParamsInner + */ +export interface CreateWorkflowExecutionRequestParamsInner { + /** + * + * @type {string} + * @memberof CreateWorkflowExecutionRequestParamsInner + */ + 'configOperationId': string; + /** + * + * @type {DisbursementOperationExecutionParamsExecutionParams} + * @memberof CreateWorkflowExecutionRequestParamsInner + */ + 'executionParams'?: DisbursementOperationExecutionParamsExecutionParams; +} + diff --git a/models/custom-crypto-routing-dest.ts b/models/custom-crypto-routing-dest.ts deleted file mode 100644 index 39bce5e..0000000 --- a/models/custom-crypto-routing-dest.ts +++ /dev/null @@ -1,55 +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 CustomCryptoRoutingDest - */ -export interface CustomCryptoRoutingDest { - /** - * The network routing logic. - * @type {string} - * @memberof CustomCryptoRoutingDest - */ - 'scheme': CustomCryptoRoutingDestSchemeEnum; - /** - * The type of destination account the funds are being sent to. - * @type {string} - * @memberof CustomCryptoRoutingDest - */ - 'dstType': CustomCryptoRoutingDestDstTypeEnum; - /** - * The ID of the destination account the funds are being sent to. - * @type {string} - * @memberof CustomCryptoRoutingDest - */ - 'dstId': string; -} - -export const CustomCryptoRoutingDestSchemeEnum = { - Custom: 'CUSTOM' -} as const; - -export type CustomCryptoRoutingDestSchemeEnum = typeof CustomCryptoRoutingDestSchemeEnum[keyof typeof CustomCryptoRoutingDestSchemeEnum]; -export const CustomCryptoRoutingDestDstTypeEnum = { - Vault: 'VAULT', - Exchange: 'EXCHANGE' -} as const; - -export type CustomCryptoRoutingDestDstTypeEnum = typeof CustomCryptoRoutingDestDstTypeEnum[keyof typeof CustomCryptoRoutingDestDstTypeEnum]; - - diff --git a/models/custom-fiat-routing-dest.ts b/models/custom-fiat-routing-dest.ts deleted file mode 100644 index abc6244..0000000 --- a/models/custom-fiat-routing-dest.ts +++ /dev/null @@ -1,54 +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 CustomFiatRoutingDest - */ -export interface CustomFiatRoutingDest { - /** - * The network routing logic. - * @type {string} - * @memberof CustomFiatRoutingDest - */ - 'scheme': CustomFiatRoutingDestSchemeEnum; - /** - * The fiat account the funds are being sent to. - * @type {string} - * @memberof CustomFiatRoutingDest - */ - 'dstType': CustomFiatRoutingDestDstTypeEnum; - /** - * The ID of the fiat account the funds are being sent to. - * @type {string} - * @memberof CustomFiatRoutingDest - */ - 'dstId': string; -} - -export const CustomFiatRoutingDestSchemeEnum = { - Custom: 'CUSTOM' -} as const; - -export type CustomFiatRoutingDestSchemeEnum = typeof CustomFiatRoutingDestSchemeEnum[keyof typeof CustomFiatRoutingDestSchemeEnum]; -export const CustomFiatRoutingDestDstTypeEnum = { - FiatAccount: 'FIAT_ACCOUNT' -} as const; - -export type CustomFiatRoutingDestDstTypeEnum = typeof CustomFiatRoutingDestDstTypeEnum[keyof typeof CustomFiatRoutingDestDstTypeEnum]; - - diff --git a/models/custom-routing-dest.ts b/models/custom-routing-dest.ts new file mode 100644 index 0000000..c294d70 --- /dev/null +++ b/models/custom-routing-dest.ts @@ -0,0 +1,56 @@ +/* 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 CustomRoutingDest + */ +export interface CustomRoutingDest { + /** + * The network routing logic. + * @type {string} + * @memberof CustomRoutingDest + */ + 'scheme': CustomRoutingDestSchemeEnum; + /** + * The account the funds are being sent to. + * @type {string} + * @memberof CustomRoutingDest + */ + 'dstType': CustomRoutingDestDstTypeEnum; + /** + * The ID of the account the funds are being sent to. + * @type {string} + * @memberof CustomRoutingDest + */ + 'dstId': string; +} + +export const CustomRoutingDestSchemeEnum = { + Custom: 'CUSTOM' +} as const; + +export type CustomRoutingDestSchemeEnum = typeof CustomRoutingDestSchemeEnum[keyof typeof CustomRoutingDestSchemeEnum]; +export const CustomRoutingDestDstTypeEnum = { + FiatAccount: 'FIAT_ACCOUNT', + Vault: 'VAULT', + Exchange: 'EXCHANGE' +} as const; + +export type CustomRoutingDestDstTypeEnum = typeof CustomRoutingDestDstTypeEnum[keyof typeof CustomRoutingDestDstTypeEnum]; + + diff --git a/models/deposit-funds-from-linked-ddaresponse.ts b/models/deposit-funds-from-linked-ddaresponse.ts new file mode 100644 index 0000000..e27fed4 --- /dev/null +++ b/models/deposit-funds-from-linked-ddaresponse.ts @@ -0,0 +1,30 @@ +/* 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 DepositFundsFromLinkedDDAResponse + */ +export interface DepositFundsFromLinkedDDAResponse { + /** + * Indicates whether the funds were successfully deposited from the linked DDA + * @type {boolean} + * @memberof DepositFundsFromLinkedDDAResponse + */ + 'success': boolean; +} + diff --git a/models/network-id-routing-policy-sen-test.ts b/models/destination.ts similarity index 66% rename from models/network-id-routing-policy-sen-test.ts rename to models/destination.ts index df0d7ea..ff3b9eb 100644 --- a/models/network-id-routing-policy-sen-test.ts +++ b/models/destination.ts @@ -15,15 +15,18 @@ // May contain unused imports in some cases // @ts-ignore -import { CustomFiatRoutingDest } from './custom-fiat-routing-dest'; +import { Account } from './account'; // May contain unused imports in some cases // @ts-ignore -import { NoneNetworkRoutingDest } from './none-network-routing-dest'; +import { AccountType } from './account-type'; +// May contain unused imports in some cases +// @ts-ignore +import { OneTimeAddressAccount } from './one-time-address-account'; /** - * @type NetworkIdRoutingPolicySenTest + * @type Destination * @export */ -export type NetworkIdRoutingPolicySenTest = CustomFiatRoutingDest | NoneNetworkRoutingDest; +export type Destination = Account | OneTimeAddressAccount; diff --git a/models/disbursement-amount-instruction.ts b/models/disbursement-amount-instruction.ts new file mode 100644 index 0000000..3addbcd --- /dev/null +++ b/models/disbursement-amount-instruction.ts @@ -0,0 +1,45 @@ +/* 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 { Destination } from './destination'; + +/** + * + * @export + * @interface DisbursementAmountInstruction + */ +export interface DisbursementAmountInstruction { + /** + * + * @type {Destination} + * @memberof DisbursementAmountInstruction + */ + 'payeeAccount': Destination; + /** + * + * @type {string} + * @memberof DisbursementAmountInstruction + */ + 'assetId': string; + /** + * + * @type {string} + * @memberof DisbursementAmountInstruction + */ + 'amount': string; +} + diff --git a/models/disbursement-config-operation.ts b/models/disbursement-config-operation.ts new file mode 100644 index 0000000..cb6df59 --- /dev/null +++ b/models/disbursement-config-operation.ts @@ -0,0 +1,68 @@ +/* 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 { ConfigOperationStatus } from './config-operation-status'; +// May contain unused imports in some cases +// @ts-ignore +import { DisbursementOperationConfigParams } from './disbursement-operation-config-params'; +// May contain unused imports in some cases +// @ts-ignore +import { DisbursementOperationType } from './disbursement-operation-type'; +// May contain unused imports in some cases +// @ts-ignore +import { DisbursementValidationFailure } from './disbursement-validation-failure'; + +/** + * + * @export + * @interface DisbursementConfigOperation + */ +export interface DisbursementConfigOperation { + /** + * + * @type {string} + * @memberof DisbursementConfigOperation + */ + 'operationId': string; + /** + * + * @type {DisbursementOperationType} + * @memberof DisbursementConfigOperation + */ + 'type': DisbursementOperationType; + /** + * + * @type {DisbursementOperationConfigParams} + * @memberof DisbursementConfigOperation + */ + 'params': DisbursementOperationConfigParams; + /** + * + * @type {ConfigOperationStatus} + * @memberof DisbursementConfigOperation + */ + 'status': ConfigOperationStatus; + /** + * + * @type {DisbursementValidationFailure} + * @memberof DisbursementConfigOperation + */ + 'validationFailure'?: DisbursementValidationFailure; +} + + + diff --git a/models/disbursement-instruction-output.ts b/models/disbursement-instruction-output.ts new file mode 100644 index 0000000..c888365 --- /dev/null +++ b/models/disbursement-instruction-output.ts @@ -0,0 +1,48 @@ +/* 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 { AssetAmount } from './asset-amount'; +// May contain unused imports in some cases +// @ts-ignore +import { Destination } from './destination'; + +/** + * + * @export + * @interface DisbursementInstructionOutput + */ +export interface DisbursementInstructionOutput { + /** + * + * @type {AssetAmount} + * @memberof DisbursementInstructionOutput + */ + 'amount': AssetAmount; + /** + * + * @type {AssetAmount} + * @memberof DisbursementInstructionOutput + */ + 'fee': AssetAmount; + /** + * + * @type {Destination} + * @memberof DisbursementInstructionOutput + */ + 'payeeAccount': Destination; +} + diff --git a/models/network-connection-routing-policy-signet.ts b/models/disbursement-instruction.ts similarity index 61% rename from models/network-connection-routing-policy-signet.ts rename to models/disbursement-instruction.ts index 710a2bf..06275f0 100644 --- a/models/network-connection-routing-policy-signet.ts +++ b/models/disbursement-instruction.ts @@ -15,18 +15,18 @@ // May contain unused imports in some cases // @ts-ignore -import { CustomFiatRoutingDest } from './custom-fiat-routing-dest'; +import { Destination } from './destination'; // May contain unused imports in some cases // @ts-ignore -import { DefaultNetworkRoutingDest } from './default-network-routing-dest'; +import { DisbursementAmountInstruction } from './disbursement-amount-instruction'; // May contain unused imports in some cases // @ts-ignore -import { NoneNetworkRoutingDest } from './none-network-routing-dest'; +import { DisbursementPercentageInstruction } from './disbursement-percentage-instruction'; /** - * @type NetworkConnectionRoutingPolicySignet + * @type DisbursementInstruction * @export */ -export type NetworkConnectionRoutingPolicySignet = CustomFiatRoutingDest | DefaultNetworkRoutingDest | NoneNetworkRoutingDest; +export type DisbursementInstruction = DisbursementAmountInstruction | DisbursementPercentageInstruction; diff --git a/models/network-connection-routing-policy-signet-test.ts b/models/disbursement-operation-config-params.ts similarity index 52% rename from models/network-connection-routing-policy-signet-test.ts rename to models/disbursement-operation-config-params.ts index 680c253..ddb94c3 100644 --- a/models/network-connection-routing-policy-signet-test.ts +++ b/models/disbursement-operation-config-params.ts @@ -15,18 +15,28 @@ // May contain unused imports in some cases // @ts-ignore -import { CustomFiatRoutingDest } from './custom-fiat-routing-dest'; +import { Account } from './account'; // May contain unused imports in some cases // @ts-ignore -import { DefaultNetworkRoutingDest } from './default-network-routing-dest'; -// May contain unused imports in some cases -// @ts-ignore -import { NoneNetworkRoutingDest } from './none-network-routing-dest'; +import { DisbursementInstruction } from './disbursement-instruction'; /** - * @type NetworkConnectionRoutingPolicySignetTest + * * @export + * @interface DisbursementOperationConfigParams */ -export type NetworkConnectionRoutingPolicySignetTest = CustomFiatRoutingDest | DefaultNetworkRoutingDest | NoneNetworkRoutingDest; - +export interface DisbursementOperationConfigParams { + /** + * + * @type {Array} + * @memberof DisbursementOperationConfigParams + */ + 'instructionSet': Array; + /** + * + * @type {Account} + * @memberof DisbursementOperationConfigParams + */ + 'paymentAccount'?: Account; +} diff --git a/models/disbursement-operation-execution-output.ts b/models/disbursement-operation-execution-output.ts new file mode 100644 index 0000000..06840a6 --- /dev/null +++ b/models/disbursement-operation-execution-output.ts @@ -0,0 +1,33 @@ +/* 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 { DisbursementInstructionOutput } from './disbursement-instruction-output'; + +/** + * + * @export + * @interface DisbursementOperationExecutionOutput + */ +export interface DisbursementOperationExecutionOutput { + /** + * + * @type {Array} + * @memberof DisbursementOperationExecutionOutput + */ + 'instructionSet': Array; +} + diff --git a/models/disbursement-operation-execution-params-execution-params.ts b/models/disbursement-operation-execution-params-execution-params.ts new file mode 100644 index 0000000..ce3ce8a --- /dev/null +++ b/models/disbursement-operation-execution-params-execution-params.ts @@ -0,0 +1,48 @@ +/* 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 { Account } from './account'; +// May contain unused imports in some cases +// @ts-ignore +import { DisbursementInstruction } from './disbursement-instruction'; + +/** + * + * @export + * @interface DisbursementOperationExecutionParamsExecutionParams + */ +export interface DisbursementOperationExecutionParamsExecutionParams { + /** + * + * @type {string} + * @memberof DisbursementOperationExecutionParamsExecutionParams + */ + 'amount'?: string; + /** + * + * @type {Account} + * @memberof DisbursementOperationExecutionParamsExecutionParams + */ + 'paymentAccount'?: Account; + /** + * + * @type {Array} + * @memberof DisbursementOperationExecutionParamsExecutionParams + */ + 'instructionSet'?: Array; +} + diff --git a/models/disbursement-operation-execution-params.ts b/models/disbursement-operation-execution-params.ts new file mode 100644 index 0000000..9dd47fd --- /dev/null +++ b/models/disbursement-operation-execution-params.ts @@ -0,0 +1,39 @@ +/* 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 { DisbursementOperationExecutionParamsExecutionParams } from './disbursement-operation-execution-params-execution-params'; + +/** + * + * @export + * @interface DisbursementOperationExecutionParams + */ +export interface DisbursementOperationExecutionParams { + /** + * + * @type {string} + * @memberof DisbursementOperationExecutionParams + */ + 'configOperationId': string; + /** + * + * @type {DisbursementOperationExecutionParamsExecutionParams} + * @memberof DisbursementOperationExecutionParams + */ + 'executionParams'?: DisbursementOperationExecutionParamsExecutionParams; +} + diff --git a/models/disbursement-operation-execution.ts b/models/disbursement-operation-execution.ts new file mode 100644 index 0000000..19b0eff --- /dev/null +++ b/models/disbursement-operation-execution.ts @@ -0,0 +1,69 @@ +/* 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 { DisbursementOperationExecutionOutput } from './disbursement-operation-execution-output'; +// May contain unused imports in some cases +// @ts-ignore +import { DisbursementOperationInput } from './disbursement-operation-input'; +// May contain unused imports in some cases +// @ts-ignore +import { OperationExecutionFailure } from './operation-execution-failure'; + +/** + * + * @export + * @interface DisbursementOperationExecution + */ +export interface DisbursementOperationExecution { + /** + * + * @type {DisbursementOperationInput} + * @memberof DisbursementOperationExecution + */ + 'input': DisbursementOperationInput; + /** + * + * @type {number} + * @memberof DisbursementOperationExecution + */ + 'startedAt': number; + /** + * + * @type {DisbursementOperationExecutionOutput} + * @memberof DisbursementOperationExecution + */ + 'output'?: DisbursementOperationExecutionOutput; + /** + * + * @type {string} + * @memberof DisbursementOperationExecution + */ + 'payoutId'?: string; + /** + * + * @type {number} + * @memberof DisbursementOperationExecution + */ + 'finishedAt'?: number; + /** + * + * @type {OperationExecutionFailure} + * @memberof DisbursementOperationExecution + */ + 'failure'?: OperationExecutionFailure; +} + diff --git a/models/disbursement-operation-input.ts b/models/disbursement-operation-input.ts new file mode 100644 index 0000000..c1356ed --- /dev/null +++ b/models/disbursement-operation-input.ts @@ -0,0 +1,48 @@ +/* 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 { Account } from './account'; +// May contain unused imports in some cases +// @ts-ignore +import { DisbursementInstruction } from './disbursement-instruction'; + +/** + * + * @export + * @interface DisbursementOperationInput + */ +export interface DisbursementOperationInput { + /** + * + * @type {Account} + * @memberof DisbursementOperationInput + */ + 'paymentAccount': Account; + /** + * + * @type {Array} + * @memberof DisbursementOperationInput + */ + 'instructionSet': Array; + /** + * + * @type {string} + * @memberof DisbursementOperationInput + */ + 'amount'?: string; +} + diff --git a/models/network-connection-routing-policy-sen-test.ts b/models/disbursement-operation-preview-output-instruction-set-inner.ts similarity index 61% rename from models/network-connection-routing-policy-sen-test.ts rename to models/disbursement-operation-preview-output-instruction-set-inner.ts index e56bfb2..b879171 100644 --- a/models/network-connection-routing-policy-sen-test.ts +++ b/models/disbursement-operation-preview-output-instruction-set-inner.ts @@ -15,18 +15,18 @@ // May contain unused imports in some cases // @ts-ignore -import { CustomFiatRoutingDest } from './custom-fiat-routing-dest'; +import { AssetAmount } from './asset-amount'; // May contain unused imports in some cases // @ts-ignore -import { DefaultNetworkRoutingDest } from './default-network-routing-dest'; +import { Destination } from './destination'; // May contain unused imports in some cases // @ts-ignore -import { NoneNetworkRoutingDest } from './none-network-routing-dest'; +import { DisbursementInstructionOutput } from './disbursement-instruction-output'; /** - * @type NetworkConnectionRoutingPolicySenTest + * @type DisbursementOperationPreviewOutputInstructionSetInner * @export */ -export type NetworkConnectionRoutingPolicySenTest = CustomFiatRoutingDest | DefaultNetworkRoutingDest | NoneNetworkRoutingDest; +export type DisbursementOperationPreviewOutputInstructionSetInner = DisbursementInstructionOutput; diff --git a/models/disbursement-operation-preview-output.ts b/models/disbursement-operation-preview-output.ts new file mode 100644 index 0000000..7fadc83 --- /dev/null +++ b/models/disbursement-operation-preview-output.ts @@ -0,0 +1,33 @@ +/* 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 { DisbursementOperationPreviewOutputInstructionSetInner } from './disbursement-operation-preview-output-instruction-set-inner'; + +/** + * + * @export + * @interface DisbursementOperationPreviewOutput + */ +export interface DisbursementOperationPreviewOutput { + /** + * + * @type {Array} + * @memberof DisbursementOperationPreviewOutput + */ + 'instructionSet': Array; +} + diff --git a/models/disbursement-operation-preview.ts b/models/disbursement-operation-preview.ts new file mode 100644 index 0000000..d785ae7 --- /dev/null +++ b/models/disbursement-operation-preview.ts @@ -0,0 +1,51 @@ +/* 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 { DisbursementOperationInput } from './disbursement-operation-input'; +// May contain unused imports in some cases +// @ts-ignore +import { DisbursementOperationPreviewOutput } from './disbursement-operation-preview-output'; +// May contain unused imports in some cases +// @ts-ignore +import { OperationExecutionFailure } from './operation-execution-failure'; + +/** + * + * @export + * @interface DisbursementOperationPreview + */ +export interface DisbursementOperationPreview { + /** + * + * @type {DisbursementOperationInput} + * @memberof DisbursementOperationPreview + */ + 'input': DisbursementOperationInput; + /** + * + * @type {DisbursementOperationPreviewOutput} + * @memberof DisbursementOperationPreview + */ + 'output'?: DisbursementOperationPreviewOutput; + /** + * + * @type {OperationExecutionFailure} + * @memberof DisbursementOperationPreview + */ + 'failure'?: OperationExecutionFailure; +} + diff --git a/models/disbursement-operation-type.ts b/models/disbursement-operation-type.ts new file mode 100644 index 0000000..b50ad94 --- /dev/null +++ b/models/disbursement-operation-type.ts @@ -0,0 +1,30 @@ +/* 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 DisbursementOperationType = { + Disbursement: 'DISBURSEMENT' +} as const; + +export type DisbursementOperationType = typeof DisbursementOperationType[keyof typeof DisbursementOperationType]; + + + diff --git a/models/disbursement-percentage-instruction.ts b/models/disbursement-percentage-instruction.ts new file mode 100644 index 0000000..227e07b --- /dev/null +++ b/models/disbursement-percentage-instruction.ts @@ -0,0 +1,45 @@ +/* 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 { Destination } from './destination'; + +/** + * + * @export + * @interface DisbursementPercentageInstruction + */ +export interface DisbursementPercentageInstruction { + /** + * + * @type {Destination} + * @memberof DisbursementPercentageInstruction + */ + 'payeeAccount': Destination; + /** + * + * @type {string} + * @memberof DisbursementPercentageInstruction + */ + 'assetId': string; + /** + * + * @type {string} + * @memberof DisbursementPercentageInstruction + */ + 'percentage': string; +} + diff --git a/models/disbursement-validation-failure.ts b/models/disbursement-validation-failure.ts new file mode 100644 index 0000000..48a9af8 --- /dev/null +++ b/models/disbursement-validation-failure.ts @@ -0,0 +1,57 @@ +/* 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 DisbursementValidationFailure + */ +export interface DisbursementValidationFailure { + /** + * + * @type {string} + * @memberof DisbursementValidationFailure + */ + 'reason': DisbursementValidationFailureReasonEnum; + /** + * + * @type {{ [key: string]: any; }} + * @memberof DisbursementValidationFailure + */ + 'data'?: { [key: string]: any; }; +} + +export const DisbursementValidationFailureReasonEnum = { + AccountNotFound: 'ACCOUNT_NOT_FOUND', + AccountTypeNotSupported: 'ACCOUNT_TYPE_NOT_SUPPORTED', + InsufficientBalance: 'INSUFFICIENT_BALANCE', + AssetNotFound: 'ASSET_NOT_FOUND', + AssetsContinuityMismatch: 'ASSETS_CONTINUITY_MISMATCH', + ExchangeBasketsMismatch: 'EXCHANGE_BASKETS_MISMATCH', + AccountsContinuityMismatch: 'ACCOUNTS_CONTINUITY_MISMATCH', + OneTimeAddressContinuityNotAllowed: 'ONE_TIME_ADDRESS_CONTINUITY_NOT_ALLOWED', + EqualAccountsNotAllowed: 'EQUAL_ACCOUNTS_NOT_ALLOWED', + EqualAssetsNotAllowed: 'EQUAL_ASSETS_NOT_ALLOWED', + InvalidAmount: 'INVALID_AMOUNT', + UnmanagedWalletAsSourceNotAllowed: 'UNMANAGED_WALLET_AS_SOURCE_NOT_ALLOWED', + ManagedOperationParamsInvalidSchema: 'MANAGED_OPERATION_PARAMS_INVALID_SCHEMA', + InstructionsExceedHundredPercent: 'INSTRUCTIONS_EXCEED_HUNDRED_PERCENT', + InstructionsArrayEmpty: 'INSTRUCTIONS_ARRAY_EMPTY' +} as const; + +export type DisbursementValidationFailureReasonEnum = typeof DisbursementValidationFailureReasonEnum[keyof typeof DisbursementValidationFailureReasonEnum]; + + diff --git a/models/edit-gas-station-configuration-response.ts b/models/edit-gas-station-configuration-response.ts new file mode 100644 index 0000000..8a65548 --- /dev/null +++ b/models/edit-gas-station-configuration-response.ts @@ -0,0 +1,30 @@ +/* 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 EditGasStationConfigurationResponse + */ +export interface EditGasStationConfigurationResponse { + /** + * Indicates whether editing the gas station configuration was successful + * @type {boolean} + * @memberof EditGasStationConfigurationResponse + */ + 'success': boolean; +} + diff --git a/models/execution-conversion-operation.ts b/models/execution-conversion-operation.ts new file mode 100644 index 0000000..f5ea735 --- /dev/null +++ b/models/execution-conversion-operation.ts @@ -0,0 +1,77 @@ +/* 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 { ConversionOperationExecution } from './conversion-operation-execution'; +// May contain unused imports in some cases +// @ts-ignore +import { ConversionOperationPreview } from './conversion-operation-preview'; +// May contain unused imports in some cases +// @ts-ignore +import { ConversionOperationType } from './conversion-operation-type'; +// May contain unused imports in some cases +// @ts-ignore +import { ConversionValidationFailure } from './conversion-validation-failure'; +// May contain unused imports in some cases +// @ts-ignore +import { ExecutionOperationStatus } from './execution-operation-status'; + +/** + * + * @export + * @interface ExecutionConversionOperation + */ +export interface ExecutionConversionOperation { + /** + * + * @type {string} + * @memberof ExecutionConversionOperation + */ + 'operationId': string; + /** + * + * @type {ExecutionOperationStatus} + * @memberof ExecutionConversionOperation + */ + 'status': ExecutionOperationStatus; + /** + * + * @type {ConversionOperationType} + * @memberof ExecutionConversionOperation + */ + 'operationType': ConversionOperationType; + /** + * + * @type {ConversionValidationFailure} + * @memberof ExecutionConversionOperation + */ + 'validationFailure'?: ConversionValidationFailure; + /** + * + * @type {ConversionOperationPreview} + * @memberof ExecutionConversionOperation + */ + 'preview'?: ConversionOperationPreview; + /** + * + * @type {ConversionOperationExecution} + * @memberof ExecutionConversionOperation + */ + 'execution'?: ConversionOperationExecution; +} + + + diff --git a/models/execution-disbursement-operation.ts b/models/execution-disbursement-operation.ts new file mode 100644 index 0000000..bb930be --- /dev/null +++ b/models/execution-disbursement-operation.ts @@ -0,0 +1,77 @@ +/* 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 { DisbursementOperationExecution } from './disbursement-operation-execution'; +// May contain unused imports in some cases +// @ts-ignore +import { DisbursementOperationPreview } from './disbursement-operation-preview'; +// May contain unused imports in some cases +// @ts-ignore +import { DisbursementOperationType } from './disbursement-operation-type'; +// May contain unused imports in some cases +// @ts-ignore +import { DisbursementValidationFailure } from './disbursement-validation-failure'; +// May contain unused imports in some cases +// @ts-ignore +import { ExecutionOperationStatus } from './execution-operation-status'; + +/** + * + * @export + * @interface ExecutionDisbursementOperation + */ +export interface ExecutionDisbursementOperation { + /** + * + * @type {string} + * @memberof ExecutionDisbursementOperation + */ + 'operationId': string; + /** + * + * @type {ExecutionOperationStatus} + * @memberof ExecutionDisbursementOperation + */ + 'status': ExecutionOperationStatus; + /** + * + * @type {DisbursementOperationType} + * @memberof ExecutionDisbursementOperation + */ + 'operationType': DisbursementOperationType; + /** + * + * @type {DisbursementValidationFailure} + * @memberof ExecutionDisbursementOperation + */ + 'validationFailure'?: DisbursementValidationFailure; + /** + * + * @type {DisbursementOperationPreview} + * @memberof ExecutionDisbursementOperation + */ + 'preview'?: DisbursementOperationPreview; + /** + * + * @type {DisbursementOperationExecution} + * @memberof ExecutionDisbursementOperation + */ + 'execution'?: DisbursementOperationExecution; +} + + + diff --git a/models/execution-operation-status.ts b/models/execution-operation-status.ts new file mode 100644 index 0000000..4fa9a8e --- /dev/null +++ b/models/execution-operation-status.ts @@ -0,0 +1,41 @@ +/* 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 ExecutionOperationStatus = { + Pending: 'PENDING', + ValidationInProgress: 'VALIDATION_IN_PROGRESS', + ValidationFailed: 'VALIDATION_FAILED', + ValidationCompleted: 'VALIDATION_COMPLETED', + PreviewRequested: 'PREVIEW_REQUESTED', + PreviewInProgress: 'PREVIEW_IN_PROGRESS', + PreviewFailed: 'PREVIEW_FAILED', + ReadyForLaunch: 'READY_FOR_LAUNCH', + ExecutionRequested: 'EXECUTION_REQUESTED', + ExecutionInProgress: 'EXECUTION_IN_PROGRESS', + ExecutionCompleted: 'EXECUTION_COMPLETED', + ExecutionFailed: 'EXECUTION_FAILED' +} as const; + +export type ExecutionOperationStatus = typeof ExecutionOperationStatus[keyof typeof ExecutionOperationStatus]; + + + diff --git a/models/execution-screening-operation.ts b/models/execution-screening-operation.ts new file mode 100644 index 0000000..55f6810 --- /dev/null +++ b/models/execution-screening-operation.ts @@ -0,0 +1,68 @@ +/* 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 { ExecutionOperationStatus } from './execution-operation-status'; +// May contain unused imports in some cases +// @ts-ignore +import { ScreeningOperationExecution } from './screening-operation-execution'; +// May contain unused imports in some cases +// @ts-ignore +import { ScreeningOperationType } from './screening-operation-type'; +// May contain unused imports in some cases +// @ts-ignore +import { ScreeningValidationFailure } from './screening-validation-failure'; + +/** + * + * @export + * @interface ExecutionScreeningOperation + */ +export interface ExecutionScreeningOperation { + /** + * + * @type {string} + * @memberof ExecutionScreeningOperation + */ + 'operationId': string; + /** + * + * @type {ExecutionOperationStatus} + * @memberof ExecutionScreeningOperation + */ + 'status': ExecutionOperationStatus; + /** + * + * @type {ScreeningOperationType} + * @memberof ExecutionScreeningOperation + */ + 'operationType': ScreeningOperationType; + /** + * + * @type {ScreeningValidationFailure} + * @memberof ExecutionScreeningOperation + */ + 'validationFailure'?: ScreeningValidationFailure; + /** + * + * @type {ScreeningOperationExecution} + * @memberof ExecutionScreeningOperation + */ + 'execution'?: ScreeningOperationExecution; +} + + + diff --git a/models/execution-transfer-operation.ts b/models/execution-transfer-operation.ts new file mode 100644 index 0000000..c407297 --- /dev/null +++ b/models/execution-transfer-operation.ts @@ -0,0 +1,77 @@ +/* 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 { ExecutionOperationStatus } from './execution-operation-status'; +// May contain unused imports in some cases +// @ts-ignore +import { TransferOperationExecution } from './transfer-operation-execution'; +// May contain unused imports in some cases +// @ts-ignore +import { TransferOperationPreview } from './transfer-operation-preview'; +// May contain unused imports in some cases +// @ts-ignore +import { TransferOperationType } from './transfer-operation-type'; +// May contain unused imports in some cases +// @ts-ignore +import { TransferValidationFailure } from './transfer-validation-failure'; + +/** + * + * @export + * @interface ExecutionTransferOperation + */ +export interface ExecutionTransferOperation { + /** + * + * @type {string} + * @memberof ExecutionTransferOperation + */ + 'operationId': string; + /** + * + * @type {ExecutionOperationStatus} + * @memberof ExecutionTransferOperation + */ + 'status': ExecutionOperationStatus; + /** + * + * @type {TransferOperationType} + * @memberof ExecutionTransferOperation + */ + 'operationType': TransferOperationType; + /** + * + * @type {TransferValidationFailure} + * @memberof ExecutionTransferOperation + */ + 'validationFailure'?: TransferValidationFailure; + /** + * + * @type {TransferOperationPreview} + * @memberof ExecutionTransferOperation + */ + 'preview'?: TransferOperationPreview; + /** + * + * @type {TransferOperationExecution} + * @memberof ExecutionTransferOperation + */ + 'execution'?: TransferOperationExecution; +} + + + diff --git a/models/get-apiusers-response.ts b/models/get-apiusers-response.ts new file mode 100644 index 0000000..5ce3112 --- /dev/null +++ b/models/get-apiusers-response.ts @@ -0,0 +1,33 @@ +/* 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 { APIUser } from './apiuser'; + +/** + * + * @export + * @interface GetAPIUsersResponse + */ +export interface GetAPIUsersResponse { + /** + * + * @type {Array} + * @memberof GetAPIUsersResponse + */ + 'users': Array; +} + diff --git a/models/get-audit-logs-response.ts b/models/get-audit-logs-response.ts new file mode 100644 index 0000000..645464e --- /dev/null +++ b/models/get-audit-logs-response.ts @@ -0,0 +1,45 @@ +/* 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 { AuditLogData } from './audit-log-data'; + +/** + * + * @export + * @interface GetAuditLogsResponse + */ +export interface GetAuditLogsResponse { + /** + * + * @type {Array} + * @memberof GetAuditLogsResponse + */ + 'data'?: Array; + /** + * The next id to start fetch audit logs from + * @type {string} + * @memberof GetAuditLogsResponse + */ + 'cursor'?: string | null; + /** + * The total number of audit logs + * @type {number} + * @memberof GetAuditLogsResponse + */ + 'total'?: number; +} + diff --git a/models/get-console-users-response.ts b/models/get-console-users-response.ts new file mode 100644 index 0000000..3fe3b76 --- /dev/null +++ b/models/get-console-users-response.ts @@ -0,0 +1,33 @@ +/* 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 { ConsoleUser } from './console-user'; + +/** + * + * @export + * @interface GetConsoleUsersResponse + */ +export interface GetConsoleUsersResponse { + /** + * + * @type {Array} + * @memberof GetConsoleUsersResponse + */ + 'users': Array; +} + diff --git a/models/get-max-spendable-amount-response.ts b/models/get-max-spendable-amount-response.ts new file mode 100644 index 0000000..6f8706b --- /dev/null +++ b/models/get-max-spendable-amount-response.ts @@ -0,0 +1,30 @@ +/* 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 GetMaxSpendableAmountResponse + */ +export interface GetMaxSpendableAmountResponse { + /** + * The maximum amount that can be spent from the vault account + * @type {string} + * @memberof GetMaxSpendableAmountResponse + */ + 'maxSpendableAmount'?: string; +} + diff --git a/models/get-whitelist-ip-addresses-response.ts b/models/get-whitelist-ip-addresses-response.ts new file mode 100644 index 0000000..b743ca8 --- /dev/null +++ b/models/get-whitelist-ip-addresses-response.ts @@ -0,0 +1,36 @@ +/* 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 GetWhitelistIpAddressesResponse + */ +export interface GetWhitelistIpAddressesResponse { + /** + * The ID of the user + * @type {string} + * @memberof GetWhitelistIpAddressesResponse + */ + 'userId'?: string; + /** + * List of whitelisted ip addresses + * @type {Array} + * @memberof GetWhitelistIpAddressesResponse + */ + 'whitelistedIps'?: Array | null; +} + diff --git a/models/index.ts b/models/index.ts index 9ad56a4..2105ce3 100644 --- a/models/index.ts +++ b/models/index.ts @@ -1,3 +1,6 @@ +export * from './apiuser'; +export * from './account'; +export * from './account-type'; export * from './add-asset-to-external-wallet-request'; export * from './add-asset-to-external-wallet-request-one-of'; export * from './add-asset-to-external-wallet-request-one-of1'; @@ -13,8 +16,17 @@ export * from './aml-screening-result'; export * from './amount-aggregation-time-period-method'; export * from './amount-and-chain-descriptor'; export * from './amount-info'; +export * from './asset-amount'; +export * from './asset-bad-request-error-response'; +export * from './asset-conflict-error-response'; +export * from './asset-internal-server-error-response'; +export * from './asset-not-found-error-response'; +export * from './asset-response'; +export * from './asset-response-metadata'; +export * from './asset-response-onchain'; export * from './asset-type-response'; export * from './asset-wallet'; +export * from './audit-log-data'; export * from './authorization-groups'; export * from './authorization-info'; export * from './block-info'; @@ -24,16 +36,38 @@ export * from './collection-ownership-response'; export * from './compliance-result'; export * from './compliance-screening-result'; export * from './config-change-request-status'; +export * from './config-conversion-operation-snapshot'; +export * from './config-disbursement-operation-snapshot'; +export * from './config-operation'; +export * from './config-operation-snapshot'; +export * from './config-operation-status'; +export * from './config-transfer-operation-snapshot'; +export * from './console-user'; +export * from './conversion-config-operation'; +export * from './conversion-operation-config-params'; +export * from './conversion-operation-execution'; +export * from './conversion-operation-execution-output'; +export * from './conversion-operation-execution-params'; +export * from './conversion-operation-execution-params-execution-params'; +export * from './conversion-operation-failure'; +export * from './conversion-operation-preview'; +export * from './conversion-operation-preview-output'; +export * from './conversion-operation-type'; +export * from './conversion-validation-failure'; export * from './convert-assets-request'; +export * from './convert-assets-response'; export * from './create-apiuser'; export * from './create-address-request'; export * from './create-address-response'; export * from './create-assets-bulk-request'; export * from './create-assets-request'; +export * from './create-config-operation-request'; export * from './create-connection-request'; export * from './create-connection-response'; export * from './create-console-user'; export * from './create-contract-request'; +export * from './create-conversion-config-operation-request'; +export * from './create-disbursement-config-operation-request'; export * from './create-internal-transfer-request'; export * from './create-internal-wallet-asset-request'; export * from './create-multiple-accounts-request'; @@ -42,22 +76,42 @@ export * from './create-network-id-request'; export * from './create-payout-request'; export * from './create-request'; export * from './create-transaction-response'; +export * from './create-transfer-config-operation-request'; export * from './create-user-group-response'; export * from './create-vault-account-request'; export * from './create-vault-asset-response'; export * from './create-wallet-request'; -export * from './custom-crypto-routing-dest'; -export * from './custom-fiat-routing-dest'; +export * from './create-workflow-execution-request-params-inner'; +export * from './custom-routing-dest'; export * from './default-network-routing-dest'; export * from './delegation-dto'; export * from './delegation-summary-dto'; +export * from './deposit-funds-from-linked-ddaresponse'; +export * from './destination'; export * from './destination-transfer-peer-path'; export * from './destination-transfer-peer-path-response'; +export * from './disbursement-amount-instruction'; +export * from './disbursement-config-operation'; +export * from './disbursement-instruction'; +export * from './disbursement-instruction-output'; +export * from './disbursement-operation-config-params'; +export * from './disbursement-operation-execution'; +export * from './disbursement-operation-execution-output'; +export * from './disbursement-operation-execution-params'; +export * from './disbursement-operation-execution-params-execution-params'; +export * from './disbursement-operation-input'; +export * from './disbursement-operation-preview'; +export * from './disbursement-operation-preview-output'; +export * from './disbursement-operation-preview-output-instruction-set-inner'; +export * from './disbursement-operation-type'; +export * from './disbursement-percentage-instruction'; +export * from './disbursement-validation-failure'; export * from './dispatch-payout-response'; export * from './draft-response'; export * from './draft-review-and-validation-response'; export * from './drop-transaction-request'; export * from './drop-transaction-response'; +export * from './edit-gas-station-configuration-response'; export * from './error-response'; export * from './error-response-error'; export * from './error-schema'; @@ -72,6 +126,11 @@ export * from './exchange-trading-account'; export * from './exchange-type'; export * from './execute-action-request'; export * from './execute-action-response'; +export * from './execution-conversion-operation'; +export * from './execution-disbursement-operation'; +export * from './execution-operation-status'; +export * from './execution-screening-operation'; +export * from './execution-transfer-operation'; export * from './external-wallet-asset'; export * from './fee-info'; export * from './fiat-account'; @@ -82,14 +141,20 @@ export * from './funds'; export * from './gas-station-configuration'; export * from './gas-station-configuration-response'; export * from './gas-station-properties-response'; +export * from './get-apiusers-response'; +export * from './get-audit-logs-response'; export * from './get-audit-logs-response-dto'; export * from './get-connections-response'; +export * from './get-console-users-response'; export * from './get-filter-parameter'; +export * from './get-max-spendable-amount-response'; export * from './get-ota-status200-response'; export * from './get-ownership-tokens200-response'; export * from './get-transaction-operation'; +export * from './get-whitelist-ip-addresses-response'; export * from './get-workspace-status200-response'; export * from './instruction-amount'; +export * from './internal-transfer-response'; export * from './job'; export * from './job-created'; export * from './list-owned-collections200-response'; @@ -98,23 +163,17 @@ export * from './media-entity-response'; export * from './network-channel'; export * from './network-connection'; export * from './network-connection-response'; -export * from './network-connection-routing-policy'; -export * from './network-connection-routing-policy-crypto'; -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-routing-policy-value'; export * from './network-connection-status'; export * from './network-fee'; export * from './network-id'; export * from './network-id-response'; -export * from './network-id-routing-policy'; -export * from './network-id-routing-policy-crypto'; -export * from './network-id-routing-policy-sen'; -export * from './network-id-routing-policy-sen-test'; +export * from './network-id-routing-policy-value'; export * from './network-record'; export * from './none-network-routing-dest'; export * from './one-time-address'; +export * from './one-time-address-account'; +export * from './operation-execution-failure'; export * from './paginated-address-response'; export * from './paginated-address-response-paging'; export * from './paginated-asset-wallet-response'; @@ -155,24 +214,37 @@ export * from './policy-src-or-dest-sub-type'; export * from './policy-src-or-dest-type'; export * from './policy-status'; export * from './policy-validation'; +export * from './pre-screening'; export * from './provider-dto'; export * from './public-key-information'; export * from './publish-draft-request'; export * from './publish-result'; +export * from './redeem-funds-to-linked-ddaresponse'; +export * from './register-new-asset-request'; export * from './related-transaction-dto'; export * from './remove-collateral-request-body'; +export * from './rename-vault-account-response'; export * from './resend-transaction-webhooks-request'; +export * from './resend-webhooks-by-transaction-id-response'; export * from './resend-webhooks-response'; export * from './respond-to-connection-request'; export * from './reward-info'; export * from './rewards-info'; export * from './screening-configurations-request'; +export * from './screening-operation-execution'; +export * from './screening-operation-execution-output'; +export * from './screening-operation-failure'; +export * from './screening-operation-type'; export * from './screening-policy-response'; export * from './screening-provider-rules-configuration-response'; export * from './screening-update-configurations-request'; +export * from './screening-validation-failure'; +export * from './screening-verdict'; +export * from './screening-verdict-matched-rule'; export * from './session-dto'; export * from './session-metadata'; export * from './set-admin-quorum-threshold-request'; +export * from './set-admin-quorum-threshold-response'; export * from './set-auto-fuel-request'; export * from './set-confirmations-threshold-request'; export * from './set-confirmations-threshold-response'; @@ -183,6 +255,8 @@ export * from './set-network-id-name-request'; export * from './set-network-id-response'; export * from './set-network-id-routing-policy-request'; export * from './set-ota-status-request'; +export * from './set-ota-status-response'; +export * from './set-ota-status-response-one-of'; export * from './set-routing-policy200-response'; export * from './set-routing-policy-request'; export * from './settlement-request-body'; @@ -242,8 +316,20 @@ 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-config-operation'; +export * from './transfer-operation-config-params'; +export * from './transfer-operation-execution'; +export * from './transfer-operation-execution-output'; +export * from './transfer-operation-execution-params'; +export * from './transfer-operation-execution-params-execution-params'; +export * from './transfer-operation-failure'; +export * from './transfer-operation-failure-data'; +export * from './transfer-operation-preview'; +export * from './transfer-operation-preview-output'; +export * from './transfer-operation-type'; export * from './transfer-peer-path-sub-type'; export * from './transfer-peer-path-type'; +export * from './transfer-validation-failure'; export * from './travel-rule-address'; export * from './travel-rule-create-transaction-request'; export * from './travel-rule-get-all-vasps-response'; @@ -271,6 +357,9 @@ export * from './user-group-create-response'; export * from './user-group-response'; export * from './user-group-update-request'; export * from './user-response'; +export * from './user-role'; +export * from './user-status'; +export * from './user-type'; export * from './validate-address-response'; export * from './validator-dto'; export * from './vault-account'; @@ -282,3 +371,6 @@ export * from './vault-wallet-address'; export * from './wallet-asset'; export * from './wallet-asset-additional-info'; export * from './withdraw-request-dto'; +export * from './workflow-config-status'; +export * from './workflow-configuration-id'; +export * from './workflow-execution-operation'; diff --git a/models/internal-transfer-response.ts b/models/internal-transfer-response.ts new file mode 100644 index 0000000..0209222 --- /dev/null +++ b/models/internal-transfer-response.ts @@ -0,0 +1,30 @@ +/* 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 InternalTransferResponse + */ +export interface InternalTransferResponse { + /** + * Indicates whether the transfer was successful + * @type {boolean} + * @memberof InternalTransferResponse + */ + 'success': boolean; +} + diff --git a/models/network-connection-response.ts b/models/network-connection-response.ts index 9d44a41..397025a 100644 --- a/models/network-connection-response.ts +++ b/models/network-connection-response.ts @@ -18,7 +18,7 @@ import { NetworkChannel } from './network-channel'; // May contain unused imports in some cases // @ts-ignore -import { NetworkConnectionRoutingPolicy } from './network-connection-routing-policy'; +import { NetworkConnectionRoutingPolicyValue } from './network-connection-routing-policy-value'; // May contain unused imports in some cases // @ts-ignore import { NetworkConnectionStatus } from './network-connection-status'; @@ -58,10 +58,10 @@ export interface NetworkConnectionResponse { 'remoteNetworkId': NetworkId; /** * - * @type {NetworkConnectionRoutingPolicy} + * @type {{ [key: string]: NetworkConnectionRoutingPolicyValue; }} * @memberof NetworkConnectionResponse */ - 'routingPolicy': NetworkConnectionRoutingPolicy; + 'routingPolicy': { [key: string]: NetworkConnectionRoutingPolicyValue; }; /** * Deprecated - Replaced by `localNetworkId` * @type {NetworkChannel} diff --git a/models/network-connection-routing-policy-crypto.ts b/models/network-connection-routing-policy-crypto.ts deleted file mode 100644 index e4fb1a7..0000000 --- a/models/network-connection-routing-policy-crypto.ts +++ /dev/null @@ -1,32 +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 { CustomCryptoRoutingDest } from './custom-crypto-routing-dest'; -// May contain unused imports in some cases -// @ts-ignore -import { DefaultNetworkRoutingDest } from './default-network-routing-dest'; -// May contain unused imports in some cases -// @ts-ignore -import { NoneNetworkRoutingDest } from './none-network-routing-dest'; - -/** - * @type NetworkConnectionRoutingPolicyCrypto - * @export - */ -export type NetworkConnectionRoutingPolicyCrypto = CustomCryptoRoutingDest | DefaultNetworkRoutingDest | NoneNetworkRoutingDest; - - diff --git a/models/network-connection-routing-policy-sen.ts b/models/network-connection-routing-policy-value.ts similarity index 76% rename from models/network-connection-routing-policy-sen.ts rename to models/network-connection-routing-policy-value.ts index dcad014..bc3f132 100644 --- a/models/network-connection-routing-policy-sen.ts +++ b/models/network-connection-routing-policy-value.ts @@ -15,7 +15,7 @@ // May contain unused imports in some cases // @ts-ignore -import { CustomFiatRoutingDest } from './custom-fiat-routing-dest'; +import { CustomRoutingDest } from './custom-routing-dest'; // May contain unused imports in some cases // @ts-ignore import { DefaultNetworkRoutingDest } from './default-network-routing-dest'; @@ -24,9 +24,9 @@ import { DefaultNetworkRoutingDest } from './default-network-routing-dest'; import { NoneNetworkRoutingDest } from './none-network-routing-dest'; /** - * @type NetworkConnectionRoutingPolicySen + * @type NetworkConnectionRoutingPolicyValue * @export */ -export type NetworkConnectionRoutingPolicySen = CustomFiatRoutingDest | DefaultNetworkRoutingDest | NoneNetworkRoutingDest; +export type NetworkConnectionRoutingPolicyValue = CustomRoutingDest | DefaultNetworkRoutingDest | NoneNetworkRoutingDest; diff --git a/models/network-connection-routing-policy.ts b/models/network-connection-routing-policy.ts deleted file mode 100644 index ce94bf4..0000000 --- a/models/network-connection-routing-policy.ts +++ /dev/null @@ -1,69 +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 { NetworkConnectionRoutingPolicyCrypto } from './network-connection-routing-policy-crypto'; -// May contain unused imports in some cases -// @ts-ignore -import { NetworkConnectionRoutingPolicySen } from './network-connection-routing-policy-sen'; -// May contain unused imports in some cases -// @ts-ignore -import { NetworkConnectionRoutingPolicySenTest } from './network-connection-routing-policy-sen-test'; -// May contain unused imports in some cases -// @ts-ignore -import { NetworkConnectionRoutingPolicySignet } from './network-connection-routing-policy-signet'; -// May contain unused imports in some cases -// @ts-ignore -import { NetworkConnectionRoutingPolicySignetTest } from './network-connection-routing-policy-signet-test'; - -/** - * - * @export - * @interface NetworkConnectionRoutingPolicy - */ -export interface NetworkConnectionRoutingPolicy { - /** - * - * @type {NetworkConnectionRoutingPolicyCrypto} - * @memberof NetworkConnectionRoutingPolicy - */ - 'crypto'?: NetworkConnectionRoutingPolicyCrypto; - /** - * - * @type {NetworkConnectionRoutingPolicySen} - * @memberof NetworkConnectionRoutingPolicy - */ - 'sen'?: NetworkConnectionRoutingPolicySen; - /** - * - * @type {NetworkConnectionRoutingPolicySignet} - * @memberof NetworkConnectionRoutingPolicy - */ - 'signet'?: NetworkConnectionRoutingPolicySignet; - /** - * - * @type {NetworkConnectionRoutingPolicySenTest} - * @memberof NetworkConnectionRoutingPolicy - */ - 'sen_test'?: NetworkConnectionRoutingPolicySenTest; - /** - * - * @type {NetworkConnectionRoutingPolicySignetTest} - * @memberof NetworkConnectionRoutingPolicy - */ - 'signet_test'?: NetworkConnectionRoutingPolicySignetTest; -} - diff --git a/models/network-connection.ts b/models/network-connection.ts index 56afd65..eb560ff 100644 --- a/models/network-connection.ts +++ b/models/network-connection.ts @@ -15,7 +15,7 @@ // May contain unused imports in some cases // @ts-ignore -import { NetworkConnectionRoutingPolicy } from './network-connection-routing-policy'; +import { NetworkConnectionRoutingPolicyValue } from './network-connection-routing-policy-value'; /** * @@ -37,9 +37,9 @@ export interface NetworkConnection { 'remoteNetworkId': string; /** * - * @type {NetworkConnectionRoutingPolicy} + * @type {{ [key: string]: NetworkConnectionRoutingPolicyValue; }} * @memberof NetworkConnection */ - 'routingPolicy'?: NetworkConnectionRoutingPolicy; + 'routingPolicy'?: { [key: string]: NetworkConnectionRoutingPolicyValue; }; } diff --git a/models/network-id-response.ts b/models/network-id-response.ts index e579418..05680ef 100644 --- a/models/network-id-response.ts +++ b/models/network-id-response.ts @@ -18,7 +18,7 @@ import { NetworkId } from './network-id'; // May contain unused imports in some cases // @ts-ignore -import { NetworkIdRoutingPolicy } from './network-id-routing-policy'; +import { NetworkIdRoutingPolicyValue } from './network-id-routing-policy-value'; /** * @type NetworkIdResponse diff --git a/models/network-id-routing-policy-sen.ts b/models/network-id-routing-policy-value.ts similarity index 76% rename from models/network-id-routing-policy-sen.ts rename to models/network-id-routing-policy-value.ts index 6e875e5..ddc80c2 100644 --- a/models/network-id-routing-policy-sen.ts +++ b/models/network-id-routing-policy-value.ts @@ -15,15 +15,15 @@ // May contain unused imports in some cases // @ts-ignore -import { CustomFiatRoutingDest } from './custom-fiat-routing-dest'; +import { CustomRoutingDest } from './custom-routing-dest'; // May contain unused imports in some cases // @ts-ignore import { NoneNetworkRoutingDest } from './none-network-routing-dest'; /** - * @type NetworkIdRoutingPolicySen + * @type NetworkIdRoutingPolicyValue * @export */ -export type NetworkIdRoutingPolicySen = CustomFiatRoutingDest | NoneNetworkRoutingDest; +export type NetworkIdRoutingPolicyValue = CustomRoutingDest | NoneNetworkRoutingDest; diff --git a/models/network-id-routing-policy.ts b/models/network-id-routing-policy.ts deleted file mode 100644 index 4b5c72f..0000000 --- a/models/network-id-routing-policy.ts +++ /dev/null @@ -1,63 +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 { NetworkIdRoutingPolicyCrypto } from './network-id-routing-policy-crypto'; -// May contain unused imports in some cases -// @ts-ignore -import { NetworkIdRoutingPolicySen } from './network-id-routing-policy-sen'; -// May contain unused imports in some cases -// @ts-ignore -import { NetworkIdRoutingPolicySenTest } from './network-id-routing-policy-sen-test'; - -/** - * - * @export - * @interface NetworkIdRoutingPolicy - */ -export interface NetworkIdRoutingPolicy { - /** - * - * @type {NetworkIdRoutingPolicyCrypto} - * @memberof NetworkIdRoutingPolicy - */ - 'crypto'?: NetworkIdRoutingPolicyCrypto; - /** - * - * @type {NetworkIdRoutingPolicySen} - * @memberof NetworkIdRoutingPolicy - */ - 'sen'?: NetworkIdRoutingPolicySen; - /** - * - * @type {NetworkIdRoutingPolicySen} - * @memberof NetworkIdRoutingPolicy - */ - 'signet'?: NetworkIdRoutingPolicySen; - /** - * - * @type {NetworkIdRoutingPolicySenTest} - * @memberof NetworkIdRoutingPolicy - */ - 'sen_test'?: NetworkIdRoutingPolicySenTest; - /** - * - * @type {NetworkIdRoutingPolicySenTest} - * @memberof NetworkIdRoutingPolicy - */ - 'signet_test'?: NetworkIdRoutingPolicySenTest; -} - diff --git a/models/one-time-address-account.ts b/models/one-time-address-account.ts new file mode 100644 index 0000000..4cd15fa --- /dev/null +++ b/models/one-time-address-account.ts @@ -0,0 +1,36 @@ +/* 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 OneTimeAddressAccount + */ +export interface OneTimeAddressAccount { + /** + * + * @type {string} + * @memberof OneTimeAddressAccount + */ + 'oneTimeAddress': string; + /** + * + * @type {string} + * @memberof OneTimeAddressAccount + */ + 'tag'?: string; +} + diff --git a/models/operation-execution-failure.ts b/models/operation-execution-failure.ts new file mode 100644 index 0000000..d4d9281 --- /dev/null +++ b/models/operation-execution-failure.ts @@ -0,0 +1,36 @@ +/* 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 OperationExecutionFailure + */ +export interface OperationExecutionFailure { + /** + * + * @type {string} + * @memberof OperationExecutionFailure + */ + 'reason': string; + /** + * + * @type {{ [key: string]: any; }} + * @memberof OperationExecutionFailure + */ + 'data'?: { [key: string]: any; }; +} + diff --git a/models/pre-screening.ts b/models/pre-screening.ts new file mode 100644 index 0000000..daeca26 --- /dev/null +++ b/models/pre-screening.ts @@ -0,0 +1,30 @@ +/* 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 PreScreening + */ +export interface PreScreening { + /** + * + * @type {boolean} + * @memberof PreScreening + */ + 'enabled': boolean; +} + diff --git a/models/redeem-funds-to-linked-ddaresponse.ts b/models/redeem-funds-to-linked-ddaresponse.ts new file mode 100644 index 0000000..798da24 --- /dev/null +++ b/models/redeem-funds-to-linked-ddaresponse.ts @@ -0,0 +1,30 @@ +/* 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 RedeemFundsToLinkedDDAResponse + */ +export interface RedeemFundsToLinkedDDAResponse { + /** + * Indicates whether the funds were successfully redeemed to the linked DDA + * @type {boolean} + * @memberof RedeemFundsToLinkedDDAResponse + */ + 'success': boolean; +} + diff --git a/models/register-new-asset-request.ts b/models/register-new-asset-request.ts new file mode 100644 index 0000000..623d7df --- /dev/null +++ b/models/register-new-asset-request.ts @@ -0,0 +1,42 @@ +/* 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 RegisterNewAssetRequest + */ +export interface RegisterNewAssetRequest { + /** + * Native asset of blockchain + * @type {string} + * @memberof RegisterNewAssetRequest + */ + 'blockchainId': string; + /** + * Asset address + * @type {string} + * @memberof RegisterNewAssetRequest + */ + 'address': string; + /** + * Asset symbol + * @type {string} + * @memberof RegisterNewAssetRequest + */ + 'symbol'?: string; +} + diff --git a/models/rename-vault-account-response.ts b/models/rename-vault-account-response.ts new file mode 100644 index 0000000..19b7a54 --- /dev/null +++ b/models/rename-vault-account-response.ts @@ -0,0 +1,36 @@ +/* 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 RenameVaultAccountResponse + */ +export interface RenameVaultAccountResponse { + /** + * The new name of the vault account + * @type {string} + * @memberof RenameVaultAccountResponse + */ + 'name'?: string; + /** + * The ID of the vault account + * @type {string} + * @memberof RenameVaultAccountResponse + */ + 'id'?: string; +} + diff --git a/models/resend-webhooks-by-transaction-id-response.ts b/models/resend-webhooks-by-transaction-id-response.ts new file mode 100644 index 0000000..4149d14 --- /dev/null +++ b/models/resend-webhooks-by-transaction-id-response.ts @@ -0,0 +1,30 @@ +/* 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 ResendWebhooksByTransactionIdResponse + */ +export interface ResendWebhooksByTransactionIdResponse { + /** + * Indicates whether the webhooks were successfully resent + * @type {boolean} + * @memberof ResendWebhooksByTransactionIdResponse + */ + 'success': boolean; +} + diff --git a/models/screening-operation-execution-output.ts b/models/screening-operation-execution-output.ts new file mode 100644 index 0000000..19ccb4a --- /dev/null +++ b/models/screening-operation-execution-output.ts @@ -0,0 +1,33 @@ +/* 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 { ScreeningVerdict } from './screening-verdict'; + +/** + * + * @export + * @interface ScreeningOperationExecutionOutput + */ +export interface ScreeningOperationExecutionOutput { + /** + * + * @type {Array} + * @memberof ScreeningOperationExecutionOutput + */ + 'verdicts': Array; +} + diff --git a/models/screening-operation-execution.ts b/models/screening-operation-execution.ts new file mode 100644 index 0000000..1440bec --- /dev/null +++ b/models/screening-operation-execution.ts @@ -0,0 +1,54 @@ +/* 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 { ScreeningOperationExecutionOutput } from './screening-operation-execution-output'; +// May contain unused imports in some cases +// @ts-ignore +import { ScreeningOperationFailure } from './screening-operation-failure'; + +/** + * + * @export + * @interface ScreeningOperationExecution + */ +export interface ScreeningOperationExecution { + /** + * + * @type {number} + * @memberof ScreeningOperationExecution + */ + 'startedAt': number; + /** + * + * @type {ScreeningOperationExecutionOutput} + * @memberof ScreeningOperationExecution + */ + 'output'?: ScreeningOperationExecutionOutput; + /** + * + * @type {number} + * @memberof ScreeningOperationExecution + */ + 'finishedAt'?: number; + /** + * + * @type {ScreeningOperationFailure} + * @memberof ScreeningOperationExecution + */ + 'failure'?: ScreeningOperationFailure; +} + diff --git a/models/screening-operation-failure.ts b/models/screening-operation-failure.ts new file mode 100644 index 0000000..dba51e5 --- /dev/null +++ b/models/screening-operation-failure.ts @@ -0,0 +1,47 @@ +/* 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 { ScreeningOperationExecutionOutput } from './screening-operation-execution-output'; + +/** + * + * @export + * @interface ScreeningOperationFailure + */ +export interface ScreeningOperationFailure { + /** + * + * @type {string} + * @memberof ScreeningOperationFailure + */ + 'reason': ScreeningOperationFailureReasonEnum; + /** + * + * @type {ScreeningOperationExecutionOutput} + * @memberof ScreeningOperationFailure + */ + 'data'?: ScreeningOperationExecutionOutput; +} + +export const ScreeningOperationFailureReasonEnum = { + AmlProcessFailed: 'AML_PROCESS_FAILED', + ScreeningRejected: 'SCREENING_REJECTED' +} as const; + +export type ScreeningOperationFailureReasonEnum = typeof ScreeningOperationFailureReasonEnum[keyof typeof ScreeningOperationFailureReasonEnum]; + + diff --git a/models/screening-operation-type.ts b/models/screening-operation-type.ts new file mode 100644 index 0000000..0acfd6d --- /dev/null +++ b/models/screening-operation-type.ts @@ -0,0 +1,30 @@ +/* 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 ScreeningOperationType = { + Screening: 'SCREENING' +} as const; + +export type ScreeningOperationType = typeof ScreeningOperationType[keyof typeof ScreeningOperationType]; + + + diff --git a/models/screening-validation-failure.ts b/models/screening-validation-failure.ts new file mode 100644 index 0000000..16e8f3f --- /dev/null +++ b/models/screening-validation-failure.ts @@ -0,0 +1,43 @@ +/* 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 ScreeningValidationFailure + */ +export interface ScreeningValidationFailure { + /** + * + * @type {string} + * @memberof ScreeningValidationFailure + */ + 'reason': ScreeningValidationFailureReasonEnum; + /** + * + * @type {{ [key: string]: any; }} + * @memberof ScreeningValidationFailure + */ + 'data'?: { [key: string]: any; }; +} + +export const ScreeningValidationFailureReasonEnum = { + ScreeningDisabledInTenant: 'SCREENING_DISABLED_IN_TENANT' +} as const; + +export type ScreeningValidationFailureReasonEnum = typeof ScreeningValidationFailureReasonEnum[keyof typeof ScreeningValidationFailureReasonEnum]; + + diff --git a/models/screening-verdict-matched-rule.ts b/models/screening-verdict-matched-rule.ts new file mode 100644 index 0000000..7e9714a --- /dev/null +++ b/models/screening-verdict-matched-rule.ts @@ -0,0 +1,36 @@ +/* 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 ScreeningVerdictMatchedRule + */ +export interface ScreeningVerdictMatchedRule { + /** + * + * @type {string} + * @memberof ScreeningVerdictMatchedRule + */ + 'action'?: string; + /** + * + * @type {Array} + * @memberof ScreeningVerdictMatchedRule + */ + 'category'?: Array; +} + diff --git a/models/screening-verdict.ts b/models/screening-verdict.ts new file mode 100644 index 0000000..5dbfcbb --- /dev/null +++ b/models/screening-verdict.ts @@ -0,0 +1,77 @@ +/* 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 { Destination } from './destination'; +// May contain unused imports in some cases +// @ts-ignore +import { ScreeningVerdictMatchedRule } from './screening-verdict-matched-rule'; + +/** + * + * @export + * @interface ScreeningVerdict + */ +export interface ScreeningVerdict { + /** + * + * @type {string} + * @memberof ScreeningVerdict + */ + 'verdict': ScreeningVerdictVerdictEnum; + /** + * + * @type {string} + * @memberof ScreeningVerdict + */ + 'executionOperationId': string; + /** + * + * @type {Destination} + * @memberof ScreeningVerdict + */ + 'account': Destination; + /** + * + * @type {string} + * @memberof ScreeningVerdict + */ + 'assetId': string; + /** + * + * @type {string} + * @memberof ScreeningVerdict + */ + 'amount': string; + /** + * + * @type {ScreeningVerdictMatchedRule} + * @memberof ScreeningVerdict + */ + 'matchedRule'?: ScreeningVerdictMatchedRule; +} + +export const ScreeningVerdictVerdictEnum = { + Passed: 'PASSED', + PassedWithAlert: 'PASSED_WITH_ALERT', + Rejected: 'REJECTED', + Failed: 'FAILED', + Bypassed: 'BYPASSED' +} as const; + +export type ScreeningVerdictVerdictEnum = typeof ScreeningVerdictVerdictEnum[keyof typeof ScreeningVerdictVerdictEnum]; + + diff --git a/models/set-admin-quorum-threshold-response.ts b/models/set-admin-quorum-threshold-response.ts new file mode 100644 index 0000000..c9af298 --- /dev/null +++ b/models/set-admin-quorum-threshold-response.ts @@ -0,0 +1,30 @@ +/* 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 SetAdminQuorumThresholdResponse + */ +export interface SetAdminQuorumThresholdResponse { + /** + * The message which indicates the result of the operation. + * @type {string} + * @memberof SetAdminQuorumThresholdResponse + */ + 'message': string; +} + diff --git a/models/set-network-id-routing-policy-request.ts b/models/set-network-id-routing-policy-request.ts index 4a44f6d..ba52f05 100644 --- a/models/set-network-id-routing-policy-request.ts +++ b/models/set-network-id-routing-policy-request.ts @@ -15,7 +15,7 @@ // May contain unused imports in some cases // @ts-ignore -import { NetworkIdRoutingPolicy } from './network-id-routing-policy'; +import { NetworkIdRoutingPolicyValue } from './network-id-routing-policy-value'; /** * @@ -25,9 +25,9 @@ import { NetworkIdRoutingPolicy } from './network-id-routing-policy'; export interface SetNetworkIdRoutingPolicyRequest { /** * - * @type {NetworkIdRoutingPolicy} + * @type {{ [key: string]: NetworkIdRoutingPolicyValue; }} * @memberof SetNetworkIdRoutingPolicyRequest */ - 'routingPolicy': NetworkIdRoutingPolicy; + 'routingPolicy': { [key: string]: NetworkIdRoutingPolicyValue; }; } diff --git a/models/set-ota-status-response-one-of.ts b/models/set-ota-status-response-one-of.ts new file mode 100644 index 0000000..9aae3ec --- /dev/null +++ b/models/set-ota-status-response-one-of.ts @@ -0,0 +1,30 @@ +/* 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 SetOtaStatusResponseOneOf + */ +export interface SetOtaStatusResponseOneOf { + /** + * Message indicating the result of the operation for example when no config change is needed + * @type {string} + * @memberof SetOtaStatusResponseOneOf + */ + 'message'?: string; +} + diff --git a/models/set-ota-status-response.ts b/models/set-ota-status-response.ts new file mode 100644 index 0000000..a4cad10 --- /dev/null +++ b/models/set-ota-status-response.ts @@ -0,0 +1,26 @@ +/* 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 { SetOtaStatusResponseOneOf } from './set-ota-status-response-one-of'; + +/** + * @type SetOtaStatusResponse + * @export + */ +export type SetOtaStatusResponse = SetOtaStatusResponseOneOf | string; + + diff --git a/models/set-routing-policy-request.ts b/models/set-routing-policy-request.ts index fe99a0a..6bca7ff 100644 --- a/models/set-routing-policy-request.ts +++ b/models/set-routing-policy-request.ts @@ -15,7 +15,7 @@ // May contain unused imports in some cases // @ts-ignore -import { NetworkConnectionRoutingPolicy } from './network-connection-routing-policy'; +import { NetworkConnectionRoutingPolicyValue } from './network-connection-routing-policy-value'; /** * @@ -25,9 +25,9 @@ import { NetworkConnectionRoutingPolicy } from './network-connection-routing-pol export interface SetRoutingPolicyRequest { /** * - * @type {NetworkConnectionRoutingPolicy} + * @type {{ [key: string]: NetworkConnectionRoutingPolicyValue; }} * @memberof SetRoutingPolicyRequest */ - 'routingPolicy': NetworkConnectionRoutingPolicy; + 'routingPolicy': { [key: string]: NetworkConnectionRoutingPolicyValue; }; } diff --git a/models/transfer-config-operation.ts b/models/transfer-config-operation.ts new file mode 100644 index 0000000..ccaaa29 --- /dev/null +++ b/models/transfer-config-operation.ts @@ -0,0 +1,68 @@ +/* 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 { ConfigOperationStatus } from './config-operation-status'; +// May contain unused imports in some cases +// @ts-ignore +import { TransferOperationConfigParams } from './transfer-operation-config-params'; +// May contain unused imports in some cases +// @ts-ignore +import { TransferOperationType } from './transfer-operation-type'; +// May contain unused imports in some cases +// @ts-ignore +import { TransferValidationFailure } from './transfer-validation-failure'; + +/** + * + * @export + * @interface TransferConfigOperation + */ +export interface TransferConfigOperation { + /** + * + * @type {string} + * @memberof TransferConfigOperation + */ + 'operationId': string; + /** + * + * @type {TransferOperationType} + * @memberof TransferConfigOperation + */ + 'type': TransferOperationType; + /** + * + * @type {TransferOperationConfigParams} + * @memberof TransferConfigOperation + */ + 'params': TransferOperationConfigParams; + /** + * + * @type {ConfigOperationStatus} + * @memberof TransferConfigOperation + */ + 'status': ConfigOperationStatus; + /** + * + * @type {TransferValidationFailure} + * @memberof TransferConfigOperation + */ + 'validationFailure'?: TransferValidationFailure; +} + + + diff --git a/models/transfer-operation-config-params.ts b/models/transfer-operation-config-params.ts new file mode 100644 index 0000000..8b02247 --- /dev/null +++ b/models/transfer-operation-config-params.ts @@ -0,0 +1,54 @@ +/* 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 { Account } from './account'; +// May contain unused imports in some cases +// @ts-ignore +import { Destination } from './destination'; + +/** + * + * @export + * @interface TransferOperationConfigParams + */ +export interface TransferOperationConfigParams { + /** + * + * @type {Destination} + * @memberof TransferOperationConfigParams + */ + 'destination': Destination; + /** + * + * @type {string} + * @memberof TransferOperationConfigParams + */ + 'amount'?: string; + /** + * + * @type {string} + * @memberof TransferOperationConfigParams + */ + 'assetId'?: string; + /** + * + * @type {Account} + * @memberof TransferOperationConfigParams + */ + 'source'?: Account; +} + diff --git a/models/transfer-operation-execution-output.ts b/models/transfer-operation-execution-output.ts new file mode 100644 index 0000000..0d1cf1b --- /dev/null +++ b/models/transfer-operation-execution-output.ts @@ -0,0 +1,39 @@ +/* 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 { AssetAmount } from './asset-amount'; + +/** + * + * @export + * @interface TransferOperationExecutionOutput + */ +export interface TransferOperationExecutionOutput { + /** + * + * @type {AssetAmount} + * @memberof TransferOperationExecutionOutput + */ + 'amount': AssetAmount; + /** + * + * @type {AssetAmount} + * @memberof TransferOperationExecutionOutput + */ + 'fee': AssetAmount; +} + diff --git a/models/transfer-operation-execution-params-execution-params.ts b/models/transfer-operation-execution-params-execution-params.ts new file mode 100644 index 0000000..9902eb8 --- /dev/null +++ b/models/transfer-operation-execution-params-execution-params.ts @@ -0,0 +1,54 @@ +/* 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 { Account } from './account'; +// May contain unused imports in some cases +// @ts-ignore +import { Destination } from './destination'; + +/** + * + * @export + * @interface TransferOperationExecutionParamsExecutionParams + */ +export interface TransferOperationExecutionParamsExecutionParams { + /** + * + * @type {string} + * @memberof TransferOperationExecutionParamsExecutionParams + */ + 'amount'?: string; + /** + * + * @type {string} + * @memberof TransferOperationExecutionParamsExecutionParams + */ + 'assetId'?: string; + /** + * + * @type {Account} + * @memberof TransferOperationExecutionParamsExecutionParams + */ + 'source'?: Account; + /** + * + * @type {Destination} + * @memberof TransferOperationExecutionParamsExecutionParams + */ + 'destination'?: Destination; +} + diff --git a/models/transfer-operation-execution-params.ts b/models/transfer-operation-execution-params.ts new file mode 100644 index 0000000..a642036 --- /dev/null +++ b/models/transfer-operation-execution-params.ts @@ -0,0 +1,39 @@ +/* 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 { TransferOperationExecutionParamsExecutionParams } from './transfer-operation-execution-params-execution-params'; + +/** + * + * @export + * @interface TransferOperationExecutionParams + */ +export interface TransferOperationExecutionParams { + /** + * + * @type {string} + * @memberof TransferOperationExecutionParams + */ + 'configOperationId': string; + /** + * + * @type {TransferOperationExecutionParamsExecutionParams} + * @memberof TransferOperationExecutionParams + */ + 'executionParams'?: TransferOperationExecutionParamsExecutionParams; +} + diff --git a/models/transfer-operation-execution.ts b/models/transfer-operation-execution.ts new file mode 100644 index 0000000..dd37260 --- /dev/null +++ b/models/transfer-operation-execution.ts @@ -0,0 +1,69 @@ +/* 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 { TransferOperationConfigParams } from './transfer-operation-config-params'; +// May contain unused imports in some cases +// @ts-ignore +import { TransferOperationExecutionOutput } from './transfer-operation-execution-output'; +// May contain unused imports in some cases +// @ts-ignore +import { TransferOperationFailure } from './transfer-operation-failure'; + +/** + * + * @export + * @interface TransferOperationExecution + */ +export interface TransferOperationExecution { + /** + * + * @type {TransferOperationConfigParams} + * @memberof TransferOperationExecution + */ + 'input': TransferOperationConfigParams; + /** + * + * @type {number} + * @memberof TransferOperationExecution + */ + 'startedAt': number; + /** + * + * @type {TransferOperationExecutionOutput} + * @memberof TransferOperationExecution + */ + 'output'?: TransferOperationExecutionOutput; + /** + * + * @type {string} + * @memberof TransferOperationExecution + */ + 'txId'?: string; + /** + * + * @type {number} + * @memberof TransferOperationExecution + */ + 'finishedAt'?: number; + /** + * + * @type {TransferOperationFailure} + * @memberof TransferOperationExecution + */ + 'failure'?: TransferOperationFailure; +} + diff --git a/models/transfer-operation-failure-data.ts b/models/transfer-operation-failure-data.ts new file mode 100644 index 0000000..72c03f7 --- /dev/null +++ b/models/transfer-operation-failure-data.ts @@ -0,0 +1,42 @@ +/* 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 TransferOperationFailureData + */ +export interface TransferOperationFailureData { + /** + * + * @type {string} + * @memberof TransferOperationFailureData + */ + 'txId': string; + /** + * + * @type {string} + * @memberof TransferOperationFailureData + */ + 'txStatus': string; + /** + * + * @type {string} + * @memberof TransferOperationFailureData + */ + 'txSubStatus'?: string; +} + diff --git a/models/transfer-operation-failure.ts b/models/transfer-operation-failure.ts new file mode 100644 index 0000000..fdccd47 --- /dev/null +++ b/models/transfer-operation-failure.ts @@ -0,0 +1,48 @@ +/* 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 { TransferOperationFailureData } from './transfer-operation-failure-data'; + +/** + * + * @export + * @interface TransferOperationFailure + */ +export interface TransferOperationFailure { + /** + * + * @type {string} + * @memberof TransferOperationFailure + */ + 'reason': TransferOperationFailureReasonEnum; + /** + * + * @type {TransferOperationFailureData} + * @memberof TransferOperationFailure + */ + 'data'?: TransferOperationFailureData; +} + +export const TransferOperationFailureReasonEnum = { + InvalidAmount: 'INVALID_AMOUNT', + SubmissionFailed: 'SUBMISSION_FAILED', + TransactionFailed: 'TRANSACTION_FAILED' +} as const; + +export type TransferOperationFailureReasonEnum = typeof TransferOperationFailureReasonEnum[keyof typeof TransferOperationFailureReasonEnum]; + + diff --git a/models/transfer-operation-preview-output.ts b/models/transfer-operation-preview-output.ts new file mode 100644 index 0000000..c8f57d7 --- /dev/null +++ b/models/transfer-operation-preview-output.ts @@ -0,0 +1,51 @@ +/* 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 { AssetAmount } from './asset-amount'; + +/** + * + * @export + * @interface TransferOperationPreviewOutput + */ +export interface TransferOperationPreviewOutput { + /** + * + * @type {AssetAmount} + * @memberof TransferOperationPreviewOutput + */ + 'amount': AssetAmount; + /** + * + * @type {AssetAmount} + * @memberof TransferOperationPreviewOutput + */ + 'fee': AssetAmount; + /** + * + * @type {boolean} + * @memberof TransferOperationPreviewOutput + */ + 'isSignRequired': boolean; + /** + * + * @type {number} + * @memberof TransferOperationPreviewOutput + */ + 'timeSeconds': number; +} + diff --git a/models/transfer-operation-preview.ts b/models/transfer-operation-preview.ts new file mode 100644 index 0000000..bf93bfe --- /dev/null +++ b/models/transfer-operation-preview.ts @@ -0,0 +1,51 @@ +/* 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 { TransferOperationConfigParams } from './transfer-operation-config-params'; +// May contain unused imports in some cases +// @ts-ignore +import { TransferOperationFailure } from './transfer-operation-failure'; +// May contain unused imports in some cases +// @ts-ignore +import { TransferOperationPreviewOutput } from './transfer-operation-preview-output'; + +/** + * + * @export + * @interface TransferOperationPreview + */ +export interface TransferOperationPreview { + /** + * + * @type {TransferOperationConfigParams} + * @memberof TransferOperationPreview + */ + 'input': TransferOperationConfigParams; + /** + * + * @type {TransferOperationPreviewOutput} + * @memberof TransferOperationPreview + */ + 'output'?: TransferOperationPreviewOutput; + /** + * + * @type {TransferOperationFailure} + * @memberof TransferOperationPreview + */ + 'failure'?: TransferOperationFailure; +} + diff --git a/models/transfer-operation-type.ts b/models/transfer-operation-type.ts new file mode 100644 index 0000000..3288ffe --- /dev/null +++ b/models/transfer-operation-type.ts @@ -0,0 +1,30 @@ +/* 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 TransferOperationType = { + Transfer: 'TRANSFER' +} as const; + +export type TransferOperationType = typeof TransferOperationType[keyof typeof TransferOperationType]; + + + diff --git a/models/transfer-validation-failure.ts b/models/transfer-validation-failure.ts new file mode 100644 index 0000000..865d58f --- /dev/null +++ b/models/transfer-validation-failure.ts @@ -0,0 +1,55 @@ +/* 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 TransferValidationFailure + */ +export interface TransferValidationFailure { + /** + * + * @type {string} + * @memberof TransferValidationFailure + */ + 'reason': TransferValidationFailureReasonEnum; + /** + * + * @type {{ [key: string]: any; }} + * @memberof TransferValidationFailure + */ + 'data'?: { [key: string]: any; }; +} + +export const TransferValidationFailureReasonEnum = { + AccountNotFound: 'ACCOUNT_NOT_FOUND', + AccountTypeNotSupported: 'ACCOUNT_TYPE_NOT_SUPPORTED', + InsufficientBalance: 'INSUFFICIENT_BALANCE', + AssetNotFound: 'ASSET_NOT_FOUND', + AssetsContinuityMismatch: 'ASSETS_CONTINUITY_MISMATCH', + ExchangeBasketsMismatch: 'EXCHANGE_BASKETS_MISMATCH', + AccountsContinuityMismatch: 'ACCOUNTS_CONTINUITY_MISMATCH', + OneTimeAddressContinuityNotAllowed: 'ONE_TIME_ADDRESS_CONTINUITY_NOT_ALLOWED', + EqualAccountsNotAllowed: 'EQUAL_ACCOUNTS_NOT_ALLOWED', + EqualAssetsNotAllowed: 'EQUAL_ASSETS_NOT_ALLOWED', + InvalidAmount: 'INVALID_AMOUNT', + UnmanagedWalletAsSourceNotAllowed: 'UNMANAGED_WALLET_AS_SOURCE_NOT_ALLOWED', + ManagedOperationParamsInvalidSchema: 'MANAGED_OPERATION_PARAMS_INVALID_SCHEMA' +} as const; + +export type TransferValidationFailureReasonEnum = typeof TransferValidationFailureReasonEnum[keyof typeof TransferValidationFailureReasonEnum]; + + diff --git a/models/user-role.ts b/models/user-role.ts new file mode 100644 index 0000000..2aff40e --- /dev/null +++ b/models/user-role.ts @@ -0,0 +1,40 @@ +/* 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. + */ + + + +/** + * The role of the user + * @export + * @enum {string} + */ + +export const UserRole = { + Owner: 'OWNER', + Admin: 'ADMIN', + Signer: 'SIGNER', + CollateralsSigner: 'COLLATERALS_SIGNER', + Editor: 'EDITOR', + Approver: 'APPROVER', + Viewer: 'VIEWER', + NonSigningAdmin: 'NON_SIGNING_ADMIN', + Auditor: 'AUDITOR', + NcwAdmin: 'NCW_ADMIN', + NcwSigner: 'NCW_SIGNER' +} as const; + +export type UserRole = typeof UserRole[keyof typeof UserRole]; + + + diff --git a/models/user-status.ts b/models/user-status.ts new file mode 100644 index 0000000..84fcbc2 --- /dev/null +++ b/models/user-status.ts @@ -0,0 +1,33 @@ +/* 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. + */ + + + +/** + * The status of the user + * @export + * @enum {string} + */ + +export const UserStatus = { + PendingActivation: 'PENDING_ACTIVATION', + PendingDevicePairing: 'PENDING_DEVICE_PAIRING', + PendingDeviceSetup: 'PENDING_DEVICE_SETUP', + Ready: 'READY' +} as const; + +export type UserStatus = typeof UserStatus[keyof typeof UserStatus]; + + + diff --git a/models/user-type.ts b/models/user-type.ts new file mode 100644 index 0000000..da3dad0 --- /dev/null +++ b/models/user-type.ts @@ -0,0 +1,31 @@ +/* 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. + */ + + + +/** + * The type of the user + * @export + * @enum {string} + */ + +export const UserType = { + Api: 'API', + Console: 'CONSOLE' +} as const; + +export type UserType = typeof UserType[keyof typeof UserType]; + + + diff --git a/models/workflow-config-status.ts b/models/workflow-config-status.ts new file mode 100644 index 0000000..4098c65 --- /dev/null +++ b/models/workflow-config-status.ts @@ -0,0 +1,33 @@ +/* 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 WorkflowConfigStatus = { + Pending: 'PENDING', + ValidationInProgress: 'VALIDATION_IN_PROGRESS', + ValidationFailed: 'VALIDATION_FAILED', + ReadyForExecution: 'READY_FOR_EXECUTION' +} as const; + +export type WorkflowConfigStatus = typeof WorkflowConfigStatus[keyof typeof WorkflowConfigStatus]; + + + diff --git a/models/workflow-configuration-id.ts b/models/workflow-configuration-id.ts new file mode 100644 index 0000000..ce182ac --- /dev/null +++ b/models/workflow-configuration-id.ts @@ -0,0 +1,30 @@ +/* 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 WorkflowConfigurationId + */ +export interface WorkflowConfigurationId { + /** + * + * @type {string} + * @memberof WorkflowConfigurationId + */ + 'configId': string; +} + diff --git a/models/workflow-execution-operation.ts b/models/workflow-execution-operation.ts new file mode 100644 index 0000000..93d0209 --- /dev/null +++ b/models/workflow-execution-operation.ts @@ -0,0 +1,50 @@ +/* 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 { DisbursementOperationExecution } from './disbursement-operation-execution'; +// May contain unused imports in some cases +// @ts-ignore +import { DisbursementOperationPreview } from './disbursement-operation-preview'; +// May contain unused imports in some cases +// @ts-ignore +import { DisbursementOperationType } from './disbursement-operation-type'; +// May contain unused imports in some cases +// @ts-ignore +import { DisbursementValidationFailure } from './disbursement-validation-failure'; +// May contain unused imports in some cases +// @ts-ignore +import { ExecutionConversionOperation } from './execution-conversion-operation'; +// May contain unused imports in some cases +// @ts-ignore +import { ExecutionDisbursementOperation } from './execution-disbursement-operation'; +// May contain unused imports in some cases +// @ts-ignore +import { ExecutionOperationStatus } from './execution-operation-status'; +// May contain unused imports in some cases +// @ts-ignore +import { ExecutionScreeningOperation } from './execution-screening-operation'; +// May contain unused imports in some cases +// @ts-ignore +import { ExecutionTransferOperation } from './execution-transfer-operation'; + +/** + * @type WorkflowExecutionOperation + * @export + */ +export type WorkflowExecutionOperation = ExecutionConversionOperation | ExecutionDisbursementOperation | ExecutionScreeningOperation | ExecutionTransferOperation; + + diff --git a/package-lock.json b/package-lock.json index 13173fa..7f3f36b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@fireblocks/ts-sdk", - "version": "3.0.6-beta", + "version": "1.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@fireblocks/ts-sdk", - "version": "3.0.6-beta", + "version": "1.0.0", "license": "MIT License", "dependencies": { "axios": "^1.6.7", @@ -53,27 +53,27 @@ } }, "node_modules/@babel/compat-data": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.24.1.tgz", - "integrity": "sha512-Pc65opHDliVpRHuKfzI+gSA4zcgr65O4cl64fFJIWEEh8JoHIHh0Oez1Eo8Arz8zq/JhgKodQaxEwUPRtZylVA==", + "version": "7.24.4", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.24.4.tgz", + "integrity": "sha512-vg8Gih2MLK+kOkHJp4gBEIkyaIi00jgWot2D9QOmmfLC8jINSOzmCLta6Bvz/JSBCqnegV0L80jhxkol5GWNfQ==", "dev": true, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/core": { - "version": "7.24.3", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.24.3.tgz", - "integrity": "sha512-5FcvN1JHw2sHJChotgx8Ek0lyuh4kCKelgMTTqhYJJtloNvUfpAFMeNQUtdlIaktwrSV9LtCdqwk48wL2wBacQ==", + "version": "7.24.4", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.24.4.tgz", + "integrity": "sha512-MBVlMXP+kkl5394RBLSxxk/iLTeVGuXTV3cIDXavPpMMqnSnt6apKgan/U8O3USWZCWZT/TbgfEpKa4uMgN4Dg==", "dev": true, "dependencies": { "@ampproject/remapping": "^2.2.0", "@babel/code-frame": "^7.24.2", - "@babel/generator": "^7.24.1", + "@babel/generator": "^7.24.4", "@babel/helper-compilation-targets": "^7.23.6", "@babel/helper-module-transforms": "^7.23.3", - "@babel/helpers": "^7.24.1", - "@babel/parser": "^7.24.1", + "@babel/helpers": "^7.24.4", + "@babel/parser": "^7.24.4", "@babel/template": "^7.24.0", "@babel/traverse": "^7.24.1", "@babel/types": "^7.24.0", @@ -92,9 +92,9 @@ } }, "node_modules/@babel/generator": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.24.1.tgz", - "integrity": "sha512-DfCRfZsBcrPEHUfuBMgbJ1Ut01Y/itOs+hY2nFLgqsqXd52/iSiVq5TITtUasIUgm+IIKdY2/1I7auiQOEeC9A==", + "version": "7.24.4", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.24.4.tgz", + "integrity": "sha512-Xd6+v6SnjWVx/nus+y0l1sxMOTOMBkyL4+BIdbALyatQnAe/SRVjANeDPSCYaX+i1iJmuGSKf3Z+E+V/va1Hvw==", "dev": true, "dependencies": { "@babel/types": "^7.24.0", @@ -248,9 +248,9 @@ } }, "node_modules/@babel/helpers": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.24.1.tgz", - "integrity": "sha512-BpU09QqEe6ZCHuIHFphEFgvNSrubve1FtyMton26ekZ85gRGi6LrTF7zArARp2YvyFxloeiRmtSCq5sjh1WqIg==", + "version": "7.24.4", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.24.4.tgz", + "integrity": "sha512-FewdlZbSiwaVGlgT1DPANDuCHaDMiOo+D/IDYRFYjHOuv66xMSJ7fQwwODwRNAPkADIO/z1EoF/l2BCWlWABDw==", "dev": true, "dependencies": { "@babel/template": "^7.24.0", @@ -348,9 +348,9 @@ } }, "node_modules/@babel/parser": { - "version": "7.24.1", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.24.1.tgz", - "integrity": "sha512-Zo9c7N3xdOIQrNip7Lc9wvRPzlRtovHVE4lkz8WEDr7uYh/GMQhSiIgFxGIArRHYdJE5kxtZjAf8rT0xhdLCzg==", + "version": "7.24.4", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.24.4.tgz", + "integrity": "sha512-zTvEBcghmeBma9QIGunWevvBAp4/Qu9Bdq+2k0Ot4fVMD6v3dsC9WOcRSKk7tRRyBM/53yKMJko9xOatGQAwSg==", "dev": true, "bin": { "parser": "bin/babel-parser.js" @@ -1392,9 +1392,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001603", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001603.tgz", - "integrity": "sha512-iL2iSS0eDILMb9n5yKQoTBim9jMZ0Yrk8g0N9K7UzYyWnfIKzXBZD5ngpM37ZcL/cv0Mli8XtVMRYMQAfFpi5Q==", + "version": "1.0.30001606", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001606.tgz", + "integrity": "sha512-LPbwnW4vfpJId225pwjZJOgX1m9sGfbw/RKJvw/t0QhYOOaTXHvkjVGFGPpvwEzufrjvTlsULnVTxdy4/6cqkg==", "dev": true, "funding": [ { @@ -1638,9 +1638,9 @@ } }, "node_modules/electron-to-chromium": { - "version": "1.4.722", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.722.tgz", - "integrity": "sha512-5nLE0TWFFpZ80Crhtp4pIp8LXCztjYX41yUcV6b+bKR2PqzjskTMOOlBi1VjBHlvHwS+4gar7kNKOrsbsewEZQ==", + "version": "1.4.729", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.729.tgz", + "integrity": "sha512-bx7+5Saea/qu14kmPTDHQxkp2UnziG3iajUQu3BxFvCOnpAJdDbMV4rSl+EqFDkkpNNVUFlR1kDfpL59xfy1HA==", "dev": true }, "node_modules/emittery": { diff --git a/package.json b/package.json index 8d82055..cd60752 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@fireblocks/ts-sdk", - "version": "3.0.6-beta", + "version": "1.0.0", "description": "OpenAPI client for @fireblocks/ts-sdk", "author": "Fireblocks SDK Generator", "repository": { diff --git a/tests/client.spec.ts b/tests/client.spec.ts index 980023b..d633f37 100644 --- a/tests/client.spec.ts +++ b/tests/client.spec.ts @@ -11,8 +11,7 @@ */ import { Fireblocks } from '../client/client'; -import { AdminQuorumApi, -ApiUserApi, +import { ApiUserApi, AssetsApi, AuditLogsApi, BlockchainsAssetsApi, @@ -43,14 +42,12 @@ VaultsApi, Web3ConnectionsApi, WebhooksApi, WhitelistIpAddressesApi, -WorkspaceApi, WorkspaceStatusBetaApi } from '../api'; import { AxiosRequestConfig, AxiosResponse } from "axios"; import { convertToFireblocksResponse } from "../response/fireblocksResponse"; import { Configuration } from "../configuration"; -let mockAdminQuorumApi: jest.Mock; let mockApiUserApi: jest.Mock; let mockAssetsApi: jest.Mock; let mockAuditLogsApi: jest.Mock; @@ -82,11 +79,9 @@ let mockVaultsApi: jest.Mock; let mockWeb3ConnectionsApi: jest.Mock; let mockWebhooksApi: jest.Mock; let mockWhitelistIpAddressesApi: jest.Mock; -let mockWorkspaceApi: jest.Mock; let mockWorkspaceStatusBetaApi: jest.Mock; jest.mock('../api', () => { - mockAdminQuorumApi = jest.fn(); mockApiUserApi = jest.fn(); mockAssetsApi = jest.fn(); mockAuditLogsApi = jest.fn(); @@ -118,12 +113,10 @@ jest.mock('../api', () => { mockWeb3ConnectionsApi = jest.fn(); mockWebhooksApi = jest.fn(); mockWhitelistIpAddressesApi = jest.fn(); - mockWorkspaceApi = jest.fn(); mockWorkspaceStatusBetaApi = jest.fn(); const actual = jest.requireActual('../api'); return { ...actual, - AdminQuorumApi: mockAdminQuorumApi, ApiUserApi: mockApiUserApi, AssetsApi: mockAssetsApi, AuditLogsApi: mockAuditLogsApi, @@ -155,7 +148,6 @@ jest.mock('../api', () => { Web3ConnectionsApi: mockWeb3ConnectionsApi, WebhooksApi: mockWebhooksApi, WhitelistIpAddressesApi: mockWhitelistIpAddressesApi, - WorkspaceApi: mockWorkspaceApi, WorkspaceStatusBetaApi: mockWorkspaceStatusBetaApi, }; }); @@ -203,10 +195,6 @@ describe("Fireblocks Client Tests", () => { describe('Api getters tests', () => { const expectedConfig = new Configuration({ basePath: "http://mock-server" }); - it('Should return AdminQuorumApi', async () => { - expect(fireblocks.adminQuorum).toBeInstanceOf(AdminQuorumApi); - expect(mockAdminQuorumApi).toHaveBeenCalledWith(expectedConfig, undefined, mockAxios); - }); it('Should return ApiUserApi', async () => { expect(fireblocks.apiUser).toBeInstanceOf(ApiUserApi); expect(mockApiUserApi).toHaveBeenCalledWith(expectedConfig, undefined, mockAxios); @@ -331,10 +319,6 @@ describe("Fireblocks Client Tests", () => { expect(fireblocks.whitelistIpAddresses).toBeInstanceOf(WhitelistIpAddressesApi); expect(mockWhitelistIpAddressesApi).toHaveBeenCalledWith(expectedConfig, undefined, mockAxios); }); - it('Should return WorkspaceApi', async () => { - expect(fireblocks.workspace).toBeInstanceOf(WorkspaceApi); - expect(mockWorkspaceApi).toHaveBeenCalledWith(expectedConfig, undefined, mockAxios); - }); it('Should return WorkspaceStatusBetaApi', async () => { expect(fireblocks.workspaceStatusBeta).toBeInstanceOf(WorkspaceStatusBetaApi); expect(mockWorkspaceStatusBetaApi).toHaveBeenCalledWith(expectedConfig, undefined, mockAxios);