import * as z from "zod/v4"; import { ClosedEnum } from "../../types/enums.js"; import * as models from "../index.js"; export type GetDeploymentStatsGlobals = { /** * Workspace name. Platform API keys already select a workspace; other authentication methods can configure it once on the SDK client. */ workspace?: string | undefined; }; /** * Represents the target cloud platform. */ export declare const GetDeploymentStatsEnvironment: { readonly Aws: "aws"; readonly Gcp: "gcp"; readonly Azure: "azure"; readonly Kubernetes: "kubernetes"; readonly Machines: "machines"; readonly Local: "local"; readonly Test: "test"; }; /** * Represents the target cloud platform. */ export type GetDeploymentStatsEnvironment = ClosedEnum; /** * Deployment status in the deployment lifecycle. * * @remarks * * For observe-only deployments with no release or stack state, `Running` * means the Operator is attached. Connectivity comes from `lastHeartbeatAt`; * resource health comes from inventory and resource heartbeat data. */ export declare const GetDeploymentStatsStatus: { readonly Pending: "pending"; readonly PreflightsFailed: "preflights-failed"; readonly InitialSetup: "initial-setup"; readonly InitialSetupFailed: "initial-setup-failed"; readonly Provisioning: "provisioning"; readonly WaitingForMachines: "waiting-for-machines"; readonly ProvisioningFailed: "provisioning-failed"; readonly Running: "running"; readonly RefreshFailed: "refresh-failed"; readonly UpdatePending: "update-pending"; readonly Updating: "updating"; readonly UpdateFailed: "update-failed"; readonly DeletePending: "delete-pending"; readonly Deleting: "deleting"; readonly DeleteFailed: "delete-failed"; readonly TeardownRequired: "teardown-required"; readonly TeardownFailed: "teardown-failed"; readonly Deleted: "deleted"; readonly Error: "error"; }; /** * Deployment status in the deployment lifecycle. * * @remarks * * For observe-only deployments with no release or stack state, `Running` * means the Operator is attached. Connectivity comes from `lastHeartbeatAt`; * resource health comes from inventory and resource heartbeat data. */ export type GetDeploymentStatsStatus = ClosedEnum; export type GetDeploymentStatsRequest = { /** * Filter by project ID or name. */ project?: string | undefined; /** * Filter by deployment group ID or name */ deploymentGroup?: string | undefined; /** * Filter by manager ID */ managerId?: string | undefined; /** * Filter by deployment purpose */ purpose?: models.DeploymentPurpose | undefined; /** * Filter deployments by effective environment */ environment?: Array | undefined; /** * Filter deployments by status */ status?: Array | undefined; /** * Search deployments by name or deployment group name */ search?: string | undefined; }; /** @internal */ export declare const GetDeploymentStatsEnvironment$outboundSchema: z.ZodEnum; /** @internal */ export declare const GetDeploymentStatsStatus$outboundSchema: z.ZodEnum; /** @internal */ export type GetDeploymentStatsRequest$Outbound = { project?: string | undefined; deploymentGroup?: string | undefined; managerId?: string | undefined; purpose?: string | undefined; environment?: Array | undefined; status?: Array | undefined; search?: string | undefined; }; /** @internal */ export declare const GetDeploymentStatsRequest$outboundSchema: z.ZodType; export declare function getDeploymentStatsRequestToJSON(getDeploymentStatsRequest: GetDeploymentStatsRequest): string; //# sourceMappingURL=getdeploymentstats.d.ts.map