package org.flowcolab.account.service.services;

import org.flowcolab.account.service.client.dto.accountDetails.AccountDetailsResponse;
import org.flowcolab.account.service.client.errors.account.AccountNotFound.AccountNotFoundException;
import org.flowcolab.account.service.client.errors.person.PersonNotFound.PersonNotFoundException;

public interface AccountDetailsService {

    AccountDetailsResponse findByAccountId(long accountId) throws AccountNotFoundException, PersonNotFoundException;

    AccountDetailsResponse findByUsername(String username) throws AccountNotFoundException, PersonNotFoundException;

    AccountDetailsResponse findByEmail(String email) throws AccountNotFoundException, PersonNotFoundException;
}