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,
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);

View File

@@ -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;
}