/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 */

import * as z from "zod/v3";
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,
  z.ZodTypeDef,
  unknown
> = openEnums.inboundSchema(FilePurpose);
/** @internal */
export const FilePurpose$outboundSchema: z.ZodType<
  string,
  z.ZodTypeDef,
  FilePurpose
> = openEnums.outboundSchema(FilePurpose);
