chore(): lint fix

This commit is contained in:
JJ-Cro
2025-01-06 12:34:52 +01:00
parent 2def783f47
commit 900cca43d4

View File

@@ -997,19 +997,18 @@ export class RestClientV5 extends BaseRestClient {
} }
/** /**
* Query the available amount to transfer of a specific coin in the Unified wallet. * Query the available amount to transfer of a specific coin in the Unified wallet.
* *
* @param coinName Coin name, uppercase only * @param coinName Coin name, uppercase only
*/ */
getTransferableAmount(params: { getTransferableAmount(params: { coinName: string }): Promise<
coinName: string; APIResponseV3WithTime<{
}): Promise<APIResponseV3WithTime<{ availableWithdrawal: string;
availableWithdrawal: string; }>
}>> { > {
return this.getPrivate('/v5/account/withdrawal', params); return this.getPrivate('/v5/account/withdrawal', params);
} }
/**
/** /**
* Upgrade to unified account. * Upgrade to unified account.
* *
@@ -1608,11 +1607,11 @@ export class RestClientV5 extends BaseRestClient {
getConvertStatus(params: { getConvertStatus(params: {
quoteTxId?: string; quoteTxId?: string;
accountType: accountType:
| 'eb_convert_funding' | 'eb_convert_funding'
| 'eb_convert_uta' | 'eb_convert_uta'
| 'eb_convert_spot' | 'eb_convert_spot'
| 'eb_convert_contract' | 'eb_convert_contract'
| 'eb_convert_inverse'; | 'eb_convert_inverse';
}): Promise< }): Promise<
APIResponseV3WithTime<{ APIResponseV3WithTime<{
result: ConvertStatusV5; result: ConvertStatusV5;
@@ -1804,25 +1803,22 @@ export class RestClientV5 extends BaseRestClient {
*/ */
/** /**
* Get Affiliate User List. * Get Affiliate User List.
* To use this endpoint, you should have an affiliate account and only tick "affiliate" permission while creating the API key. * To use this endpoint, you should have an affiliate account and only tick "affiliate" permission while creating the API key.
* *
* TIP: * TIP:
* - Use master UID only * - Use master UID only
* - The api key can only have "Affiliate" permission * - The api key can only have "Affiliate" permission
*/ */
getAffiliateUserList(params?: { getAffiliateUserList(params?: { size?: number; cursor?: string }): Promise<
size?: number; APIResponseV3WithTime<{
cursor?: string; list: AffiliateUserListItemV5[];
}): Promise<APIResponseV3WithTime<{ nextPageCursor: string;
list: AffiliateUserListItemV5[]; }>
nextPageCursor: string; > {
}>> {
return this.getPrivate('/v5/affiliate/aff-user-list', params); return this.getPrivate('/v5/affiliate/aff-user-list', params);
} }
/** /**
* Get Affiliate User Info. * Get Affiliate User Info.
* *