import { KeyValueType } from "../KeyValue.type"; import { WorkflowRuntimeStatus } from "./WorkflowRuntimeStatus.type"; /** * WorkflowGetResponseType defines the response from a get request for a workflow. */ export type WorkflowGetResponseType = { /** * instanceID is the unique identifier for the workflow instance. */ instanceID: string; /** * workflowName is the name of the workflow. * This is the name of the workflow as defined in the workflow definition. */ workflowName: string; /** * createdAt is the time the workflow instance was created. */ createdAt: Date; /** * lastUpdatedAt is the time the workflow instance was last updated. */ lastUpdatedAt: Date; /** * runtimeStatus is the current status of the workflow instance. */ runtimeStatus: WorkflowRuntimeStatus; /** * properties is a collection of key/value pairs that are associated with the workflow instance. */ properties: KeyValueType; };