import * as z from "zod/v4"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { CommandDeploymentGroupInfo } from "./commanddeploymentgroupinfo.js"; import { SDKValidationError } from "./errors/sdkvalidationerror.js"; /** * Represents the target cloud platform. */ export declare const CommandDeploymentInfoPlatform: { 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 CommandDeploymentInfoPlatform = ClosedEnum; export declare const CommandDeploymentInfoPlatformTest: { readonly Test: "test"; }; export type CommandDeploymentInfoPlatformTest = ClosedEnum; /** * Test platform environment information (mock) */ export type CommandDeploymentInfoEnvironmentInfoTest = { /** * Test identifier for this environment */ testId: string; platform: CommandDeploymentInfoPlatformTest; }; export declare const CommandDeploymentInfoPlatformLocal: { readonly Local: "local"; }; export type CommandDeploymentInfoPlatformLocal = ClosedEnum; /** * Local platform environment information */ export type CommandDeploymentInfoEnvironmentInfoLocal = { /** * Architecture (e.g., "x86_64", "aarch64") */ arch: string; /** * Hostname of the machine running the deployment */ hostname: string; /** * Operating system (e.g., "linux", "macos", "windows") */ os: string; platform: CommandDeploymentInfoPlatformLocal; }; export declare const CommandDeploymentInfoPlatformAzure: { readonly Azure: "azure"; }; export type CommandDeploymentInfoPlatformAzure = ClosedEnum; /** * Azure-specific environment information */ export type CommandDeploymentInfoEnvironmentInfoAzure = { /** * Azure location/region */ location: string; /** * Azure subscription ID */ subscriptionId: string; /** * Azure tenant ID */ tenantId: string; platform: CommandDeploymentInfoPlatformAzure; }; export declare const CommandDeploymentInfoPlatformGcp: { readonly Gcp: "gcp"; }; export type CommandDeploymentInfoPlatformGcp = ClosedEnum; /** * GCP-specific environment information */ export type CommandDeploymentInfoEnvironmentInfoGcp = { /** * GCP project ID (e.g., "my-project") */ projectId: string; /** * GCP project number (e.g., "123456789012") */ projectNumber: string; /** * GCP region */ region: string; platform: CommandDeploymentInfoPlatformGcp; }; export declare const CommandDeploymentInfoPlatformAws: { readonly Aws: "aws"; }; export type CommandDeploymentInfoPlatformAws = ClosedEnum; /** * AWS-specific environment information */ export type CommandDeploymentInfoEnvironmentInfoAws = { /** * AWS account ID */ accountId: string; /** * AWS region */ region: string; platform: CommandDeploymentInfoPlatformAws; }; /** * Platform-specific environment information */ export type CommandDeploymentInfoEnvironmentInfoUnion = CommandDeploymentInfoEnvironmentInfoGcp | CommandDeploymentInfoEnvironmentInfoAzure | CommandDeploymentInfoEnvironmentInfoLocal | CommandDeploymentInfoEnvironmentInfoAws | CommandDeploymentInfoEnvironmentInfoTest | any; export type CommandDeploymentInfo = { /** * Unique identifier for the deployment. */ id: string; name: string; deploymentGroup?: CommandDeploymentGroupInfo | undefined; /** * Represents the target cloud platform. */ platform?: CommandDeploymentInfoPlatform | undefined; /** * Platform-specific environment information */ environmentInfo?: CommandDeploymentInfoEnvironmentInfoGcp | CommandDeploymentInfoEnvironmentInfoAzure | CommandDeploymentInfoEnvironmentInfoLocal | CommandDeploymentInfoEnvironmentInfoAws | CommandDeploymentInfoEnvironmentInfoTest | any | null | undefined; /** * Manager ID for obtaining access tokens */ managerId: string; /** * URL of the manager for direct payload access */ managerUrl?: string | null | undefined; /** * Human-readable name of the manager */ managerName?: string | null | undefined; /** * Whether the manager is Alien-hosted (system) */ managerIsSystem?: boolean | null | undefined; }; /** @internal */ export declare const CommandDeploymentInfoPlatform$inboundSchema: z.ZodEnum; /** @internal */ export declare const CommandDeploymentInfoPlatformTest$inboundSchema: z.ZodEnum; /** @internal */ export declare const CommandDeploymentInfoEnvironmentInfoTest$inboundSchema: z.ZodType; export declare function commandDeploymentInfoEnvironmentInfoTestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CommandDeploymentInfoPlatformLocal$inboundSchema: z.ZodEnum; /** @internal */ export declare const CommandDeploymentInfoEnvironmentInfoLocal$inboundSchema: z.ZodType; export declare function commandDeploymentInfoEnvironmentInfoLocalFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CommandDeploymentInfoPlatformAzure$inboundSchema: z.ZodEnum; /** @internal */ export declare const CommandDeploymentInfoEnvironmentInfoAzure$inboundSchema: z.ZodType; export declare function commandDeploymentInfoEnvironmentInfoAzureFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CommandDeploymentInfoPlatformGcp$inboundSchema: z.ZodEnum; /** @internal */ export declare const CommandDeploymentInfoEnvironmentInfoGcp$inboundSchema: z.ZodType; export declare function commandDeploymentInfoEnvironmentInfoGcpFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CommandDeploymentInfoPlatformAws$inboundSchema: z.ZodEnum; /** @internal */ export declare const CommandDeploymentInfoEnvironmentInfoAws$inboundSchema: z.ZodType; export declare function commandDeploymentInfoEnvironmentInfoAwsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CommandDeploymentInfoEnvironmentInfoUnion$inboundSchema: z.ZodType; export declare function commandDeploymentInfoEnvironmentInfoUnionFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CommandDeploymentInfo$inboundSchema: z.ZodType; export declare function commandDeploymentInfoFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=commanddeploymentinfo.d.ts.map