/* * 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 CryptogramCreate = { /** * Defines if the request is merchant initiated or not. */ merchantInitiated: boolean; }; /** @internal */ export type CryptogramCreate$Outbound = { merchant_initiated: boolean; }; /** @internal */ export const CryptogramCreate$outboundSchema: z.ZodType< CryptogramCreate$Outbound, z.ZodTypeDef, CryptogramCreate > = z.object({ merchantInitiated: z.boolean(), }).transform((v) => { return remap$(v, { merchantInitiated: "merchant_initiated", }); }); export function cryptogramCreateToJSON( cryptogramCreate: CryptogramCreate, ): string { return JSON.stringify( CryptogramCreate$outboundSchema.parse(cryptogramCreate), ); }