/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod/v3"; export type DepartmentCreateRequestBody = { /** * Name of the department */ title: string; }; /** @internal */ export type DepartmentCreateRequestBody$Outbound = { title: string; }; /** @internal */ export const DepartmentCreateRequestBody$outboundSchema: z.ZodType< DepartmentCreateRequestBody$Outbound, z.ZodTypeDef, DepartmentCreateRequestBody > = z.object({ title: z.string(), }); export function departmentCreateRequestBodyToJSON( departmentCreateRequestBody: DepartmentCreateRequestBody, ): string { return JSON.stringify( DepartmentCreateRequestBody$outboundSchema.parse( departmentCreateRequestBody, ), ); }