Some checks failed
Publish Swift Package / build-test-publish (push) Failing after 13s
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
18 lines
625 B
Swift
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"
|
|
}
|