/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod"; export type APIKeyV2 = { /** * Unique identifier for this API key */ id: string; /** * The name of the API key, for the user's reference */ name: string; }; /** @internal */ export const APIKeyV2$inboundSchema: z.ZodType< APIKeyV2, z.ZodTypeDef, unknown > = z.object({ id: z.string(), name: z.string(), }); /** @internal */ export type APIKeyV2$Outbound = { id: string; name: string; }; /** @internal */ export const APIKeyV2$outboundSchema: z.ZodType< APIKeyV2$Outbound, z.ZodTypeDef, APIKeyV2 > = z.object({ id: z.string(), name: 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 APIKeyV2$ { /** @deprecated use `APIKeyV2$inboundSchema` instead. */ export const inboundSchema = APIKeyV2$inboundSchema; /** @deprecated use `APIKeyV2$outboundSchema` instead. */ export const outboundSchema = APIKeyV2$outboundSchema; /** @deprecated use `APIKeyV2$Outbound` instead. */ export type Outbound = APIKeyV2$Outbound; }