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