/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod/v3"; export type WpayPaytoSimulationOptions = { /** * The simulation being requested. Please refer to the developer guide for a list of all available simulations. */ simulate?: string | null | undefined; /** * The delay in seconds before the requested simulation is executed. */ delay?: number | null | undefined; }; /** @internal */ export type WpayPaytoSimulationOptions$Outbound = { simulate?: string | null | undefined; delay?: number | null | undefined; }; /** @internal */ export const WpayPaytoSimulationOptions$outboundSchema: z.ZodType< WpayPaytoSimulationOptions$Outbound, z.ZodTypeDef, WpayPaytoSimulationOptions > = z.object({ simulate: z.nullable(z.string()).optional(), delay: z.nullable(z.number().int()).optional(), }); export function wpayPaytoSimulationOptionsToJSON( wpayPaytoSimulationOptions: WpayPaytoSimulationOptions, ): string { return JSON.stringify( WpayPaytoSimulationOptions$outboundSchema.parse(wpayPaytoSimulationOptions), ); }