kucoin-universal-sdk
Version:
Official KuCoin Universal SDK.
172 lines (171 loc) • 11.7 kB
TypeScript
import * as ACCOUNT from './account';
import * as DEPOSIT from './deposit';
import * as WITHDRAWAL from './withdrawal';
import * as FEE from './fee';
import * as SUBACCOUNT from './subaccount';
import * as TRANSFER from './transfer';
export declare const Account: {
Account: typeof ACCOUNT;
Deposit: typeof DEPOSIT;
Withdrawal: typeof WITHDRAWAL;
Fee: typeof FEE;
SubAccount: typeof SUBACCOUNT;
Transfer: typeof TRANSFER;
};
export declare namespace Account {
type AccountAPI = ACCOUNT.AccountAPI;
type DepositAPI = DEPOSIT.DepositAPI;
type WithdrawalAPI = WITHDRAWAL.WithdrawalAPI;
type FeeAPI = FEE.FeeAPI;
type SubAccountAPI = SUBACCOUNT.SubAccountAPI;
type TransferAPI = TRANSFER.TransferAPI;
namespace Deposit {
type AddDepositAddressV1Req = DEPOSIT.AddDepositAddressV1Req;
type AddDepositAddressV1Resp = DEPOSIT.AddDepositAddressV1Resp;
type AddDepositAddressV3Req = DEPOSIT.AddDepositAddressV3Req;
type AddDepositAddressV3Resp = DEPOSIT.AddDepositAddressV3Resp;
type GetDepositAddressV1Req = DEPOSIT.GetDepositAddressV1Req;
type GetDepositAddressV1Resp = DEPOSIT.GetDepositAddressV1Resp;
type GetDepositAddressV2Data = DEPOSIT.GetDepositAddressV2Data;
type GetDepositAddressV2Req = DEPOSIT.GetDepositAddressV2Req;
type GetDepositAddressV2Resp = DEPOSIT.GetDepositAddressV2Resp;
type GetDepositAddressV3Data = DEPOSIT.GetDepositAddressV3Data;
type GetDepositAddressV3Req = DEPOSIT.GetDepositAddressV3Req;
type GetDepositAddressV3Resp = DEPOSIT.GetDepositAddressV3Resp;
type GetDepositHistoryItems = DEPOSIT.GetDepositHistoryItems;
type GetDepositHistoryOldItems = DEPOSIT.GetDepositHistoryOldItems;
type GetDepositHistoryOldReq = DEPOSIT.GetDepositHistoryOldReq;
type GetDepositHistoryOldResp = DEPOSIT.GetDepositHistoryOldResp;
type GetDepositHistoryReq = DEPOSIT.GetDepositHistoryReq;
type GetDepositHistoryResp = DEPOSIT.GetDepositHistoryResp;
}
namespace Fee {
type GetBasicFeeReq = FEE.GetBasicFeeReq;
type GetBasicFeeResp = FEE.GetBasicFeeResp;
type GetFuturesActualFeeReq = FEE.GetFuturesActualFeeReq;
type GetFuturesActualFeeResp = FEE.GetFuturesActualFeeResp;
type GetSpotActualFeeData = FEE.GetSpotActualFeeData;
type GetSpotActualFeeReq = FEE.GetSpotActualFeeReq;
type GetSpotActualFeeResp = FEE.GetSpotActualFeeResp;
}
namespace Withdrawal {
type CancelWithdrawalReq = WITHDRAWAL.CancelWithdrawalReq;
type CancelWithdrawalResp = WITHDRAWAL.CancelWithdrawalResp;
type GetWithdrawalHistoryByIdReq = WITHDRAWAL.GetWithdrawalHistoryByIdReq;
type GetWithdrawalHistoryByIdResp = WITHDRAWAL.GetWithdrawalHistoryByIdResp;
type GetWithdrawalHistoryItems = WITHDRAWAL.GetWithdrawalHistoryItems;
type GetWithdrawalHistoryOldItems = WITHDRAWAL.GetWithdrawalHistoryOldItems;
type GetWithdrawalHistoryOldReq = WITHDRAWAL.GetWithdrawalHistoryOldReq;
type GetWithdrawalHistoryOldResp = WITHDRAWAL.GetWithdrawalHistoryOldResp;
type GetWithdrawalHistoryReq = WITHDRAWAL.GetWithdrawalHistoryReq;
type GetWithdrawalHistoryResp = WITHDRAWAL.GetWithdrawalHistoryResp;
type GetWithdrawalQuotasReq = WITHDRAWAL.GetWithdrawalQuotasReq;
type GetWithdrawalQuotasResp = WITHDRAWAL.GetWithdrawalQuotasResp;
type WithdrawalV1Req = WITHDRAWAL.WithdrawalV1Req;
type WithdrawalV1Resp = WITHDRAWAL.WithdrawalV1Resp;
type WithdrawalV3Req = WITHDRAWAL.WithdrawalV3Req;
type WithdrawalV3Resp = WITHDRAWAL.WithdrawalV3Resp;
}
namespace Transfer {
type FlexTransferReq = TRANSFER.FlexTransferReq;
type FlexTransferResp = TRANSFER.FlexTransferResp;
type FuturesAccountTransferInReq = TRANSFER.FuturesAccountTransferInReq;
type FuturesAccountTransferInResp = TRANSFER.FuturesAccountTransferInResp;
type FuturesAccountTransferOutReq = TRANSFER.FuturesAccountTransferOutReq;
type FuturesAccountTransferOutResp = TRANSFER.FuturesAccountTransferOutResp;
type GetFuturesAccountTransferOutLedgerItems = TRANSFER.GetFuturesAccountTransferOutLedgerItems;
type GetFuturesAccountTransferOutLedgerReq = TRANSFER.GetFuturesAccountTransferOutLedgerReq;
type GetFuturesAccountTransferOutLedgerResp = TRANSFER.GetFuturesAccountTransferOutLedgerResp;
type GetTransferQuotasReq = TRANSFER.GetTransferQuotasReq;
type GetTransferQuotasResp = TRANSFER.GetTransferQuotasResp;
type InnerTransferReq = TRANSFER.InnerTransferReq;
type InnerTransferResp = TRANSFER.InnerTransferResp;
type SubAccountTransferReq = TRANSFER.SubAccountTransferReq;
type SubAccountTransferResp = TRANSFER.SubAccountTransferResp;
}
namespace SubAccount {
type AddSubAccountApiReq = SUBACCOUNT.AddSubAccountApiReq;
type AddSubAccountApiResp = SUBACCOUNT.AddSubAccountApiResp;
type AddSubAccountFuturesPermissionReq = SUBACCOUNT.AddSubAccountFuturesPermissionReq;
type AddSubAccountFuturesPermissionResp = SUBACCOUNT.AddSubAccountFuturesPermissionResp;
type AddSubAccountMarginPermissionReq = SUBACCOUNT.AddSubAccountMarginPermissionReq;
type AddSubAccountMarginPermissionResp = SUBACCOUNT.AddSubAccountMarginPermissionResp;
type AddSubAccountReq = SUBACCOUNT.AddSubAccountReq;
type AddSubAccountResp = SUBACCOUNT.AddSubAccountResp;
type DeleteSubAccountApiReq = SUBACCOUNT.DeleteSubAccountApiReq;
type DeleteSubAccountApiResp = SUBACCOUNT.DeleteSubAccountApiResp;
type GetFuturesSubAccountListV2Accounts = SUBACCOUNT.GetFuturesSubAccountListV2Accounts;
type GetFuturesSubAccountListV2Req = SUBACCOUNT.GetFuturesSubAccountListV2Req;
type GetFuturesSubAccountListV2Resp = SUBACCOUNT.GetFuturesSubAccountListV2Resp;
type GetFuturesSubAccountListV2Summary = SUBACCOUNT.GetFuturesSubAccountListV2Summary;
type GetSpotSubAccountDetailMainAccounts = SUBACCOUNT.GetSpotSubAccountDetailMainAccounts;
type GetSpotSubAccountDetailMarginAccounts = SUBACCOUNT.GetSpotSubAccountDetailMarginAccounts;
type GetSpotSubAccountDetailReq = SUBACCOUNT.GetSpotSubAccountDetailReq;
type GetSpotSubAccountDetailResp = SUBACCOUNT.GetSpotSubAccountDetailResp;
type GetSpotSubAccountDetailTradeAccounts = SUBACCOUNT.GetSpotSubAccountDetailTradeAccounts;
type GetSpotSubAccountListV1Data = SUBACCOUNT.GetSpotSubAccountListV1Data;
type GetSpotSubAccountListV1DataMainAccounts = SUBACCOUNT.GetSpotSubAccountListV1DataMainAccounts;
type GetSpotSubAccountListV1DataMarginAccounts = SUBACCOUNT.GetSpotSubAccountListV1DataMarginAccounts;
type GetSpotSubAccountListV1DataTradeAccounts = SUBACCOUNT.GetSpotSubAccountListV1DataTradeAccounts;
type GetSpotSubAccountListV1Resp = SUBACCOUNT.GetSpotSubAccountListV1Resp;
type GetSpotSubAccountListV2Items = SUBACCOUNT.GetSpotSubAccountListV2Items;
type GetSpotSubAccountListV2ItemsMainAccounts = SUBACCOUNT.GetSpotSubAccountListV2ItemsMainAccounts;
type GetSpotSubAccountListV2ItemsMarginAccounts = SUBACCOUNT.GetSpotSubAccountListV2ItemsMarginAccounts;
type GetSpotSubAccountListV2ItemsTradeAccounts = SUBACCOUNT.GetSpotSubAccountListV2ItemsTradeAccounts;
type GetSpotSubAccountListV2Req = SUBACCOUNT.GetSpotSubAccountListV2Req;
type GetSpotSubAccountListV2Resp = SUBACCOUNT.GetSpotSubAccountListV2Resp;
type GetSpotSubAccountsSummaryV1Data = SUBACCOUNT.GetSpotSubAccountsSummaryV1Data;
type GetSpotSubAccountsSummaryV1Resp = SUBACCOUNT.GetSpotSubAccountsSummaryV1Resp;
type GetSpotSubAccountsSummaryV2Items = SUBACCOUNT.GetSpotSubAccountsSummaryV2Items;
type GetSpotSubAccountsSummaryV2Req = SUBACCOUNT.GetSpotSubAccountsSummaryV2Req;
type GetSpotSubAccountsSummaryV2Resp = SUBACCOUNT.GetSpotSubAccountsSummaryV2Resp;
type GetSubAccountApiListData = SUBACCOUNT.GetSubAccountApiListData;
type GetSubAccountApiListReq = SUBACCOUNT.GetSubAccountApiListReq;
type GetSubAccountApiListResp = SUBACCOUNT.GetSubAccountApiListResp;
type ModifySubAccountApiReq = SUBACCOUNT.ModifySubAccountApiReq;
type ModifySubAccountApiResp = SUBACCOUNT.ModifySubAccountApiResp;
}
namespace Account {
type GetAccountInfoResp = ACCOUNT.GetAccountInfoResp;
type GetApikeyInfoResp = ACCOUNT.GetApikeyInfoResp;
type GetCrossMarginAccountAccounts = ACCOUNT.GetCrossMarginAccountAccounts;
type GetCrossMarginAccountReq = ACCOUNT.GetCrossMarginAccountReq;
type GetCrossMarginAccountResp = ACCOUNT.GetCrossMarginAccountResp;
type GetFuturesAccountReq = ACCOUNT.GetFuturesAccountReq;
type GetFuturesAccountResp = ACCOUNT.GetFuturesAccountResp;
type GetFuturesLedgerDataList = ACCOUNT.GetFuturesLedgerDataList;
type GetFuturesLedgerReq = ACCOUNT.GetFuturesLedgerReq;
type GetFuturesLedgerResp = ACCOUNT.GetFuturesLedgerResp;
type GetIsolatedMarginAccountAssets = ACCOUNT.GetIsolatedMarginAccountAssets;
type GetIsolatedMarginAccountAssetsBaseAsset = ACCOUNT.GetIsolatedMarginAccountAssetsBaseAsset;
type GetIsolatedMarginAccountAssetsQuoteAsset = ACCOUNT.GetIsolatedMarginAccountAssetsQuoteAsset;
type GetIsolatedMarginAccountDetailV1BaseAsset = ACCOUNT.GetIsolatedMarginAccountDetailV1BaseAsset;
type GetIsolatedMarginAccountDetailV1QuoteAsset = ACCOUNT.GetIsolatedMarginAccountDetailV1QuoteAsset;
type GetIsolatedMarginAccountDetailV1Req = ACCOUNT.GetIsolatedMarginAccountDetailV1Req;
type GetIsolatedMarginAccountDetailV1Resp = ACCOUNT.GetIsolatedMarginAccountDetailV1Resp;
type GetIsolatedMarginAccountListV1Assets = ACCOUNT.GetIsolatedMarginAccountListV1Assets;
type GetIsolatedMarginAccountListV1AssetsBaseAsset = ACCOUNT.GetIsolatedMarginAccountListV1AssetsBaseAsset;
type GetIsolatedMarginAccountListV1AssetsQuoteAsset = ACCOUNT.GetIsolatedMarginAccountListV1AssetsQuoteAsset;
type GetIsolatedMarginAccountListV1Req = ACCOUNT.GetIsolatedMarginAccountListV1Req;
type GetIsolatedMarginAccountListV1Resp = ACCOUNT.GetIsolatedMarginAccountListV1Resp;
type GetIsolatedMarginAccountReq = ACCOUNT.GetIsolatedMarginAccountReq;
type GetIsolatedMarginAccountResp = ACCOUNT.GetIsolatedMarginAccountResp;
type GetMarginAccountDetailAccounts = ACCOUNT.GetMarginAccountDetailAccounts;
type GetMarginAccountDetailResp = ACCOUNT.GetMarginAccountDetailResp;
type GetMarginHFLedgerData = ACCOUNT.GetMarginHFLedgerData;
type GetMarginHFLedgerReq = ACCOUNT.GetMarginHFLedgerReq;
type GetMarginHFLedgerResp = ACCOUNT.GetMarginHFLedgerResp;
type GetSpotAccountDetailReq = ACCOUNT.GetSpotAccountDetailReq;
type GetSpotAccountDetailResp = ACCOUNT.GetSpotAccountDetailResp;
type GetSpotAccountListData = ACCOUNT.GetSpotAccountListData;
type GetSpotAccountListReq = ACCOUNT.GetSpotAccountListReq;
type GetSpotAccountListResp = ACCOUNT.GetSpotAccountListResp;
type GetSpotAccountTypeResp = ACCOUNT.GetSpotAccountTypeResp;
type GetSpotHFLedgerData = ACCOUNT.GetSpotHFLedgerData;
type GetSpotHFLedgerReq = ACCOUNT.GetSpotHFLedgerReq;
type GetSpotHFLedgerResp = ACCOUNT.GetSpotHFLedgerResp;
type GetSpotLedgerItems = ACCOUNT.GetSpotLedgerItems;
type GetSpotLedgerReq = ACCOUNT.GetSpotLedgerReq;
type GetSpotLedgerResp = ACCOUNT.GetSpotLedgerResp;
}
}