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

import * as z from "zod/v4";
import { Inputs, Inputs$Outbound, Inputs$outboundSchema } from "./inputs.js";

export type ChatClassificationRequest = {
  model: string;
  /**
   * Chat to classify
   */
  input: Inputs;
};

/** @internal */
export type ChatClassificationRequest$Outbound = {
  model: string;
  input: Inputs$Outbound;
};

/** @internal */
export const ChatClassificationRequest$outboundSchema: z.ZodType<
  ChatClassificationRequest$Outbound,
  ChatClassificationRequest
> = z.object({
  model: z.string(),
  input: Inputs$outboundSchema,
});

export function chatClassificationRequestToJSON(
  chatClassificationRequest: ChatClassificationRequest,
): string {
  return JSON.stringify(
    ChatClassificationRequest$outboundSchema.parse(chatClassificationRequest),
  );
}
