/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. * @generated-id: 99d000d44647 */ import * as z from "zod/v4"; import { remap as remap$ } from "../../lib/primitives.js"; export type GetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGetRequest = { executionId: string; /** * Include the execution's search keys (metadata) in the response. */ includeSearchKeys?: boolean | undefined; }; /** @internal */ export type GetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGetRequest$Outbound = { execution_id: string; include_search_keys: boolean; }; /** @internal */ export const GetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGetRequest$outboundSchema: z.ZodType< GetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGetRequest$Outbound, GetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGetRequest > = z.object({ executionId: z.string(), includeSearchKeys: z.boolean().default(false), }).transform((v) => { return remap$(v, { executionId: "execution_id", includeSearchKeys: "include_search_keys", }); }); export function getWorkflowExecutionV1WorkflowsExecutionsExecutionIdGetRequestToJSON( getWorkflowExecutionV1WorkflowsExecutionsExecutionIdGetRequest: GetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGetRequest, ): string { return JSON.stringify( GetWorkflowExecutionV1WorkflowsExecutionsExecutionIdGetRequest$outboundSchema .parse(getWorkflowExecutionV1WorkflowsExecutionsExecutionIdGetRequest), ); }