Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

version_3_0_6_beta #29

Merged
merged 1 commit into from
Mar 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,6 @@ Class | Method | HTTP request | Description
*ExchangeAccountsApi* | [**convertAssets**](docs/apis/ExchangeAccountsApi.md#convertAssets) | **POST** /exchange_accounts/{exchangeAccountId}/convert | Convert exchange account funds from the source asset to the destination asset.
*ExchangeAccountsApi* | [**getExchangeAccount**](docs/apis/ExchangeAccountsApi.md#getExchangeAccount) | **GET** /exchange_accounts/{exchangeAccountId} | Find a specific exchange account
*ExchangeAccountsApi* | [**getExchangeAccountAsset**](docs/apis/ExchangeAccountsApi.md#getExchangeAccountAsset) | **GET** /exchange_accounts/{exchangeAccountId}/{assetId} | Find an asset for an exchange account
*ExchangeAccountsApi* | [**getExchangeAccounts**](docs/apis/ExchangeAccountsApi.md#getExchangeAccounts) | **GET** /exchange_accounts | List exchange accounts
*ExchangeAccountsApi* | [**getPagedExchangeAccounts**](docs/apis/ExchangeAccountsApi.md#getPagedExchangeAccounts) | **GET** /exchange_accounts/paged | Pagination list exchange accounts
*ExchangeAccountsApi* | [**internalTransfer**](docs/apis/ExchangeAccountsApi.md#internalTransfer) | **POST** /exchange_accounts/{exchangeAccountId}/internal_transfer | Internal transfer for exchange accounts
*ExternalWalletsApi* | [**addAssetToExternalWallet**](docs/apis/ExternalWalletsApi.md#addAssetToExternalWallet) | **POST** /external_wallets/{walletId}/{assetId} | Add an asset to an external wallet.
Expand Down Expand Up @@ -294,9 +293,7 @@ Class | Method | HTTP request | Description
*VaultsApi* | [**getUnspentInputs**](docs/apis/VaultsApi.md#getUnspentInputs) | **GET** /vault/accounts/{vaultAccountId}/{assetId}/unspent_inputs | Get UTXO unspent inputs information
*VaultsApi* | [**getVaultAccount**](docs/apis/VaultsApi.md#getVaultAccount) | **GET** /vault/accounts/{vaultAccountId} | Find a vault account by ID
*VaultsApi* | [**getVaultAccountAsset**](docs/apis/VaultsApi.md#getVaultAccountAsset) | **GET** /vault/accounts/{vaultAccountId}/{assetId} | Get the asset balance for a vault account
*VaultsApi* | [**getVaultAccountAssetAddresses**](docs/apis/VaultsApi.md#getVaultAccountAssetAddresses) | **GET** /vault/accounts/{vaultAccountId}/{assetId}/addresses | Get asset addresses
*VaultsApi* | [**getVaultAccountAssetAddressesPaginated**](docs/apis/VaultsApi.md#getVaultAccountAssetAddressesPaginated) | **GET** /vault/accounts/{vaultAccountId}/{assetId}/addresses_paginated | List addresses (Paginated)
*VaultsApi* | [**getVaultAccounts**](docs/apis/VaultsApi.md#getVaultAccounts) | **GET** /vault/accounts | List vault accounts
*VaultsApi* | [**getVaultAssets**](docs/apis/VaultsApi.md#getVaultAssets) | **GET** /vault/assets | Get asset balance for chosen assets
*VaultsApi* | [**getVaultBalanceByAsset**](docs/apis/VaultsApi.md#getVaultBalanceByAsset) | **GET** /vault/assets/{assetId} | Get vault balance by asset
*VaultsApi* | [**hideVaultAccount**](docs/apis/VaultsApi.md#hideVaultAccount) | **POST** /vault/accounts/{vaultAccountId}/hide | Hide a vault account in the console
Expand Down Expand Up @@ -402,14 +399,14 @@ Class | Method | HTTP request | Description
- [FreezeTransactionResponse](docs/models/FreezeTransactionResponse.md)
- [Funds](docs/models/Funds.md)
- [GasStationConfiguration](docs/models/GasStationConfiguration.md)
- [GasStationConfigurationResponse](docs/models/GasStationConfigurationResponse.md)
- [GasStationPropertiesResponse](docs/models/GasStationPropertiesResponse.md)
- [GetAuditLogsResponseDTO](docs/models/GetAuditLogsResponseDTO.md)
- [GetConnectionsResponse](docs/models/GetConnectionsResponse.md)
- [GetFilterParameter](docs/models/GetFilterParameter.md)
- [GetOtaStatus200Response](docs/models/GetOtaStatus200Response.md)
- [GetOwnershipTokens200Response](docs/models/GetOwnershipTokens200Response.md)
- [GetTransactionOperation](docs/models/GetTransactionOperation.md)
- [GetUsersResponse](docs/models/GetUsersResponse.md)
- [GetWorkspaceStatus200Response](docs/models/GetWorkspaceStatus200Response.md)
- [InstructionAmount](docs/models/InstructionAmount.md)
- [Job](docs/models/Job.md)
Expand All @@ -426,6 +423,7 @@ Class | Method | HTTP request | Description
- [NetworkConnectionRoutingPolicySenTest](docs/models/NetworkConnectionRoutingPolicySenTest.md)
- [NetworkConnectionRoutingPolicySignet](docs/models/NetworkConnectionRoutingPolicySignet.md)
- [NetworkConnectionRoutingPolicySignetTest](docs/models/NetworkConnectionRoutingPolicySignetTest.md)
- [NetworkConnectionStatus](docs/models/NetworkConnectionStatus.md)
- [NetworkFee](docs/models/NetworkFee.md)
- [NetworkId](docs/models/NetworkId.md)
- [NetworkIdResponse](docs/models/NetworkIdResponse.md)
Expand Down Expand Up @@ -530,6 +528,7 @@ Class | Method | HTTP request | Description
- [SmartTransferUserGroups](docs/models/SmartTransferUserGroups.md)
- [SmartTransferUserGroupsResponse](docs/models/SmartTransferUserGroupsResponse.md)
- [SolanaBlockchainDataDto](docs/models/SolanaBlockchainDataDto.md)
- [SourceTransferPeerPath](docs/models/SourceTransferPeerPath.md)
- [SourceTransferPeerPathResponse](docs/models/SourceTransferPeerPathResponse.md)
- [SpamOwnershipResponse](docs/models/SpamOwnershipResponse.md)
- [SpamTokenResponse](docs/models/SpamTokenResponse.md)
Expand Down Expand Up @@ -562,7 +561,7 @@ Class | Method | HTTP request | Description
- [TransactionResponse](docs/models/TransactionResponse.md)
- [TransactionResponseContractCallDecodedData](docs/models/TransactionResponseContractCallDecodedData.md)
- [TransactionResponseDestination](docs/models/TransactionResponseDestination.md)
- [TransferPeerPath](docs/models/TransferPeerPath.md)
- [TransferPeerPathSubType](docs/models/TransferPeerPathSubType.md)
- [TransferPeerPathType](docs/models/TransferPeerPathType.md)
- [TravelRuleAddress](docs/models/TravelRuleAddress.md)
- [TravelRuleCreateTransactionRequest](docs/models/TravelRuleCreateTransactionRequest.md)
Expand Down Expand Up @@ -596,6 +595,7 @@ Class | Method | HTTP request | Description
- [VaultAccount](docs/models/VaultAccount.md)
- [VaultAccountsPagedResponse](docs/models/VaultAccountsPagedResponse.md)
- [VaultAccountsPagedResponsePaging](docs/models/VaultAccountsPagedResponsePaging.md)
- [VaultActionStatus](docs/models/VaultActionStatus.md)
- [VaultAsset](docs/models/VaultAsset.md)
- [VaultWalletAddress](docs/models/VaultWalletAddress.md)
- [WalletAsset](docs/models/WalletAsset.md)
Expand Down
66 changes: 0 additions & 66 deletions api/exchange-accounts-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,37 +149,6 @@ export const ExchangeAccountsApiAxiosParamCreator = function (configuration?: Co



setSearchParams(localVarUrlObj, localVarQueryParameter);
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};

return {
url: toPathString(localVarUrlObj),
options: localVarRequestOptions,
};
},
/**
* Deprecated (use new \'paged\' endpoint) - Returns all exchange accounts.
* @summary List exchange accounts
* @param {*} [options] Override http request option.
* @deprecated
* @throws {RequiredError}
*/
getExchangeAccounts: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
const localVarPath = `/exchange_accounts`;
// use dummy base URL string because the URL constructor only accepts absolute URLs.
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
let baseOptions;
if (configuration) {
baseOptions = configuration.baseOptions;
}

const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
const localVarHeaderParameter = {} as any;
const localVarQueryParameter = {} as any;



setSearchParams(localVarUrlObj, localVarQueryParameter);
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
Expand Down Expand Up @@ -331,19 +300,6 @@ export const ExchangeAccountsApiFp = function(configuration?: Configuration) {
const operationBasePath = operationServerMap['ExchangeAccountsApi.getExchangeAccountAsset']?.[index]?.url;
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
},
/**
* Deprecated (use new \'paged\' endpoint) - Returns all exchange accounts.
* @summary List exchange accounts
* @param {*} [options] Override http request option.
* @deprecated
* @throws {RequiredError}
*/
async getExchangeAccounts(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ExchangeAccount>>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.getExchangeAccounts(options);
const index = configuration?.serverIndex ?? 0;
const operationBasePath = operationServerMap['ExchangeAccountsApi.getExchangeAccounts']?.[index]?.url;
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
},
/**
* Returns a page include exchange accounts.
* @summary Pagination list exchange accounts
Expand Down Expand Up @@ -414,16 +370,6 @@ export const ExchangeAccountsApiFactory = function (configuration?: Configuratio
getExchangeAccountAsset(requestParameters: ExchangeAccountsApiGetExchangeAccountAssetRequest, options?: RawAxiosRequestConfig): AxiosPromise<ExchangeAsset> {
return localVarFp.getExchangeAccountAsset(requestParameters.exchangeAccountId, requestParameters.assetId, options).then((request) => request(axios, basePath));
},
/**
* Deprecated (use new \'paged\' endpoint) - Returns all exchange accounts.
* @summary List exchange accounts
* @param {*} [options] Override http request option.
* @deprecated
* @throws {RequiredError}
*/
getExchangeAccounts(options?: RawAxiosRequestConfig): AxiosPromise<Array<ExchangeAccount>> {
return localVarFp.getExchangeAccounts(options).then((request) => request(axios, basePath));
},
/**
* Returns a page include exchange accounts.
* @summary Pagination list exchange accounts
Expand Down Expand Up @@ -609,18 +555,6 @@ export class ExchangeAccountsApi extends BaseAPI {
return ExchangeAccountsApiFp(this.configuration).getExchangeAccountAsset(requestParameters.exchangeAccountId, requestParameters.assetId).then((request) => request(this.axios, this.basePath)).then(convertToFireblocksResponse);
}

/**
* Deprecated (use new \'paged\' endpoint) - Returns all exchange accounts.
* @summary List exchange accounts
* @param {*} [options] Override http request option.
* @deprecated
* @throws {RequiredError}
* @memberof ExchangeAccountsApi
*/
public getExchangeAccounts() {
return ExchangeAccountsApiFp(this.configuration).getExchangeAccounts().then((request) => request(this.axios, this.basePath)).then(convertToFireblocksResponse);
}

/**
* Returns a page include exchange accounts.
* @summary Pagination list exchange accounts
Expand Down
12 changes: 6 additions & 6 deletions api/job-management-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export const JobManagementApiAxiosParamCreator = function (configuration?: Confi
}



setSearchParams(localVarUrlObj, localVarQueryParameter);
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
Expand Down Expand Up @@ -105,7 +105,7 @@ export const JobManagementApiAxiosParamCreator = function (configuration?: Confi
}



setSearchParams(localVarUrlObj, localVarQueryParameter);
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
Expand Down Expand Up @@ -139,7 +139,7 @@ export const JobManagementApiAxiosParamCreator = function (configuration?: Confi
const localVarQueryParameter = {} as any;



setSearchParams(localVarUrlObj, localVarQueryParameter);
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
Expand Down Expand Up @@ -173,7 +173,7 @@ export const JobManagementApiAxiosParamCreator = function (configuration?: Confi
const localVarQueryParameter = {} as any;



setSearchParams(localVarUrlObj, localVarQueryParameter);
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
Expand Down Expand Up @@ -213,7 +213,7 @@ export const JobManagementApiAxiosParamCreator = function (configuration?: Confi
}



setSearchParams(localVarUrlObj, localVarQueryParameter);
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
Expand Down Expand Up @@ -252,7 +252,7 @@ export const JobManagementApiAxiosParamCreator = function (configuration?: Confi
}



setSearchParams(localVarUrlObj, localVarQueryParameter);
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
Expand Down
6 changes: 3 additions & 3 deletions api/users-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError, ope
// @ts-ignore
import { ErrorSchema } from '../models';
// @ts-ignore
import { GetUsersResponse } from '../models';
import { UserResponse } from '../models';
/**
* UsersApi - axios parameter creator
* @export
Expand Down Expand Up @@ -81,7 +81,7 @@ export const UsersApiFp = function(configuration?: Configuration) {
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
async getUsers(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetUsersResponse>> {
async getUsers(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<UserResponse>>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.getUsers(options);
const index = configuration?.serverIndex ?? 0;
const operationBasePath = operationServerMap['UsersApi.getUsers']?.[index]?.url;
Expand All @@ -103,7 +103,7 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
getUsers(options?: RawAxiosRequestConfig): AxiosPromise<GetUsersResponse> {
getUsers(options?: RawAxiosRequestConfig): AxiosPromise<Array<UserResponse>> {
return localVarFp.getUsers(options).then((request) => request(axios, basePath));
},
};
Expand Down
Loading
Loading