/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. * @generated-id: bfb3dbda0fb2 */ import * as z from "zod/v4"; import { remap as remap$ } from "../../lib/primitives.js"; import * as models from "../index.js"; export type DeleteDeploymentGlobals = { /** * Workspace name. Platform API keys already select a workspace; other authentication methods can configure it once on the SDK client. */ workspace?: string | undefined; }; export type DeleteDeploymentRequest = { /** * Unique identifier for the deployment. */ id: string; deleteDeploymentRequest?: models.DeleteDeploymentRequest | undefined; }; /** @internal */ export type DeleteDeploymentRequest$Outbound = { id: string; DeleteDeploymentRequest?: models.DeleteDeploymentRequest$Outbound | undefined; }; /** @internal */ export const DeleteDeploymentRequest$outboundSchema: z.ZodType< DeleteDeploymentRequest$Outbound, DeleteDeploymentRequest > = z.object({ id: z.string(), deleteDeploymentRequest: models.DeleteDeploymentRequest$outboundSchema .optional(), }).transform((v) => { return remap$(v, { deleteDeploymentRequest: "DeleteDeploymentRequest", }); }); export function deleteDeploymentRequestToJSON( deleteDeploymentRequest: DeleteDeploymentRequest, ): string { return JSON.stringify( DeleteDeploymentRequest$outboundSchema.parse(deleteDeploymentRequest), ); }