using DigitalData.Core.Abstraction.Application;
using DigitalData.Core.Abstraction.Application.DTO;
using EnvelopeGenerator.Application.Common.Dto;
using EnvelopeGenerator.Domain.Constants;
using EnvelopeGenerator.Domain.Entities;
namespace EnvelopeGenerator.Application.Common.Interfaces.Services;
///
///
///
[Obsolete("Use MediatR")]
public interface IEnvelopeService : IBasicCRUDService
{
///
///
///
///
///
///
///
Task>> ReadAllWithAsync(bool documents = false, bool history = false, bool documentReceiverElement = false);
///
///
///
///
///
///
///
///
///
///
Task> ReadByUuidAsync(string uuid, bool withDocuments = false, bool withHistory = false, bool withDocumentReceiverElement = false, bool withUser = false, bool withAll = false);
///
///
///
///
///
///
///
///
Task>> ReadByUserAsync(int userId, EnvelopeStatus? min_status = null, EnvelopeStatus? max_status = null, params EnvelopeStatus[] ignore_statuses);
}