@vercel/sdk
Version:
<p align="center"> <a href="https://vercel.com"> <img src="https://assets.vercel.com/image/upload/v1588805858/repositories/vercel/logo.png" height="96"> <h3 align="center">Vercel</h3> </a> <p align="center">Develop. Preview. Ship.</p> </p>
2,179 lines • 98.9 kB
TypeScript
import * as z from "zod/v3";
import { ClosedEnum } from "../types/enums.js";
import { Result as SafeParseResult } from "../types/fp.js";
import { SDKValidationError } from "./sdkvalidationerror.js";
export declare const Target2: {
readonly Production: "production";
readonly Preview: "preview";
readonly Development: "development";
};
export type Target2 = ClosedEnum<typeof Target2>;
export declare const Target1: {
readonly Production: "production";
readonly Preview: "preview";
readonly Development: "development";
};
export type Target1 = ClosedEnum<typeof Target1>;
/**
* Deployment Target or Targets in which the ENV variable will be used
*/
export type CreateProjectTarget = Target1 | Array<Target2>;
/**
* Type of the ENV variable
*/
export declare const CreateProjectType: {
readonly System: "system";
readonly Encrypted: "encrypted";
readonly Plain: "plain";
readonly Sensitive: "sensitive";
};
/**
* Type of the ENV variable
*/
export type CreateProjectType = ClosedEnum<typeof CreateProjectType>;
export type EnvironmentVariables = {
/**
* Name of the ENV variable
*/
key: string;
/**
* Deployment Target or Targets in which the ENV variable will be used
*/
target: Target1 | Array<Target2>;
/**
* If defined, the git branch of the environment variable (must have target=preview)
*/
gitBranch?: string | undefined;
/**
* Type of the ENV variable
*/
type?: CreateProjectType | undefined;
/**
* Value for the ENV variable
*/
value: string;
};
/**
* The framework that is being used for this project. When `null` is used no framework is selected
*/
export declare const CreateProjectFramework: {
readonly Container: "container";
readonly Blitzjs: "blitzjs";
readonly Nextjs: "nextjs";
readonly Gatsby: "gatsby";
readonly Remix: "remix";
readonly ReactRouter: "react-router";
readonly Astro: "astro";
readonly Hexo: "hexo";
readonly Eleventy: "eleventy";
readonly Docusaurus2: "docusaurus-2";
readonly Docusaurus: "docusaurus";
readonly Preact: "preact";
readonly Solidstart1: "solidstart-1";
readonly Solidstart: "solidstart";
readonly Dojo: "dojo";
readonly Ember: "ember";
readonly Vue: "vue";
readonly Scully: "scully";
readonly IonicAngular: "ionic-angular";
readonly Angular: "angular";
readonly Polymer: "polymer";
readonly Svelte: "svelte";
readonly Sveltekit: "sveltekit";
readonly Sveltekit1: "sveltekit-1";
readonly IonicReact: "ionic-react";
readonly CreateReactApp: "create-react-app";
readonly Gridsome: "gridsome";
readonly Umijs: "umijs";
readonly Sapper: "sapper";
readonly Saber: "saber";
readonly Stencil: "stencil";
readonly Nuxtjs: "nuxtjs";
readonly Redwoodjs: "redwoodjs";
readonly Hugo: "hugo";
readonly Jekyll: "jekyll";
readonly Brunch: "brunch";
readonly Middleman: "middleman";
readonly Zola: "zola";
readonly Hydrogen: "hydrogen";
readonly Vite: "vite";
readonly TanstackStart: "tanstack-start";
readonly TanstackStartLovable: "tanstack-start-lovable";
readonly Vitepress: "vitepress";
readonly Vuepress: "vuepress";
readonly Parcel: "parcel";
readonly Fastapi: "fastapi";
readonly Flask: "flask";
readonly Fasthtml: "fasthtml";
readonly Django: "django";
readonly Ash: "ash";
readonly FactoryEve: "factory-eve";
readonly Eve: "eve";
readonly Sanity: "sanity";
readonly SanityV2: "sanity-v2";
readonly Storybook: "storybook";
readonly Nitro: "nitro";
readonly Hono: "hono";
readonly Express: "express";
readonly H3: "h3";
readonly Koa: "koa";
readonly Nestjs: "nestjs";
readonly Elysia: "elysia";
readonly Fastify: "fastify";
readonly Xmcp: "xmcp";
readonly Python: "python";
readonly Ruby: "ruby";
readonly Rust: "rust";
readonly Axum: "axum";
readonly ActixWeb: "actix-web";
readonly Bun: "bun";
readonly Node: "node";
readonly Go: "go";
readonly Services: "services";
readonly Mastra: "mastra";
};
/**
* The framework that is being used for this project. When `null` is used no framework is selected
*/
export type CreateProjectFramework = ClosedEnum<typeof CreateProjectFramework>;
/**
* The Git Provider of the repository
*/
export declare const CreateProjectProjectsType: {
readonly Github: "github";
readonly GithubLimited: "github-limited";
readonly Gitlab: "gitlab";
readonly Bitbucket: "bitbucket";
readonly Vercel: "vercel";
readonly CursorOrigin: "cursor-origin";
};
/**
* The Git Provider of the repository
*/
export type CreateProjectProjectsType = ClosedEnum<typeof CreateProjectProjectsType>;
/**
* The Git Repository that will be connected to the project. When this is defined, any pushes to the specified connected Git Repository will be automatically deployed
*/
export type GitRepository = {
/**
* The name of the git repository. For example: \"vercel/next.js\"
*/
repo: string;
/**
* The Git Provider of the repository
*/
type: CreateProjectProjectsType;
};
export declare const CreateProjectDeploymentType: {
readonly All: "all";
readonly Preview: "preview";
readonly ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews";
readonly AllExceptCustomDomains: "all_except_custom_domains";
};
export type CreateProjectDeploymentType = ClosedEnum<typeof CreateProjectDeploymentType>;
/**
* The Vercel Auth setting for the project (historically named \"SSO Protection\")
*/
export type CreateProjectSsoProtection = {
deploymentType: CreateProjectDeploymentType;
};
/**
* The Vercel region sandboxes in this project are created in by default.
*/
export declare const Region: {
readonly Iad1: "iad1";
readonly Sfo1: "sfo1";
readonly Cle1: "cle1";
readonly Cdg1: "cdg1";
readonly Fra1: "fra1";
readonly Arn1: "arn1";
readonly Sin1: "sin1";
readonly Pdx1: "pdx1";
readonly Lhr1: "lhr1";
readonly Icn1: "icn1";
readonly Bom1: "bom1";
readonly Cpt1: "cpt1";
readonly Dub1: "dub1";
readonly Gru1: "gru1";
readonly Hkg1: "hkg1";
readonly Syd1: "syd1";
readonly Yul1: "yul1";
readonly Hnd1: "hnd1";
readonly Kix1: "kix1";
};
/**
* The Vercel region sandboxes in this project are created in by default.
*/
export type Region = ClosedEnum<typeof Region>;
export declare const CreateProjectFailoverRegions: {
readonly Iad1: "iad1";
readonly Sfo1: "sfo1";
readonly Cle1: "cle1";
readonly Cdg1: "cdg1";
readonly Fra1: "fra1";
readonly Arn1: "arn1";
readonly Sin1: "sin1";
readonly Pdx1: "pdx1";
readonly Lhr1: "lhr1";
readonly Icn1: "icn1";
readonly Bom1: "bom1";
readonly Cpt1: "cpt1";
readonly Dub1: "dub1";
readonly Gru1: "gru1";
readonly Hkg1: "hkg1";
readonly Syd1: "syd1";
readonly Yul1: "yul1";
readonly Hnd1: "hnd1";
readonly Kix1: "kix1";
};
export type CreateProjectFailoverRegions = ClosedEnum<typeof CreateProjectFailoverRegions>;
/**
* Specifies the default region and failover regions for sandboxes created in the project
*/
export type Sandbox = {
/**
* The Vercel region sandboxes in this project are created in by default.
*/
region?: Region | undefined;
/**
* The regions sandboxes in this project fall back to when they cannot be created in `region`.
*/
failoverRegions?: Array<CreateProjectFailoverRegions> | undefined;
};
/**
* team: `https://oidc.vercel.com/[team_slug]` global: `https://oidc.vercel.com`
*/
export declare const CreateProjectIssuerMode: {
readonly Team: "team";
readonly Global: "global";
};
/**
* team: `https://oidc.vercel.com/[team_slug]` global: `https://oidc.vercel.com`
*/
export type CreateProjectIssuerMode = ClosedEnum<typeof CreateProjectIssuerMode>;
/**
* OpenID Connect JSON Web Token generation configuration.
*/
export type OidcTokenConfig = {
/**
* Whether or not to generate OpenID Connect JSON Web Tokens.
*
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
*/
enabled?: boolean | undefined;
/**
* team: `https://oidc.vercel.com/[team_slug]` global: `https://oidc.vercel.com`
*/
issuerMode?: CreateProjectIssuerMode | undefined;
};
export declare const BuildMachineType: {
readonly Basic: "basic";
readonly Enhanced: "enhanced";
readonly Turbo: "turbo";
readonly Standard: "standard";
readonly Elastic: "elastic";
};
export type BuildMachineType = ClosedEnum<typeof BuildMachineType>;
export declare const FunctionDefaultMemoryType: {
readonly StandardLegacy: "standard_legacy";
readonly Standard: "standard";
readonly Performance: "performance";
readonly PerformanceXl: "performance_xl";
};
export type FunctionDefaultMemoryType = ClosedEnum<typeof FunctionDefaultMemoryType>;
export declare const BuildMachineSelection: {
readonly Elastic: "elastic";
readonly Fixed: "fixed";
};
export type BuildMachineSelection = ClosedEnum<typeof BuildMachineSelection>;
export declare const BuildMachineElasticReason: {
readonly OomFailure: "oom-failure";
readonly EnospcFailure: "enospc-failure";
readonly BuildTimeoutFailure: "build-timeout-failure";
readonly BasicFloor: "basic-floor";
readonly HighPeakMemory: "high-peak-memory";
readonly SustainedHighCpu: "sustained-high-cpu";
readonly HighPeakDisk: "high-peak-disk";
readonly LongBuildDuration: "long-build-duration";
readonly ShortBuildDuration: "short-build-duration";
readonly EnterpriseFloor: "enterprise-floor";
};
export type BuildMachineElasticReason = ClosedEnum<typeof BuildMachineElasticReason>;
export declare const CreateProjectConfiguration: {
readonly SkipNamespaceQueue: "SKIP_NAMESPACE_QUEUE";
readonly WaitForNamespaceQueue: "WAIT_FOR_NAMESPACE_QUEUE";
};
export type CreateProjectConfiguration = ClosedEnum<typeof CreateProjectConfiguration>;
export type CreateProjectBuildQueue = {
configuration?: CreateProjectConfiguration | undefined;
};
/**
* Specifies resource override configuration for the project
*/
export type CreateProjectResourceConfig = {
buildMachineType?: BuildMachineType | undefined;
fluid?: boolean | undefined;
/**
* The regions to deploy Vercel Functions to for this project
*/
functionDefaultRegions?: Array<string> | undefined;
functionDefaultTimeout?: number | undefined;
functionDefaultMemoryType?: FunctionDefaultMemoryType | undefined;
/**
* Specifies whether Zero Config Failover is enabled for this project.
*/
functionZeroConfigFailover?: boolean | undefined;
elasticConcurrencyEnabled?: boolean | undefined;
buildMachineSelection?: BuildMachineSelection | undefined;
buildMachineElasticLastUpdated?: number | undefined;
buildMachineElasticReason?: BuildMachineElasticReason | undefined;
isNSNBDisabled?: boolean | undefined;
buildQueue?: CreateProjectBuildQueue | undefined;
enableFunctionsBeta?: boolean | undefined;
};
export type CreateProjectRequestBody = {
/**
* Opt-in to preview toolbar on the project level
*/
enablePreviewFeedback?: boolean | null | undefined;
/**
* Opt-in to production toolbar on the project level
*/
enableProductionFeedback?: boolean | null | undefined;
/**
* Specifies whether preview deployments are disabled for this project.
*/
previewDeploymentsDisabled?: boolean | null | undefined;
/**
* Custom domain suffix for preview deployments. Takes precedence over team-level suffix. Must be a domain owned by the team.
*/
previewDeploymentSuffix?: string | null | undefined;
/**
* The build command for this project. When `null` is used this value will be automatically detected
*/
buildCommand?: string | null | undefined;
commandForIgnoringBuildStep?: string | null | undefined;
/**
* The dev command for this project. When `null` is used this value will be automatically detected
*/
devCommand?: string | null | undefined;
/**
* Collection of ENV Variables the Project will use
*/
environmentVariables?: Array<EnvironmentVariables> | undefined;
/**
* The framework that is being used for this project. When `null` is used no framework is selected
*/
framework?: CreateProjectFramework | undefined;
/**
* The Git Repository that will be connected to the project. When this is defined, any pushes to the specified connected Git Repository will be automatically deployed
*/
gitRepository?: GitRepository | undefined;
/**
* The install command for this project. When `null` is used this value will be automatically detected
*/
installCommand?: string | null | undefined;
/**
* The desired name for the project
*/
name: string;
/**
* Opts-out of the message prompting a CLI user to connect a Git repository in `vercel link`.
*
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
*/
skipGitConnectDuringLink?: boolean | undefined;
/**
* The Vercel Auth setting for the project (historically named \"SSO Protection\")
*/
ssoProtection?: CreateProjectSsoProtection | null | undefined;
/**
* Specifies the default region and failover regions for sandboxes created in the project
*/
sandbox?: Sandbox | undefined;
/**
* The output directory of the project. When `null` is used this value will be automatically detected
*/
outputDirectory?: string | null | undefined;
/**
* Deprecated. Accepted for backwards compatibility but ignored.
*
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
*/
publicSource?: boolean | 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;
/**
* The region to deploy Serverless Functions in this project
*/
serverlessFunctionRegion?: string | null | undefined;
/**
* Specifies whether Zero Config Failover is enabled for this project.
*/
serverlessFunctionZeroConfigFailover?: boolean | undefined;
/**
* OpenID Connect JSON Web Token generation configuration.
*/
oidcTokenConfig?: OidcTokenConfig | undefined;
/**
* Opt-in to skip deployments when there are no changes to the root directory and its dependencies
*/
enableAffectedProjectsDeployments?: boolean | undefined;
/**
* Specifies resource override configuration for the project
*/
resourceConfig?: CreateProjectResourceConfig | undefined;
};
export type CreateProjectRequest = {
/**
* The Team identifier to perform the request on behalf of.
*/
teamId?: string | undefined;
/**
* The Team slug to perform the request on behalf of.
*/
slug?: string | undefined;
requestBody?: CreateProjectRequestBody | undefined;
};
export type Creator4 = {
type: "system";
};
export type CreatorIntegration = {
integrationId: string;
configurationId: string;
};
export type Creator3 = {
type: "integration";
integration: CreatorIntegration;
};
export type CreatorApp = {
/**
* The internal ID of the Vercel App backing this principal.
*/
id: string;
/**
* The protocol-facing OAuth client ID. This may differ from {@link id} when Client ID Metadata Documents (CIMD) are used.
*/
clientId?: string | undefined;
};
export type Creator2 = {
type: "app";
app: CreatorApp;
};
export type ViaIntegration = {
integrationId: string;
configurationId: string;
};
/**
* Set when a Vercel App or Integration acts on behalf of a {@link User}. Captures user-consented OAuth delegation that the ACL layer may inspect to evaluate scope restrictions. This is NOT for impersonation or token-exchange provenance — those live on `auth.token`, not on the principal.
*/
export type CreateProjectVia2 = {
type: "integration";
integration: ViaIntegration;
};
export type ViaApp = {
/**
* The internal ID of the Vercel App backing this principal.
*/
id: string;
/**
* The protocol-facing OAuth client ID. This may differ from {@link id} when Client ID Metadata Documents (CIMD) are used.
*/
clientId?: string | undefined;
};
/**
* Set when a Vercel App or Integration acts on behalf of a {@link User}. Captures user-consented OAuth delegation that the ACL layer may inspect to evaluate scope restrictions. This is NOT for impersonation or token-exchange provenance — those live on `auth.token`, not on the principal.
*/
export type CreateProjectVia1 = {
type: "app";
app: ViaApp;
};
export type CreatorVia = CreateProjectVia1 | CreateProjectVia2;
export type CreatorUser = {
id: string;
};
export type Creator1 = {
type: "user";
via: CreateProjectVia1 | CreateProjectVia2 | null;
user: CreatorUser;
};
export type CreateProjectCreator = Creator1 | Creator2 | Creator3 | Creator4;
export declare const CreateProjectConfiguredBy: {
readonly A: "A";
readonly Cname: "CNAME";
readonly Dns01: "dns-01";
readonly Http: "http";
};
export type CreateProjectConfiguredBy = ClosedEnum<typeof CreateProjectConfiguredBy>;
export type CreateProjectProjectsAliasAssigned = number | boolean;
export type CreateProjectProjectsResponseAliasError = {
code: string;
message: string;
};
/**
* The type of matching to perform
*/
export declare const CreateProjectProjectsResponse200ApplicationJSONResponseBodyAliasDeploymentType: {
readonly EndsWith: "endsWith";
readonly Equals: "equals";
readonly StartsWith: "startsWith";
};
/**
* The type of matching to perform
*/
export type CreateProjectProjectsResponse200ApplicationJSONResponseBodyAliasDeploymentType = ClosedEnum<typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodyAliasDeploymentType>;
export type CreateProjectProjectsResponse200BranchMatcher = {
/**
* The type of matching to perform
*/
type: CreateProjectProjectsResponse200ApplicationJSONResponseBodyAliasDeploymentType;
/**
* The pattern to match against branch names
*/
pattern: string;
};
export type CreateProjectProjectsResponseBuilds = {
use: string;
src?: string | undefined;
dest?: string | undefined;
};
export declare const CreateProjectProjectsResponseChecksConclusion: {
readonly Canceled: "canceled";
readonly Failed: "failed";
readonly Skipped: "skipped";
readonly Succeeded: "succeeded";
};
export type CreateProjectProjectsResponseChecksConclusion = ClosedEnum<typeof CreateProjectProjectsResponseChecksConclusion>;
export declare const CreateProjectProjectsResponseChecksState: {
readonly Completed: "completed";
readonly Registered: "registered";
readonly Running: "running";
};
export type CreateProjectProjectsResponseChecksState = ClosedEnum<typeof CreateProjectProjectsResponseChecksState>;
export type CreateProjectProjectsResponse200Creator = {
email: string;
githubLogin?: string | undefined;
gitlabLogin?: string | undefined;
uid: string;
username: string;
};
export type CreateProjectProjectsResponseOidcTokenClaims = {
iss: string;
sub: string;
scope: string;
aud: string;
owner: string;
ownerId: string;
project: string;
projectId: string;
environment: string;
customEnvironmentId?: string | undefined;
mfeGroupIds?: Array<string> | undefined;
plan?: string | undefined;
};
export declare const CreateProjectProjectsResponsePlan: {
readonly Enterprise: "enterprise";
readonly Hobby: "hobby";
readonly Pro: "pro";
};
export type CreateProjectProjectsResponsePlan = ClosedEnum<typeof CreateProjectProjectsResponsePlan>;
export declare const CreateProjectProjectsResponseReadyState: {
readonly Blocked: "BLOCKED";
readonly Building: "BUILDING";
readonly Canceled: "CANCELED";
readonly Error: "ERROR";
readonly Initializing: "INITIALIZING";
readonly Queued: "QUEUED";
readonly Ready: "READY";
};
export type CreateProjectProjectsResponseReadyState = ClosedEnum<typeof CreateProjectProjectsResponseReadyState>;
export declare const CreateProjectProjectsResponseReadySubstate: {
readonly Promoted: "PROMOTED";
readonly Rolling: "ROLLING";
readonly Staged: "STAGED";
};
export type CreateProjectProjectsResponseReadySubstate = ClosedEnum<typeof CreateProjectProjectsResponseReadySubstate>;
export declare const CreateProjectProjectsResponse200ApplicationJSONResponseBodyAliasType: {
readonly Lambdas: "LAMBDAS";
};
export type CreateProjectProjectsResponse200ApplicationJSONResponseBodyAliasType = ClosedEnum<typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodyAliasType>;
export type CreateProjectDeployment = {
id: string;
alias?: Array<string> | undefined;
aliasAssigned?: number | boolean | null | undefined;
aliasError?: CreateProjectProjectsResponseAliasError | null | undefined;
aliasFinal?: string | null | undefined;
automaticAliases?: Array<string> | undefined;
branchMatcher?: CreateProjectProjectsResponse200BranchMatcher | undefined;
buildingAt?: number | undefined;
builds?: Array<CreateProjectProjectsResponseBuilds> | undefined;
checksConclusion?: CreateProjectProjectsResponseChecksConclusion | undefined;
checksState?: CreateProjectProjectsResponseChecksState | undefined;
connectBuildsEnabled?: boolean | undefined;
connectConfigurationId?: string | undefined;
createdAt: number;
createdIn: string;
creator: CreateProjectProjectsResponse200Creator | null;
deletedAt?: number | undefined;
deploymentHostname: string;
forced?: boolean | undefined;
name: string;
meta?: {
[k: string]: string;
} | undefined;
monorepoManager?: string | null | undefined;
oidcTokenClaims?: CreateProjectProjectsResponseOidcTokenClaims | undefined;
plan: CreateProjectProjectsResponsePlan;
/**
* Whether or not preview comments are enabled for the deployment
*/
previewCommentsEnabled?: boolean | undefined;
private: boolean;
readyAt?: number | undefined;
readyState: CreateProjectProjectsResponseReadyState;
readySubstate?: CreateProjectProjectsResponseReadySubstate | undefined;
requestedAt?: number | undefined;
target?: string | null | undefined;
teamId?: string | null | undefined;
type: CreateProjectProjectsResponse200ApplicationJSONResponseBodyAliasType;
url: string;
/**
* Present for user creators; omitted for app/integration/system creators.
*/
userId?: string | undefined;
withCache?: boolean | undefined;
};
export declare const CreateProjectEnvironment: {
readonly Preview: "preview";
readonly Production: "production";
};
export type CreateProjectEnvironment = ClosedEnum<typeof CreateProjectEnvironment>;
export declare const CreateProjectProjectsTarget: {
readonly Preview: "PREVIEW";
readonly Production: "PRODUCTION";
readonly Staging: "STAGING";
};
export type CreateProjectProjectsTarget = ClosedEnum<typeof CreateProjectProjectsTarget>;
export type Alias = {
configuredBy?: CreateProjectConfiguredBy | null | undefined;
configuredChangedAt?: number | null | undefined;
createdAt?: number | null | undefined;
deployment: CreateProjectDeployment | null;
domain: string;
environment: CreateProjectEnvironment;
gitBranch?: string | null | undefined;
redirect?: string | null | undefined;
redirectStatusCode?: number | null | undefined;
target: CreateProjectProjectsTarget;
};
export type Analytics = {
id: string;
canceledAt?: number | null | undefined;
disabledAt: number;
enabledAt: number;
paidAt?: number | undefined;
sampleRatePercent?: number | null | undefined;
spendLimitInDollars?: number | null | undefined;
};
export type SpeedInsights = {
id: string;
enabledAt?: number | undefined;
disabledAt?: number | undefined;
canceledAt?: number | undefined;
hasData?: boolean | undefined;
/**
* When the first free (not Speed Insights Plus) production data point was observed, in ms. Set once by subscriber-analytics-events; projects that already had data before this field shipped get it backfilled on their next batch, so it reads "first free data point observed", not necessarily "first ever".
*/
dataReceivedAt?: number | undefined;
paidAt?: number | undefined;
};
export declare const CreateProjectEnvId2: {
readonly Preview: "preview";
readonly Production: "production";
};
export type CreateProjectEnvId2 = ClosedEnum<typeof CreateProjectEnvId2>;
export type CreateProjectEnvId = string | CreateProjectEnvId2;
export type CreateProjectAws = {
subnetIds: Array<string>;
securityGroupId?: string | undefined;
};
export type CreateProjectConnectConfigurations = {
envId: string | CreateProjectEnvId2;
connectConfigurationId: string;
dc?: string | undefined;
passive: boolean;
buildsEnabled: boolean;
aws?: CreateProjectAws | undefined;
createdAt: number;
updatedAt: number;
};
/**
* The origin of this definition. 'api' means created via the API. Undefined means it originated from a deployment (vercel.json).
*/
export declare const CreateProjectSource: {
readonly Api: "api";
};
/**
* The origin of this definition. 'api' means created via the API. Undefined means it originated from a deployment (vercel.json).
*/
export type CreateProjectSource = ClosedEnum<typeof CreateProjectSource>;
export type Definitions = {
/**
* The hostname that should be used.
*/
host: string;
/**
* The path that should be called for the cronjob.
*/
path: string;
/**
* The cron expression.
*/
schedule: string;
/**
* The origin of this definition. 'api' means created via the API. Undefined means it originated from a deployment (vercel.json).
*/
source?: CreateProjectSource | undefined;
/**
* A human-readable description of what this cron job does.
*/
description?: string | undefined;
/**
* Whether the host was inferred from the production deployment URL rather than explicitly provided.
*/
hostInferred?: boolean | undefined;
};
export type CreateProjectCrons = {
/**
* The time the feature was enabled for this project. Note: It enables automatically with the first Deployment that outputs cronjobs.
*/
enabledAt: number;
/**
* The time the feature was disabled for this project.
*/
disabledAt: number | null;
updatedAt: number;
/**
* The ID of the Deployment from which the definitions originated.
*/
deploymentId: string | null;
definitions: Array<Definitions>;
};
export type CreateProjectDataCache = {
userDisabled: boolean;
storageSizeBytes?: number | null | undefined;
unlimited?: boolean | undefined;
};
/**
* Retention policies for deployments. These are enforced at the project level, but we also maintain an instance of this at the team level as a default policy that gets applied to new projects.
*/
export type DeploymentExpiration = {
/**
* Number of days to keep non-production deployments (mostly preview deployments) before soft deletion.
*/
expirationDays?: number | undefined;
/**
* Number of days to keep production deployments before soft deletion.
*/
expirationDaysProduction?: number | undefined;
/**
* Number of days to keep canceled deployments before soft deletion.
*/
expirationDaysCanceled?: number | undefined;
/**
* Number of days to keep errored deployments before soft deletion.
*/
expirationDaysErrored?: number | undefined;
/**
* Minimum number of production deployments to keep for this project, even if they are over the production expiration limit.
*/
deploymentsToKeep?: number | undefined;
};
export type Expiration2 = {
/**
* Unix ms timestamp when the project was locked.
*/
lockedAt: number;
/**
* userId of the actor that triggered the lock (system or admin).
*/
lockedBy: string;
};
export type Expiration1 = {
/**
* Unix ms timestamp when the project is scheduled to expire.
*/
expiresAt: number;
};
export type CreateProjectExpiration = Expiration2 | Expiration1;
export declare const CreateProjectTarget2: {
readonly Development: "development";
readonly Preview: "preview";
readonly Production: "production";
};
export type CreateProjectTarget2 = ClosedEnum<typeof CreateProjectTarget2>;
export declare const CreateProjectTarget1: {
readonly Development: "development";
readonly Preview: "preview";
readonly Production: "production";
};
export type CreateProjectTarget1 = ClosedEnum<typeof CreateProjectTarget1>;
export type CreateProjectProjectsResponseTarget = Array<CreateProjectTarget1> | CreateProjectTarget2;
export declare const CreateProjectProjectsResponseType: {
readonly Encrypted: "encrypted";
readonly Plain: "plain";
readonly Secret: "secret";
readonly Sensitive: "sensitive";
readonly System: "system";
};
export type CreateProjectProjectsResponseType = ClosedEnum<typeof CreateProjectProjectsResponseType>;
/**
* User-facing config/secret model. When set, authoritative for new code paths when the env-var-config-secret-ui flag is enabled. Legacy rows omit this field; legacy rows omit it and callers fall back to existing `type` behavior.
*/
export declare const CreateProjectVisibility: {
readonly Config: "config";
readonly Secret: "secret";
};
/**
* User-facing config/secret model. When set, authoritative for new code paths when the env-var-config-secret-ui flag is enabled. Legacy rows omit this field; legacy rows omit it and callers fall back to existing `type` behavior.
*/
export type CreateProjectVisibility = ClosedEnum<typeof CreateProjectVisibility>;
export type CreateProjectContentHint17 = {
type: "flags-connection-string";
projectId: string;
};
export type CreateProjectContentHint16 = {
type: "integration-store-secret";
storeId: string;
integrationId: string;
integrationProductId: string;
integrationConfigurationId: string;
};
export type CreateProjectContentHint15 = {
type: "postgres-url-no-ssl";
storeId: string;
};
export type CreateProjectContentHint14 = {
type: "postgres-database";
storeId: string;
};
export type CreateProjectContentHint13 = {
type: "postgres-password";
storeId: string;
};
export type CreateProjectContentHint12 = {
type: "postgres-host";
storeId: string;
};
export type CreateProjectContentHint11 = {
type: "postgres-user";
storeId: string;
};
export type CreateProjectContentHint10 = {
type: "postgres-prisma-url";
storeId: string;
};
export type CreateProjectContentHint9 = {
type: "postgres-url-non-pooling";
storeId: string;
};
export type CreateProjectContentHint8 = {
type: "postgres-url";
storeId: string;
};
export type CreateProjectContentHint7 = {
type: "blob-webhook-public-key";
storeId: string;
};
export type CreateProjectContentHint6 = {
type: "blob-store-id";
storeId: string;
};
export type CreateProjectContentHint5 = {
type: "blob-read-write-token";
storeId: string;
};
export type CreateProjectContentHint4 = {
type: "redis-rest-api-read-only-token";
storeId: string;
};
export type CreateProjectContentHint3 = {
type: "redis-rest-api-token";
storeId: string;
};
export type CreateProjectContentHint2 = {
type: "redis-rest-api-url";
storeId: string;
};
export type CreateProjectContentHint1 = {
type: "redis-url";
storeId: string;
};
export type CreateProjectContentHint = CreateProjectContentHint1 | CreateProjectContentHint2 | CreateProjectContentHint3 | CreateProjectContentHint4 | CreateProjectContentHint5 | CreateProjectContentHint6 | CreateProjectContentHint7 | CreateProjectContentHint8 | CreateProjectContentHint9 | CreateProjectContentHint10 | CreateProjectContentHint11 | CreateProjectContentHint12 | CreateProjectContentHint13 | CreateProjectContentHint14 | CreateProjectContentHint15 | CreateProjectContentHint16 | CreateProjectContentHint17;
export declare const CreateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType: {
readonly FlagsSecret: "flags-secret";
};
export type CreateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType = ClosedEnum<typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType>;
/**
* Similar to `contentHints`, but should not be exposed to the user.
*/
export type CreateProjectInternalContentHint = {
type: CreateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType;
/**
* Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda.
*/
encryptedValue: string;
};
export type CreateProjectEnv = {
target?: Array<CreateProjectTarget1> | CreateProjectTarget2 | undefined;
type: CreateProjectProjectsResponseType;
/**
* This is used to identify variables that have been migrated from type secret to sensitive.
*/
sunsetSecretId?: string | undefined;
/**
* Legacy now-encryption ciphertext, present after migration swaps value/vsmValue
*/
legacyValue?: string | undefined;
decrypted?: boolean | undefined;
value: string;
vsmValue?: string | undefined;
id?: string | undefined;
key: string;
configurationId?: string | null | undefined;
createdAt?: number | undefined;
updatedAt?: number | undefined;
createdBy?: string | null | undefined;
updatedBy?: string | null | undefined;
gitBranch?: string | undefined;
/**
* User-facing config/secret model. When set, authoritative for new code paths when the env-var-config-secret-ui flag is enabled. Legacy rows omit this field; legacy rows omit it and callers fall back to existing `type` behavior.
*/
visibility?: CreateProjectVisibility | undefined;
edgeConfigId?: string | null | undefined;
edgeConfigTokenId?: string | null | undefined;
contentHint?: CreateProjectContentHint1 | CreateProjectContentHint2 | CreateProjectContentHint3 | CreateProjectContentHint4 | CreateProjectContentHint5 | CreateProjectContentHint6 | CreateProjectContentHint7 | CreateProjectContentHint8 | CreateProjectContentHint9 | CreateProjectContentHint10 | CreateProjectContentHint11 | CreateProjectContentHint12 | CreateProjectContentHint13 | CreateProjectContentHint14 | CreateProjectContentHint15 | CreateProjectContentHint16 | CreateProjectContentHint17 | null | undefined;
/**
* Similar to `contentHints`, but should not be exposed to the user.
*/
internalContentHint?: CreateProjectInternalContentHint | null | undefined;
comment?: string | undefined;
customEnvironmentIds?: Array<string> | undefined;
};
/**
* The type of environment (production, preview, or development)
*/
export declare const CreateProjectProjectsResponse200Type: {
readonly Development: "development";
readonly Preview: "preview";
readonly Production: "production";
};
/**
* The type of environment (production, preview, or development)
*/
export type CreateProjectProjectsResponse200Type = ClosedEnum<typeof CreateProjectProjectsResponse200Type>;
/**
* The type of matching to perform
*/
export declare const CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType: {
readonly EndsWith: "endsWith";
readonly Equals: "equals";
readonly StartsWith: "startsWith";
};
/**
* The type of matching to perform
*/
export type CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType = ClosedEnum<typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType>;
/**
* Configuration for matching git branches to this environment
*/
export type CreateProjectBranchMatcher = {
/**
* The type of matching to perform
*/
type: CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType;
/**
* The pattern to match against branch names
*/
pattern: string;
};
/**
* A list of verification challenges, one of which must be completed to verify the domain for use on the project. After the challenge is complete `POST /projects/:idOrName/domains/:domain/verify` to verify the domain. Possible challenges: - If `verification.type = TXT` the `verification.domain` will be checked for a TXT record matching `verification.value`.
*/
export type CreateProjectVerification = {
type: string;
domain: string;
value: string;
reason: string;
};
/**
* List of domains associated with this environment
*/
export type CreateProjectDomains = {
name: string;
apexName: string;
projectId: string;
redirect?: string | null | undefined;
redirectStatusCode?: number | null | undefined;
gitBranch?: string | null | undefined;
customEnvironmentId?: string | null | undefined;
updatedAt?: number | undefined;
createdAt?: number | undefined;
/**
* `true` if the domain is verified for use with the project. If `false` it will not be used as an alias on this project until the challenge in `verification` is completed.
*/
verified: boolean;
/**
* A list of verification challenges, one of which must be completed to verify the domain for use on the project. After the challenge is complete `POST /projects/:idOrName/domains/:domain/verify` to verify the domain. Possible challenges: - If `verification.type = TXT` the `verification.domain` will be checked for a TXT record matching `verification.value`.
*/
verification?: Array<CreateProjectVerification> | undefined;
};
/**
* Internal representation of a custom environment with all required properties
*/
export type CreateProjectCustomEnvironments = {
/**
* Unique identifier for the custom environment (format: env_*)
*/
id: string;
/**
* URL-friendly name of the environment
*/
slug: string;
/**
* The type of environment (production, preview, or development)
*/
type: CreateProjectProjectsResponse200Type;
/**
* Optional description of the environment's purpose
*/
description?: string | undefined;
/**
* Configuration for matching git branches to this environment
*/
branchMatcher?: CreateProjectBranchMatcher | undefined;
/**
* List of domains associated with this environment
*/
domains?: Array<CreateProjectDomains> | undefined;
/**
* List of aliases for the current deployment
*/
currentDeploymentAliases?: Array<string> | undefined;
/**
* Timestamp when the environment was created
*/
createdAt: number;
/**
* Timestamp when the environment was last updated
*/
updatedAt: number;
};
export declare const CreateProjectProjectsFramework: {
readonly ActixWeb: "actix-web";
readonly Angular: "angular";
readonly Ash: "ash";
readonly Astro: "astro";
readonly Axum: "axum";
readonly Blitzjs: "blitzjs";
readonly Brunch: "brunch";
readonly Bun: "bun";
readonly Container: "container";
readonly CreateReactApp: "create-react-app";
readonly Django: "django";
readonly Docusaurus: "docusaurus";
readonly Docusaurus2: "docusaurus-2";
readonly Dojo: "dojo";
readonly Eleventy: "eleventy";
readonly Elysia: "elysia";
readonly Ember: "ember";
readonly Eve: "eve";
readonly Express: "express";
readonly FactoryEve: "factory-eve";
readonly Fastapi: "fastapi";
readonly Fasthtml: "fasthtml";
readonly Fastify: "fastify";
readonly Flask: "flask";
readonly Gatsby: "gatsby";
readonly Go: "go";
readonly Gridsome: "gridsome";
readonly H3: "h3";
readonly Hexo: "hexo";
readonly Hono: "hono";
readonly Hugo: "hugo";
readonly Hydrogen: "hydrogen";
readonly IonicAngular: "ionic-angular";
readonly IonicReact: "ionic-react";
readonly Jekyll: "jekyll";
readonly Koa: "koa";
readonly Mastra: "mastra";
readonly Middleman: "middleman";
readonly Nestjs: "nestjs";
readonly Nextjs: "nextjs";
readonly Nitro: "nitro";
readonly Node: "node";
readonly Nuxtjs: "nuxtjs";
readonly Parcel: "parcel";
readonly Polymer: "polymer";
readonly Preact: "preact";
readonly Python: "python";
readonly ReactRouter: "react-router";
readonly Redwoodjs: "redwoodjs";
readonly Remix: "remix";
readonly Ruby: "ruby";
readonly Rust: "rust";
readonly Saber: "saber";
readonly Sanity: "sanity";
readonly SanityV2: "sanity-v2";
readonly Sapper: "sapper";
readonly Scully: "scully";
readonly Services: "services";
readonly Solidstart: "solidstart";
readonly Solidstart1: "solidstart-1";
readonly Stencil: "stencil";
readonly Storybook: "storybook";
readonly Svelte: "svelte";
readonly Sveltekit: "sveltekit";
readonly Sveltekit1: "sveltekit-1";
readonly TanstackStart: "tanstack-start";
readonly TanstackStartLovable: "tanstack-start-lovable";
readonly Umijs: "umijs";
readonly Vite: "vite";
readonly Vitepress: "vitepress";
readonly Vue: "vue";
readonly Vuepress: "vuepress";
readonly Xmcp: "xmcp";
readonly Zola: "zola";
};
export type CreateProjectProjectsFramework = ClosedEnum<typeof CreateProjectProjectsFramework>;
/**
* Service kind (Service.type). Omitted for schemas that do not define one.
*/
export declare const CreateProjectServiceType: {
readonly Cron: "cron";
readonly Job: "job";
readonly Web: "web";
readonly Worker: "worker";
};
/**
* Service kind (Service.type). Omitted for schemas that do not define one.
*/
export type CreateProjectServiceType = ClosedEnum<typeof CreateProjectServiceType>;
/**
* Framework slug, when the service has one (omitted otherwise).
*/
export declare const CreateProjectProjectsResponseFramework: {
readonly ActixWeb: "actix-web";
readonly Angular: "angular";
readonly Ash: "ash";
readonly Astro: "astro";
readonly Axum: "axum";
readonly Blitzjs: "blitzjs";
readonly Brunch: "brunch";
readonly Bun: "bun";
readonly Container: "container";
readonly CreateReactApp: "create-react-app";
readonly Django: "django";
readonly Docusaurus: "docusaurus";
readonly Docusaurus2: "docusaurus-2";
readonly Dojo: "dojo";
readonly Eleventy: "eleventy";
readonly Elysia: "elysia";
readonly Ember: "ember";
readonly Eve: "eve";
readonly Express: "express";
readonly FactoryEve: "factory-eve";
readonly Fastapi: "fastapi";
readonly Fasthtml: "fasthtml";
readonly Fastify: "fastify";
readonly Flask: "flask";
readonly Gatsby: "gatsby";
readonly Go: "go";
readonly Gridsome: "gridsome";
readonly H3: "h3";
readonly Hexo: "hexo";
readonly Hono: "hono";
readonly Hugo: "hugo";
readonly Hydrogen: "hydrogen";
readonly IonicAngular: "ionic-angular";
readonly IonicReact: "ionic-react";
readonly Jekyll: "jekyll";
readonly Koa: "koa";
readonly Mastra: "mastra";
readonly Middleman: "middleman";
readonly Nestjs: "nestjs";
readonly Nextjs: "nextjs";
readonly Nitro: "nitro";
readonly Node: "node";
readonly Nuxtjs: "nuxtjs";
readonly Parcel: "parcel";
readonly Polymer: "polymer";
readonly Preact: "preact";
readonly Python: "python";
readonly ReactRouter: "react-router";
readonly Redwoodjs: "redwoodjs";
readonly Remix: "remix";
readonly Ruby: "ruby";
readonly Rust: "rust";
readonly Saber: "saber";
readonly Sanity: "sanity";
readonly SanityV2: "sanity-v2";
readonly Sapper: "sapper";
readonly Scully: "scully";
readonly Services: "services";
readonly Solidstart: "solidstart";
readonly Solidstart1: "solidstart-1";
readonly Stencil: "stencil";
readonly Storybook: "storybook";
readonly Svelte: "svelte";
readonly Sveltekit: "sveltekit";
readonly Sveltekit1: "sveltekit-1";
readonly TanstackStart: "tanstack-start";
readonly TanstackStartLovable: "tanstack-start-lovable";
readonly Umijs: "umijs";
readonly Vite: "vite";
readonly Vitepress: "vitepress";
readonly Vue: "vue";
readonly Vuepress: "vuepress";
readonly Xmcp: "xmcp";
readonly Zola: "zola";
};
/**
* Framework slug, when the service has one (omitted otherwise).
*/
export type CreateProjectProjectsResponseFramework = ClosedEnum<typeof CreateProjectProjectsResponseFramework>;
export type CreateProjectServices = {
/**
* Service name from the deployment (Service.name).
*/
serviceName: string;
/**
* Service kind (Service.type). Omitted for schemas that do not define one.
*/
serviceType?: CreateProjectServiceType | undefined;
/**
* Framework slug, when the service has one (omitted otherwise).
*/
framework?: CreateProjectProjectsResponseFramework | undefined;
/**
* Generic runtime, e.g. 'node' | 'python' | 'go' | 'ruby' | 'rust' (Service.runtime). Omitted for static builds.
*/
runtime?: string | undefined;
};
export type CreateProjectIpBuckets = {
bucket: string;
default?: boolean | undefined;
supportUntil?: number | undefined;
};
export type CreateProjectLint = {
targets: Array<string>;
};
export type CreateProjectTypecheck = {
targets: Array<string>;
};
export type CreateProjectMfeConfigPresent = {
targets: Array<string>;
};
export type Jobs = {
lint?: CreateProjectLint | undefined;
typecheck?: CreateProjectTypecheck | undefined;
mfeConfigPresent?: CreateProjectMfeConfigPresent | undefined;
};
export type AliasAssigned = number | boolean;
export type CreateProjectAliasError = {
code: string;
message: string;
};
/**
* The type of matching to perform
*/
export declare const CreateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType: {
readonly EndsWith: "endsWith";
readonly Equals: "equals";
readonly StartsWith: "startsWith";
};
/**
* The type of matching to perform
*/
export type CreateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType = ClosedEnum<typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType>;
export type CreateProjectProjectsBranchMatcher = {
/**
* The type of matching to perform
*/
type: CreateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType;
/**
* The pattern to match against branch names
*/
pattern: string;
};
export type CreateProjectBuilds = {
use: string;
src?: string | undefined;
dest?: string | undefined;
};
export declare const CreateProjectChecksConclusion: {
readonly Canceled: "canceled";
readonly Failed: "failed";
readonly Skipped: "skipped";
readonly Succeeded: "succeeded";
};
export type CreateProjectChecksConclusion = ClosedEnum<typeof CreateProjectChecksConclusion>;
export declare const CreateProjectChecksState: {
readonly Completed: "completed";
readonly Registered: "registered";
readonly Running: "running";
};
export type CreateProjectChecksState = ClosedEnum<typeof CreateProjectChecksState>;
export type CreateProjectProjectsCreator = {
email: string;
githubLogin?: string | undefined;
gitlabLogin?: string | undefined;
uid: string;
username: string;
};
export type CreateProjectOidcTokenClaims = {
iss: string;
sub: string;
scope: string;
aud: string;
owner: string;
ownerId: string;
project: string;
projectId: string;
environment: string;
customEnvironmentId?: string | undefined;
mfeGroupIds?: Array<string> | undefined;
plan?: string | undefined;
};
export declare const CreateProjectPlan: {
readonly Enterprise: "enterprise";
readonly Hobby: "hobby";
readonly Pro: "pro";
};
export type CreateProjectPlan = ClosedEnum<typeof CreateProjectPlan>;
export declare const CreateProjectReadyState: {
readonly Blocked: "BLOCKED";
readonly Building: "BUILDING";
readonly Canceled: "CANCELED";
readonly Error: "ERROR";
readonly Initializing: "INITIALIZING";
readonly Queued: "QUEUED";
readonly Ready: "READY";
};
export type CreateProjectReadyState = ClosedEnum<typeof CreateProjectReadyState>;
export declare const CreateProjectReadySubstate: {
readonly Promoted: "PROMOTED";
readonly Rolling: "ROLLING";
readonly Staged: "STAGED";
};
export type CreateProjectReadySubstate = ClosedEnum<typeof CreateProjectReadySubstate>;
export declare const CreateProjectProjectsResponse200ApplicationJSONType: {
readonly Lambdas: "LAMBDAS";
};
export type CreateProjectProjectsResponse200ApplicationJSONType = ClosedEnum<typeof CreateProjectProjectsResponse200ApplicationJSONType>;
export type LatestDeployments = {
id: string;
alias?: Array<string> | undefined;
aliasAssigned?: number | boolean | null | undefined;
aliasError?: CreateProjectAliasError | null | undefined;
aliasFinal?: string | null | undefined;
automaticAliases?: Array<string> | undefined;
branchMatcher?: CreateProjectProjectsBranchMatcher | undefined;
buildingAt?: number | undefined;
builds?: Array<CreateProjectBuilds> | undefined;
checksConclusion?: CreateProjectChecksConclusion | undefined;
checksState?: CreateProjectChecksState | undefined;
connectBuildsEnabled?: boolean | undefined;
connectConfigurationId?: string | undefined;
createdAt: number;
createdIn: string;
creator: CreateProjectProjectsCreator | null;
deletedAt?: number | undefined;
deploymentHostname: string;
forced?: boolean | undefined;
name: string;
meta?: {
[k: string]: string;
} | undefined;
monorepoManager?: string | null | undefined;
oidcTokenClaims?: CreateProjectOidcTokenClaims | undefined;
plan: CreateProjectPlan;
/**
* Whether or not preview comments are enabled for the deployment
*/
previewCommentsEnabled?: boolean | undefined;
private: boolean;
readyAt?: number | undefined;
readyState: CreateProjectReadyState;
readySubstate?: CreateProjectReadySubstate | undefined;
requestedAt?: number | undefined;
target?: string | null | undefined;
teamId?: string | null | undefined;
type: CreateProjectProjectsResponse200ApplicationJSONType;
url: string;
/**
* Present for user creators; omitted for app/integration/system creators.
*/
userId?: string | undefined;
withCache?: boolean | undefined;
};
export type CreateProjectLinkProjectsResponse200ApplicationJSONResponseBodyDeployHooks = {
createdAt?: number | undefined;
id: string;
name: string;
ref: string;
url: string;
};
export type Link8 = {
/**
* Owner (namespace) slug, e.g. `acme`.
*/
owner: string;
repo: string;
/**
* Origin repository id.
*/
repoId: string;
/**
* Origin namespace id (`ns_…`) of the owner.
*/
ownerId: string;
type: "cursor-origin";
createdAt?: number | undefined;
deployHooks: Array<CreateProjectLinkProjectsResponse200ApplicationJSONResponseBodyDeployHooks>;
gitCredentialId: string;
updatedAt?: number | undefined;
sourceless?: boolean | undefined;
productionBranch: string;
};
export type CreateProjectLinkProjectsResponse200ApplicationJSONDeployHooks = {
createdAt?: number | undefined;
id: string;
name: string;
ref: string;
url: string;
};
export type Link7 = {
org: string;
repo: string;
repoId: string;
type: "v0";
createdAt?: number | undefined;
deployHooks: Array<CreateProjectLinkProjectsResponse200ApplicationJSONDeployHooks>;
gitCredentialId: string;
updatedAt?: number | undefined;
sourceless?: boolean | undefined;
productionBranch: string;
};
export type CreateProjectLinkProjectsResponse200DeployHooks = {
createdAt?: number | undefined;
id: string;
name: string;
ref: string;
url: string;
};
export type Link6 = {
org: string;
repo: string;
repoId: string;
type: "vercel";
createdAt?: number | undefined;
deployHooks: Array<CreateProjectLinkProjectsResponse200DeployHooks>;
gitCredentialId: string;
updatedAt?: number | undefined;
sourceless?: boolean | undefined;
productionBranch: string;
};
export type CreateProjectLinkProjectsResponseDeployHooks = {
createdAt?: number | undefined;
id: string;
name: string;
ref: string;
url: string;
};
export type Link5 = {
name: string;
slug: string;
owner: string;
type: "bitbucket";
uuid: string;
workspaceUuid: string;
createdAt?: number | undefined;
deployHooks: Array<CreateProjectLinkProjectsResponseDeployHooks>;
gitCredentialId: string;
updatedAt?: number | undefined;
sourceless?: boolean | undefined;
productionBranch: string;
};
export type CreateProjectLinkProjectsDeployHooks = {
createdAt?: number | undefined;
id: string;
name: string;
ref: string;
url: string;
};
export type Link4 = {
projectId: string;
projectName: string;
projectNameWithNamespace: string;
projectNamespace: string;
/**
* A new field, should be included in all new project links, is being added just in time when a deployment is created. This is needed for Protected Git scopes. This is the id of the top level group that a namespace belongs to. Gitlab supports group nesting (up to 20 levels).
*/
projectOwnerId?: number | undefined;
projectUrl: string;
type: "gitlab";
createdAt?: number | undefined;
deployHooks: Array<CreateProjectLinkProjectsDeployHooks>;
gitCredentialId: string;
updatedAt?: number | undefined;
sourceless?: boolean | undefined;
productionBranch: string;
};
export type CreateProjectLinkDeployHooks = {
createdAt?: number | undefined;
id: string;
name: string;
ref: string;
url: string;
};
export type Link3 = {
org: string;
/**
* A new field, should be included in all new project links, is being added just in time when a deployment is created. This is needed for Protected Git scopes.
*/
repoOwnerId?: number | undefined;
repo?: string | undefined;
repoId?: number | undefined;
type: "github-custom-host";
host: string;
createdAt?: number | undefined;
deployHooks: Array<CreateProjectLinkDeployHooks>;
gitCredentialId: string;
updatedAt?: number | undefined;
sourceless?: boolean | undefined;
productionBranch: string;
};
export type LinkDeployHooks = {
createdAt?: number | undefined;
id: string;
name: string;
ref: string;
url: string;
};
export type Link2 = {
type: "github-limited";
repo?: string | undefined;
repoId?: number | undefined;
createdAt?: number | undefined;
updatedAt?: number | undefined;
org: string;
/**
* A new field, should be included in all new project links, is being added just in time when a deployment is created. This is needed for Protected Git scopes.
*/
repoOwnerId?: number | undefined;
deployHooks: Array<LinkDeployHooks>;
gitCredentialId: string;
sourceless?: boolean | undefined;
productionBranch: string;
};
export type DeployHooks = {
createdAt?: number | undefined;
id: string;
name: string;
ref: string;
url: string;
};
export type Link1 = {
org: string;
/**
* A new field, should be included in all new project links, is being added just in time when a deployment is created. This is needed for Protected Git scopes.
*/
repoOwnerId?: number | undefined;
repo?: string | undefined;
repoId?: number | undefined;
type: "github";
createdAt?: number | undefined;
deployHooks: Array<DeployHooks>;
gitCredentialId: string;
updatedAt?: number | undefined;
sourceless?: boolean | undefined;
productionBranch: string;
};
export type Link = Link1 | Link2 | Link3 | Link4 | Link5 | Link6 | Link7 | Link8;
export type Blobs = {
/**
* Marks the team-level, Vercel-managed default blob project (`vercel-blob-default-project`) that orphan blob stores are scoped to when connected without an explicit project. Set only by internal storage flows and immutable after creation — guards rely on it to protect the connected stores from being lost when the project is deleted or transferred.
*/
isDefaultApp?: boolean | undefined;
};
export type CreateProjectMicrofrontends3 = {
updatedAt: number;
groupIds: Array<any>;
enabled: false;
freeProjectForLegacyLimits?: boolean | undefined;
};
export type CreateProjectMicrofrontends2 = {
isDefaultApp?: false | undefined;
/**
* Whether observability data should be routed to this microfrontend project or a root project.
*/
routeObservabilityToThisProject?: boolean | undefined;
/**
* Whether to add microfrontends routing to aliases. This means domains in this project will route as a microfrontend.
*/
doNotRouteWithMicrofrontendsRouting?: boolean | undefined;
/**
* Timestamp when the microfrontends settings were last updated.
*/
updatedAt: number;
/**
* The group IDs of microfrontends that this project belongs to. Each microfrontend project must belong to a microfrontends group that is the set of microfrontends that are used together.
*/
groupIds: Array<string>;
/**
* Whether microfrontends are enabled for this project.
*/
enabled: true;
/**
* A path that is used to take screenshots and as the default path in preview links when a domain for this microfrontend is shown in the UI. Includes the leading slash, e.g. `/docs`
*/
defaultRoute?: string | undefined;
/**
* Whether the project was part of the legacy limits for hobby and pro-trial before billing was added. This field is only set when the team is upgraded to a paid plan and we are backfilling the subscription status. We cap the subscription to 2 projects and set this field for the 3rd project. When this field is set, the project is not charged for and we do not call any billing APIs for this project.
*/
freeProjectForLegacyLimits?: boolean | undefined;
};
export type CreateProjectMicrofrontends1 = {
isDefaultApp: true;
/**
* Timestamp when the microfrontends settings were last updated.
*/
updatedAt: number;
/**
* The group IDs of microfrontends that this project belongs to. Each microfrontend project must belong to a microfrontends group that is the set of microfrontends that are used together.
*/
groupIds: Array<string>;
/**
* Whether microfrontends are enabled for this project.
*/
enabled: true;
/**
* A path that is used to take screenshots and as the default path in preview links when a domain for this microfrontend is shown in the UI. Includes the leading slash, e.g. `/docs`
*/
defaultRoute?: string | undefined;
/**
* Whether the project was part of the legacy limits for hobby and pro-trial before billing was added. This field is only set when the team is upgraded to a paid plan and we are backfilling the subscription status. We cap the subscription to 2 projects and set this field for the 3rd project. When this field is set, the project is not charged for and we do not call any billing APIs for this project.
*/
freeProjectForLegacyLimits?: boolean | undefined;
};
export type CreateProjectMicrofrontends = CreateProjectMicrofrontends1 | CreateProjectMicrofrontends2 | CreateProjectMicrofrontends3;
export declare const CreateProjectNodeVersion: {
readonly TenDotX: "10.x";
readonly TwelveDotX: "12.x";
readonly FourteenDotX: "14.x";
readonly SixteenDotX: "16.x";
readonly EighteenDotX: "18.x";
readonly TwentyDotX: "20.x";
readonly TwentyTwoDotX: "22.x";
readonly TwentyFourDotX: "24.x";
readonly EightDot10DotX: "8.10.x";
};
export type CreateProjectNodeVersion = ClosedEnum<typeof CreateProjectNodeVersion>;
export type CreateProjectPaths = {
value: string;
};
export type CreateProjectOptionsAllowlist = {
paths: Array<CreateProjectPaths>;
};
export type CreateProjectPasswordProtection = {};
/** @internal */
export declare const Target2$outboundSchema: z.ZodNativeEnum<typeof Target2>;
/** @internal */
export declare const Target1$outboundSchema: z.ZodNativeEnum<typeof Target1>;
/** @internal */
export type CreateProjectTarget$Outbound = string | Array<string>;
/** @internal */
export declare const CreateProjectTarget$outboundSchema: z.ZodType<CreateProjectTarget$Outbound, z.ZodTypeDef, CreateProjectTarget>;
export declare function createProjectTargetToJSON(createProjectTarget: CreateProjectTarget): string;
/** @internal */
export declare const CreateProjectType$outboundSchema: z.ZodNativeEnum<typeof CreateProjectType>;
/** @internal */
export type EnvironmentVariables$Outbound = {
key: string;
target: string | Array<string>;
gitBranch?: string | undefined;
type?: string | undefined;
value: string;
};
/** @internal */
export declare const EnvironmentVariables$outboundSchema: z.ZodType<EnvironmentVariables$Outbound, z.ZodTypeDef, EnvironmentVariables>;
export declare function environmentVariablesToJSON(environmentVariables: EnvironmentVariables): string;
/** @internal */
export declare const CreateProjectFramework$outboundSchema: z.ZodNativeEnum<typeof CreateProjectFramework>;
/** @internal */
export declare const CreateProjectProjectsType$outboundSchema: z.ZodNativeEnum<typeof CreateProjectProjectsType>;
/** @internal */
export type GitRepository$Outbound = {
repo: string;
type: string;
};
/** @internal */
export declare const GitRepository$outboundSchema: z.ZodType<GitRepository$Outbound, z.ZodTypeDef, GitRepository>;
export declare function gitRepositoryToJSON(gitRepository: GitRepository): string;
/** @internal */
export declare const CreateProjectDeploymentType$outboundSchema: z.ZodNativeEnum<typeof CreateProjectDeploymentType>;
/** @internal */
export type CreateProjectSsoProtection$Outbound = {
deploymentType: string;
};
/** @internal */
export declare const CreateProjectSsoProtection$outboundSchema: z.ZodType<CreateProjectSsoProtection$Outbound, z.ZodTypeDef, CreateProjectSsoProtection>;
export declare function createProjectSsoProtectionToJSON(createProjectSsoProtection: CreateProjectSsoProtection): string;
/** @internal */
export declare const Region$outboundSchema: z.ZodNativeEnum<typeof Region>;
/** @internal */
export declare const CreateProjectFailoverRegions$outboundSchema: z.ZodNativeEnum<typeof CreateProjectFailoverRegions>;
/** @internal */
export type Sandbox$Outbound = {
region?: string | undefined;
failoverRegions?: Array<string> | undefined;
};
/** @internal */
export declare const Sandbox$outboundSchema: z.ZodType<Sandbox$Outbound, z.ZodTypeDef, Sandbox>;
export declare function sandboxToJSON(sandbox: Sandbox): string;
/** @internal */
export declare const CreateProjectIssuerMode$outboundSchema: z.ZodNativeEnum<typeof CreateProjectIssuerMode>;
/** @internal */
export type OidcTokenConfig$Outbound = {
enabled: boolean;
issuerMode: string;
};
/** @internal */
export declare const OidcTokenConfig$outboundSchema: z.ZodType<OidcTokenConfig$Outbound, z.ZodTypeDef, OidcTokenConfig>;
export declare function oidcTokenConfigToJSON(oidcTokenConfig: OidcTokenConfig): string;
/** @internal */
export declare const BuildMachineType$outboundSchema: z.ZodNativeEnum<typeof BuildMachineType>;
/** @internal */
export declare const FunctionDefaultMemoryType$outboundSchema: z.ZodNativeEnum<typeof FunctionDefaultMemoryType>;
/** @internal */
export declare const BuildMachineSelection$outboundSchema: z.ZodNativeEnum<typeof BuildMachineSelection>;
/** @internal */
export declare const BuildMachineElasticReason$outboundSchema: z.ZodNativeEnum<typeof BuildMachineElasticReason>;
/** @internal */
export declare const CreateProjectConfiguration$outboundSchema: z.ZodNativeEnum<typeof CreateProjectConfiguration>;
/** @internal */
export type CreateProjectBuildQueue$Outbound = {
configuration?: string | undefined;
};
/** @internal */
export declare const CreateProjectBuildQueue$outboundSchema: z.ZodType<CreateProjectBuildQueue$Outbound, z.ZodTypeDef, CreateProjectBuildQueue>;
export declare function createProjectBuildQueueToJSON(createProjectBuildQueue: CreateProjectBuildQueue): string;
/** @internal */
export type CreateProjectResourceConfig$Outbound = {
buildMachineType?: string | undefined;
fluid?: boolean | undefined;
functionDefaultRegions?: Array<string> | undefined;
functionDefaultTimeout?: number | undefined;
functionDefaultMemoryType?: string | undefined;
functionZeroConfigFailover?: boolean | undefined;
elasticConcurrencyEnabled?: boolean | undefined;
buildMachineSelection?: string | undefined;
buildMachineElasticLastUpdated?: number | undefined;
buildMachineElasticReason?: string | undefined;
isNSNBDisabled?: boolean | undefined;
buildQueue?: CreateProjectBuildQueue$Outbound | undefined;
enableFunctionsBeta?: boolean | undefined;
};
/** @internal */
export declare const CreateProjectResourceConfig$outboundSchema: z.ZodType<CreateProjectResourceConfig$Outbound, z.ZodTypeDef, CreateProjectResourceConfig>;
export declare function createProjectResourceConfigToJSON(createProjectResourceConfig: CreateProjectResourceConfig): string;
/** @internal */
export type CreateProjectRequestBody$Outbound = {
enablePreviewFeedback?: boolean | null | undefined;
enableProductionFeedback?: boolean | null | undefined;
previewDeploymentsDisabled?: boolean | null | undefined;
previewDeploymentSuffix?: string | null | undefined;
buildCommand?: string | null | undefined;
commandForIgnoringBuildStep?: string | null | undefined;
devCommand?: string | null | undefined;
environmentVariables?: Array<EnvironmentVariables$Outbound> | undefined;
framework?: string | undefined;
gitRepository?: GitRepository$Outbound | undefined;
installCommand?: string | null | undefined;
name: string;
skipGitConnectDuringLink?: boolean | undefined;
ssoProtection?: CreateProjectSsoProtection$Outbound | null | undefined;
sandbox?: Sandbox$Outbound | undefined;
outputDirectory?: string | null | undefined;
publicSource?: boolean | null | undefined;
rootDirectory?: string | null | undefined;
serverlessFunctionRegion?: string | null | undefined;
serverlessFunctionZeroConfigFailover?: boolean | undefined;
oidcTokenConfig?: OidcTokenConfig$Outbound | undefined;
enableAffectedProjectsDeployments?: boolean | undefined;
resourceConfig?: CreateProjectResourceConfig$Outbound | undefined;
};
/** @internal */
export declare const CreateProjectRequestBody$outboundSchema: z.ZodType<CreateProjectRequestBody$Outbound, z.ZodTypeDef, CreateProjectRequestBody>;
export declare function createProjectRequestBodyToJSON(createProjectRequestBody: CreateProjectRequestBody): string;
/** @internal */
export type CreateProjectRequest$Outbound = {
teamId?: string | undefined;
slug?: string | undefined;
RequestBody?: CreateProjectRequestBody$Outbound | undefined;
};
/** @internal */
export declare const CreateProjectRequest$outboundSchema: z.ZodType<CreateProjectRequest$Outbound, z.ZodTypeDef, CreateProjectRequest>;
export declare function createProjectRequestToJSON(createProjectRequest: CreateProjectRequest): string;
/** @internal */
export declare const Creator4$inboundSchema: z.ZodType<Creator4, z.ZodTypeDef, unknown>;
export declare function creator4FromJSON(jsonString: string): SafeParseResult<Creator4, SDKValidationError>;
/** @internal */
export declare const CreatorIntegration$inboundSchema: z.ZodType<CreatorIntegration, z.ZodTypeDef, unknown>;
export declare function creatorIntegrationFromJSON(jsonString: string): SafeParseResult<CreatorIntegration, SDKValidationError>;
/** @internal */
export declare const Creator3$inboundSchema: z.ZodType<Creator3, z.ZodTypeDef, unknown>;
export declare function creator3FromJSON(jsonString: string): SafeParseResult<Creator3, SDKValidationError>;
/** @internal */
export declare const CreatorApp$inboundSchema: z.ZodType<CreatorApp, z.ZodTypeDef, unknown>;
export declare function creatorAppFromJSON(jsonString: string): SafeParseResult<CreatorApp, SDKValidationError>;
/** @internal */
export declare const Creator2$inboundSchema: z.ZodType<Creator2, z.ZodTypeDef, unknown>;
export declare function creator2FromJSON(jsonString: string): SafeParseResult<Creator2, SDKValidationError>;
/** @internal */
export declare const ViaIntegration$inboundSchema: z.ZodType<ViaIntegration, z.ZodTypeDef, unknown>;
export declare function viaIntegrationFromJSON(jsonString: string): SafeParseResult<ViaIntegration, SDKValidationError>;
/** @internal */
export declare const CreateProjectVia2$inboundSchema: z.ZodType<CreateProjectVia2, z.ZodTypeDef, unknown>;
export declare function createProjectVia2FromJSON(jsonString: string): SafeParseResult<CreateProjectVia2, SDKValidationError>;
/** @internal */
export declare const ViaApp$inboundSchema: z.ZodType<ViaApp, z.ZodTypeDef, unknown>;
export declare function viaAppFromJSON(jsonString: string): SafeParseResult<ViaApp, SDKValidationError>;
/** @internal */
export declare const CreateProjectVia1$inboundSchema: z.ZodType<CreateProjectVia1, z.ZodTypeDef, unknown>;
export declare function createProjectVia1FromJSON(jsonString: string): SafeParseResult<CreateProjectVia1, SDKValidationError>;
/** @internal */
export declare const CreatorVia$inboundSchema: z.ZodType<CreatorVia, z.ZodTypeDef, unknown>;
export declare function creatorViaFromJSON(jsonString: string): SafeParseResult<CreatorVia, SDKValidationError>;
/** @internal */
export declare const CreatorUser$inboundSchema: z.ZodType<CreatorUser, z.ZodTypeDef, unknown>;
export declare function creatorUserFromJSON(jsonString: string): SafeParseResult<CreatorUser, SDKValidationError>;
/** @internal */
export declare const Creator1$inboundSchema: z.ZodType<Creator1, z.ZodTypeDef, unknown>;
export declare function creator1FromJSON(jsonString: string): SafeParseResult<Creator1, SDKValidationError>;
/** @internal */
export declare const CreateProjectCreator$inboundSchema: z.ZodType<CreateProjectCreator, z.ZodTypeDef, unknown>;
export declare function createProjectCreatorFromJSON(jsonString: string): SafeParseResult<CreateProjectCreator, SDKValidationError>;
/** @internal */
export declare const CreateProjectConfiguredBy$inboundSchema: z.ZodNativeEnum<typeof CreateProjectConfiguredBy>;
/** @internal */
export declare const CreateProjectProjectsAliasAssigned$inboundSchema: z.ZodType<CreateProjectProjectsAliasAssigned, z.ZodTypeDef, unknown>;
export declare function createProjectProjectsAliasAssignedFromJSON(jsonString: string): SafeParseResult<CreateProjectProjectsAliasAssigned, SDKValidationError>;
/** @internal */
export declare const CreateProjectProjectsResponseAliasError$inboundSchema: z.ZodType<CreateProjectProjectsResponseAliasError, z.ZodTypeDef, unknown>;
export declare function createProjectProjectsResponseAliasErrorFromJSON(jsonString: string): SafeParseResult<CreateProjectProjectsResponseAliasError, SDKValidationError>;
/** @internal */
export declare const CreateProjectProjectsResponse200ApplicationJSONResponseBodyAliasDeploymentType$inboundSchema: z.ZodNativeEnum<typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodyAliasDeploymentType>;
/** @internal */
export declare const CreateProjectProjectsResponse200BranchMatcher$inboundSchema: z.ZodType<CreateProjectProjectsResponse200BranchMatcher, z.ZodTypeDef, unknown>;
export declare function createProjectProjectsResponse200BranchMatcherFromJSON(jsonString: string): SafeParseResult<CreateProjectProjectsResponse200BranchMatcher, SDKValidationError>;
/** @internal */
export declare const CreateProjectProjectsResponseBuilds$inboundSchema: z.ZodType<CreateProjectProjectsResponseBuilds, z.ZodTypeDef, unknown>;
export declare function createProjectProjectsResponseBuildsFromJSON(jsonString: string): SafeParseResult<CreateProjectProjectsResponseBuilds, SDKValidationError>;
/** @internal */
export declare const CreateProjectProjectsResponseChecksConclusion$inboundSchema: z.ZodNativeEnum<typeof CreateProjectProjectsResponseChecksConclusion>;
/** @internal */
export declare const CreateProjectProjectsResponseChecksState$inboundSchema: z.ZodNativeEnum<typeof CreateProjectProjectsResponseChecksState>;
/** @internal */
export declare const CreateProjectProjectsResponse200Creator$inboundSchema: z.ZodType<CreateProjectProjectsResponse200Creator, z.ZodTypeDef, unknown>;
export declare function createProjectProjectsResponse200CreatorFromJSON(jsonString: string): SafeParseResult<CreateProjectProjectsResponse200Creator, SDKValidationError>;
/** @internal */
export declare const CreateProjectProjectsResponseOidcTokenClaims$inboundSchema: z.ZodType<CreateProjectProjectsResponseOidcTokenClaims, z.ZodTypeDef, unknown>;
export declare function createProjectProjectsResponseOidcTokenClaimsFromJSON(jsonString: string): SafeParseResult<CreateProjectProjectsResponseOidcTokenClaims, SDKValidationError>;
/** @internal */
export declare const CreateProjectProjectsResponsePlan$inboundSchema: z.ZodNativeEnum<typeof CreateProjectProjectsResponsePlan>;
/** @internal */
export declare const CreateProjectProjectsResponseReadyState$inboundSchema: z.ZodNativeEnum<typeof CreateProjectProjectsResponseReadyState>;
/** @internal */
export declare const CreateProjectProjectsResponseReadySubstate$inboundSchema: z.ZodNativeEnum<typeof CreateProjectProjectsResponseReadySubstate>;
/** @internal */
export declare const CreateProjectProjectsResponse200ApplicationJSONResponseBodyAliasType$inboundSchema: z.ZodNativeEnum<typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodyAliasType>;
/** @internal */
export declare const CreateProjectDeployment$inboundSchema: z.ZodType<CreateProjectDeployment, z.ZodTypeDef, unknown>;
export declare function createProjectDeploymentFromJSON(jsonString: string): SafeParseResult<CreateProjectDeployment, SDKValidationError>;
/** @internal */
export declare const CreateProjectEnvironment$inboundSchema: z.ZodNativeEnum<typeof CreateProjectEnvironment>;
/** @internal */
export declare const CreateProjectProjectsTarget$inboundSchema: z.ZodNativeEnum<typeof CreateProjectProjectsTarget>;
/** @internal */
export declare const Alias$inboundSchema: z.ZodType<Alias, z.ZodTypeDef, unknown>;
export declare function aliasFromJSON(jsonString: string): SafeParseResult<Alias, SDKValidationError>;
/** @internal */
export declare const Analytics$inboundSchema: z.ZodType<Analytics, z.ZodTypeDef, unknown>;
export declare function analyticsFromJSON(jsonString: string): SafeParseResult<Analytics, SDKValidationError>;
/** @internal */
export declare const SpeedInsights$inboundSchema: z.ZodType<SpeedInsights, z.ZodTypeDef, unknown>;
export declare function speedInsightsFromJSON(jsonString: string): SafeParseResult<SpeedInsights, SDKValidationError>;
/** @internal */
export declare const CreateProjectEnvId2$inboundSchema: z.ZodNativeEnum<typeof CreateProjectEnvId2>;
/** @internal */
export declare const CreateProjectEnvId$inboundSchema: z.ZodType<CreateProjectEnvId, z.ZodTypeDef, unknown>;
export declare function createProjectEnvIdFromJSON(jsonString: string): SafeParseResult<CreateProjectEnvId, SDKValidationError>;
/** @internal */
export declare const CreateProjectAws$inboundSchema: z.ZodType<CreateProjectAws, z.ZodTypeDef, unknown>;
export declare function createProjectAwsFromJSON(jsonString: string): SafeParseResult<CreateProjectAws, SDKValidationError>;
/** @internal */
export declare const CreateProjectConnectConfigurations$inboundSchema: z.ZodType<CreateProjectConnectConfigurations, z.ZodTypeDef, unknown>;
export declare function createProjectConnectConfigurationsFromJSON(jsonString: string): SafeParseResult<CreateProjectConnectConfigurations, SDKValidationError>;
/** @internal */
export declare const CreateProjectSource$inboundSchema: z.ZodNativeEnum<typeof CreateProjectSource>;
/** @internal */
export declare const Definitions$inboundSchema: z.ZodType<Definitions, z.ZodTypeDef, unknown>;
export declare function definitionsFromJSON(jsonString: string): SafeParseResult<Definitions, SDKValidationError>;
/** @internal */
export declare const CreateProjectCrons$inboundSchema: z.ZodType<CreateProjectCrons, z.ZodTypeDef, unknown>;
export declare function createProjectCronsFromJSON(jsonString: string): SafeParseResult<CreateProjectCrons, SDKValidationError>;
/** @internal */
export declare const CreateProjectDataCache$inboundSchema: z.ZodType<CreateProjectDataCache, z.ZodTypeDef, unknown>;
export declare function createProjectDataCacheFromJSON(jsonString: string): SafeParseResult<CreateProjectDataCache, SDKValidationError>;
/** @internal */
export declare const DeploymentExpiration$inboundSchema: z.ZodType<DeploymentExpiration, z.ZodTypeDef, unknown>;
export declare function deploymentExpirationFromJSON(jsonString: string): SafeParseResult<DeploymentExpiration, SDKValidationError>;
/** @internal */
export declare const Expiration2$inboundSchema: z.ZodType<Expiration2, z.ZodTypeDef, unknown>;
export declare function expiration2FromJSON(jsonString: string): SafeParseResult<Expiration2, SDKValidationError>;
/** @internal */
export declare const Expiration1$inboundSchema: z.ZodType<Expiration1, z.ZodTypeDef, unknown>;
export declare function expiration1FromJSON(jsonString: string): SafeParseResult<Expiration1, SDKValidationError>;
/** @internal */
export declare const CreateProjectExpiration$inboundSchema: z.ZodType<CreateProjectExpiration, z.ZodTypeDef, unknown>;
export declare function createProjectExpirationFromJSON(jsonString: string): SafeParseResult<CreateProjectExpiration, SDKValidationError>;
/** @internal */
export declare const CreateProjectTarget2$inboundSchema: z.ZodNativeEnum<typeof CreateProjectTarget2>;
/** @internal */
export declare const CreateProjectTarget1$inboundSchema: z.ZodNativeEnum<typeof CreateProjectTarget1>;
/** @internal */
export declare const CreateProjectProjectsResponseTarget$inboundSchema: z.ZodType<CreateProjectProjectsResponseTarget, z.ZodTypeDef, unknown>;
export declare function createProjectProjectsResponseTargetFromJSON(jsonString: string): SafeParseResult<CreateProjectProjectsResponseTarget, SDKValidationError>;
/** @internal */
export declare const CreateProjectProjectsResponseType$inboundSchema: z.ZodNativeEnum<typeof CreateProjectProjectsResponseType>;
/** @internal */
export declare const CreateProjectVisibility$inboundSchema: z.ZodNativeEnum<typeof CreateProjectVisibility>;
/** @internal */
export declare const CreateProjectContentHint17$inboundSchema: z.ZodType<CreateProjectContentHint17, z.ZodTypeDef, unknown>;
export declare function createProjectContentHint17FromJSON(jsonString: string): SafeParseResult<CreateProjectContentHint17, SDKValidationError>;
/** @internal */
export declare const CreateProjectContentHint16$inboundSchema: z.ZodType<CreateProjectContentHint16, z.ZodTypeDef, unknown>;
export declare function createProjectContentHint16FromJSON(jsonString: string): SafeParseResult<CreateProjectContentHint16, SDKValidationError>;
/** @internal */
export declare const CreateProjectContentHint15$inboundSchema: z.ZodType<CreateProjectContentHint15, z.ZodTypeDef, unknown>;
export declare function createProjectContentHint15FromJSON(jsonString: string): SafeParseResult<CreateProjectContentHint15, SDKValidationError>;
/** @internal */
export declare const CreateProjectContentHint14$inboundSchema: z.ZodType<CreateProjectContentHint14, z.ZodTypeDef, unknown>;
export declare function createProjectContentHint14FromJSON(jsonString: string): SafeParseResult<CreateProjectContentHint14, SDKValidationError>;
/** @internal */
export declare const CreateProjectContentHint13$inboundSchema: z.ZodType<CreateProjectContentHint13, z.ZodTypeDef, unknown>;
export declare function createProjectContentHint13FromJSON(jsonString: string): SafeParseResult<CreateProjectContentHint13, SDKValidationError>;
/** @internal */
export declare const CreateProjectContentHint12$inboundSchema: z.ZodType<CreateProjectContentHint12, z.ZodTypeDef, unknown>;
export declare function createProjectContentHint12FromJSON(jsonString: string): SafeParseResult<CreateProjectContentHint12, SDKValidationError>;
/** @internal */
export declare const CreateProjectContentHint11$inboundSchema: z.ZodType<CreateProjectContentHint11, z.ZodTypeDef, unknown>;
export declare function createProjectContentHint11FromJSON(jsonString: string): SafeParseResult<CreateProjectContentHint11, SDKValidationError>;
/** @internal */
export declare const CreateProjectContentHint10$inboundSchema: z.ZodType<CreateProjectContentHint10, z.ZodTypeDef, unknown>;
export declare function createProjectContentHint10FromJSON(jsonString: string): SafeParseResult<CreateProjectContentHint10, SDKValidationError>;
/** @internal */
export declare const CreateProjectContentHint9$inboundSchema: z.ZodType<CreateProjectContentHint9, z.ZodTypeDef, unknown>;
export declare function createProjectContentHint9FromJSON(jsonString: string): SafeParseResult<CreateProjectContentHint9, SDKValidationError>;
/** @internal */
export declare const CreateProjectContentHint8$inboundSchema: z.ZodType<CreateProjectContentHint8, z.ZodTypeDef, unknown>;
export declare function createProjectContentHint8FromJSON(jsonString: string): SafeParseResult<CreateProjectContentHint8, SDKValidationError>;
/** @internal */
export declare const CreateProjectContentHint7$inboundSchema: z.ZodType<CreateProjectContentHint7, z.ZodTypeDef, unknown>;
export declare function createProjectContentHint7FromJSON(jsonString: string): SafeParseResult<CreateProjectContentHint7, SDKValidationError>;
/** @internal */
export declare const CreateProjectContentHint6$inboundSchema: z.ZodType<CreateProjectContentHint6, z.ZodTypeDef, unknown>;
export declare function createProjectContentHint6FromJSON(jsonString: string): SafeParseResult<CreateProjectContentHint6, SDKValidationError>;
/** @internal */
export declare const CreateProjectContentHint5$inboundSchema: z.ZodType<CreateProjectContentHint5, z.ZodTypeDef, unknown>;
export declare function createProjectContentHint5FromJSON(jsonString: string): SafeParseResult<CreateProjectContentHint5, SDKValidationError>;
/** @internal */
export declare const CreateProjectContentHint4$inboundSchema: z.ZodType<CreateProjectContentHint4, z.ZodTypeDef, unknown>;
export declare function createProjectContentHint4FromJSON(jsonString: string): SafeParseResult<CreateProjectContentHint4, SDKValidationError>;
/** @internal */
export declare const CreateProjectContentHint3$inboundSchema: z.ZodType<CreateProjectContentHint3, z.ZodTypeDef, unknown>;
export declare function createProjectContentHint3FromJSON(jsonString: string): SafeParseResult<CreateProjectContentHint3, SDKValidationError>;
/** @internal */
export declare const CreateProjectContentHint2$inboundSchema: z.ZodType<CreateProjectContentHint2, z.ZodTypeDef, unknown>;
export declare function createProjectContentHint2FromJSON(jsonString: string): SafeParseResult<CreateProjectContentHint2, SDKValidationError>;
/** @internal */
export declare const CreateProjectContentHint1$inboundSchema: z.ZodType<CreateProjectContentHint1, z.ZodTypeDef, unknown>;
export declare function createProjectContentHint1FromJSON(jsonString: string): SafeParseResult<CreateProjectContentHint1, SDKValidationError>;
/** @internal */
export declare const CreateProjectContentHint$inboundSchema: z.ZodType<CreateProjectContentHint, z.ZodTypeDef, unknown>;
export declare function createProjectContentHintFromJSON(jsonString: string): SafeParseResult<CreateProjectContentHint, SDKValidationError>;
/** @internal */
export declare const CreateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema: z.ZodNativeEnum<typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType>;
/** @internal */
export declare const CreateProjectInternalContentHint$inboundSchema: z.ZodType<CreateProjectInternalContentHint, z.ZodTypeDef, unknown>;
export declare function createProjectInternalContentHintFromJSON(jsonString: string): SafeParseResult<CreateProjectInternalContentHint, SDKValidationError>;
/** @internal */
export declare const CreateProjectEnv$inboundSchema: z.ZodType<CreateProjectEnv, z.ZodTypeDef, unknown>;
export declare function createProjectEnvFromJSON(jsonString: string): SafeParseResult<CreateProjectEnv, SDKValidationError>;
/** @internal */
export declare const CreateProjectProjectsResponse200Type$inboundSchema: z.ZodNativeEnum<typeof CreateProjectProjectsResponse200Type>;
/** @internal */
export declare const CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema: z.ZodNativeEnum<typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType>;
/** @internal */
export declare const CreateProjectBranchMatcher$inboundSchema: z.ZodType<CreateProjectBranchMatcher, z.ZodTypeDef, unknown>;
export declare function createProjectBranchMatcherFromJSON(jsonString: string): SafeParseResult<CreateProjectBranchMatcher, SDKValidationError>;
/** @internal */
export declare const CreateProjectVerification$inboundSchema: z.ZodType<CreateProjectVerification, z.ZodTypeDef, unknown>;
export declare function createProjectVerificationFromJSON(jsonString: string): SafeParseResult<CreateProjectVerification, SDKValidationError>;
/** @internal */
export declare const CreateProjectDomains$inboundSchema: z.ZodType<CreateProjectDomains, z.ZodTypeDef, unknown>;
export declare function createProjectDomainsFromJSON(jsonString: string): SafeParseResult<CreateProjectDomains, SDKValidationError>;
/** @internal */
export declare const CreateProjectCustomEnvironments$inboundSchema: z.ZodType<CreateProjectCustomEnvironments, z.ZodTypeDef, unknown>;
export declare function createProjectCustomEnvironmentsFromJSON(jsonString: string): SafeParseResult<CreateProjectCustomEnvironments, SDKValidationError>;
/** @internal */
export declare const CreateProjectProjectsFramework$inboundSchema: z.ZodNativeEnum<typeof CreateProjectProjectsFramework>;
/** @internal */
export declare const CreateProjectServiceType$inboundSchema: z.ZodNativeEnum<typeof CreateProjectServiceType>;
/** @internal */
export declare const CreateProjectProjectsResponseFramework$inboundSchema: z.ZodNativeEnum<typeof CreateProjectProjectsResponseFramework>;
/** @internal */
export declare const CreateProjectServices$inboundSchema: z.ZodType<CreateProjectServices, z.ZodTypeDef, unknown>;
export declare function createProjectServicesFromJSON(jsonString: string): SafeParseResult<CreateProjectServices, SDKValidationError>;
/** @internal */
export declare const CreateProjectIpBuckets$inboundSchema: z.ZodType<CreateProjectIpBuckets, z.ZodTypeDef, unknown>;
export declare function createProjectIpBucketsFromJSON(jsonString: string): SafeParseResult<CreateProjectIpBuckets, SDKValidationError>;
/** @internal */
export declare const CreateProjectLint$inboundSchema: z.ZodType<CreateProjectLint, z.ZodTypeDef, unknown>;
export declare function createProjectLintFromJSON(jsonString: string): SafeParseResult<CreateProjectLint, SDKValidationError>;
/** @internal */
export declare const CreateProjectTypecheck$inboundSchema: z.ZodType<CreateProjectTypecheck, z.ZodTypeDef, unknown>;
export declare function createProjectTypecheckFromJSON(jsonString: string): SafeParseResult<CreateProjectTypecheck, SDKValidationError>;
/** @internal */
export declare const CreateProjectMfeConfigPresent$inboundSchema: z.ZodType<CreateProjectMfeConfigPresent, z.ZodTypeDef, unknown>;
export declare function createProjectMfeConfigPresentFromJSON(jsonString: string): SafeParseResult<CreateProjectMfeConfigPresent, SDKValidationError>;
/** @internal */
export declare const Jobs$inboundSchema: z.ZodType<Jobs, z.ZodTypeDef, unknown>;
export declare function jobsFromJSON(jsonString: string): SafeParseResult<Jobs, SDKValidationError>;
/** @internal */
export declare const AliasAssigned$inboundSchema: z.ZodType<AliasAssigned, z.ZodTypeDef, unknown>;
export declare function aliasAssignedFromJSON(jsonString: string): SafeParseResult<AliasAssigned, SDKValidationError>;
/** @internal */
export declare const CreateProjectAliasError$inboundSchema: z.ZodType<CreateProjectAliasError, z.ZodTypeDef, unknown>;
export declare function createProjectAliasErrorFromJSON(jsonString: string): SafeParseResult<CreateProjectAliasError, SDKValidationError>;
/** @internal */
export declare const CreateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$inboundSchema: z.ZodNativeEnum<typeof CreateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType>;
/** @internal */
export declare const CreateProjectProjectsBranchMatcher$inboundSchema: z.ZodType<CreateProjectProjectsBranchMatcher, z.ZodTypeDef, unknown>;
export declare function createProjectProjectsBranchMatcherFromJSON(jsonString: string): SafeParseResult<CreateProjectProjectsBranchMatcher, SDKValidationError>;
/** @internal */
export declare const CreateProjectBuilds$inboundSchema: z.ZodType<CreateProjectBuilds, z.ZodTypeDef, unknown>;
export declare function createProjectBuildsFromJSON(jsonString: string): SafeParseResult<CreateProjectBuilds, SDKValidationError>;
/** @internal */
export declare const CreateProjectChecksConclusion$inboundSchema: z.ZodNativeEnum<typeof CreateProjectChecksConclusion>;
/** @internal */
export declare const CreateProjectChecksState$inboundSchema: z.ZodNativeEnum<typeof CreateProjectChecksState>;
/** @internal */
export declare const CreateProjectProjectsCreator$inboundSchema: z.ZodType<CreateProjectProjectsCreator, z.ZodTypeDef, unknown>;
export declare function createProjectProjectsCreatorFromJSON(jsonString: string): SafeParseResult<CreateProjectProjectsCreator, SDKValidationError>;
/** @internal */
export declare const CreateProjectOidcTokenClaims$inboundSchema: z.ZodType<CreateProjectOidcTokenClaims, z.ZodTypeDef, unknown>;
export declare function createProjectOidcTokenClaimsFromJSON(jsonString: string): SafeParseResult<CreateProjectOidcTokenClaims, SDKValidationError>;
/** @internal */
export declare const CreateProjectPlan$inboundSchema: z.ZodNativeEnum<typeof CreateProjectPlan>;
/** @internal */
export declare const CreateProjectReadyState$inboundSchema: z.ZodNativeEnum<typeof CreateProjectReadyState>;
/** @internal */
export declare const CreateProjectReadySubstate$inboundSchema: z.ZodNativeEnum<typeof CreateProjectReadySubstate>;
/** @internal */
export declare const CreateProjectProjectsResponse200ApplicationJSONType$inboundSchema: z.ZodNativeEnum<typeof CreateProjectProjectsResponse200ApplicationJSONType>;
/** @internal */
export declare const LatestDeployments$inboundSchema: z.ZodType<LatestDeployments, z.ZodTypeDef, unknown>;
export declare function latestDeploymentsFromJSON(jsonString: string): SafeParseResult<LatestDeployments, SDKValidationError>;
/** @internal */
export declare const CreateProjectLinkProjectsResponse200ApplicationJSONResponseBodyDeployHooks$inboundSchema: z.ZodType<CreateProjectLinkProjectsResponse200ApplicationJSONResponseBodyDeployHooks, z.ZodTypeDef, unknown>;
export declare function createProjectLinkProjectsResponse200ApplicationJSONResponseBodyDeployHooksFromJSON(jsonString: string): SafeParseResult<CreateProjectLinkProjectsResponse200ApplicationJSONResponseBodyDeployHooks, SDKValidationError>;
/** @internal */
export declare const Link8$inboundSchema: z.ZodType<Link8, z.ZodTypeDef, unknown>;
export declare function link8FromJSON(jsonString: string): SafeParseResult<Link8, SDKValidationError>;
/** @internal */
export declare const CreateProjectLinkProjectsResponse200ApplicationJSONDeployHooks$inboundSchema: z.ZodType<CreateProjectLinkProjectsResponse200ApplicationJSONDeployHooks, z.ZodTypeDef, unknown>;
export declare function createProjectLinkProjectsResponse200ApplicationJSONDeployHooksFromJSON(jsonString: string): SafeParseResult<CreateProjectLinkProjectsResponse200ApplicationJSONDeployHooks, SDKValidationError>;
/** @internal */
export declare const Link7$inboundSchema: z.ZodType<Link7, z.ZodTypeDef, unknown>;
export declare function link7FromJSON(jsonString: string): SafeParseResult<Link7, SDKValidationError>;
/** @internal */
export declare const CreateProjectLinkProjectsResponse200DeployHooks$inboundSchema: z.ZodType<CreateProjectLinkProjectsResponse200DeployHooks, z.ZodTypeDef, unknown>;
export declare function createProjectLinkProjectsResponse200DeployHooksFromJSON(jsonString: string): SafeParseResult<CreateProjectLinkProjectsResponse200DeployHooks, SDKValidationError>;
/** @internal */
export declare const Link6$inboundSchema: z.ZodType<Link6, z.ZodTypeDef, unknown>;
export declare function link6FromJSON(jsonString: string): SafeParseResult<Link6, SDKValidationError>;
/** @internal */
export declare const CreateProjectLinkProjectsResponseDeployHooks$inboundSchema: z.ZodType<CreateProjectLinkProjectsResponseDeployHooks, z.ZodTypeDef, unknown>;
export declare function createProjectLinkProjectsResponseDeployHooksFromJSON(jsonString: string): SafeParseResult<CreateProjectLinkProjectsResponseDeployHooks, SDKValidationError>;
/** @internal */
export declare const Link5$inboundSchema: z.ZodType<Link5, z.ZodTypeDef, unknown>;
export declare function link5FromJSON(jsonString: string): SafeParseResult<Link5, SDKValidationError>;
/** @internal */
export declare const CreateProjectLinkProjectsDeployHooks$inboundSchema: z.ZodType<CreateProjectLinkProjectsDeployHooks, z.ZodTypeDef, unknown>;
export declare function createProjectLinkProjectsDeployHooksFromJSON(jsonString: string): SafeParseResult<CreateProjectLinkProjectsDeployHooks, SDKValidationError>;
/** @internal */
export declare const Link4$inboundSchema: z.ZodType<Link4, z.ZodTypeDef, unknown>;
export declare function link4FromJSON(jsonString: string): SafeParseResult<Link4, SDKValidationError>;
/** @internal */
export declare const CreateProjectLinkDeployHooks$inboundSchema: z.ZodType<CreateProjectLinkDeployHooks, z.ZodTypeDef, unknown>;
export declare function createProjectLinkDeployHooksFromJSON(jsonString: string): SafeParseResult<CreateProjectLinkDeployHooks, SDKValidationError>;
/** @internal */
export declare const Link3$inboundSchema: z.ZodType<Link3, z.ZodTypeDef, unknown>;
export declare function link3FromJSON(jsonString: string): SafeParseResult<Link3, SDKValidationError>;
/** @internal */
export declare const LinkDeployHooks$inboundSchema: z.ZodType<LinkDeployHooks, z.ZodTypeDef, unknown>;
export declare function linkDeployHooksFromJSON(jsonString: string): SafeParseResult<LinkDeployHooks, SDKValidationError>;
/** @internal */
export declare const Link2$inboundSchema: z.ZodType<Link2, z.ZodTypeDef, unknown>;
export declare function link2FromJSON(jsonString: string): SafeParseResult<Link2, SDKValidationError>;
/** @internal */
export declare const DeployHooks$inboundSchema: z.ZodType<DeployHooks, z.ZodTypeDef, unknown>;
export declare function deployHooksFromJSON(jsonString: string): SafeParseResult<DeployHooks, SDKValidationError>;
/** @internal */
export declare const Link1$inboundSchema: z.ZodType<Link1, z.ZodTypeDef, unknown>;
export declare function link1FromJSON(jsonString: string): SafeParseResult<Link1, SDKValidationError>;
/** @internal */
export declare const Link$inboundSchema: z.ZodType<Link, z.ZodTypeDef, unknown>;
export declare function linkFromJSON(jsonString: string): SafeParseResult<Link, SDKValidationError>;
/** @internal */
export declare const Blobs$inboundSchema: z.ZodType<Blobs, z.ZodTypeDef, unknown>;
export declare function blobsFromJSON(jsonString: string): SafeParseResult<Blobs, SDKValidationError>;
/** @internal */
export declare const CreateProjectMicrofrontends3$inboundSchema: z.ZodType<CreateProjectMicrofrontends3, z.ZodTypeDef, unknown>;
export declare function createProjectMicrofrontends3FromJSON(jsonString: string): SafeParseResult<CreateProjectMicrofrontends3, SDKValidationError>;
/** @internal */
export declare const CreateProjectMicrofrontends2$inboundSchema: z.ZodType<CreateProjectMicrofrontends2, z.ZodTypeDef, unknown>;
export declare function createProjectMicrofrontends2FromJSON(jsonString: string): SafeParseResult<CreateProjectMicrofrontends2, SDKValidationError>;
/** @internal */
export declare const CreateProjectMicrofrontends1$inboundSchema: z.ZodType<CreateProjectMicrofrontends1, z.ZodTypeDef, unknown>;
export declare function createProjectMicrofrontends1FromJSON(jsonString: string): SafeParseResult<CreateProjectMicrofrontends1, SDKValidationError>;
/** @internal */
export declare const CreateProjectMicrofrontends$inboundSchema: z.ZodType<CreateProjectMicrofrontends, z.ZodTypeDef, unknown>;
export declare function createProjectMicrofrontendsFromJSON(jsonString: string): SafeParseResult<CreateProjectMicrofrontends, SDKValidationError>;
/** @internal */
export declare const CreateProjectNodeVersion$inboundSchema: z.ZodNativeEnum<typeof CreateProjectNodeVersion>;
/** @internal */
export declare const CreateProjectPaths$inboundSchema: z.ZodType<CreateProjectPaths, z.ZodTypeDef, unknown>;
export declare function createProjectPathsFromJSON(jsonString: string): SafeParseResult<CreateProjectPaths, SDKValidationError>;
/** @internal */
export declare const CreateProjectOptionsAllowlist$inboundSchema: z.ZodType<CreateProjectOptionsAllowlist, z.ZodTypeDef, unknown>;
export declare function createProjectOptionsAllowlistFromJSON(jsonString: string): SafeParseResult<CreateProjectOptionsAllowlist, SDKValidationError>;
/** @internal */
export declare const CreateProjectPasswordProtection$inboundSchema: z.ZodType<CreateProjectPasswordProtection, z.ZodTypeDef, unknown>;
export declare function createProjectPasswordProtectionFromJSON(jsonString: string): SafeParseResult<CreateProjectPasswordProtection, SDKValidationError>;
//# sourceMappingURL=createprojectpasswordprotection.d.ts.map