package ticket

import "time"

type ActorType string

const (
	ActorTypeHuman  ActorType = "human"
	ActorTypeAgent  ActorType = "agent"
	ActorTypeSystem ActorType = "system"
)

type Source string

const (
	SourceJira   Source = "jira"
	SourceBot    Source = "bot"
	SourceCLI    Source = "cli"
	SourceCron   Source = "cron"
	SourceSystem Source = "system"
)

type TimelineEvent struct {
	ID           uint64
	TicketID     uint64
	EventType    string
	OccurredAt   time.Time
	ActorType    ActorType
	ActorID      string
	Source       Source
	Summary      string
	DetailsURL   string
	MetadataJSON string
}
