/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. * @generated-id: f7526eeb5ccd */ import * as z from "zod/v3"; /** * Information about which team an employee belongs to */ export type EmployeeTeamInfo = { /** * unique identifier for this team */ id?: string | undefined; /** * Team name */ name?: string | undefined; /** * Link to internal company team page */ url?: string | undefined; }; /** @internal */ export type EmployeeTeamInfo$Outbound = { id?: string | undefined; name?: string | undefined; url?: string | undefined; }; /** @internal */ export const EmployeeTeamInfo$outboundSchema: z.ZodType< EmployeeTeamInfo$Outbound, z.ZodTypeDef, EmployeeTeamInfo > = z.object({ id: z.string().optional(), name: z.string().optional(), url: z.string().optional(), }); export function employeeTeamInfoToJSON( employeeTeamInfo: EmployeeTeamInfo, ): string { return JSON.stringify( EmployeeTeamInfo$outboundSchema.parse(employeeTeamInfo), ); }