/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. * @generated-id: c37dd1c1a20c */ import * as z from "zod/v4"; export type GetAPIKeyGlobals = { /** * Workspace name. Platform API keys already select a workspace; other authentication methods can configure it once on the SDK client. */ workspace?: string | undefined; }; export type GetAPIKeyRequest = { /** * Unique identifier for the api key. */ id: string; }; /** @internal */ export type GetAPIKeyRequest$Outbound = { id: string; }; /** @internal */ export const GetAPIKeyRequest$outboundSchema: z.ZodType< GetAPIKeyRequest$Outbound, GetAPIKeyRequest > = z.object({ id: z.string(), }); export function getAPIKeyRequestToJSON( getAPIKeyRequest: GetAPIKeyRequest, ): string { return JSON.stringify( GetAPIKeyRequest$outboundSchema.parse(getAPIKeyRequest), ); }