/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. * @generated-id: 1c396d0b8266 */ import * as z from "zod/v3"; export type GetPinRequest = { /** * The opaque id of the pin to be fetched. */ id?: string | undefined; }; /** @internal */ export type GetPinRequest$Outbound = { id?: string | undefined; }; /** @internal */ export const GetPinRequest$outboundSchema: z.ZodType< GetPinRequest$Outbound, z.ZodTypeDef, GetPinRequest > = z.object({ id: z.string().optional(), }); export function getPinRequestToJSON(getPinRequest: GetPinRequest): string { return JSON.stringify(GetPinRequest$outboundSchema.parse(getPinRequest)); }