/* * 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 UpdateCommentForControlRequest = { auditId: string; controlId: string; commentId: string; updateAuditControlCommentInput: components.UpdateAuditControlCommentInput; }; /** @internal */ export type UpdateCommentForControlRequest$Outbound = { auditId: string; controlId: string; commentId: string; UpdateAuditControlCommentInput: components.UpdateAuditControlCommentInput$Outbound; }; /** @internal */ export const UpdateCommentForControlRequest$outboundSchema: z.ZodType< UpdateCommentForControlRequest$Outbound, z.ZodTypeDef, UpdateCommentForControlRequest > = z.object({ auditId: z.string(), controlId: z.string(), commentId: z.string(), updateAuditControlCommentInput: components.UpdateAuditControlCommentInput$outboundSchema, }).transform((v) => { return remap$(v, { updateAuditControlCommentInput: "UpdateAuditControlCommentInput", }); }); export function updateCommentForControlRequestToJSON( updateCommentForControlRequest: UpdateCommentForControlRequest, ): string { return JSON.stringify( UpdateCommentForControlRequest$outboundSchema.parse( updateCommentForControlRequest, ), ); }