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 Arc = { /** * Manager URL for commands */ url: string; /** * Deployment ID to use in command requests */ deploymentId: string; }; export declare const Protocol: { readonly Http: "http"; readonly Tcp: "tcp"; }; export type Protocol = ClosedEnum; export type PublicEndpoints = { url: string; protocol: Protocol; host: string; port: number; wildcardHost?: string | undefined; }; export type DeploymentConnectionInfoResources = { /** * Resource type identifier that determines the specific kind of resource. This field is used for polymorphic deserialization and resource-specific behavior. */ type: string; /** * Public endpoints keyed by endpoint name. */ publicEndpoints?: { [k: string]: PublicEndpoints; } | undefined; }; /** * 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 DeploymentConnectionInfoStatus: { 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 DeploymentConnectionInfoStatus = ClosedEnum; export type DeploymentConnectionInfo = { arc: Arc; /** * Deployed resources and their public endpoints */ resources: { [k: string]: DeploymentConnectionInfoResources; }; /** * 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. */ status: DeploymentConnectionInfoStatus; platform: string; }; /** @internal */ export declare const Arc$inboundSchema: z.ZodType; export declare function arcFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const Protocol$inboundSchema: z.ZodEnum; /** @internal */ export declare const PublicEndpoints$inboundSchema: z.ZodType; export declare function publicEndpointsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const DeploymentConnectionInfoResources$inboundSchema: z.ZodType; export declare function deploymentConnectionInfoResourcesFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const DeploymentConnectionInfoStatus$inboundSchema: z.ZodEnum; /** @internal */ export declare const DeploymentConnectionInfo$inboundSchema: z.ZodType; export declare function deploymentConnectionInfoFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=deploymentconnectioninfo.d.ts.map