2022-05-21 08:16:29 +12:00
|
|
|
import { Document } from "../document"
|
2022-05-20 23:29:31 +12:00
|
|
|
|
|
|
|
export interface Automation extends Document {
|
2022-05-19 19:19:25 +12:00
|
|
|
definition: {
|
|
|
|
steps: AutomationStep[]
|
|
|
|
trigger: AutomationTrigger
|
|
|
|
}
|
2022-05-27 10:57:14 +12:00
|
|
|
appId: string
|
2022-05-19 19:19:25 +12:00
|
|
|
}
|
2022-05-04 04:13:13 +12:00
|
|
|
|
2022-05-27 10:57:14 +12:00
|
|
|
export interface AutomationStep {
|
|
|
|
id: string
|
|
|
|
stepId: string
|
|
|
|
}
|
2022-05-04 04:13:13 +12:00
|
|
|
|
2022-05-27 10:57:14 +12:00
|
|
|
export interface AutomationTrigger {
|
|
|
|
id: string
|
|
|
|
stepId: string
|
|
|
|
}
|