/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod/v4-mini"; import { UpdatePaymentRequest, UpdatePaymentRequest$Outbound, UpdatePaymentRequest$outboundSchema, } from "./update-payment-request.js"; export type UpdatePaymentRequestRequest = { /** * Payment ID */ id: string; /** * Payment configuration */ body: UpdatePaymentRequest; }; /** @internal */ export type UpdatePaymentRequestRequest$Outbound = { id: string; body: UpdatePaymentRequest$Outbound; }; /** @internal */ export const UpdatePaymentRequestRequest$outboundSchema: z.ZodMiniType< UpdatePaymentRequestRequest$Outbound, UpdatePaymentRequestRequest > = z.object({ id: z.string(), body: UpdatePaymentRequest$outboundSchema, }); export function updatePaymentRequestRequestToJSON( updatePaymentRequestRequest: UpdatePaymentRequestRequest, ): string { return JSON.stringify( UpdatePaymentRequestRequest$outboundSchema.parse( updatePaymentRequestRequest, ), ); }