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