package model import "time" type InboundMessage struct { Source string `json:"source"` Channel string `json:"channel"` Title string `json:"title"` Message string `json:"message"` Address string `json:"address,omitempty"` Priority int `json:"priority,omitempty"` Tags []string `json:"tags,omitempty"` Raw map[string]any `json:"raw,omitempty"` ReceivedAt time.Time `json:"received_at"` } type DeliveryResult struct { OutboundID string `json:"outbound_id,omitempty"` Error string `json:"error,omitempty"` MappingID string `json:"mapping_id"` MappingName string `json:"mapping_name"` Target string `json:"target"` StatusCode int `json:"status_code"` Response string `json:"response,omitempty"` }