using CashLineERP.Contracts.IslamicFinance;

namespace CashLineERP.Application.IslamicFinance.Murabaha;

public interface IIslamicFinanceMurabahaAccountingHookService
{
    IReadOnlyCollection<IslamicFinanceAccountingHookResponse> GetHooks(long murabahaCaseId, string? postingStatusCode = null);
    IslamicFinanceAccountingHookResponse? GetHook(long murabahaCaseId, long accountingHookId);
    IslamicFinanceAccountingHookResponse RegisterHook(long murabahaCaseId, long actorUserId);
    IslamicFinanceAccountingHookResponse PublishHook(long murabahaCaseId, long accountingHookId, long actorUserId);
}
