/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod"; export type UserContractDto = { /** * The email address of the user. */ email: string; /** * The user's first name. */ firstName: string; /** * The user's last name. */ lastName: string; /** * The user's role, which can be 'Admin', 'Read Only', 'Member', or any custom role name. */ role: string; }; /** @internal */ export const UserContractDto$inboundSchema: z.ZodType = z.object({ email: z.string(), firstName: z.string(), lastName: z.string(), role: z.string(), }); /** @internal */ export type UserContractDto$Outbound = { email: string; firstName: string; lastName: string; role: string; }; /** @internal */ export const UserContractDto$outboundSchema: z.ZodType< UserContractDto$Outbound, z.ZodTypeDef, UserContractDto > = z.object({ email: z.string(), firstName: z.string(), lastName: z.string(), role: z.string(), }); /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export namespace UserContractDto$ { /** @deprecated use `UserContractDto$inboundSchema` instead. */ export const inboundSchema = UserContractDto$inboundSchema; /** @deprecated use `UserContractDto$outboundSchema` instead. */ export const outboundSchema = UserContractDto$outboundSchema; /** @deprecated use `UserContractDto$Outbound` instead. */ export type Outbound = UserContractDto$Outbound; }