Dograh Enums (api/enums.py)

dograh · api/enums.py · python · BSD-2-Clause
voice, tag:enums, tag:configuration

Defines reusable enums for integration actions, environments, call types, and more.

# Source: https://github.com/dograh-hq/dograh | License: BSD-2-Clause | Copyright 2025, Zansat Technologies Private Limited
# Provided via justclaw.it.com; keep this notice with the code.
from enum import Enum


class IntegrationAction(Enum):
    ALL_CALLS = "All Calls"
    QUALIFIED_CALLS = "Qualified Calls"


class Environment(Enum):
    LOCAL = "local"
    PRODUCTION = "production"
    TEST = "test"


class CallType(Enum):
    INBOUND = "inbound"
    OUTBOUND = "outbound"


class AnswerAction(str, Enum):
    # Start speaking after silence, while continuing to supervise the answer.
    START_OPENING = "start_opening"
    # Play the workflow opening, then allow normal conversation.
    RELEASE = "release"
    # Play the configured voicemail message, then disconnect.
    LEAVE_MESSAGE = "l

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key