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