using CashLineERP.Contracts.Documents;
using CashLineERP.Contracts.IslamicFinance;

namespace CashLineERP.Application.IslamicFinance.Murabaha;

public interface IIslamicFinanceMurabahaContractService
{
    IReadOnlyCollection<DocumentAttachmentResponse> GetContracts(long murabahaCaseId);
    DocumentAttachmentResponse? GetContract(long murabahaCaseId, long documentLinkId);
    DocumentAttachmentResponse GenerateContract(long murabahaCaseId, long actorUserId, GenerateIslamicFinanceMurabahaContractRequest request);
}
