/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: c09e4bbcfb5e
 */

import * as z from "zod/v4";

export type GetDeploymentV1WorkflowsDeploymentsNameGetRequest = {
  name: string;
};

/** @internal */
export type GetDeploymentV1WorkflowsDeploymentsNameGetRequest$Outbound = {
  name: string;
};

/** @internal */
export const GetDeploymentV1WorkflowsDeploymentsNameGetRequest$outboundSchema:
  z.ZodType<
    GetDeploymentV1WorkflowsDeploymentsNameGetRequest$Outbound,
    GetDeploymentV1WorkflowsDeploymentsNameGetRequest
  > = z.object({
    name: z.string(),
  });

export function getDeploymentV1WorkflowsDeploymentsNameGetRequestToJSON(
  getDeploymentV1WorkflowsDeploymentsNameGetRequest:
    GetDeploymentV1WorkflowsDeploymentsNameGetRequest,
): string {
  return JSON.stringify(
    GetDeploymentV1WorkflowsDeploymentsNameGetRequest$outboundSchema.parse(
      getDeploymentV1WorkflowsDeploymentsNameGetRequest,
    ),
  );
}
