chore(): lint fix

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

View File

@@ -1001,15 +1001,14 @@ export class RestClientV5 extends BaseRestClient {
* *
* @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.
* *
@@ -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;
}): Promise<APIResponseV3WithTime<{
list: AffiliateUserListItemV5[]; list: AffiliateUserListItemV5[];
nextPageCursor: string; 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.
* *