/* * 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 DeleteThreeDsScenarioGlobals = { merchantAccountId?: string | undefined; }; export type DeleteThreeDsScenarioRequest = { /** * The ID of the 3DS scenario */ threeDsScenarioId: string; /** * The ID of the merchant account to use for this request. */ merchantAccountId?: string | null | undefined; }; /** @internal */ export type DeleteThreeDsScenarioRequest$Outbound = { three_ds_scenario_id: string; merchantAccountId?: string | null | undefined; }; /** @internal */ export const DeleteThreeDsScenarioRequest$outboundSchema: z.ZodType< DeleteThreeDsScenarioRequest$Outbound, z.ZodTypeDef, DeleteThreeDsScenarioRequest > = z.object({ threeDsScenarioId: z.string(), merchantAccountId: z.nullable(z.string()).optional(), }).transform((v) => { return remap$(v, { threeDsScenarioId: "three_ds_scenario_id", }); }); export function deleteThreeDsScenarioRequestToJSON( deleteThreeDsScenarioRequest: DeleteThreeDsScenarioRequest, ): string { return JSON.stringify( DeleteThreeDsScenarioRequest$outboundSchema.parse( deleteThreeDsScenarioRequest, ), ); }