using GestionIntegral.Api.Dtos.Auditoria; using GestionIntegral.Api.Dtos.Contables; using System; using System.Collections.Generic; using System.Threading.Tasks; namespace GestionIntegral.Api.Services.Contables { public interface IPagoDistribuidorService { Task> ObtenerTodosAsync( DateTime? fechaDesde, DateTime? fechaHasta, int? idDistribuidor, int? idEmpresa, string? tipoMovimiento); Task ObtenerPorIdAsync(int idPago); Task<(PagoDistribuidorDto? Pago, string? Error)> CrearAsync(CreatePagoDistribuidorDto createDto, int idUsuario); Task<(bool Exito, string? Error)> ActualizarAsync(int idPago, UpdatePagoDistribuidorDto updateDto, int idUsuario); Task<(bool Exito, string? Error)> EliminarAsync(int idPago, int idUsuario); Task> ObtenerHistorialAsync( DateTime? fechaDesde, DateTime? fechaHasta, int? idUsuarioModifico, string? tipoModificacion, int? idPagoAfectado); } }