import * as z from "zod/v4"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import * as models from "../index.js"; export type ListCommandsGlobals = { /** * Workspace name. Platform API keys already select a workspace; other authentication methods can configure it once on the SDK client. */ workspace?: string | undefined; }; /** * Filter by command state */ export declare const State: { readonly PendingUpload: "PENDING_UPLOAD"; readonly Pending: "PENDING"; readonly Dispatched: "DISPATCHED"; readonly Succeeded: "SUCCEEDED"; readonly Failed: "FAILED"; readonly Expired: "EXPIRED"; }; /** * Filter by command state */ export type State = ClosedEnum; export declare const ListCommandsInclude: { readonly Deployment: "deployment"; readonly Project: "project"; }; export type ListCommandsInclude = ClosedEnum; export type ListCommandsRequest = { /** * Filter by project ID or name. */ project?: string | undefined; /** * Filter by deployment ID */ deploymentId?: string | undefined; /** * Filter by command state */ state?: State | undefined; /** * Filter by command name */ name?: string | undefined; /** * Search commands by name */ search?: string | undefined; /** * Filter commands created after this date (ISO 8601) */ createdAfter?: Date | null | undefined; /** * Filter commands created before this date (ISO 8601) */ createdBefore?: Date | null | undefined; /** * Optional fields to include: deployment, project */ include?: Array | undefined; /** * Maximum number of items to return per page */ limit?: number | undefined; /** * Cursor for pagination - omit for first page */ cursor?: string | undefined; }; /** * Paginated response */ export type ListCommandsResponse = { /** * Items in this page */ items: Array; /** * Cursor for the next page, null if last page */ nextCursor: string | null; }; /** @internal */ export declare const State$outboundSchema: z.ZodEnum; /** @internal */ export declare const ListCommandsInclude$outboundSchema: z.ZodEnum; /** @internal */ export type ListCommandsRequest$Outbound = { project?: string | undefined; deploymentId?: string | undefined; state?: string | undefined; name?: string | undefined; search?: string | undefined; createdAfter?: string | null | undefined; createdBefore?: string | null | undefined; include?: Array | undefined; limit: number; cursor?: string | undefined; }; /** @internal */ export declare const ListCommandsRequest$outboundSchema: z.ZodType; export declare function listCommandsRequestToJSON(listCommandsRequest: ListCommandsRequest): string; /** @internal */ export declare const ListCommandsResponse$inboundSchema: z.ZodType; export declare function listCommandsResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=listcommands.d.ts.map