lilith-messaging-domain-models/Sources/LilithDomainModels/MessageTypes.swift
Natalie b8c7542e4f
Some checks failed
Publish Swift Package / build-test-publish (push) Failing after 13s
feat(@packages/domain-models): add message content and workflow setup
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
2026-04-15 01:16:50 -07:00

18 lines
625 B
Swift

import Foundation
// MARK: - Message Type
/// Backend-aligned message type enum.
/// Raw values match the backend's MESSAGE_TYPES snake_case strings exactly.
public enum MessageType: String, Codable, Hashable, Sendable {
case text = "text"
case system = "system"
case rateCard = "rate_card"
case availabilityWidget = "availability_widget"
case bookingProposal = "booking_proposal"
case counterOffer = "counter_offer"
case agreementSummary = "agreement_summary"
case screeningRequest = "screening_request"
case autoResponse = "auto_response"
case paymentRequest = "payment_request"
}