chore(): small type update

This commit is contained in:
Jerko J
2024-10-15 12:42:53 +02:00
parent f7e829eb45
commit 599ba5ad8c
2 changed files with 15 additions and 15 deletions

View File

@@ -185,8 +185,8 @@ import {
UpdateApiKeyResultV5, UpdateApiKeyResultV5,
VIPMarginDataV5, VIPMarginDataV5,
VaspEntityV5, VaspEntityV5,
VipBorrowableCoinListV5, VipBorrowableCoinsV5,
VipCollateralCoinListV5, VipCollateralCoinsV5,
WalletBalanceV5, WalletBalanceV5,
WithdrawParamsV5, WithdrawParamsV5,
WithdrawalRecordV5, WithdrawalRecordV5,
@@ -2050,7 +2050,7 @@ export class RestClientV5 extends BaseRestClient {
currency?: string; currency?: string;
}): Promise< }): Promise<
APIResponseV3WithTime<{ APIResponseV3WithTime<{
vipCoinList: VipCollateralCoinListV5[]; vipCoinList: VipCollateralCoinsV5[];
}> }>
> { > {
return this.get('/v5/crypto-loan/collateral-data', params); return this.get('/v5/crypto-loan/collateral-data', params);
@@ -2066,7 +2066,7 @@ export class RestClientV5 extends BaseRestClient {
currency?: string; currency?: string;
}): Promise< }): Promise<
APIResponseV3WithTime<{ APIResponseV3WithTime<{
vipCoinList: VipBorrowableCoinListV5[]; vipCoinList: VipBorrowableCoinsV5[];
}> }>
> { > {
return this.get('/v5/crypto-loan/loanable-data', params); return this.get('/v5/crypto-loan/loanable-data', params);

View File

@@ -7,7 +7,7 @@ export interface CollateralCoinV5 {
maxLimit: string; maxLimit: string;
} }
export interface VipCollateralCoinListV5 { export interface VipCollateralCoinsV5 {
list: CollateralCoinV5[]; list: CollateralCoinV5[];
vipLevel: string; vipLevel: string;
} }
@@ -25,7 +25,7 @@ export interface BorrowableCoinV5 {
minBorrowingAmount: string; minBorrowingAmount: string;
} }
export interface VipBorrowableCoinListV5 { export interface VipBorrowableCoinsV5 {
list: BorrowableCoinV5[]; list: BorrowableCoinV5[];
vipLevel: string; vipLevel: string;
} }
@@ -81,12 +81,12 @@ export interface CompletedLoanOrderV5 {
status: number; status: number;
} }
export interface LoanLTVAdjustmentHistoryV5 { export interface LoanLTVAdjustmentHistoryV5 {
collateralCurrency: string; collateralCurrency: string;
orderId: string; orderId: string;
adjustId: string; adjustId: string;
adjustTime: string; adjustTime: string;
preLTV: string; preLTV: string;
afterLTV: string; afterLTV: string;
direction: number; direction: number;
amount: string; amount: string;
} }