import * as z from "zod/v4"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { DeploymentSetupPolicy } from "./deploymentsetuppolicy.js"; import { EnvironmentVariableType } from "./environmentvariabletype.js"; import { SDKValidationError } from "./errors/sdkvalidationerror.js"; import { ResolvedStackInputSummary } from "./resolvedstackinputsummary.js"; export type DeploymentInfoSetupConfigEnvironmentVariable = { /** * Variable name */ name: string; /** * Variable type (plain or secret) */ type: EnvironmentVariableType; /** * Target resource patterns (null = all resources, array = wildcard patterns) */ targetResources: Array | null; }; export declare const DeploymentInfoSetupConfigItemEnum: { readonly Deployment: "deployment"; readonly Models: "models"; readonly Keys: "keys"; readonly Bucket: "bucket"; readonly Registry: "registry"; readonly Sandbox: "sandbox"; }; export type DeploymentInfoSetupConfigItemEnum = ClosedEnum; export declare const DeploymentInfoSetupConfigDefinitionId: { readonly CustomerAi: "customer-ai"; readonly CustomerKey: "customer-key"; readonly CustomerStorage: "customer-storage"; readonly CustomerRegistry: "customer-registry"; readonly CustomerSandbox: "customer-sandbox"; }; export type DeploymentInfoSetupConfigDefinitionId = ClosedEnum; export type DeploymentInfoSetupConfigSourceBuiltIn = { type: "built-in"; definitionId: DeploymentInfoSetupConfigDefinitionId; version: string; /** * Unique identifier for the release. */ sourceReleaseId: string; }; export type DeploymentInfoSetupConfigSourceProjectRelease = { type: "project-release"; releaseChannel: string; /** * Unique identifier for the release. */ releaseId: string; resourceId?: string | undefined; }; export type DeploymentInfoSetupConfigSourceUnion = DeploymentInfoSetupConfigSourceProjectRelease | DeploymentInfoSetupConfigSourceBuiltIn; export declare const DeploymentInfoSetupConfigAllowedProvider: { readonly AwsBedrock: "aws-bedrock"; readonly GcpVertex: "gcp-vertex"; readonly AzureFoundry: "azure-foundry"; readonly Anthropic: "anthropic"; readonly Databricks: "databricks"; readonly Openai: "openai"; }; export type DeploymentInfoSetupConfigAllowedProvider = ClosedEnum; export declare const DeploymentInfoSetupConfigProviderAllowlist: { readonly AwsBedrock: "aws-bedrock"; readonly GcpVertex: "gcp-vertex"; readonly AzureFoundry: "azure-foundry"; readonly Anthropic: "anthropic"; readonly Databricks: "databricks"; readonly Openai: "openai"; }; export type DeploymentInfoSetupConfigProviderAllowlist = ClosedEnum; export declare const DeploymentInfoSetupConfigClientApi: { readonly OpenaiChat: "openai-chat"; readonly OpenaiResponses: "openai-responses"; readonly AnthropicMessages: "anthropic-messages"; }; export type DeploymentInfoSetupConfigClientApi = ClosedEnum; export type DeploymentInfoSetupConfigModelRequirement = { publicModelId: string; clientApis: Array; required: boolean; }; export type DeploymentInfoSetupConfigConfiguration = { allowedProviders?: Array | undefined; providerAllowlist?: Array | undefined; modelRequirements?: Array | undefined; }; export type DeploymentInfoSetupConfigItem = { item: DeploymentInfoSetupConfigItemEnum; source: DeploymentInfoSetupConfigSourceProjectRelease | DeploymentInfoSetupConfigSourceBuiltIn; required: boolean; configuration?: DeploymentInfoSetupConfigConfiguration | undefined; }; export declare const DeploymentInfoSetupConfigTypeStringList: { readonly StringList: "stringList"; }; export type DeploymentInfoSetupConfigTypeStringList = ClosedEnum; export type DeploymentInfoSetupConfigDefaultStringList = { type: DeploymentInfoSetupConfigTypeStringList; /** * String list default. */ value: Array; }; export declare const DeploymentInfoSetupConfigTypeBoolean: { readonly Boolean: "boolean"; }; export type DeploymentInfoSetupConfigTypeBoolean = ClosedEnum; export type DeploymentInfoSetupConfigDefaultBoolean = { type: DeploymentInfoSetupConfigTypeBoolean; /** * Boolean default. */ value: boolean; }; export declare const DeploymentInfoSetupConfigTypeNumber: { readonly Number: "number"; }; export type DeploymentInfoSetupConfigTypeNumber = ClosedEnum; export type DeploymentInfoSetupConfigDefaultNumber = { type: DeploymentInfoSetupConfigTypeNumber; /** * Number default. */ value: string; }; export declare const DeploymentInfoSetupConfigTypeString: { readonly String: "string"; }; export type DeploymentInfoSetupConfigTypeString = ClosedEnum; export type DeploymentInfoSetupConfigDefaultString = { type: DeploymentInfoSetupConfigTypeString; /** * String default. */ value: string; }; export type DeploymentInfoSetupConfigDefaultUnion = DeploymentInfoSetupConfigDefaultString | DeploymentInfoSetupConfigDefaultNumber | DeploymentInfoSetupConfigDefaultBoolean | DeploymentInfoSetupConfigDefaultStringList | any; /** * Environment variable handling for a stack input mapping. */ export declare const DeploymentInfoSetupConfigTypeEnvEnum: { readonly Plain: "plain"; readonly Secret: "secret"; }; /** * Environment variable handling for a stack input mapping. */ export type DeploymentInfoSetupConfigTypeEnvEnum = ClosedEnum; export type DeploymentInfoSetupConfigTypeUnion = DeploymentInfoSetupConfigTypeEnvEnum | any; /** * How a resolved stack input is injected into runtime environment variables. */ export type DeploymentInfoSetupConfigEnv = { /** * Environment variable name. */ name: string; /** * Target resource IDs or patterns. None means every env-capable resource. */ targetResources?: Array | null | undefined; type?: DeploymentInfoSetupConfigTypeEnvEnum | any | null | undefined; }; /** * Primitive stack input kind. */ export declare const DeploymentInfoSetupConfigKind: { readonly String: "string"; readonly Secret: "secret"; readonly Number: "number"; readonly Integer: "integer"; readonly Boolean: "boolean"; readonly Enum: "enum"; readonly StringList: "stringList"; }; /** * Primitive stack input kind. */ export type DeploymentInfoSetupConfigKind = ClosedEnum; /** * Represents the target cloud platform. */ export declare const DeploymentInfoSetupConfigPlatform: { 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 DeploymentInfoSetupConfigPlatform = ClosedEnum; /** * Who can provide a stack input value. */ export declare const DeploymentInfoSetupConfigProvidedBy: { readonly Developer: "developer"; readonly Deployer: "deployer"; }; /** * Who can provide a stack input value. */ export type DeploymentInfoSetupConfigProvidedBy = ClosedEnum; /** * Portable stack input validation constraints. */ export type DeploymentInfoSetupConfigValidation = { /** * Semantic format hint such as url. */ format?: string | null | undefined; /** * Maximum number. */ max?: string | null | undefined; /** * Maximum string-list items. */ maxItems?: number | null | undefined; /** * Maximum string length. */ maxLength?: number | null | undefined; /** * Minimum number. */ min?: string | null | undefined; /** * Minimum string-list items. */ minItems?: number | null | undefined; /** * Minimum string length. */ minLength?: number | null | undefined; /** * Portable whole-value regex pattern. */ pattern?: string | null | undefined; /** * Allowed string enum values. */ values?: Array | null | undefined; }; export type DeploymentInfoSetupConfigValidationUnion = DeploymentInfoSetupConfigValidation | any; /** * Stack input definition serialized into a release stack. */ export type DeploymentInfoSetupConfigInput = { default?: DeploymentInfoSetupConfigDefaultString | DeploymentInfoSetupConfigDefaultNumber | DeploymentInfoSetupConfigDefaultBoolean | DeploymentInfoSetupConfigDefaultStringList | any | null | undefined; /** * Human-facing helper text. */ description: string; /** * Runtime env-var mappings for v1 input resolution. */ env?: Array | undefined; /** * Stable input ID used by CLI/API calls. */ id: string; /** * Primitive stack input kind. */ kind: DeploymentInfoSetupConfigKind; /** * Human-facing field label. */ label: string; /** * Example placeholder shown in UI. */ placeholder?: string | null | undefined; /** * Platforms where this input applies. */ platforms?: Array | null | undefined; /** * Who can provide this value. */ providedBy: Array; /** * Whether a resolved value is required before deployment can proceed. */ required: boolean; validation?: DeploymentInfoSetupConfigValidation | any | null | undefined; }; export type DeploymentInfoSetupConfig = { metadata: { [k: string]: any | null; }; policy: DeploymentSetupPolicy; environmentVariables: Array; items?: Array | undefined; inputs?: Array | undefined; inputValues?: Array | undefined; }; /** @internal */ export declare const DeploymentInfoSetupConfigEnvironmentVariable$inboundSchema: z.ZodType; export declare function deploymentInfoSetupConfigEnvironmentVariableFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const DeploymentInfoSetupConfigItemEnum$inboundSchema: z.ZodEnum; /** @internal */ export declare const DeploymentInfoSetupConfigDefinitionId$inboundSchema: z.ZodEnum; /** @internal */ export declare const DeploymentInfoSetupConfigSourceBuiltIn$inboundSchema: z.ZodType; export declare function deploymentInfoSetupConfigSourceBuiltInFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const DeploymentInfoSetupConfigSourceProjectRelease$inboundSchema: z.ZodType; export declare function deploymentInfoSetupConfigSourceProjectReleaseFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const DeploymentInfoSetupConfigSourceUnion$inboundSchema: z.ZodType; export declare function deploymentInfoSetupConfigSourceUnionFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const DeploymentInfoSetupConfigAllowedProvider$inboundSchema: z.ZodEnum; /** @internal */ export declare const DeploymentInfoSetupConfigProviderAllowlist$inboundSchema: z.ZodEnum; /** @internal */ export declare const DeploymentInfoSetupConfigClientApi$inboundSchema: z.ZodEnum; /** @internal */ export declare const DeploymentInfoSetupConfigModelRequirement$inboundSchema: z.ZodType; export declare function deploymentInfoSetupConfigModelRequirementFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const DeploymentInfoSetupConfigConfiguration$inboundSchema: z.ZodType; export declare function deploymentInfoSetupConfigConfigurationFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const DeploymentInfoSetupConfigItem$inboundSchema: z.ZodType; export declare function deploymentInfoSetupConfigItemFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const DeploymentInfoSetupConfigTypeStringList$inboundSchema: z.ZodEnum; /** @internal */ export declare const DeploymentInfoSetupConfigDefaultStringList$inboundSchema: z.ZodType; export declare function deploymentInfoSetupConfigDefaultStringListFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const DeploymentInfoSetupConfigTypeBoolean$inboundSchema: z.ZodEnum; /** @internal */ export declare const DeploymentInfoSetupConfigDefaultBoolean$inboundSchema: z.ZodType; export declare function deploymentInfoSetupConfigDefaultBooleanFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const DeploymentInfoSetupConfigTypeNumber$inboundSchema: z.ZodEnum; /** @internal */ export declare const DeploymentInfoSetupConfigDefaultNumber$inboundSchema: z.ZodType; export declare function deploymentInfoSetupConfigDefaultNumberFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const DeploymentInfoSetupConfigTypeString$inboundSchema: z.ZodEnum; /** @internal */ export declare const DeploymentInfoSetupConfigDefaultString$inboundSchema: z.ZodType; export declare function deploymentInfoSetupConfigDefaultStringFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const DeploymentInfoSetupConfigDefaultUnion$inboundSchema: z.ZodType; export declare function deploymentInfoSetupConfigDefaultUnionFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const DeploymentInfoSetupConfigTypeEnvEnum$inboundSchema: z.ZodEnum; /** @internal */ export declare const DeploymentInfoSetupConfigTypeUnion$inboundSchema: z.ZodType; export declare function deploymentInfoSetupConfigTypeUnionFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const DeploymentInfoSetupConfigEnv$inboundSchema: z.ZodType; export declare function deploymentInfoSetupConfigEnvFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const DeploymentInfoSetupConfigKind$inboundSchema: z.ZodEnum; /** @internal */ export declare const DeploymentInfoSetupConfigPlatform$inboundSchema: z.ZodEnum; /** @internal */ export declare const DeploymentInfoSetupConfigProvidedBy$inboundSchema: z.ZodEnum; /** @internal */ export declare const DeploymentInfoSetupConfigValidation$inboundSchema: z.ZodType; export declare function deploymentInfoSetupConfigValidationFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const DeploymentInfoSetupConfigValidationUnion$inboundSchema: z.ZodType; export declare function deploymentInfoSetupConfigValidationUnionFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const DeploymentInfoSetupConfigInput$inboundSchema: z.ZodType; export declare function deploymentInfoSetupConfigInputFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const DeploymentInfoSetupConfig$inboundSchema: z.ZodType; export declare function deploymentInfoSetupConfigFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=deploymentinfosetupconfig.d.ts.map