/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. * @generated-id: 99c206579097 */ import * as z from "zod/v3"; import { remap as remap$ } from "../../lib/primitives.js"; import * as components from "../components/index.js"; export type AddverificationreminderRequest = { /** * The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`. */ locale?: string | undefined; /** * Details about the reminder. */ reminderRequest: components.ReminderRequest; }; /** @internal */ export type AddverificationreminderRequest$Outbound = { locale?: string | undefined; ReminderRequest: components.ReminderRequest$Outbound; }; /** @internal */ export const AddverificationreminderRequest$outboundSchema: z.ZodType< AddverificationreminderRequest$Outbound, z.ZodTypeDef, AddverificationreminderRequest > = z.object({ locale: z.string().optional(), reminderRequest: components.ReminderRequest$outboundSchema, }).transform((v) => { return remap$(v, { reminderRequest: "ReminderRequest", }); }); export function addverificationreminderRequestToJSON( addverificationreminderRequest: AddverificationreminderRequest, ): string { return JSON.stringify( AddverificationreminderRequest$outboundSchema.parse( addverificationreminderRequest, ), ); }