Skip to content

Commit

Permalink
chore(): lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
JJ-Cro committed Jan 6, 2025
1 parent 2def783 commit 900cca4
Showing 1 changed file with 27 additions and 31 deletions.
58 changes: 27 additions & 31 deletions src/rest-client-v5.ts
Original file line number Diff line number Diff line change
Expand Up @@ -997,19 +997,18 @@ export class RestClientV5 extends BaseRestClient {
}

/**
* Query the available amount to transfer of a specific coin in the Unified wallet.
*
* @param coinName Coin name, uppercase only
*/
getTransferableAmount(params: {
coinName: string;
}): Promise<APIResponseV3WithTime<{
availableWithdrawal: string;
}>> {
* Query the available amount to transfer of a specific coin in the Unified wallet.
*
* @param coinName Coin name, uppercase only
*/
getTransferableAmount(params: { coinName: string }): Promise<
APIResponseV3WithTime<{
availableWithdrawal: string;
}>
> {
return this.getPrivate('/v5/account/withdrawal', params);
}

/**
/**
* Upgrade to unified account.
*
Expand Down Expand Up @@ -1608,11 +1607,11 @@ export class RestClientV5 extends BaseRestClient {
getConvertStatus(params: {
quoteTxId?: string;
accountType:
| 'eb_convert_funding'
| 'eb_convert_uta'
| 'eb_convert_spot'
| 'eb_convert_contract'
| 'eb_convert_inverse';
| 'eb_convert_funding'
| 'eb_convert_uta'
| 'eb_convert_spot'
| 'eb_convert_contract'
| 'eb_convert_inverse';
}): Promise<
APIResponseV3WithTime<{
result: ConvertStatusV5;
Expand Down Expand Up @@ -1804,25 +1803,22 @@ export class RestClientV5 extends BaseRestClient {
*/

/**
* Get Affiliate User List.
* To use this endpoint, you should have an affiliate account and only tick "affiliate" permission while creating the API key.
*
* TIP:
* - Use master UID only
* - The api key can only have "Affiliate" permission
*/
getAffiliateUserList(params?: {
size?: number;
cursor?: string;
}): Promise<APIResponseV3WithTime<{
list: AffiliateUserListItemV5[];
nextPageCursor: string;
}>> {
* Get Affiliate User List.
* To use this endpoint, you should have an affiliate account and only tick "affiliate" permission while creating the API key.
*
* TIP:
* - Use master UID only
* - The api key can only have "Affiliate" permission
*/
getAffiliateUserList(params?: { size?: number; cursor?: string }): Promise<
APIResponseV3WithTime<{
list: AffiliateUserListItemV5[];
nextPageCursor: string;
}>
> {
return this.getPrivate('/v5/affiliate/aff-user-list', params);
}



/**
* Get Affiliate User Info.
*
Expand Down

0 comments on commit 900cca4

Please sign in to comment.