/* * 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 ListThreeDsConfigurationsRequest = { /** * The ID of the merchant account. */ merchantAccountId: string; /** * ISO 4217 currency code (3 characters) to filter 3DS configurations. */ currency?: string | null | undefined; }; /** @internal */ export type ListThreeDsConfigurationsRequest$Outbound = { merchant_account_id: string; currency?: string | null | undefined; }; /** @internal */ export const ListThreeDsConfigurationsRequest$outboundSchema: z.ZodType< ListThreeDsConfigurationsRequest$Outbound, z.ZodTypeDef, ListThreeDsConfigurationsRequest > = z.object({ merchantAccountId: z.string(), currency: z.nullable(z.string()).optional(), }).transform((v) => { return remap$(v, { merchantAccountId: "merchant_account_id", }); }); export function listThreeDsConfigurationsRequestToJSON( listThreeDsConfigurationsRequest: ListThreeDsConfigurationsRequest, ): string { return JSON.stringify( ListThreeDsConfigurationsRequest$outboundSchema.parse( listThreeDsConfigurationsRequest, ), ); }