Skip to content

Commit

Permalink
chore(): fixed types
Browse files Browse the repository at this point in the history
  • Loading branch information
JJ-Cro committed Oct 15, 2024
1 parent 7b7258b commit f7e829e
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 16 deletions.
28 changes: 12 additions & 16 deletions src/rest-client-v5.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import {
APIResponseV3,
APIResponseV3WithTime,
AccountBorrowCollateralLimitV5,
AccountCoinBalanceV5,
AccountInfoV5,
AccountMarginModeV5,
Expand All @@ -22,6 +23,7 @@ import {
BatchCreateOrderResultV5,
BatchOrderParamsV5,
BatchOrdersResponseV5,
BorrowCryptoLoanParamsV5,
BorrowHistoryRecordV5,
BrokerIssuedVoucherV5,
BrokerVoucherSpecV5,
Expand All @@ -36,6 +38,7 @@ import {
CoinGreeksV5,
CoinInfoV5,
CollateralInfoV5,
CompletedLoanOrderV5,
ConfirmNewRiskLimitParamsV5,
ConvertCoinSpecV5,
ConvertCoinsParamsV5,
Expand Down Expand Up @@ -72,6 +75,7 @@ import {
GetClassicTransactionLogsParamsV5,
GetClosedPnLParamsV5,
GetCoinExchangeRecordParamsV5,
GetCompletedLoanOrderHistoryParamsV5,
GetConvertHistoryParamsV5,
GetDeliveryPriceParamsV5,
GetDeliveryRecordParamsV5,
Expand All @@ -87,6 +91,7 @@ import {
GetInternalDepositRecordParamsV5,
GetInternalTransferParamsV5,
GetKlineParamsV5,
GetLoanLTVAdjustmentHistoryParamsV5,
GetLongShortRatioParamsV5,
GetMarkPriceKlineParamsV5,
GetMovePositionHistoryParamsV5,
Expand All @@ -101,6 +106,7 @@ import {
GetPreUpgradeUSDCSessionParamsV5,
GetPremiumIndexPriceKlineParamsV5,
GetPublicTradingHistoryParamsV5,
GetRepaymentHistoryParamsV5,
GetRiskLimitParamsV5,
GetSettlementRecordParamsV5,
GetSpotLeveragedTokenOrderHistoryParamsV5,
Expand All @@ -109,6 +115,7 @@ import {
GetTickersParamsV5,
GetTransactionLogParamsV5,
GetUniversalTransferRecordsParamsV5,
GetUnpaidLoanOrdersParamsV5,
GetVIPMarginDataParamsV5,
GetWalletBalanceParamsV5,
GetWithdrawalRecordsParamsV5,
Expand All @@ -120,6 +127,7 @@ import {
IssueVoucherParamsV5,
LeverageTokenInfoV5,
LeveragedTokenMarketResultV5,
LoanLTVAdjustmentHistoryV5,
LongShortRatioV5,
MMPModifyParamsV5,
MMPStateV5,
Expand All @@ -146,6 +154,7 @@ import {
RedeemSpotLeveragedTokenResultV5,
RepayLiabilityParamsV5,
RepayLiabilityResultV5,
RepaymentHistoryV5,
RequestConvertQuoteParamsV5,
RiskLimitV5,
SetAutoAddMarginParamsV5,
Expand All @@ -171,30 +180,17 @@ import {
UnifiedAccountUpgradeResultV5,
UniversalTransferParamsV5,
UniversalTransferRecordV5,
UnpaidLoanOrderV5,
UpdateApiKeyParamsV5,
UpdateApiKeyResultV5,
VIPMarginDataV5,
VaspEntityV5,
VipBorrowableCoinListV5,
VipCollateralCoinListV5,
WalletBalanceV5,
WithdrawParamsV5,
WithdrawalRecordV5,
} 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 BaseRestClient from './util/BaseRestClient';
Expand Down
1 change: 1 addition & 0 deletions src/types/request/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ export * from './v5-trade';
export * from './v5-user';
export * from './v5-spot-leverage-token';
export * from './v5-broker';
export * from './v5-crypto-loan';
1 change: 1 addition & 0 deletions src/types/response/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ export * from './v5-user';
export * from './v5-spot-leverage-token';
export * from './v5-broker';
export * from './v5-preupgrade';
export * from './v5-crypto-loan';

0 comments on commit f7e829e

Please sign in to comment.