import { Autotask } from './autotask'; export declare type AutotaskRunTrigger = Autotask['trigger']['type'] | 'sentinel' | 'manual' | 'manual-api'; export declare type AutotaskRunStatus = AutotaskRunResponse['status']; export interface AutotaskRunBase { autotaskRunId: string; autotaskId: string; trigger: AutotaskRunTrigger; status: string; createdAt: string; } export interface AutotaskRunPendingData { status: 'pending'; } export interface AutotaskRunThrottledData { status: 'throttled'; } export interface AutotaskRunErrorData { status: 'error'; message: string; decodedLogs?: string; requestId?: string; } export interface AutotaskRunSuccessData { status: 'success'; decodedLogs?: string; result: string; requestId: string; } export declare type AutotaskRunListResponse = { items: AutotaskRunBase[]; next: string; }; export declare type AutotaskRunListItemResponse = AutotaskRunBase; export declare type AutotaskRunResponse = AutotaskRunBase & (AutotaskRunPendingData | AutotaskRunErrorData | AutotaskRunSuccessData | AutotaskRunThrottledData); export declare type AutotaskRunFinishedResponse = AutotaskRunBase & (AutotaskRunErrorData | AutotaskRunSuccessData); //# sourceMappingURL=autotask-run.res.d.ts.map