chore(): small type update
This commit is contained in:
@@ -185,8 +185,8 @@ import {
|
||||
UpdateApiKeyResultV5,
|
||||
VIPMarginDataV5,
|
||||
VaspEntityV5,
|
||||
VipBorrowableCoinListV5,
|
||||
VipCollateralCoinListV5,
|
||||
VipBorrowableCoinsV5,
|
||||
VipCollateralCoinsV5,
|
||||
WalletBalanceV5,
|
||||
WithdrawParamsV5,
|
||||
WithdrawalRecordV5,
|
||||
@@ -2050,7 +2050,7 @@ export class RestClientV5 extends BaseRestClient {
|
||||
currency?: string;
|
||||
}): Promise<
|
||||
APIResponseV3WithTime<{
|
||||
vipCoinList: VipCollateralCoinListV5[];
|
||||
vipCoinList: VipCollateralCoinsV5[];
|
||||
}>
|
||||
> {
|
||||
return this.get('/v5/crypto-loan/collateral-data', params);
|
||||
@@ -2066,7 +2066,7 @@ export class RestClientV5 extends BaseRestClient {
|
||||
currency?: string;
|
||||
}): Promise<
|
||||
APIResponseV3WithTime<{
|
||||
vipCoinList: VipBorrowableCoinListV5[];
|
||||
vipCoinList: VipBorrowableCoinsV5[];
|
||||
}>
|
||||
> {
|
||||
return this.get('/v5/crypto-loan/loanable-data', params);
|
||||
|
||||
@@ -7,7 +7,7 @@ export interface CollateralCoinV5 {
|
||||
maxLimit: string;
|
||||
}
|
||||
|
||||
export interface VipCollateralCoinListV5 {
|
||||
export interface VipCollateralCoinsV5 {
|
||||
list: CollateralCoinV5[];
|
||||
vipLevel: string;
|
||||
}
|
||||
@@ -25,7 +25,7 @@ export interface BorrowableCoinV5 {
|
||||
minBorrowingAmount: string;
|
||||
}
|
||||
|
||||
export interface VipBorrowableCoinListV5 {
|
||||
export interface VipBorrowableCoinsV5 {
|
||||
list: BorrowableCoinV5[];
|
||||
vipLevel: string;
|
||||
}
|
||||
@@ -81,12 +81,12 @@ export interface CompletedLoanOrderV5 {
|
||||
status: number;
|
||||
}
|
||||
export interface LoanLTVAdjustmentHistoryV5 {
|
||||
collateralCurrency: string;
|
||||
orderId: string;
|
||||
adjustId: string;
|
||||
adjustTime: string;
|
||||
preLTV: string;
|
||||
afterLTV: string;
|
||||
direction: number;
|
||||
amount: string;
|
||||
}
|
||||
collateralCurrency: string;
|
||||
orderId: string;
|
||||
adjustId: string;
|
||||
adjustTime: string;
|
||||
preLTV: string;
|
||||
afterLTV: string;
|
||||
direction: number;
|
||||
amount: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user