/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod/v3"; import { DlocalUPIWalletOptions, DlocalUPIWalletOptions$Outbound, DlocalUPIWalletOptions$outboundSchema, } from "./dlocalupiwalletoptions.js"; export type DlocalUPIOptions = { /** * Passes `wallet` data to the dLocal API for those connectors that need it. */ wallet?: DlocalUPIWalletOptions | null | undefined; }; /** @internal */ export type DlocalUPIOptions$Outbound = { wallet?: DlocalUPIWalletOptions$Outbound | null | undefined; }; /** @internal */ export const DlocalUPIOptions$outboundSchema: z.ZodType< DlocalUPIOptions$Outbound, z.ZodTypeDef, DlocalUPIOptions > = z.object({ wallet: z.nullable(DlocalUPIWalletOptions$outboundSchema).optional(), }); export function dlocalUPIOptionsToJSON( dlocalUPIOptions: DlocalUPIOptions, ): string { return JSON.stringify( DlocalUPIOptions$outboundSchema.parse(dlocalUPIOptions), ); }