using ZB.MOM.WW.Audit;

namespace ZB.MOM.WW.ScadaBridge.Commons.Messages.Integration;

/// <summary>
/// Audit Log telemetry envelope sent from a site to central over gRPC.
/// At-least-once delivery; central is idempotent on <see cref="AuditEvent.EventId"/>.
/// See Component-AuditLog.md "Ingestion" for the handoff contract.
/// </summary>
public sealed record AuditTelemetryEnvelope(
    Guid EnvelopeId,
    string SourceSiteId,
    IReadOnlyList<AuditEvent> Events);
