/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. * @generated-id: b184ce8bf760 */ import * as z from "zod/v4"; export type ResolveCommandTargetGlobals = { /** * 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 ResolveCommandTargetRequest = { /** * Deployment to resolve the target for */ deploymentId: string; /** * Explicit resource id to resolve; must be a command-capable resource */ target?: string | undefined; }; /** @internal */ export type ResolveCommandTargetRequest$Outbound = { deploymentId: string; target?: string | undefined; }; /** @internal */ export const ResolveCommandTargetRequest$outboundSchema: z.ZodType< ResolveCommandTargetRequest$Outbound, ResolveCommandTargetRequest > = z.object({ deploymentId: z.string(), target: z.string().optional(), }); export function resolveCommandTargetRequestToJSON( resolveCommandTargetRequest: ResolveCommandTargetRequest, ): string { return JSON.stringify( ResolveCommandTargetRequest$outboundSchema.parse( resolveCommandTargetRequest, ), ); }