chore(): fixed types

This commit is contained in:
Jerko J
2024-10-15 12:36:33 +02:00
parent 7b7258b009
commit f7e829eb45
3 changed files with 14 additions and 16 deletions

View File

@@ -2,6 +2,7 @@
import { import {
APIResponseV3, APIResponseV3,
APIResponseV3WithTime, APIResponseV3WithTime,
AccountBorrowCollateralLimitV5,
AccountCoinBalanceV5, AccountCoinBalanceV5,
AccountInfoV5, AccountInfoV5,
AccountMarginModeV5, AccountMarginModeV5,
@@ -22,6 +23,7 @@ import {
BatchCreateOrderResultV5, BatchCreateOrderResultV5,
BatchOrderParamsV5, BatchOrderParamsV5,
BatchOrdersResponseV5, BatchOrdersResponseV5,
BorrowCryptoLoanParamsV5,
BorrowHistoryRecordV5, BorrowHistoryRecordV5,
BrokerIssuedVoucherV5, BrokerIssuedVoucherV5,
BrokerVoucherSpecV5, BrokerVoucherSpecV5,
@@ -36,6 +38,7 @@ import {
CoinGreeksV5, CoinGreeksV5,
CoinInfoV5, CoinInfoV5,
CollateralInfoV5, CollateralInfoV5,
CompletedLoanOrderV5,
ConfirmNewRiskLimitParamsV5, ConfirmNewRiskLimitParamsV5,
ConvertCoinSpecV5, ConvertCoinSpecV5,
ConvertCoinsParamsV5, ConvertCoinsParamsV5,
@@ -72,6 +75,7 @@ import {
GetClassicTransactionLogsParamsV5, GetClassicTransactionLogsParamsV5,
GetClosedPnLParamsV5, GetClosedPnLParamsV5,
GetCoinExchangeRecordParamsV5, GetCoinExchangeRecordParamsV5,
GetCompletedLoanOrderHistoryParamsV5,
GetConvertHistoryParamsV5, GetConvertHistoryParamsV5,
GetDeliveryPriceParamsV5, GetDeliveryPriceParamsV5,
GetDeliveryRecordParamsV5, GetDeliveryRecordParamsV5,
@@ -87,6 +91,7 @@ import {
GetInternalDepositRecordParamsV5, GetInternalDepositRecordParamsV5,
GetInternalTransferParamsV5, GetInternalTransferParamsV5,
GetKlineParamsV5, GetKlineParamsV5,
GetLoanLTVAdjustmentHistoryParamsV5,
GetLongShortRatioParamsV5, GetLongShortRatioParamsV5,
GetMarkPriceKlineParamsV5, GetMarkPriceKlineParamsV5,
GetMovePositionHistoryParamsV5, GetMovePositionHistoryParamsV5,
@@ -101,6 +106,7 @@ import {
GetPreUpgradeUSDCSessionParamsV5, GetPreUpgradeUSDCSessionParamsV5,
GetPremiumIndexPriceKlineParamsV5, GetPremiumIndexPriceKlineParamsV5,
GetPublicTradingHistoryParamsV5, GetPublicTradingHistoryParamsV5,
GetRepaymentHistoryParamsV5,
GetRiskLimitParamsV5, GetRiskLimitParamsV5,
GetSettlementRecordParamsV5, GetSettlementRecordParamsV5,
GetSpotLeveragedTokenOrderHistoryParamsV5, GetSpotLeveragedTokenOrderHistoryParamsV5,
@@ -109,6 +115,7 @@ import {
GetTickersParamsV5, GetTickersParamsV5,
GetTransactionLogParamsV5, GetTransactionLogParamsV5,
GetUniversalTransferRecordsParamsV5, GetUniversalTransferRecordsParamsV5,
GetUnpaidLoanOrdersParamsV5,
GetVIPMarginDataParamsV5, GetVIPMarginDataParamsV5,
GetWalletBalanceParamsV5, GetWalletBalanceParamsV5,
GetWithdrawalRecordsParamsV5, GetWithdrawalRecordsParamsV5,
@@ -120,6 +127,7 @@ import {
IssueVoucherParamsV5, IssueVoucherParamsV5,
LeverageTokenInfoV5, LeverageTokenInfoV5,
LeveragedTokenMarketResultV5, LeveragedTokenMarketResultV5,
LoanLTVAdjustmentHistoryV5,
LongShortRatioV5, LongShortRatioV5,
MMPModifyParamsV5, MMPModifyParamsV5,
MMPStateV5, MMPStateV5,
@@ -146,6 +154,7 @@ import {
RedeemSpotLeveragedTokenResultV5, RedeemSpotLeveragedTokenResultV5,
RepayLiabilityParamsV5, RepayLiabilityParamsV5,
RepayLiabilityResultV5, RepayLiabilityResultV5,
RepaymentHistoryV5,
RequestConvertQuoteParamsV5, RequestConvertQuoteParamsV5,
RiskLimitV5, RiskLimitV5,
SetAutoAddMarginParamsV5, SetAutoAddMarginParamsV5,
@@ -171,30 +180,17 @@ import {
UnifiedAccountUpgradeResultV5, UnifiedAccountUpgradeResultV5,
UniversalTransferParamsV5, UniversalTransferParamsV5,
UniversalTransferRecordV5, UniversalTransferRecordV5,
UnpaidLoanOrderV5,
UpdateApiKeyParamsV5, UpdateApiKeyParamsV5,
UpdateApiKeyResultV5, UpdateApiKeyResultV5,
VIPMarginDataV5, VIPMarginDataV5,
VaspEntityV5, VaspEntityV5,
VipBorrowableCoinListV5,
VipCollateralCoinListV5,
WalletBalanceV5, WalletBalanceV5,
WithdrawParamsV5, WithdrawParamsV5,
WithdrawalRecordV5, WithdrawalRecordV5,
} from './types'; } from './types';
import {
BorrowCryptoLoanParamsV5,
GetCompletedLoanOrderHistoryParamsV5,
GetLoanLTVAdjustmentHistoryParamsV5,
GetRepaymentHistoryParamsV5,
GetUnpaidLoanOrdersParamsV5,
} from './types/request/v5-crypto-loan';
import {
AccountBorrowCollateralLimitV5,
CompletedLoanOrderV5,
LoanLTVAdjustmentHistoryV5,
RepaymentHistoryV5,
UnpaidLoanOrderV5,
VipBorrowableCoinListV5,
VipCollateralCoinListV5,
} from './types/response/v5-crypto-loan';
import { REST_CLIENT_TYPE_ENUM } from './util'; import { REST_CLIENT_TYPE_ENUM } from './util';
import BaseRestClient from './util/BaseRestClient'; import BaseRestClient from './util/BaseRestClient';

View File

@@ -17,3 +17,4 @@ export * from './v5-trade';
export * from './v5-user'; export * from './v5-user';
export * from './v5-spot-leverage-token'; export * from './v5-spot-leverage-token';
export * from './v5-broker'; export * from './v5-broker';
export * from './v5-crypto-loan';

View File

@@ -13,3 +13,4 @@ export * from './v5-user';
export * from './v5-spot-leverage-token'; export * from './v5-spot-leverage-token';
export * from './v5-broker'; export * from './v5-broker';
export * from './v5-preupgrade'; export * from './v5-preupgrade';
export * from './v5-crypto-loan';