mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-06-19 08:28:10 +02:00
Feat/inbound telephony (#113)
* feat: inbound telephony (twilio & vobiz) * chore: add ruff and lint formatting * fix: add missing cloudonix interface compliance implementation
This commit is contained in:
parent
b79bc4221d
commit
97fbd9b37b
22 changed files with 1998 additions and 40 deletions
|
|
@ -21,6 +21,7 @@ from sqlalchemy import (
|
|||
from sqlalchemy.orm import declarative_base, relationship
|
||||
|
||||
from ..enums import (
|
||||
CallType,
|
||||
IntegrationAction,
|
||||
ToolCategory,
|
||||
ToolStatus,
|
||||
|
|
@ -324,6 +325,12 @@ class WorkflowRunModel(Base):
|
|||
Enum(*[mode.value for mode in WorkflowRunMode], name="workflow_run_mode"),
|
||||
nullable=False,
|
||||
)
|
||||
call_type = Column(
|
||||
Enum(*[call_type.value for call_type in CallType], name="workflow_call_type"),
|
||||
nullable=False,
|
||||
default=CallType.OUTBOUND.value,
|
||||
server_default=text("'outbound'::workflow_call_type"),
|
||||
)
|
||||
state = Column(
|
||||
Enum(*[state.value for state in WorkflowRunState], name="workflow_run_state"),
|
||||
nullable=False,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue