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"; export type ListDeploymentGroupsGlobals = { /** * Workspace name. Platform API keys already select a workspace; other authentication methods can configure it once on the SDK client. */ workspace?: string | undefined; }; export declare const ListDeploymentGroupsInclude: { readonly Project: "project"; }; export type ListDeploymentGroupsInclude = ClosedEnum; export type ListDeploymentGroupsRequest = { /** * Filter by project ID or name. */ project?: string | undefined; /** * Search deployment groups by name */ search?: string | undefined; /** * Optional fields to include: 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; }; /** * Project info, included when ?include=project is used */ export type ListDeploymentGroupsProject = { /** * Project ID */ id: string; /** * Project name */ name: string; }; export type ListDeploymentGroupsItem = { /** * Unique identifier for the deployment group. */ id: string; /** * Deployment group name. */ name: string; /** * Case-sensitive, URL- and header-safe identifier from the integrating application. */ externalId: string | null; /** * Unique identifier for the project. */ projectId: string; /** * Unique identifier for the workspace. */ workspaceId: string; /** * Maximum number of deployments allowed in this deployment group */ maxDeployments: number; createdAt: Date; /** * Project info, included when ?include=project is used */ project?: ListDeploymentGroupsProject | null | undefined; }; /** * Paginated response */ export type ListDeploymentGroupsResponse = { /** * Items in this page */ items: Array; /** * Cursor for the next page, null if last page */ nextCursor: string | null; }; /** @internal */ export declare const ListDeploymentGroupsInclude$outboundSchema: z.ZodEnum; /** @internal */ export type ListDeploymentGroupsRequest$Outbound = { project?: string | undefined; search?: string | undefined; include?: Array | undefined; limit: number; cursor?: string | undefined; }; /** @internal */ export declare const ListDeploymentGroupsRequest$outboundSchema: z.ZodType; export declare function listDeploymentGroupsRequestToJSON(listDeploymentGroupsRequest: ListDeploymentGroupsRequest): string; /** @internal */ export declare const ListDeploymentGroupsProject$inboundSchema: z.ZodType; export declare function listDeploymentGroupsProjectFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ListDeploymentGroupsItem$inboundSchema: z.ZodType; export declare function listDeploymentGroupsItemFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ListDeploymentGroupsResponse$inboundSchema: z.ZodType; export declare function listDeploymentGroupsResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=listdeploymentgroups.d.ts.map