/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod/v3"; export type NuveiIDealOptions = { /** * Additional data to be sent to Nuvei. */ customData?: string | null | undefined; }; /** @internal */ export type NuveiIDealOptions$Outbound = { customData?: string | null | undefined; }; /** @internal */ export const NuveiIDealOptions$outboundSchema: z.ZodType< NuveiIDealOptions$Outbound, z.ZodTypeDef, NuveiIDealOptions > = z.object({ customData: z.nullable(z.string()).optional(), }); export function nuveiIDealOptionsToJSON( nuveiIDealOptions: NuveiIDealOptions, ): string { return JSON.stringify( NuveiIDealOptions$outboundSchema.parse(nuveiIDealOptions), ); }