The refresh-token fields and optional transport settings; a MalRefreshTokenRequest.
The refreshed MalTokenResponse.
AniLinkApiError when MAL rejects the grant, or AniLinkNetworkError on timeout, cancellation, or network failure; both carry sanitized token-request details.
refreshMalAccessToken exchanges a MAL refresh token for a new access token.
It uses the MalRefreshTokenRequest fields from a prior MalTokenResponse and returns a fresh MalTokenResponse for
MalCredentialsandbuildMyAnimeListApi. Transport is shared with RequestOptions.