/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod/v3"; import { remap as remap$ } from "../../lib/primitives.js"; import * as components from "../components/index.js"; export type UpdateCommentForInformationRequestRequest = { auditId: string; requestId: string; commentId: string; updateInformationRequestCommentInput: components.UpdateInformationRequestCommentInput; }; /** @internal */ export type UpdateCommentForInformationRequestRequest$Outbound = { auditId: string; requestId: string; commentId: string; UpdateInformationRequestCommentInput: components.UpdateInformationRequestCommentInput$Outbound; }; /** @internal */ export const UpdateCommentForInformationRequestRequest$outboundSchema: z.ZodType< UpdateCommentForInformationRequestRequest$Outbound, z.ZodTypeDef, UpdateCommentForInformationRequestRequest > = z.object({ auditId: z.string(), requestId: z.string(), commentId: z.string(), updateInformationRequestCommentInput: components.UpdateInformationRequestCommentInput$outboundSchema, }).transform((v) => { return remap$(v, { updateInformationRequestCommentInput: "UpdateInformationRequestCommentInput", }); }); export function updateCommentForInformationRequestRequestToJSON( updateCommentForInformationRequestRequest: UpdateCommentForInformationRequestRequest, ): string { return JSON.stringify( UpdateCommentForInformationRequestRequest$outboundSchema.parse( updateCommentForInformationRequestRequest, ), ); }