namespace CashLineERP.Application.Tax;

public interface IEtaAuthorityClient
{
    Task<EtaAuthoritySubmissionReceipt> SubmitDocumentsAsync(
        EtaAuthorityEndpointSelection endpoint,
        EtaAuthorityAccessToken accessToken,
        string submissionReference,
        string payloadText,
        string? signatureText,
        CancellationToken cancellationToken = default);

    Task<EtaAuthoritySubmissionStatus> GetSubmissionStatusAsync(
        EtaAuthorityEndpointSelection endpoint,
        EtaAuthorityAccessToken accessToken,
        string submissionUuid,
        CancellationToken cancellationToken = default);
}
