@oneblink/sdk-core
    Preparing search index...

    Type Alias NewFormSubmissionWorkflowEvent

    NewFormSubmissionWorkflowEvent: {
        error?: string;
        event: FormWorkflowEvent | FormSchedulingEvent;
        finishedAt?: string;
        formId: number;
        startedAt?: string;
        status: "QUEUED" | "STARTED" | "FAILED" | "SUCCEEDED";
    } & (
        | {
            stage: "SCHEDULING"
            | "SUBMISSION"
            | "APPROVAL"
            | "REPLAY"
            | "RETRY";
            submissionId: string;
        }
        | { draftId: string; stage: "DRAFT" }
    )