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"; import * as models from "../index.js"; export type CreateProjectGlobals = { /** * Workspace name. Platform API keys already select a workspace; other authentication methods can configure it once on the SDK client. */ workspace?: string | undefined; }; /** * The Git Provider of the repository */ export declare const CreateProjectTypeRequest: { readonly Github: "github"; }; /** * The Git Provider of the repository */ export type CreateProjectTypeRequest = 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 CreateProjectGitRepositoryRequest = { /** * The Git Provider of the repository */ type: CreateProjectTypeRequest; /** * The name of the git repository */ repo: string; }; /** * 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 CreateProjectBinaryTargetRequest: { 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 CreateProjectBinaryTargetRequest = ClosedEnum; /** * CLI package configuration. If null, CLI packages will not be generated. */ export type CreateProjectCliRequest = { /** * 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 CreateProjectCloudformationRequest = { /** * 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 CreateProjectOperatorImageRequest = { /** * 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 CreateProjectHelmRequest = { /** * 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 CreateProjectTerraformRequest = { /** * 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 CreateProjectPackagesConfigRequest = { /** * CLI package configuration. If null, CLI packages will not be generated. */ cli?: CreateProjectCliRequest | null | undefined; /** * CloudFormation package configuration. If null, CloudFormation packages will not be generated. */ cloudformation?: CreateProjectCloudformationRequest | null | undefined; /** * Operator image package configuration. Required when Helm is enabled. If null, Operator image packages will not be generated. */ operatorImage?: CreateProjectOperatorImageRequest | null | undefined; /** * Helm chart package configuration. If null, Helm packages will not be generated. */ helm?: CreateProjectHelmRequest | null | undefined; /** * Terraform package configuration. If null, Terraform packages will not be generated. */ terraform?: CreateProjectTerraformRequest | null | undefined; }; export declare const EnabledCapability: { readonly Deployments: "deployments"; readonly Models: "models"; readonly Keys: "keys"; readonly Buckets: "buckets"; readonly Registry: "registry"; }; export type EnabledCapability = ClosedEnum; export type CreateProjectRequest = { /** * 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?: CreateProjectGitRepositoryRequest | 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; /** * Configuration for embedded packages (CLI, CloudFormation, Helm, Terraform) */ packagesConfig?: CreateProjectPackagesConfigRequest | null | undefined; enabledCapabilities?: Array | undefined; }; /** * The Git Provider of the repository */ export declare const CreateProjectTypeResponse: { readonly Github: "github"; }; /** * The Git Provider of the repository */ export type CreateProjectTypeResponse = 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 CreateProjectGitRepositoryResponse = { /** * The Git Provider of the repository */ type: CreateProjectTypeResponse; /** * The name of the git repository */ repo: string; }; /** * Customer-facing deployment portal appearance settings. */ export type CreateProjectDeploymentPortalAppearance = { /** * Optional project-specific avatar override for the deployment portal. */ avatarUrl?: string | null | undefined; /** * Curated visual style for the deployment portal. */ preset: models.DeploymentPortalAppearancePreset; /** * Accent color used for highlights and primary actions. */ accentColor: models.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: models.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 CreateProjectBinaryTargetResponse: { 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 CreateProjectBinaryTargetResponse = ClosedEnum; /** * CLI package configuration. If null, CLI packages will not be generated. */ export type CreateProjectCliResponse = { /** * 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 CreateProjectCloudformationResponse = { /** * 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 CreateProjectOperatorImageResponse = { /** * 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 CreateProjectHelmResponse = { /** * 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 CreateProjectTerraformResponse = { /** * 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 CreateProjectPackagesConfigResponse = { /** * CLI package configuration. If null, CLI packages will not be generated. */ cli?: CreateProjectCliResponse | null | undefined; /** * CloudFormation package configuration. If null, CloudFormation packages will not be generated. */ cloudformation?: CreateProjectCloudformationResponse | null | undefined; /** * Operator image package configuration. Required when Helm is enabled. If null, Operator image packages will not be generated. */ operatorImage?: CreateProjectOperatorImageResponse | null | undefined; /** * Helm chart package configuration. If null, Helm packages will not be generated. */ helm?: CreateProjectHelmResponse | null | undefined; /** * Terraform package configuration. If null, Terraform packages will not be generated. */ terraform?: CreateProjectTerraformResponse | null | undefined; }; /** * Project default private managers for new push deployments. */ export type CreateProjectDefaultManagers = { /** * 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 CreateProjectMethod: { readonly Framework: "framework"; readonly RemoteOperator: "remote-operator"; }; export type CreateProjectMethod = ClosedEnum; export type CreateProjectDeployments = { enabled: boolean; methods?: Array | undefined; }; export type CreateProjectKeys = { enabled: boolean; applicationEncryption: boolean; }; export declare const CreateProjectAllowedProvider: { readonly AwsBedrock: "aws-bedrock"; readonly GcpVertex: "gcp-vertex"; readonly AzureFoundry: "azure-foundry"; readonly Anthropic: "anthropic"; readonly Databricks: "databricks"; readonly Openai: "openai"; }; export type CreateProjectAllowedProvider = ClosedEnum; export declare const CreateProjectClientApi: { readonly OpenaiChat: "openai-chat"; readonly OpenaiResponses: "openai-responses"; readonly AnthropicMessages: "anthropic-messages"; }; export type CreateProjectClientApi = ClosedEnum; export type CreateProjectRequirement = { publicModelId: string; clientApis: Array; required: boolean; }; export type CreateProjectModels = { enabled: boolean; allowedProviders: Array; requirements: Array; }; export declare const CreateProjectAccess: { readonly ReadWrite: "read-write"; }; export type CreateProjectAccess = ClosedEnum; export type CreateProjectBuckets = { enabled: boolean; access: CreateProjectAccess; }; export declare const CreateProjectCredentialPolicy: { readonly PullOnly: "pull-only"; readonly PushAndPull: "push-and-pull"; }; export type CreateProjectCredentialPolicy = ClosedEnum; export type CreateProjectRegistry = { enabled: boolean; repositories: Array; credentialPolicy: CreateProjectCredentialPolicy; }; export type CreateProjectAzure = { catalogImage: string; idleSuspendSeconds: number; }; export type CreateProjectRemoteSandbox = { enabled: boolean; baseImage?: string | undefined; azure?: CreateProjectAzure | undefined; maxLifetimeSeconds?: number | undefined; }; export type CreateProjectCapabilities = { deployments?: CreateProjectDeployments | undefined; keys?: CreateProjectKeys | undefined; models?: CreateProjectModels | undefined; buckets?: CreateProjectBuckets | undefined; registry?: CreateProjectRegistry | undefined; remoteSandbox?: CreateProjectRemoteSandbox | undefined; }; /** * Capabilities this Project may offer through setup links. */ export type CreateProjectProjectCapabilities = { schemaVersion: number; capabilities: CreateProjectCapabilities; }; export type CreateProjectGithubSetup = { /** * URL to the pull request with the Alien build workflow */ pullRequestUrl: string; /** * URL to the GitHub Actions workflow */ workflowUrl: string; }; /** * Project created successfully. */ export type CreateProjectResponse = { /** * 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?: CreateProjectGitRepositoryResponse | 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?: CreateProjectDeploymentPortalAppearance | null | undefined; /** * Configuration for embedded packages (CLI, CloudFormation, Helm, Terraform) */ packagesConfig?: CreateProjectPackagesConfigResponse | null | undefined; /** * Selected domain for this project (null = default system domain) */ domainId?: string | null | undefined; /** * Project default private managers for new push deployments. */ defaultManagers?: CreateProjectDefaultManagers | null | undefined; /** * Capabilities this Project may offer through setup links. */ projectCapabilities?: CreateProjectProjectCapabilities | null | undefined; createdAt: Date; /** * Unique identifier for the workspace. */ workspaceId: string; githubSetup?: CreateProjectGithubSetup | undefined; gitRepositoryWarning?: models.APIError | undefined; }; /** @internal */ export declare const CreateProjectTypeRequest$outboundSchema: z.ZodEnum; /** @internal */ export type CreateProjectGitRepositoryRequest$Outbound = { type: string; repo: string; }; /** @internal */ export declare const CreateProjectGitRepositoryRequest$outboundSchema: z.ZodType; export declare function createProjectGitRepositoryRequestToJSON(createProjectGitRepositoryRequest: CreateProjectGitRepositoryRequest): string; /** @internal */ export declare const CreateProjectBinaryTargetRequest$outboundSchema: z.ZodEnum; /** @internal */ export type CreateProjectCliRequest$Outbound = { binaryTargets?: Array | undefined; displayName: string; name: string; enabled: boolean; }; /** @internal */ export declare const CreateProjectCliRequest$outboundSchema: z.ZodType; export declare function createProjectCliRequestToJSON(createProjectCliRequest: CreateProjectCliRequest): string; /** @internal */ export type CreateProjectCloudformationRequest$Outbound = { enabled: boolean; displayName?: string | null | undefined; }; /** @internal */ export declare const CreateProjectCloudformationRequest$outboundSchema: z.ZodType; export declare function createProjectCloudformationRequestToJSON(createProjectCloudformationRequest: CreateProjectCloudformationRequest): string; /** @internal */ export type CreateProjectOperatorImageRequest$Outbound = { brand?: string | null | undefined; displayName: string; envPrefix?: string | null | undefined; labelDomain?: string | null | undefined; name: string; enabled: boolean; }; /** @internal */ export declare const CreateProjectOperatorImageRequest$outboundSchema: z.ZodType; export declare function createProjectOperatorImageRequestToJSON(createProjectOperatorImageRequest: CreateProjectOperatorImageRequest): string; /** @internal */ export type CreateProjectHelmRequest$Outbound = { chartName: string; description: string; enabled: boolean; }; /** @internal */ export declare const CreateProjectHelmRequest$outboundSchema: z.ZodType; export declare function createProjectHelmRequestToJSON(createProjectHelmRequest: CreateProjectHelmRequest): string; /** @internal */ export type CreateProjectTerraformRequest$Outbound = { enabled: boolean; displayName?: string | null | undefined; }; /** @internal */ export declare const CreateProjectTerraformRequest$outboundSchema: z.ZodType; export declare function createProjectTerraformRequestToJSON(createProjectTerraformRequest: CreateProjectTerraformRequest): string; /** @internal */ export type CreateProjectPackagesConfigRequest$Outbound = { cli?: CreateProjectCliRequest$Outbound | null | undefined; cloudformation?: CreateProjectCloudformationRequest$Outbound | null | undefined; operatorImage?: CreateProjectOperatorImageRequest$Outbound | null | undefined; helm?: CreateProjectHelmRequest$Outbound | null | undefined; terraform?: CreateProjectTerraformRequest$Outbound | null | undefined; }; /** @internal */ export declare const CreateProjectPackagesConfigRequest$outboundSchema: z.ZodType; export declare function createProjectPackagesConfigRequestToJSON(createProjectPackagesConfigRequest: CreateProjectPackagesConfigRequest): string; /** @internal */ export declare const EnabledCapability$outboundSchema: z.ZodEnum; /** @internal */ export type CreateProjectRequest$Outbound = { name: string; gitRepository?: CreateProjectGitRepositoryRequest$Outbound | null | undefined; rootDirectory?: string | null | undefined; packagesConfig?: CreateProjectPackagesConfigRequest$Outbound | null | undefined; enabledCapabilities?: Array | undefined; }; /** @internal */ export declare const CreateProjectRequest$outboundSchema: z.ZodType; export declare function createProjectRequestToJSON(createProjectRequest: CreateProjectRequest): string; /** @internal */ export declare const CreateProjectTypeResponse$inboundSchema: z.ZodEnum; /** @internal */ export declare const CreateProjectGitRepositoryResponse$inboundSchema: z.ZodType; export declare function createProjectGitRepositoryResponseFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CreateProjectDeploymentPortalAppearance$inboundSchema: z.ZodType; export declare function createProjectDeploymentPortalAppearanceFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CreateProjectBinaryTargetResponse$inboundSchema: z.ZodEnum; /** @internal */ export declare const CreateProjectCliResponse$inboundSchema: z.ZodType; export declare function createProjectCliResponseFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CreateProjectCloudformationResponse$inboundSchema: z.ZodType; export declare function createProjectCloudformationResponseFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CreateProjectOperatorImageResponse$inboundSchema: z.ZodType; export declare function createProjectOperatorImageResponseFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CreateProjectHelmResponse$inboundSchema: z.ZodType; export declare function createProjectHelmResponseFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CreateProjectTerraformResponse$inboundSchema: z.ZodType; export declare function createProjectTerraformResponseFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CreateProjectPackagesConfigResponse$inboundSchema: z.ZodType; export declare function createProjectPackagesConfigResponseFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CreateProjectDefaultManagers$inboundSchema: z.ZodType; export declare function createProjectDefaultManagersFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CreateProjectMethod$inboundSchema: z.ZodEnum; /** @internal */ export declare const CreateProjectDeployments$inboundSchema: z.ZodType; export declare function createProjectDeploymentsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CreateProjectKeys$inboundSchema: z.ZodType; export declare function createProjectKeysFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CreateProjectAllowedProvider$inboundSchema: z.ZodEnum; /** @internal */ export declare const CreateProjectClientApi$inboundSchema: z.ZodEnum; /** @internal */ export declare const CreateProjectRequirement$inboundSchema: z.ZodType; export declare function createProjectRequirementFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CreateProjectModels$inboundSchema: z.ZodType; export declare function createProjectModelsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CreateProjectAccess$inboundSchema: z.ZodEnum; /** @internal */ export declare const CreateProjectBuckets$inboundSchema: z.ZodType; export declare function createProjectBucketsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CreateProjectCredentialPolicy$inboundSchema: z.ZodEnum; /** @internal */ export declare const CreateProjectRegistry$inboundSchema: z.ZodType; export declare function createProjectRegistryFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CreateProjectAzure$inboundSchema: z.ZodType; export declare function createProjectAzureFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CreateProjectRemoteSandbox$inboundSchema: z.ZodType; export declare function createProjectRemoteSandboxFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CreateProjectCapabilities$inboundSchema: z.ZodType; export declare function createProjectCapabilitiesFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CreateProjectProjectCapabilities$inboundSchema: z.ZodType; export declare function createProjectProjectCapabilitiesFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CreateProjectGithubSetup$inboundSchema: z.ZodType; export declare function createProjectGithubSetupFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CreateProjectResponse$inboundSchema: z.ZodType; export declare function createProjectResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=createproject.d.ts.map