"""Communication event types."""
from __future__ import annotations

import enum


class CommunicationEventType(str, enum.Enum):
    MESSAGE_QUEUED = "communication.message.queued"
    MESSAGE_SENT = "communication.message.sent"
    MESSAGE_DELIVERED = "communication.message.delivered"
    MESSAGE_FAILED = "communication.message.failed"
    MESSAGE_CANCELLED = "communication.message.cancelled"
    MESSAGE_EXPIRED = "communication.message.expired"
    PROVIDER_FAILOVER = "communication.provider.failover"
    PROVIDER_CIRCUIT_OPENED = "communication.provider.circuit_opened"
    PROVIDER_CIRCUIT_CLOSED = "communication.provider.circuit_closed"
    TEMPLATE_APPROVED = "communication.template.approved"
    TEMPLATE_REJECTED = "communication.template.rejected"
    OTP_GENERATED = "communication.otp.generated"
    OTP_VERIFIED = "communication.otp.verified"
    OTP_FAILED = "communication.otp.failed"
    QUEUE_DEAD_LETTER = "communication.queue.dead_letter"
    WEBHOOK_RECEIVED = "communication.webhook.received"
