/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod/v4-mini"; import { StripePaymentGatewayOptions, StripePaymentGatewayOptions$Outbound, StripePaymentGatewayOptions$outboundSchema, } from "./stripe-payment-gateway-options.js"; export type PaymentGatewayOptions = { stripe?: StripePaymentGatewayOptions | undefined; }; /** @internal */ export type PaymentGatewayOptions$Outbound = { stripe?: StripePaymentGatewayOptions$Outbound | undefined; }; /** @internal */ export const PaymentGatewayOptions$outboundSchema: z.ZodMiniType< PaymentGatewayOptions$Outbound, PaymentGatewayOptions > = z.object({ stripe: z.optional(StripePaymentGatewayOptions$outboundSchema), }); export function paymentGatewayOptionsToJSON( paymentGatewayOptions: PaymentGatewayOptions, ): string { return JSON.stringify( PaymentGatewayOptions$outboundSchema.parse(paymentGatewayOptions), ); }