/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: 6f811821efbc
 */

import * as z from "zod/v4";
import * as openEnums from "../../types/enums.js";
import { OpenEnum } from "../../types/enums.js";

export const BaseTaskStatus = {
  Running: "RUNNING",
  Completed: "COMPLETED",
  Failed: "FAILED",
  Canceled: "CANCELED",
  Terminated: "TERMINATED",
  ContinuedAsNew: "CONTINUED_AS_NEW",
  TimedOut: "TIMED_OUT",
  Unknown: "UNKNOWN",
} as const;
export type BaseTaskStatus = OpenEnum<typeof BaseTaskStatus>;

/** @internal */
export const BaseTaskStatus$inboundSchema: z.ZodType<BaseTaskStatus, unknown> =
  openEnums.inboundSchema(BaseTaskStatus);
