/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod/v3"; import { remap as remap$ } from "../../lib/primitives.js"; export type GetApiKeyPairRequest = { /** * The ID of the API key pair. */ apiKeyPairId: string; }; /** @internal */ export type GetApiKeyPairRequest$Outbound = { api_key_pair_id: string; }; /** @internal */ export const GetApiKeyPairRequest$outboundSchema: z.ZodType< GetApiKeyPairRequest$Outbound, z.ZodTypeDef, GetApiKeyPairRequest > = z.object({ apiKeyPairId: z.string(), }).transform((v) => { return remap$(v, { apiKeyPairId: "api_key_pair_id", }); }); export function getApiKeyPairRequestToJSON( getApiKeyPairRequest: GetApiKeyPairRequest, ): string { return JSON.stringify( GetApiKeyPairRequest$outboundSchema.parse(getApiKeyPairRequest), ); }