namespace CashLineERP.Application.Integration;

public sealed record InboxMessageDetailView(
    long InboxMessageId,
    string MessageNumber,
    long IntegrationEndpointId,
    string EndpointCode,
    string IntegrationProviderCode,
    string EnvironmentCode,
    int MaxRetryCount,
    string MessageType,
    string? ExternalMessageId,
    string? CorrelationKey,
    string PayloadText,
    string StatusCode,
    int AttemptNumber,
    DateTime AvailableAtUtc,
    DateTime? ProcessedAtUtc,
    string? ProcessedByProcess,
    string? LastErrorText,
    DateTime CreatedAtUtc,
    long? CreatedByUserId);
