/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: 6041f205d22f
 */
import * as z from "zod/v4";
import { remap as remap$ } from "../../lib/primitives.js";
/** @internal */
export const GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGetRequest$outboundSchema = z.object({
    executionId: z.string(),
    decodePayloads: z.boolean().default(true),
}).transform((v) => {
    return remap$(v, {
        executionId: "execution_id",
        decodePayloads: "decode_payloads",
    });
});
export function getWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGetRequestToJSON(getWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGetRequest) {
    return JSON.stringify(GetWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGetRequest$outboundSchema
        .parse(getWorkflowExecutionHistoryV1WorkflowsExecutionsExecutionIdHistoryGetRequest));
}
//# sourceMappingURL=getworkflowexecutionhistoryv1workflowsexecutionsexecutionidhistoryget.js.map