Files
hrynco-notification-service/HrynCo.NotificationService.Contracts/Messages/NotificationResultData.cs
T
agrynco 1631786ce2 feat(push): add service-owned firebase channels and delivery
Add push contracts, provider delivery and channel diagnostics. Link email channels to services and document migration and validation.

Ref: IT-1074
2026-10-24 12:31:35 +03:00

19 lines
716 B
C#

namespace HrynCo.NotificationService.Contracts.Messages;
public record NotificationResultData
{
public Guid? PushRegistrationId { get; init; }
public Guid? PushBindingId { get; init; }
public string? PushTokenHash { get; init; }
public bool InvalidPushRegistration { get; init; }
public required string ServiceName { get; init; }
public required string RecipientEmail { get; init; }
public required string TemplateKey { get; init; }
public required DateTimeOffset Timestamp { get; init; }
/// <summary>Null when delivery succeeded; contains error details on failure.</summary>
public string? ErrorMessage { get; init; }
public bool IsSuccess => ErrorMessage is null;
}