using Baya.Application.Models.Common;
using Baya.Application.Models.Refunds;
using Mediator;

namespace Baya.Application.Features.Refunds.Queries.ListRefunds;

/// <summary>Admin refund worklist — projected + paginated; surfaces channel, decomposed legs, status, the BNPL
/// ETA and the policy snapshot. Optional <paramref name="BookingId"/> / <paramref name="Status"/> filters.</summary>
public record ListRefundsQuery(long? BookingId = null, string? Status = null, int Page = 1, int PageSize = 20)
    : IRequest<OperationResult<PagedResult<RefundListItemDto>>>;
