var RunbookAgentJobStatus;
(function (RunbookAgentJobStatus) {
    // Inserted by the Worker. No agent has claimed it yet.
    RunbookAgentJobStatus["Pending"] = "Pending";
    // An agent has atomically claimed the job and is preparing to execute it.
    RunbookAgentJobStatus["Claimed"] = "Claimed";
    // The agent has started executing the script.
    RunbookAgentJobStatus["Running"] = "Running";
    // The script finished with exit code 0.
    RunbookAgentJobStatus["Succeeded"] = "Succeeded";
    // The script finished with a non-zero exit code, or the agent reported an error.
    RunbookAgentJobStatus["Failed"] = "Failed";
    /*
     * The Worker waited longer than claimTimeoutMs and no agent picked it up,
     * or the agent's lease lapsed mid-execution.
     */
    RunbookAgentJobStatus["TimedOut"] = "TimedOut";
    // The owning runbook execution was cancelled before the agent finished.
    RunbookAgentJobStatus["Cancelled"] = "Cancelled";
})(RunbookAgentJobStatus || (RunbookAgentJobStatus = {}));
export default RunbookAgentJobStatus;
//# sourceMappingURL=RunbookAgentJobStatus.js.map