/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod/v3"; import { remap as remap$ } from "../../lib/primitives.js"; export type DlocalCardOptions = { /** * Indicates whether to force dlocal hosted 3D Secure authentication for the card transaction. */ threeDsecureForce?: boolean | null | undefined; }; /** @internal */ export type DlocalCardOptions$Outbound = { three_dsecure_force?: boolean | null | undefined; }; /** @internal */ export const DlocalCardOptions$outboundSchema: z.ZodType< DlocalCardOptions$Outbound, z.ZodTypeDef, DlocalCardOptions > = z.object({ threeDsecureForce: z.nullable(z.boolean()).optional(), }).transform((v) => { return remap$(v, { threeDsecureForce: "three_dsecure_force", }); }); export function dlocalCardOptionsToJSON( dlocalCardOptions: DlocalCardOptions, ): string { return JSON.stringify( DlocalCardOptions$outboundSchema.parse(dlocalCardOptions), ); }