# Generated by ariadne-codegen
# Source: /usr/share/sourcehut/builds.sr.ht.graphqls

from enum import Enum


class AccessScope(str, Enum):
    PROFILE = "PROFILE"
    JOBS = "JOBS"
    LOGS = "LOGS"
    SECRETS = "SECRETS"


class AccessKind(str, Enum):
    RO = "RO"
    RW = "RW"


class JobStatus(str, Enum):
    PENDING = "PENDING"
    QUEUED = "QUEUED"
    RUNNING = "RUNNING"
    SUCCESS = "SUCCESS"
    FAILED = "FAILED"
    TIMEOUT = "TIMEOUT"
    CANCELLED = "CANCELLED"


class Visibility(str, Enum):
    PUBLIC = "PUBLIC"
    UNLISTED = "UNLISTED"
    PRIVATE = "PRIVATE"


class TaskStatus(str, Enum):
    PENDING = "PENDING"
    RUNNING = "RUNNING"
    SUCCESS = "SUCCESS"
    FAILED = "FAILED"
    SKIPPED = "SKIPPED"


class TriggerCondition(str, Enum):
    SUCCESS = "SUCCESS"
    FAILURE = "FAILURE"
    ALWAYS = "ALWAYS"


class WebhookEvent(str, Enum):
    JOB_CREATED = "JOB_CREATED"
    JOB_UPDATED = "JOB_UPDATED"


class TriggerType(str, Enum):
    EMAIL = "EMAIL"
    WEBHOOK = "WEBHOOK"
