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

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

/// <summary>Owner-scoped pre-cancel preview: resolves the applicable customer policy by current lead time and
/// the per-session refundability, without mutating anything. The booking id comes from the route.</summary>
public record GetCancellationPolicyPreviewQuery(long BookingId) : IRequest<OperationResult<CancellationPolicyPreviewDto>>;
