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