package work type AgentDispatchQueueState string const ( AgentDispatchQueued AgentDispatchQueueState = "QUEUED" AgentDispatchClaimed AgentDispatchQueueState = "CLAIMED" AgentDispatchCompleted AgentDispatchQueueState = "COMPLETED" AgentDispatchFailed AgentDispatchQueueState = "FAILED" ) type AgentDispatchQueueItem struct { DispatchID string State AgentDispatchQueueState AvailableAtUnixMillis int64 Attempts int ClaimedBy string UpdatedAtUnixMillis int64 }