1
0
Fork 0
mirror of synced 2024-06-14 00:14:39 +12:00
budibase/packages/types/src/sdk/events/automation.ts

52 lines
1 KiB
TypeScript

import { BaseEvent } from "./event"
export interface AutomationCreatedEvent extends BaseEvent {
appId: string
automationId: string
triggerId: string
triggerType: string
}
export interface AutomationTriggerUpdatedEvent extends BaseEvent {
appId: string
automationId: string
triggerId: string
triggerType: string
}
export interface AutomationDeletedEvent extends BaseEvent {
appId: string
automationId: string
triggerId: string
triggerType: string
}
export interface AutomationTestedEvent extends BaseEvent {
appId: string
automationId: string
triggerId: string
triggerType: string
}
export interface AutomationStepCreatedEvent extends BaseEvent {
appId: string
automationId: string
triggerId: string
triggerType: string
stepId: string
stepType: string
}
export interface AutomationStepDeletedEvent extends BaseEvent {
appId: string
automationId: string
triggerId: string
triggerType: string
stepId: string
stepType: string
}
export interface AutomationsRunEvent extends BaseEvent {
count: number
}