import * as z from "zod/v4"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { DeploymentPortalAccentColor } from "./deploymentportalaccentcolor.js"; import { DeploymentPortalAppearancePreset } from "./deploymentportalappearancepreset.js"; import { DeploymentPortalDensity } from "./deploymentportaldensity.js"; import { SDKValidationError } from "./errors/sdkvalidationerror.js"; /** * The Git Provider of the repository */ export declare const ProjectTypeGithub: { readonly Github: "github"; }; /** * The Git Provider of the repository */ export type ProjectTypeGithub = ClosedEnum; /** * Verified source repository connected to the project. Alien uses this for GitHub Actions setup and source-aware features; releases are still created explicitly by CI or `alien release`. */ export type ProjectGitRepository = { /** * The Git Provider of the repository */ type: ProjectTypeGithub; /** * The name of the git repository */ repo: string; }; /** * Customer-facing deployment portal appearance settings. */ export type ProjectDeploymentPortalAppearance = { /** * Optional project-specific avatar override for the deployment portal. */ avatarUrl?: string | null | undefined; /** * Curated visual style for the deployment portal. */ preset: DeploymentPortalAppearancePreset; /** * Accent color used for highlights and primary actions. */ accentColor: DeploymentPortalAccentColor; /** * Optional portal title. Defaults to the project name. */ title?: string | null | undefined; /** * Optional customer-facing subtitle. */ subtitle?: string | null | undefined; /** * Optional support or contact URL. */ supportUrl?: string | null | undefined; /** * Optional documentation URL. */ docsUrl?: string | null | undefined; /** * Layout density for portal content. */ density: DeploymentPortalDensity; }; /** * Target OS and architecture for compiled binaries. * * @remarks * * Used as keys in package output maps (CLI binaries, Terraform providers, etc.) * and for cross-compilation target selection during builds. */ export declare const ProjectBinaryTarget: { readonly WindowsX64: "windows-x64"; readonly LinuxX64: "linux-x64"; readonly LinuxArm64: "linux-arm64"; readonly DarwinArm64: "darwin-arm64"; }; /** * Target OS and architecture for compiled binaries. * * @remarks * * Used as keys in package output maps (CLI binaries, Terraform providers, etc.) * and for cross-compilation target selection during builds. */ export type ProjectBinaryTarget = ClosedEnum; /** * CLI package configuration. If null, CLI packages will not be generated. */ export type ProjectCli = { /** * Binary targets required by this package's setup consumer. * * @remarks * * Older package rows omit this field and retain the historical all-target * behavior. Callers creating new packages should state their target set. */ binaryTargets?: Array | undefined; /** * Human-friendly display name for help banners and about text */ displayName: string; /** * Binary name displayed in help and usage (e.g., "acmectl") */ name: string; /** * Whether CLI package generation is enabled */ enabled: boolean; }; /** * CloudFormation package configuration. If null, CloudFormation packages will not be generated. */ export type ProjectCloudformation = { /** * Whether CloudFormation package generation is enabled */ enabled: boolean; /** * Human-friendly application name shown in generated install artifacts */ displayName?: string | null | undefined; }; /** * Operator image package configuration. Required when Helm is enabled. If null, Operator image packages will not be generated. */ export type ProjectOperatorImage = { /** * Short brand slug used for generated resource names. */ brand?: string | null | undefined; /** * Human-friendly display name for logs and startup messages */ displayName: string; /** * Branded environment variable prefix (e.g., "ACME"). */ envPrefix?: string | null | undefined; /** * Branded Kubernetes/cloud label domain (e.g., "acme.dev"). */ labelDomain?: string | null | undefined; /** * Image name (e.g., "acme-operator") */ name: string; /** * Whether Operator image package generation is enabled */ enabled: boolean; }; /** * Helm chart package configuration. If null, Helm packages will not be generated. */ export type ProjectHelm = { /** * Chart name (e.g., "acme-operator") */ chartName: string; /** * Human-friendly description of the chart */ description: string; /** * Whether Helm chart package generation is enabled */ enabled: boolean; }; /** * Terraform package configuration. If null, Terraform packages will not be generated. */ export type ProjectTerraform = { /** * Whether Terraform package generation is enabled */ enabled: boolean; /** * Human-friendly application name shown in generated install artifacts */ displayName?: string | null | undefined; }; /** * Configuration for embedded packages (CLI, CloudFormation, Helm, Terraform) */ export type ProjectPackagesConfig = { /** * CLI package configuration. If null, CLI packages will not be generated. */ cli?: ProjectCli | null | undefined; /** * CloudFormation package configuration. If null, CloudFormation packages will not be generated. */ cloudformation?: ProjectCloudformation | null | undefined; /** * Operator image package configuration. Required when Helm is enabled. If null, Operator image packages will not be generated. */ operatorImage?: ProjectOperatorImage | null | undefined; /** * Helm chart package configuration. If null, Helm packages will not be generated. */ helm?: ProjectHelm | null | undefined; /** * Terraform package configuration. If null, Terraform packages will not be generated. */ terraform?: ProjectTerraform | null | undefined; }; /** * Project default private managers for new push deployments. */ export type ProjectDefaultManagers = { /** * Unique identifier for a default private manager. */ aws?: string | null | undefined; /** * Unique identifier for a default private manager. */ gcp?: string | null | undefined; /** * Unique identifier for a default private manager. */ azure?: string | null | undefined; /** * Unique identifier for a default private manager. */ kubernetes?: string | null | undefined; /** * Unique identifier for a default private manager. */ machines?: string | null | undefined; /** * Unique identifier for a default private manager. */ local?: string | null | undefined; }; export declare const ProjectMethod: { readonly Framework: "framework"; readonly RemoteOperator: "remote-operator"; }; export type ProjectMethod = ClosedEnum; export type ProjectDeployments = { enabled: boolean; methods?: Array | undefined; }; export type ProjectKeys = { enabled: boolean; applicationEncryption: boolean; }; export declare const ProjectAllowedProvider: { readonly AwsBedrock: "aws-bedrock"; readonly GcpVertex: "gcp-vertex"; readonly AzureFoundry: "azure-foundry"; readonly Anthropic: "anthropic"; readonly Databricks: "databricks"; readonly Openai: "openai"; }; export type ProjectAllowedProvider = ClosedEnum; export declare const ProjectClientApi: { readonly OpenaiChat: "openai-chat"; readonly OpenaiResponses: "openai-responses"; readonly AnthropicMessages: "anthropic-messages"; }; export type ProjectClientApi = ClosedEnum; export type ProjectRequirement = { publicModelId: string; clientApis: Array; required: boolean; }; export type ProjectModels = { enabled: boolean; allowedProviders: Array; requirements: Array; }; export declare const ProjectAccess: { readonly ReadWrite: "read-write"; }; export type ProjectAccess = ClosedEnum; export type ProjectBuckets = { enabled: boolean; access: ProjectAccess; }; export declare const ProjectCredentialPolicy: { readonly PullOnly: "pull-only"; readonly PushAndPull: "push-and-pull"; }; export type ProjectCredentialPolicy = ClosedEnum; export type ProjectRegistry = { enabled: boolean; repositories: Array; credentialPolicy: ProjectCredentialPolicy; }; export type ProjectAzure = { catalogImage: string; idleSuspendSeconds: number; }; export type ProjectRemoteSandbox = { enabled: boolean; baseImage?: string | undefined; azure?: ProjectAzure | undefined; maxLifetimeSeconds?: number | undefined; }; export type ProjectProjectCapabilitiesCapabilities = { deployments?: ProjectDeployments | undefined; keys?: ProjectKeys | undefined; models?: ProjectModels | undefined; buckets?: ProjectBuckets | undefined; registry?: ProjectRegistry | undefined; remoteSandbox?: ProjectRemoteSandbox | undefined; }; /** * Capabilities this Project may offer through setup links. */ export type ProjectProjectCapabilities = { schemaVersion: number; capabilities: ProjectProjectCapabilitiesCapabilities; }; export type Project = { /** * Unique identifier for the project. */ id: string; /** * Project name. */ name: string; /** * Verified source repository connected to the project. Alien uses this for GitHub Actions setup and source-aware features; releases are still created explicitly by CI or `alien release`. */ gitRepository?: ProjectGitRepository | null | undefined; /** * The name of a directory or relative path to the source code of your project. When null is used it will default to the project root */ rootDirectory?: string | null | undefined; /** * Customer-facing deployment portal appearance settings. */ deploymentPortalAppearance?: ProjectDeploymentPortalAppearance | null | undefined; /** * Configuration for embedded packages (CLI, CloudFormation, Helm, Terraform) */ packagesConfig?: ProjectPackagesConfig | null | undefined; /** * Selected domain for this project (null = default system domain) */ domainId?: string | null | undefined; /** * Project default private managers for new push deployments. */ defaultManagers?: ProjectDefaultManagers | null | undefined; /** * Capabilities this Project may offer through setup links. */ projectCapabilities?: ProjectProjectCapabilities | null | undefined; createdAt: Date; /** * Unique identifier for the workspace. */ workspaceId: string; }; /** @internal */ export declare const ProjectTypeGithub$inboundSchema: z.ZodEnum; /** @internal */ export declare const ProjectGitRepository$inboundSchema: z.ZodType; export declare function projectGitRepositoryFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ProjectDeploymentPortalAppearance$inboundSchema: z.ZodType; export declare function projectDeploymentPortalAppearanceFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ProjectBinaryTarget$inboundSchema: z.ZodEnum; /** @internal */ export declare const ProjectCli$inboundSchema: z.ZodType; export declare function projectCliFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ProjectCloudformation$inboundSchema: z.ZodType; export declare function projectCloudformationFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ProjectOperatorImage$inboundSchema: z.ZodType; export declare function projectOperatorImageFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ProjectHelm$inboundSchema: z.ZodType; export declare function projectHelmFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ProjectTerraform$inboundSchema: z.ZodType; export declare function projectTerraformFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ProjectPackagesConfig$inboundSchema: z.ZodType; export declare function projectPackagesConfigFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ProjectDefaultManagers$inboundSchema: z.ZodType; export declare function projectDefaultManagersFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ProjectMethod$inboundSchema: z.ZodEnum; /** @internal */ export declare const ProjectDeployments$inboundSchema: z.ZodType; export declare function projectDeploymentsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ProjectKeys$inboundSchema: z.ZodType; export declare function projectKeysFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ProjectAllowedProvider$inboundSchema: z.ZodEnum; /** @internal */ export declare const ProjectClientApi$inboundSchema: z.ZodEnum; /** @internal */ export declare const ProjectRequirement$inboundSchema: z.ZodType; export declare function projectRequirementFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ProjectModels$inboundSchema: z.ZodType; export declare function projectModelsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ProjectAccess$inboundSchema: z.ZodEnum; /** @internal */ export declare const ProjectBuckets$inboundSchema: z.ZodType; export declare function projectBucketsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ProjectCredentialPolicy$inboundSchema: z.ZodEnum; /** @internal */ export declare const ProjectRegistry$inboundSchema: z.ZodType; export declare function projectRegistryFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ProjectAzure$inboundSchema: z.ZodType; export declare function projectAzureFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ProjectRemoteSandbox$inboundSchema: z.ZodType; export declare function projectRemoteSandboxFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ProjectProjectCapabilitiesCapabilities$inboundSchema: z.ZodType; export declare function projectProjectCapabilitiesCapabilitiesFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ProjectProjectCapabilities$inboundSchema: z.ZodType; export declare function projectProjectCapabilitiesFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const Project$inboundSchema: z.ZodType; export declare function projectFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=project.d.ts.map