namespace ScadaLink.Commons.Messages.RemoteQuery;

/// <summary>
/// Request to query site event logs from central.
/// Supports filtering by event type, severity, instance, time range, and keyword search.
/// Uses keyset pagination via continuation token (last event ID).
/// </summary>
public record EventLogQueryRequest(
    string CorrelationId,
    string SiteId,
    DateTimeOffset? From,
    DateTimeOffset? To,
    string? EventType,
    string? Severity,
    string? InstanceId,
    string? KeywordFilter,
    long? ContinuationToken,
    int PageSize,
    DateTimeOffset Timestamp);
