/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. * @generated-id: 956943683842 */ import * as z from "zod/v4"; export type ListCommandDeploymentsGlobals = { /** * 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 ListCommandDeploymentsRequest = { /** * Filter by project ID or name. */ project?: string | undefined; /** * Search deployment or deployment group names */ search?: string | undefined; }; /** @internal */ export type ListCommandDeploymentsRequest$Outbound = { project?: string | undefined; search?: string | undefined; }; /** @internal */ export const ListCommandDeploymentsRequest$outboundSchema: z.ZodType< ListCommandDeploymentsRequest$Outbound, ListCommandDeploymentsRequest > = z.object({ project: z.string().optional(), search: z.string().optional(), }); export function listCommandDeploymentsRequestToJSON( listCommandDeploymentsRequest: ListCommandDeploymentsRequest, ): string { return JSON.stringify( ListCommandDeploymentsRequest$outboundSchema.parse( listCommandDeploymentsRequest, ), ); }