using CashLineERP.Contracts.Tax;

namespace CashLineERP.Application.Tax;

public interface IEtaAuthorityIntegrationService
{
    EtaAuthorityAuthHealthResponse GetAuthHealth();

    Task<EtaAuthoritySubmissionStatusResponse> GetAuthoritySubmissionStatusAsync(
        long accountsReceivableInvoiceId,
        long etaSubmissionLogId,
        CancellationToken cancellationToken = default);

    EtaAuthorityPingResponse VerifyPing(string? suppliedSecret, string? echoText);
}
