using CashLineERP.Domain.Identity;

namespace CashLineERP.Application.Identity;

public interface IAccountingOfficeClientRequestRepository
{
    IReadOnlyCollection<AccountingOfficeClientRequest> GetClientRequests(long clientPartyId);

    IReadOnlyCollection<AccountingOfficeClientRequest> GetAssignedClientRequests(long accountingOfficeUserId, long clientPartyId);

    AccountingOfficeClientRequest? GetClientRequest(long requestId);

    AccountingOfficeClientRequest Create(AccountingOfficeClientRequest request);

    AccountingOfficeClientRequest Update(AccountingOfficeClientRequest request);
}

