Skip to content
Français

WorkflowPauseRequest

import type { WorkflowPauseRequest } from "@elie-laloum/outpost";
  • idRequired
    string
    Random identifier generated when the gate pauses; a decision’s requestId must equal it.
  • requestedAtRequired
    string
    ISO timestamp when the gate entered its paused state.
  • authenticationOptional
    "signed" | undefined
    Signature requirement copied from the gate into this pending request.
  • kindRequired
    "approval" | "pause"
    approval waits for approve; pause waits for resume. Both accept rejection.
  • promptRequired
    string
    Question put to the actors, copied into the pending request.
  • actorsRequired
    readonly string[]
    Names allowed to decide this gate. A signed gate also requires a key bound to the chosen actor.
export interface WorkflowPauseRequest extends WorkflowGate {
  readonly id: string;
  readonly requestedAt: string;
}