/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. * @generated-id: 4b59ad34a15b */ import * as z from "zod/v4"; import { remap as remap$ } from "../../lib/primitives.js"; export type GetWorkflowV1WorkflowsWorkflowIdentifierGetRequest = { workflowIdentifier: string; }; /** @internal */ export type GetWorkflowV1WorkflowsWorkflowIdentifierGetRequest$Outbound = { workflow_identifier: string; }; /** @internal */ export const GetWorkflowV1WorkflowsWorkflowIdentifierGetRequest$outboundSchema: z.ZodType< GetWorkflowV1WorkflowsWorkflowIdentifierGetRequest$Outbound, GetWorkflowV1WorkflowsWorkflowIdentifierGetRequest > = z.object({ workflowIdentifier: z.string(), }).transform((v) => { return remap$(v, { workflowIdentifier: "workflow_identifier", }); }); export function getWorkflowV1WorkflowsWorkflowIdentifierGetRequestToJSON( getWorkflowV1WorkflowsWorkflowIdentifierGetRequest: GetWorkflowV1WorkflowsWorkflowIdentifierGetRequest, ): string { return JSON.stringify( GetWorkflowV1WorkflowsWorkflowIdentifierGetRequest$outboundSchema.parse( getWorkflowV1WorkflowsWorkflowIdentifierGetRequest, ), ); }