/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. * @generated-id: d8171cb78561 */ import * as z from "zod/v3"; /** * Describes the request body of the /deleteemployee API call */ export type DeleteEmployeeRequest = { /** * Version number for document for optimistic concurrency control. If absent or 0 then no version checks are done. */ version?: number | undefined; /** * The deleted employee's email */ employeeEmail: string; }; /** @internal */ export type DeleteEmployeeRequest$Outbound = { version?: number | undefined; employeeEmail: string; }; /** @internal */ export const DeleteEmployeeRequest$outboundSchema: z.ZodType< DeleteEmployeeRequest$Outbound, z.ZodTypeDef, DeleteEmployeeRequest > = z.object({ version: z.number().int().optional(), employeeEmail: z.string(), }); export function deleteEmployeeRequestToJSON( deleteEmployeeRequest: DeleteEmployeeRequest, ): string { return JSON.stringify( DeleteEmployeeRequest$outboundSchema.parse(deleteEmployeeRequest), ); }