interface AutomationRun {
    automationId: string;
    executions: {
        endedAt: Date;
        output: ({ status: "USER_ERROR"; error: any; }) | ({ status: "SERVER_ERROR"; error: any; }) | ({ data?: any; status: "SUCCESS"; });
        startedAt: Date;
    }[];
    id: string;
    status: "USER_ERROR" | "SERVER_ERROR" | "SUCCESS" | "PENDING" | "EXECUTING" | "RETRY";
    triggerEvent: {
        payload: any;
    };
}

Hierarchy

  • StaticDecode<typeof tAutomationRun>
    • AutomationRun

Properties

automationId: string = ...
executions: {
    endedAt: Date;
    output: ({ status: "USER_ERROR"; error: any; }) | ({ status: "SERVER_ERROR"; error: any; }) | ({ data?: any; status: "SUCCESS"; });
    startedAt: Date;
}[] = ...

Type declaration

  • endedAt: Date
  • output: ({ status: "USER_ERROR"; error: any; }) | ({ status: "SERVER_ERROR"; error: any; }) | ({ data?: any; status: "SUCCESS"; })
  • startedAt: Date
id: string = ...
status: "USER_ERROR" | "SERVER_ERROR" | "SUCCESS" | "PENDING" | "EXECUTING" | "RETRY" = ...
triggerEvent: {
    payload: any;
} = ...

Type declaration

  • payload: any