/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. * @generated-id: 3849fb91e310 */ import * as z from "zod/v4"; import { remap as remap$ } from "../../lib/primitives.js"; import * as components from "../components/index.js"; export type UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostRequest = { executionId: string; updateInvocationBody: components.UpdateInvocationBody; }; /** @internal */ export type UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostRequest$Outbound = { execution_id: string; UpdateInvocationBody: components.UpdateInvocationBody$Outbound; }; /** @internal */ export const UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostRequest$outboundSchema: z.ZodType< UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostRequest$Outbound, UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostRequest > = z.object({ executionId: z.string(), updateInvocationBody: components.UpdateInvocationBody$outboundSchema, }).transform((v) => { return remap$(v, { executionId: "execution_id", updateInvocationBody: "UpdateInvocationBody", }); }); export function updateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostRequestToJSON( updateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostRequest: UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostRequest, ): string { return JSON.stringify( UpdateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostRequest$outboundSchema .parse( updateWorkflowExecutionV1WorkflowsExecutionsExecutionIdUpdatesPostRequest, ), ); }