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

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

export const FilePurpose = {
  FineTune: "fine-tune",
  Batch: "batch",
  Ocr: "ocr",
} as const;
export type FilePurpose = OpenEnum<typeof FilePurpose>;

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