@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,208 lines • 115 kB
TypeScript
import * as z from "zod/v3";
import { ClosedEnum } from "../types/enums.js";
import { Result as SafeParseResult } from "../types/fp.js";
import { FlagJSONValue } from "./flagjsonvalue.js";
import { SDKValidationError } from "./sdkvalidationerror.js";
export type CancelDeploymentRequest = {
/**
* The unique identifier of the deployment.
*/
id: string;
/**
* 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;
};
export type CancelDeploymentAliasAssignedAt = number | boolean;
export type CancelDeploymentBuild = {
env: Array<string>;
};
export type CancelDeploymentBuilds = {
use: string;
src?: string | undefined;
config?: {
[k: string]: any;
} | undefined;
};
export declare const CancelDeploymentDeploymentsNodeVersion: {
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 CancelDeploymentDeploymentsNodeVersion = ClosedEnum<typeof CancelDeploymentDeploymentsNodeVersion>;
export declare const CancelDeploymentFramework: {
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 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 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 Umijs: "umijs";
readonly Vite: "vite";
readonly Vitepress: "vitepress";
readonly Vue: "vue";
readonly Vuepress: "vuepress";
readonly Xmcp: "xmcp";
readonly Zola: "zola";
};
export type CancelDeploymentFramework = ClosedEnum<typeof CancelDeploymentFramework>;
export type CancelDeploymentSpeedInsights = {
id: string;
enabledAt?: number | undefined;
disabledAt?: number | undefined;
canceledAt?: number | undefined;
hasData?: boolean | undefined;
paidAt?: number | undefined;
};
export type CancelDeploymentWebAnalytics = {
id: string;
disabledAt?: number | undefined;
canceledAt?: number | undefined;
enabledAt?: number | undefined;
hasData?: true | undefined;
};
export type CancelDeploymentProjectSettings = {
nodeVersion?: CancelDeploymentDeploymentsNodeVersion | undefined;
buildCommand?: string | null | undefined;
devCommand?: string | null | undefined;
framework?: CancelDeploymentFramework | null | undefined;
commandForIgnoringBuildStep?: string | null | undefined;
installCommand?: string | null | undefined;
outputDirectory?: string | null | undefined;
speedInsights?: CancelDeploymentSpeedInsights | undefined;
webAnalytics?: CancelDeploymentWebAnalytics | undefined;
};
export declare const CancelDeploymentDeploymentsStatus: {
readonly Error: "error";
readonly Pending: "pending";
readonly Ready: "ready";
readonly Skipped: "skipped";
readonly Timeout: "timeout";
};
export type CancelDeploymentDeploymentsStatus = ClosedEnum<typeof CancelDeploymentDeploymentsStatus>;
export type CancelDeploymentIntegrations = {
status: CancelDeploymentDeploymentsStatus;
startedAt: number;
claimedAt?: number | undefined;
completedAt?: number | undefined;
skippedAt?: number | undefined;
skippedBy?: string | undefined;
};
/**
* Must be `http` or `https`.
*/
export declare const CancelDeploymentProtocol: {
readonly Http: "http";
readonly Https: "https";
};
/**
* Must be `http` or `https`.
*/
export type CancelDeploymentProtocol = ClosedEnum<typeof CancelDeploymentProtocol>;
export type CancelDeploymentRemotePatterns = {
/**
* Must be `http` or `https`.
*/
protocol?: CancelDeploymentProtocol | undefined;
/**
* Can be literal or wildcard. Single `*` matches a single subdomain. Double `**` matches any number of subdomains.
*/
hostname: string;
/**
* Can be literal port such as `8080` or empty string meaning no port.
*/
port?: string | undefined;
/**
* Can be literal or wildcard. Single `*` matches a single path segment. Double `**` matches any number of path segments.
*/
pathname?: string | undefined;
/**
* Can be literal query string such as `?v=1` or empty string meaning no query string.
*/
search?: string | undefined;
};
export type CancelDeploymentLocalPatterns = {
/**
* Can be literal or wildcard. Single `*` matches a single path segment. Double `**` matches any number of path segments.
*/
pathname?: string | undefined;
/**
* Can be literal query string such as `?v=1` or empty string meaning no query string.
*/
search?: string | undefined;
};
export declare const CancelDeploymentFormats: {
readonly ImageAvif: "image/avif";
readonly ImageWebp: "image/webp";
};
export type CancelDeploymentFormats = ClosedEnum<typeof CancelDeploymentFormats>;
export declare const CancelDeploymentContentDispositionType: {
readonly Attachment: "attachment";
readonly Inline: "inline";
};
export type CancelDeploymentContentDispositionType = ClosedEnum<typeof CancelDeploymentContentDispositionType>;
export type CancelDeploymentImages = {
sizes?: Array<number> | undefined;
qualities?: Array<number> | undefined;
domains?: Array<string> | undefined;
remotePatterns?: Array<CancelDeploymentRemotePatterns> | undefined;
localPatterns?: Array<CancelDeploymentLocalPatterns> | undefined;
minimumCacheTTL?: number | undefined;
formats?: Array<CancelDeploymentFormats> | undefined;
dangerouslyAllowSVG?: boolean | undefined;
contentSecurityPolicy?: string | undefined;
contentDispositionType?: CancelDeploymentContentDispositionType | undefined;
};
/**
* Information about the deployment creator
*/
export type CancelDeploymentCreator = {
/**
* The ID of the user that created the deployment
*/
uid: string;
/**
* The username of the user that created the deployment
*/
username?: string | undefined;
/**
* The avatar of the user that created the deployment
*/
avatar?: string | undefined;
};
export declare const CancelDeploymentDeploymentsReadyState: {
readonly Building: "BUILDING";
readonly Error: "ERROR";
readonly Initializing: "INITIALIZING";
readonly Ready: "READY";
};
export type CancelDeploymentDeploymentsReadyState = ClosedEnum<typeof CancelDeploymentDeploymentsReadyState>;
export type CancelDeploymentOutput = {
path: string;
functionName: string;
};
/**
* A partial representation of a Build used by the deployment endpoint.
*/
export type CancelDeploymentLambdas = {
id: string;
createdAt?: number | undefined;
readyState?: CancelDeploymentDeploymentsReadyState | undefined;
entrypoint?: string | null | undefined;
readyStateAt?: number | undefined;
output: Array<CancelDeploymentOutput>;
};
export declare const CancelDeploymentStatus: {
readonly Blocked: "BLOCKED";
readonly Building: "BUILDING";
readonly Canceled: "CANCELED";
readonly Error: "ERROR";
readonly Initializing: "INITIALIZING";
readonly Queued: "QUEUED";
readonly Ready: "READY";
};
export type CancelDeploymentStatus = ClosedEnum<typeof CancelDeploymentStatus>;
/**
* The team that owns the deployment if any
*/
export type CancelDeploymentTeam = {
id: string;
name: string;
slug: string;
avatar?: string | undefined;
};
/**
* If the deployment was created using a Custom Environment, then this property contains information regarding the environment used.
*/
export type CancelDeploymentCustomEnvironment2 = {
id: string;
};
/**
* The type of environment (production, preview, or development)
*/
export declare const CancelDeploymentCustomEnvironmentType: {
readonly Development: "development";
readonly Preview: "preview";
readonly Production: "production";
};
/**
* The type of environment (production, preview, or development)
*/
export type CancelDeploymentCustomEnvironmentType = ClosedEnum<typeof CancelDeploymentCustomEnvironmentType>;
/**
* The type of matching to perform
*/
export declare const CancelDeploymentCustomEnvironmentDeploymentsType: {
readonly EndsWith: "endsWith";
readonly Equals: "equals";
readonly StartsWith: "startsWith";
};
/**
* The type of matching to perform
*/
export type CancelDeploymentCustomEnvironmentDeploymentsType = ClosedEnum<typeof CancelDeploymentCustomEnvironmentDeploymentsType>;
/**
* Configuration for matching git branches to this environment
*/
export type CustomEnvironmentBranchMatcher = {
/**
* The type of matching to perform
*/
type: CancelDeploymentCustomEnvironmentDeploymentsType;
/**
* 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 CustomEnvironmentVerification = {
type: string;
domain: string;
value: string;
reason: string;
};
/**
* List of domains associated with this environment
*/
export type CustomEnvironmentDomains = {
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<CustomEnvironmentVerification> | undefined;
};
/**
* If the deployment was created using a Custom Environment, then this property contains information regarding the environment used.
*/
export type CancelDeploymentCustomEnvironment1 = {
/**
* 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: CancelDeploymentCustomEnvironmentType;
/**
* Optional description of the environment's purpose
*/
description?: string | undefined;
/**
* Configuration for matching git branches to this environment
*/
branchMatcher?: CustomEnvironmentBranchMatcher | undefined;
/**
* List of domains associated with this environment
*/
domains?: Array<CustomEnvironmentDomains> | 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 type CancelDeploymentCustomEnvironment = CancelDeploymentCustomEnvironment1 | CancelDeploymentCustomEnvironment2;
export declare const CancelDeploymentOomReport: {
readonly OutOfMemory: "out-of-memory";
};
export type CancelDeploymentOomReport = ClosedEnum<typeof CancelDeploymentOomReport>;
export type CancelDeploymentAliasWarning = {
code: string;
message: string;
link?: string | undefined;
action?: string | undefined;
};
/**
* The state of the deployment depending on the process of deploying, or if it is ready or in an error state
*/
export declare const CancelDeploymentReadyState: {
readonly Blocked: "BLOCKED";
readonly Building: "BUILDING";
readonly Canceled: "CANCELED";
readonly Error: "ERROR";
readonly Initializing: "INITIALIZING";
readonly Queued: "QUEUED";
readonly Ready: "READY";
};
/**
* The state of the deployment depending on the process of deploying, or if it is ready or in an error state
*/
export type CancelDeploymentReadyState = ClosedEnum<typeof CancelDeploymentReadyState>;
export declare const CancelDeploymentType: {
readonly Lambdas: "LAMBDAS";
};
export type CancelDeploymentType = ClosedEnum<typeof CancelDeploymentType>;
/**
* An object that will contain a `code` and a `message` when the aliasing fails, otherwise the value will be `null`
*/
export type CancelDeploymentAliasError = {
code: string;
message: string;
};
export declare const CancelDeploymentChecksState: {
readonly Completed: "completed";
readonly Registered: "registered";
readonly Running: "running";
};
export type CancelDeploymentChecksState = ClosedEnum<typeof CancelDeploymentChecksState>;
export declare const CancelDeploymentChecksConclusion: {
readonly Canceled: "canceled";
readonly Failed: "failed";
readonly Skipped: "skipped";
readonly Succeeded: "succeeded";
};
export type CancelDeploymentChecksConclusion = ClosedEnum<typeof CancelDeploymentChecksConclusion>;
export declare const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody17Type: {
readonly Vercel: "vercel";
};
export type CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody17Type = ClosedEnum<typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody17Type>;
export type GitSource17 = {
type: CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody17Type;
ref: string;
sha: string;
org: string;
repo: string;
repoPushedAt?: number | undefined;
};
export declare const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody16Type: {
readonly Bitbucket: "bitbucket";
};
export type CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody16Type = ClosedEnum<typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody16Type>;
export type GitSource16 = {
type: CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody16Type;
ref: string;
sha: string;
owner?: string | undefined;
slug?: string | undefined;
workspaceUuid: string;
repoUuid: string;
};
export declare const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type: {
readonly Gitlab: "gitlab";
};
export type CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type = ClosedEnum<typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type>;
export type GitSource15 = {
type: CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type;
ref: string;
sha: string;
projectId: number;
};
export declare const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type: {
readonly GithubLimited: "github-limited";
};
export type CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type = ClosedEnum<typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type>;
export type GitSource14 = {
type: CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type;
ref: string;
sha: string;
repoId: number;
org?: string | undefined;
repo?: string | undefined;
};
export declare const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody13Type: {
readonly GithubCustomHost: "github-custom-host";
};
export type CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody13Type = ClosedEnum<typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody13Type>;
export type GitSource13 = {
type: CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody13Type;
host: string;
ref: string;
sha: string;
repoId: number;
org?: string | undefined;
repo?: string | undefined;
};
export declare const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type: {
readonly Github: "github";
};
export type CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type = ClosedEnum<typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type>;
export type GitSource12 = {
type: CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type;
ref: string;
sha: string;
repoId: number;
org?: string | undefined;
repo?: string | undefined;
};
export declare const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type: {
readonly Custom: "custom";
};
export type CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type = ClosedEnum<typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type>;
/**
* Allows custom git sources (local folder mounted to the container) in test mode
*/
export type GitSource11 = {
type: CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type;
ref: string;
sha: string;
gitUrl: string;
};
export declare const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody10Type: {
readonly Vercel: "vercel";
};
export type CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody10Type = ClosedEnum<typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody10Type>;
export type GitSource10 = {
type: CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody10Type;
org?: string | undefined;
repo?: string | undefined;
sha: string;
repoPushedAt?: number | undefined;
ref?: string | null | undefined;
prId?: number | null | undefined;
};
export declare const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type: {
readonly Bitbucket: "bitbucket";
};
export type CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type = ClosedEnum<typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type>;
export type GitSource9 = {
type: CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type;
owner: string;
slug: string;
ref?: string | null | undefined;
sha?: string | undefined;
prId?: number | null | undefined;
};
export declare const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type: {
readonly Bitbucket: "bitbucket";
};
export type CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type = ClosedEnum<typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type>;
export type CancelDeploymentGitSource8 = {
type: CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type;
workspaceUuid?: string | undefined;
repoUuid: string;
ref?: string | null | undefined;
sha?: string | undefined;
prId?: number | null | undefined;
};
export declare const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type: {
readonly Gitlab: "gitlab";
};
export type CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type = ClosedEnum<typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type>;
export type CancelDeploymentGitSourceProjectId = string | number;
export type CancelDeploymentGitSource7 = {
type: CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type;
projectId: string | number;
ref?: string | null | undefined;
sha?: string | undefined;
prId?: number | null | undefined;
};
export declare const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType: {
readonly GithubLimited: "github-limited";
};
export type CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType = ClosedEnum<typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType>;
export type CancelDeploymentGitSource6 = {
type: CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType;
org: string;
repo: string;
ref?: string | null | undefined;
sha?: string | undefined;
prId?: number | null | undefined;
};
export declare const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONType: {
readonly GithubLimited: "github-limited";
};
export type CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONType = ClosedEnum<typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONType>;
export type CancelDeploymentGitSourceDeploymentsResponseRepoId = string | number;
export type CancelDeploymentGitSource5 = {
type: CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONType;
repoId: string | number;
ref?: string | null | undefined;
sha?: string | undefined;
prId?: number | null | undefined;
};
export declare const CancelDeploymentGitSourceDeploymentsResponse200Type: {
readonly GithubCustomHost: "github-custom-host";
};
export type CancelDeploymentGitSourceDeploymentsResponse200Type = ClosedEnum<typeof CancelDeploymentGitSourceDeploymentsResponse200Type>;
export type CancelDeploymentGitSource4 = {
type: CancelDeploymentGitSourceDeploymentsResponse200Type;
host: string;
org: string;
repo: string;
ref?: string | null | undefined;
sha?: string | undefined;
prId?: number | null | undefined;
};
export declare const CancelDeploymentGitSourceDeploymentsResponseType: {
readonly GithubCustomHost: "github-custom-host";
};
export type CancelDeploymentGitSourceDeploymentsResponseType = ClosedEnum<typeof CancelDeploymentGitSourceDeploymentsResponseType>;
export type CancelDeploymentGitSourceDeploymentsRepoId = string | number;
export type CancelDeploymentGitSource3 = {
type: CancelDeploymentGitSourceDeploymentsResponseType;
host: string;
repoId: string | number;
ref?: string | null | undefined;
sha?: string | undefined;
prId?: number | null | undefined;
};
export declare const CancelDeploymentGitSourceDeploymentsType: {
readonly Github: "github";
};
export type CancelDeploymentGitSourceDeploymentsType = ClosedEnum<typeof CancelDeploymentGitSourceDeploymentsType>;
export type CancelDeploymentGitSource2 = {
type: CancelDeploymentGitSourceDeploymentsType;
org: string;
repo: string;
ref?: string | null | undefined;
sha?: string | undefined;
prId?: number | null | undefined;
};
export declare const CancelDeploymentGitSourceType: {
readonly Github: "github";
};
export type CancelDeploymentGitSourceType = ClosedEnum<typeof CancelDeploymentGitSourceType>;
export type CancelDeploymentGitSourceRepoId = string | number;
export type CancelDeploymentGitSource1 = {
type: CancelDeploymentGitSourceType;
repoId: string | number;
ref?: string | null | undefined;
sha?: string | undefined;
prId?: number | null | undefined;
};
export type CancelDeploymentGitSource = GitSource13 | GitSource16 | GitSource17 | CancelDeploymentGitSource4 | GitSource11 | GitSource12 | GitSource14 | GitSource15 | CancelDeploymentGitSource2 | CancelDeploymentGitSource3 | CancelDeploymentGitSource6 | GitSource9 | CancelDeploymentGitSource1 | CancelDeploymentGitSource5 | CancelDeploymentGitSource7 | CancelDeploymentGitSource8 | GitSource10;
/**
* Current provisioning state
*/
export declare const CancelDeploymentState: {
readonly Complete: "COMPLETE";
readonly Pending: "PENDING";
readonly Timeout: "TIMEOUT";
};
/**
* Current provisioning state
*/
export type CancelDeploymentState = ClosedEnum<typeof CancelDeploymentState>;
/**
* Present when deployment was created with manual provisioning enabled, either explicitly or via the experimental BYOC git flow. The deployment stays in INITIALIZING until /continue is called.
*/
export type CancelDeploymentManualProvisioning = {
/**
* Current provisioning state
*/
state: CancelDeploymentState;
/**
* Timestamp when manual provisioning completed
*/
completedAt?: number | undefined;
};
/**
* If set it overrides the `projectSettings.nodeVersion` for this deployment.
*/
export declare const CancelDeploymentNodeVersion: {
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";
};
/**
* If set it overrides the `projectSettings.nodeVersion` for this deployment.
*/
export type CancelDeploymentNodeVersion = ClosedEnum<typeof CancelDeploymentNodeVersion>;
/**
* The public project information associated with the deployment.
*/
export type CancelDeploymentProject = {
id: string;
name: string;
framework?: string | null | undefined;
};
/**
* Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - ROLLING: in the process of having production traffic gradually transitioned. - PROMOTED: has seen production traffic
*/
export declare const CancelDeploymentReadySubstate: {
readonly Promoted: "PROMOTED";
readonly Rolling: "ROLLING";
readonly Staged: "STAGED";
};
/**
* Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - ROLLING: in the process of having production traffic gradually transitioned. - PROMOTED: has seen production traffic
*/
export type CancelDeploymentReadySubstate = ClosedEnum<typeof CancelDeploymentReadySubstate>;
/**
* Where was the deployment created from. Best-effort guess for metrics only — not authoritative; do not gate behavior on it.
*/
export declare const CancelDeploymentSource: {
readonly ApiTriggerGitDeploy: "api-trigger-git-deploy";
readonly Cli: "cli";
readonly CloneRepo: "clone/repo";
readonly Drop: "drop";
readonly Git: "git";
readonly Import: "import";
readonly ImportRepo: "import/repo";
readonly Redeploy: "redeploy";
readonly V0Web: "v0-web";
};
/**
* Where was the deployment created from. Best-effort guess for metrics only — not authoritative; do not gate behavior on it.
*/
export type CancelDeploymentSource = ClosedEnum<typeof CancelDeploymentSource>;
/**
* If defined, either `staging` if a staging alias in the format `<project>.<team>.now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment.
*/
export declare const CancelDeploymentTarget: {
readonly Production: "production";
readonly Staging: "staging";
};
/**
* If defined, either `staging` if a staging alias in the format `<project>.<team>.now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment.
*/
export type CancelDeploymentTarget = ClosedEnum<typeof CancelDeploymentTarget>;
export type CancelDeploymentOidcTokenClaims = {
iss: string;
sub: string;
scope: string;
aud: string;
owner: string;
ownerId: string;
project: string;
projectId: string;
environment: string;
customEnvironmentId?: string | undefined;
plan?: string | undefined;
};
export declare const CancelDeploymentPlan: {
readonly Enterprise: "enterprise";
readonly Hobby: "hobby";
readonly Pro: "pro";
};
export type CancelDeploymentPlan = ClosedEnum<typeof CancelDeploymentPlan>;
/**
* The external platform that created the deployment (e.g. its display name).
*/
export type CancelDeploymentDeploymentsSource = {
/**
* Display name of the platform.
*/
name: string;
};
/**
* Whether the value is an opaque identifier or a URL.
*/
export declare const CancelDeploymentDeploymentsType: {
readonly Id: "id";
readonly Url: "url";
};
/**
* Whether the value is an opaque identifier or a URL.
*/
export type CancelDeploymentDeploymentsType = ClosedEnum<typeof CancelDeploymentDeploymentsType>;
/**
* Reference back to the entity on the platform that initiated the deployment.
*/
export type CancelDeploymentOrigin = {
/**
* Whether the value is an opaque identifier or a URL.
*/
type: CancelDeploymentDeploymentsType;
/**
* The identifier or URL pointing to the originating entity.
*/
value: string;
};
/**
* The user on the external platform who triggered the deployment.
*/
export type CancelDeploymentDeploymentsCreator = {
/**
* Display name of the platform user.
*/
name: string;
/**
* URL of the platform user's avatar image.
*/
avatar?: string | undefined;
};
/**
* Metadata about the source platform that triggered the deployment. Allows us to map a deployment back to a platform (e.g. the chat that created it)
*/
export type CancelDeploymentPlatform = {
/**
* The external platform that created the deployment (e.g. its display name).
*/
source: CancelDeploymentDeploymentsSource;
/**
* Reference back to the entity on the platform that initiated the deployment.
*/
origin: CancelDeploymentOrigin;
/**
* The user on the external platform who triggered the deployment.
*/
creator: CancelDeploymentDeploymentsCreator;
/**
* Arbitrary key-value metadata provided by the platform.
*/
meta?: {
[k: string]: string;
} | undefined;
};
export type CancelDeploymentCrons = {
schedule: string;
path: string;
};
export declare const CancelDeploymentArchitecture: {
readonly Arm64: "arm64";
readonly X8664: "x86_64";
};
export type CancelDeploymentArchitecture = ClosedEnum<typeof CancelDeploymentArchitecture>;
export declare const CancelDeploymentMaxDuration2: {
readonly Max: "max";
};
export type CancelDeploymentMaxDuration2 = ClosedEnum<typeof CancelDeploymentMaxDuration2>;
export type CancelDeploymentMaxDuration = number | CancelDeploymentMaxDuration2;
/**
* Queue trigger input event for v2beta (from vercel.json config). Consumer name is implicitly derived from the function path. Only one trigger per function is allowed.
*/
export type CancelDeploymentExperimentalTriggers2 = {
/**
* Event type - must be "queue/v2beta" (REQUIRED)
*/
type: "queue/v2beta";
/**
* Name of the queue topic to consume from (REQUIRED)
*/
topic: string;
/**
* Maximum number of delivery attempts for message processing (OPTIONAL) This represents the total number of times a message can be delivered, not the number of retries. Must be at least 1 if specified. Behavior when not specified depends on the server's default configuration.
*/
maxDeliveries?: number | undefined;
/**
* Delay in seconds before retrying failed executions (OPTIONAL) Behavior when not specified depends on the server's default configuration.
*/
retryAfterSeconds?: number | undefined;
/**
* Initial delay in seconds before first execution attempt (OPTIONAL) Must be 0 or greater. Use 0 for no initial delay. Behavior when not specified depends on the server's default configuration.
*/
initialDelaySeconds?: number | undefined;
/**
* Maximum number of concurrent executions for this consumer (OPTIONAL) Must be at least 1 if specified. Behavior when not specified depends on the server's default configuration.
*/
maxConcurrency?: number | undefined;
};
/**
* Queue trigger input event for v1beta (from vercel.json config). Requires explicit consumer name.
*/
export type CancelDeploymentExperimentalTriggers1 = {
/**
* Event type - must be "queue/v1beta" (REQUIRED)
*/
type: "queue/v1beta";
/**
* Name of the consumer group for this trigger (REQUIRED)
*/
consumer: string;
/**
* Name of the queue topic to consume from (REQUIRED)
*/
topic: string;
/**
* Maximum number of delivery attempts for message processing (OPTIONAL) This represents the total number of times a message can be delivered, not the number of retries. Must be at least 1 if specified. Behavior when not specified depends on the server's default configuration.
*/
maxDeliveries?: number | undefined;
/**
* Delay in seconds before retrying failed executions (OPTIONAL) Behavior when not specified depends on the server's default configuration.
*/
retryAfterSeconds?: number | undefined;
/**
* Initial delay in seconds before first execution attempt (OPTIONAL) Must be 0 or greater. Use 0 for no initial delay. Behavior when not specified depends on the server's default configuration.
*/
initialDelaySeconds?: number | undefined;
/**
* Maximum number of concurrent executions for this consumer (OPTIONAL) Must be at least 1 if specified. Behavior when not specified depends on the server's default configuration.
*/
maxConcurrency?: number | undefined;
};
export type CancelDeploymentExperimentalTriggers = CancelDeploymentExperimentalTriggers1 | CancelDeploymentExperimentalTriggers2;
export type CancelDeploymentFunctions = {
architecture?: CancelDeploymentArchitecture | undefined;
memory?: number | undefined;
maxDuration?: number | CancelDeploymentMaxDuration2 | undefined;
regions?: Array<string> | undefined;
functionFailoverRegions?: Array<string> | undefined;
runtime?: string | undefined;
includeFiles?: string | undefined;
excludeFiles?: string | undefined;
experimentalTriggers?: Array<CancelDeploymentExperimentalTriggers1 | CancelDeploymentExperimentalTriggers2> | undefined;
supportsCancellation?: boolean | undefined;
};
export type CancelDeploymentRoutes3 = {
src: string;
continue: boolean;
middleware: number;
};
export declare const RoutesHandle: {
readonly Error: "error";
readonly Filesystem: "filesystem";
readonly Hit: "hit";
readonly Miss: "miss";
readonly Resource: "resource";
readonly Rewrite: "rewrite";
};
export type RoutesHandle = ClosedEnum<typeof RoutesHandle>;
export type CancelDeploymentRoutes2 = {
handle: RoutesHandle;
src?: string | undefined;
dest?: string | undefined;
status?: number | undefined;
};
export declare const CancelDeploymentHasDeploymentsType: {
readonly Cookie: "cookie";
readonly Header: "header";
readonly Query: "query";
};
export type CancelDeploymentHasDeploymentsType = ClosedEnum<typeof CancelDeploymentHasDeploymentsType>;
export type CancelDeploymentValueDeploymentsEq = string | number;
export type CancelDeploymentValueDeployments2 = {
eq?: string | number | undefined;
neq?: string | undefined;
inc?: Array<string> | undefined;
ninc?: Array<string> | undefined;
pre?: string | undefined;
suf?: string | undefined;
re?: string | undefined;
gt?: number | undefined;
gte?: number | undefined;
lt?: number | undefined;
lte?: number | undefined;
};
export type CancelDeploymentHasDeploymentsValue = string | CancelDeploymentValueDeployments2;
export type CancelDeploymentHas2 = {
type: CancelDeploymentHasDeploymentsType;
key: string;
value?: string | CancelDeploymentValueDeployments2 | undefined;
};
export type CancelDeploymentValueEq = string | number;
export type CancelDeploymentValue2 = {
eq?: string | number | undefined;
neq?: string | undefined;
inc?: Array<string> | undefined;
ninc?: Array<string> | undefined;
pre?: string | undefined;
suf?: string | undefined;
re?: string | undefined;
gt?: number | undefined;
gte?: number | undefined;
lt?: number | undefined;
lte?: number | undefined;
};
export type CancelDeploymentHasValue = string | CancelDeploymentValue2;
export type CancelDeploymentHas1 = {
type: "host";
value: string | CancelDeploymentValue2;
};
export type RoutesHas = CancelDeploymentHas1 | (CancelDeploymentHas2 & {
type: "cookie";
}) | (CancelDeploymentHas2 & {
type: "header";
}) | (CancelDeploymentHas2 & {
type: "query";
});
export declare const CancelDeploymentMissingDeploymentsType: {
readonly Cookie: "cookie";
readonly Header: "header";
readonly Query: "query";
};
export type CancelDeploymentMissingDeploymentsType = ClosedEnum<typeof CancelDeploymentMissingDeploymentsType>;
export type CancelDeploymentValueDeploymentsResponse200Eq = string | number;
export type CancelDeploymentValueDeploymentsResponse2002 = {
eq?: string | number | undefined;
neq?: string | undefined;
inc?: Array<string> | undefined;
ninc?: Array<string> | undefined;
pre?: string | undefined;
suf?: string | undefined;
re?: string | undefined;
gt?: number | undefined;
gte?: number | undefined;
lt?: number | undefined;
lte?: number | undefined;
};
export type CancelDeploymentMissingDeploymentsValue = string | CancelDeploymentValueDeploymentsResponse2002;
export type CancelDeploymentMissing2 = {
type: CancelDeploymentMissingDeploymentsType;
key: string;
value?: string | CancelDeploymentValueDeploymentsResponse2002 | undefined;
};
export type CancelDeploymentValueDeploymentsResponseEq = string | number;
export type CancelDeploymentValueDeploymentsResponse2 = {
eq?: string | number | undefined;
neq?: string | undefined;
inc?: Array<string> | undefined;
ninc?: Array<string> | undefined;
pre?: string | undefined;
suf?: string | undefined;
re?: string | undefined;
gt?: number | undefined;
gte?: number | undefined;
lt?: number | undefined;
lte?: number | undefined;
};
export type CancelDeploymentMissingValue = string | CancelDeploymentValueDeploymentsResponse2;
export type CancelDeploymentMissing1 = {
type: "host";
value: string | CancelDeploymentValueDeploymentsResponse2;
};
export type RoutesMissing = CancelDeploymentMissing1 | (CancelDeploymentMissing2 & {
type: "cookie";
}) | (CancelDeploymentMissing2 & {
type: "header";
}) | (CancelDeploymentMissing2 & {
type: "query";
});
export declare const CancelDeploymentRoutesAction: {
readonly Challenge: "challenge";
readonly Deny: "deny";
};
export type CancelDeploymentRoutesAction = ClosedEnum<typeof CancelDeploymentRoutesAction>;
export type RoutesMitigate = {
action: CancelDeploymentRoutesAction;
};
export declare const CancelDeploymentRoutesType: {
readonly RequestHeaders: "request.headers";
readonly RequestQuery: "request.query";
readonly ResponseHeaders: "response.headers";
};
export type CancelDeploymentRoutesType = ClosedEnum<typeof CancelDeploymentRoutesType>;
export declare const RoutesOp: {
readonly Append: "append";
readonly Delete: "delete";
readonly Set: "set";
};
export type RoutesOp = ClosedEnum<typeof RoutesOp>;
export type CancelDeploymentKeyEq = string | number;
export type CancelDeploymentKey2 = {
eq?: string | number | undefined;
neq?: string | undefined;
inc?: Array<string> | undefined;
ninc?: Array<string> | undefined;
pre?: string | undefined;
suf?: string | undefined;
gt?: number | undefined;
gte?: number | undefined;
lt?: number | undefined;
lte?: number | undefined;
};
export type RoutesKey = string | CancelDeploymentKey2;
export type CancelDeploymentRoutesTarget = {
key: string | CancelDeploymentKey2;
};
export type RoutesArgs = string | Array<string>;
export type RoutesTransforms = {
type: CancelDeploymentRoutesType;
op: RoutesOp;
target: CancelDeploymentRoutesTarget;
args?: string | Array<string> | undefined;
env?: Array<string> | undefined;
};
export type RoutesLocale = {
redirect?: {
[k: string]: string;
} | undefined;
cookie?: string | undefined;
};
export declare const CancelDeploymentDestinationType: {
readonly Service: "service";
};
export type CancelDeploymentDestinationType = ClosedEnum<typeof CancelDeploymentDestinationType>;
export type CancelDeploymentDestination2 = {
type: CancelDeploymentDestinationType;
service: string;
/**
* Routing-only path used to select a route inside the target service.
*/
path?: string | undefined;
};
export type RoutesDestination = CancelDeploymentDestination2 | string;
export type CancelDeploymentRoutes1 = {
src: string;
dest?: string | undefined;
headers?: {
[k: string]: string;
} | undefined;
methods?: Array<string> | undefined;
continue?: boolean | undefined;
override?: boolean | undefined;
caseSensitive?: boolean | undefined;
check?: boolean | undefined;
important?: boolean | undefined;
status?: number | undefined;
has?: Array<CancelDeploymentHas1 | (CancelDeploymentHas2 & {
type: "cookie";
}) | (CancelDeploymentHas2 & {
type: "header";
}) | (CancelDeploymentHas2 & {
type: "query";
})> | undefined;
missing?: Array<CancelDeploymentMissing1 | (CancelDeploymentMissing2 & {
type: "cookie";
}) | (CancelDeploymentMissing2 & {
type: "header";
}) | (CancelDeploymentMissing2 & {
type: "query";
})> | undefined;
mitigate?: RoutesMitigate | undefined;
transforms?: Array<RoutesTransforms> | undefined;
env?: Array<string> | undefined;
locale?: RoutesLocale | undefined;
/**
* Aliases for `src`, `dest`, and `status`. These provide consistency with the `rewrites`, `redirects`, and `headers` fields which use `source`, `destination`, and `statusCode`. During normalization, the string forms are converted to their canonical forms (`src`, `dest`, `status`) and stripped from the route object. `destination` may also be a service-targeted object, in which case routing is delegated into the named service's internal route table and the object is preserved as-is (not folded into `dest`).
*/
source?: string | undefined;
destination?: CancelDeploymentDestination2 | string | undefined;
statusCode?: number | undefined;
/**
* A middleware key within the `output` key under the build result. Overrides a `middleware` definition.
*/
middlewarePath?: string | undefined;
/**
* The original middleware matchers.
*/
middlewareRawSrc?: Array<string> | undefined;
/**
* A middleware index in the `middleware` key under the build result
*/
middleware?: number | undefined;
respectOriginCacheControl?: boolean | undefined;
};
export type CancelDeploymentRoutes = CancelDeploymentRoutes3 | CancelDeploymentRoutes1 | CancelDeploymentRoutes2;
export declare const CancelDeploymentGitRepoDeploymentsResponse200OwnerType: {
readonly Team: "team";
readonly User: "user";
};
export type CancelDeploymentGitRepoDeploymentsResponse200OwnerType = ClosedEnum<typeof CancelDeploymentGitRepoDeploymentsResponse200OwnerType>;
export type CancelDeploymentGitRepo4 = {
org: string;
repo: string;
type: "vercel";
path: string;
defaultBranch: string;
name: string;
private: boolean;
ownerType: CancelDeploymentGitRepoDeploymentsResponse200OwnerType;
};
export declare const CancelDeploymentGitRepoDeploymentsResponseOwnerType: {
readonly Team: "team";
readonly User: "user";
};
export type CancelDeploymentGitRepoDeploymentsResponseOwnerType = ClosedEnum<typeof CancelDeploymentGitRepoDeploymentsResponseOwnerType>;
export type CancelDeploymentGitRepo3 = {
owner: string;
repoUuid: string;
slug: string;
type: "bitbucket";
workspaceUuid: string;
path: string;
defaultBranch: string;
name: string;
private: boolean;
ownerType: CancelDeploymentGitRepoDeploymentsResponseOwnerType;
};
export declare const CancelDeploymentGitRepoDeploymentsOwnerType: {
readonly Team: "team";
readonly User: "user";
};
export type CancelDeploymentGitRepoDeploymentsOwnerType = ClosedEnum<typeof CancelDeploymentGitRepoDeploymentsOwnerType>;
export type CancelDeploymentGitRepo2 = {
org: string;
repo: string;
repoId: number;
type: "github";
repoOwnerId: number;
path: string;
defaultBranch: string;
name: string;
private: boolean;
ownerType: CancelDeploymentGitRepoDeploymentsOwnerType;
};
export declare const CancelDeploymentGitRepoOwnerType: {
readonly Team: "team";
readonly User: "user";
};
export type CancelDeploymentGitRepoOwnerType = ClosedEnum<typeof CancelDeploymentGitRepoOwnerType>;
export type CancelDeploymentGitRepo1 = {
namespace: string;
projectId: number;
type: "gitlab";
url: string;
path: string;
defaultBranch: string;
name: string;
private: boolean;
ownerType: CancelDeploymentGitRepoOwnerType;
};
export type CancelDeploymentGitRepo = CancelDeploymentGitRepo1 | CancelDeploymentGitRepo2 | CancelDeploymentGitRepo3 | CancelDeploymentGitRepo4;
/**
* Flags defined in the Build Output API, used by this deployment. Primarily used by the Toolbar to know about the used flags.
*/
export type CancelDeploymentFlags2 = {};
export type FlagsOptions = {
value: FlagJSONValue | null;
label?: string | undefined;
};
export type FlagsDefinitions = {
options?: Array<FlagsOptions> | undefined;
url?: string | undefined;
description?: string | undefined;
};
/**
* Flags defined in the Build Output API, used by this deployment. Primarily used by the Toolbar to know about the used flags.
*/
export type CancelDeploymentFlags1 = {
definitions: {
[k: string]: FlagsDefinitions;
};
};
export type CancelDeploymentFlags = CancelDeploymentFlags1 | Array<CancelDeploymentFlags2>;
/**
* The result of the microfrontends config upload during deployment creation / build. Only set for default app deployments. The config upload is attempted during deployment create, and then again during the build. If the config is not in the root directory, or the deployment is prebuilt, the config cannot be uploaded during deployment create. The upload during deployment build finds the config even if it's not in the root directory, as it has access to all files. Uploading the config during create is ideal, as then all child deployments are guaranteed to have access to the default app deployment config even if the default app has not yet started building. If the config is not uploaded, the child app will show as building until the config has been uploaded during the default app build. - `success` - The config was uploaded successfully, either when the deployment was created or during the build. - `waiting_on_build` - The config could not be uploaded during deployment create, will be attempted again during the build. - `no_config` - No config was found. Only set once the build has not found the config in any of the deployment's files. - `undefined` - Legacy deployments, or there was an error uploading the config during deployment create.
*/
export declare const MicrofrontendsMfeConfigUploadState: {
readonly NoConfig: "no_config";
readonly Success: "success";
readonly WaitingOnBuild: "waiting_on_build";
};
/**
* The result of the microfrontends config upload during deployment creation / build. Only set for default app deployments. The config upload is attempted during deployment create, and then again during the build. If the config is not in the root directory, or the deployment is prebuilt, the config cannot be uploaded during deployment create. The upload during deployment build finds the config even if it's not in the root directory, as it has access to all files. Uploading the config during create is ideal, as then all child deployments are guaranteed to have access to the default app deployment config even if the default app has not yet started building. If the config is not uploaded, the child app will show as building until the config has been uploaded during the default app build. - `success` - The config was uploaded successfully, either when the deployment was created or during the build. - `waiting_on_build` - The config could not be uploaded during deployment create, will be attempted again during the build. - `no_config` - No config was found. Only set once the build has not found the config in any of the deployment's files. - `undefined` - Legacy deployments, or there was an error uploading the config during deployment create.
*/
export type MicrofrontendsMfeConfigUploadState = ClosedEnum<typeof MicrofrontendsMfeConfigUploadState>;
export type CancelDeploymentMicrofrontends2 = {
isDefaultApp: true;
/**
* The result of the microfrontends config upload during deployment creation / build. Only set for default app deployments. The config upload is attempted during deployment create, and then again during the build. If the config is not in the root directory, or the deployment is prebuilt, the config cannot be uploaded during deployment create. The upload during deployment build finds the config even if it's not in the root directory, as it has access to all files. Uploading the config during create is ideal, as then all child deployments are guaranteed to have access to the default app deployment config even if the default app has not yet started building. If the config is not uploaded, the child app will show as building until the config has been uploaded during the default app build. - `success` - The config was uploaded successfully, either when the deployment was created or during the build. - `waiting_on_build` - The config could not be uploaded during deployment create, will be attempted again during the build. - `no_config` - No config was found. Only set once the build has not found the config in any of the deployment's files. - `undefined` - Legacy deployments, or there was an error uploading the config during deployment create.
*/
mfeConfigUploadState?: MicrofrontendsMfeConfigUploadState | undefined;
/**
* The project name of the default app of this deployment's microfrontends group.
*/
defaultAppProjectName: string;
/**
* 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.
*/
defaultRoute?: string | undefined;
/**
* The group 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>;
};
export type CancelDeploymentMicrofrontends1 = {
isDefaultApp?: false | undefined;
/**
* The project name of the default app of this deployment's microfrontends group.
*/
defaultAppProjectName: string;
/**
* 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.
*/
defaultRoute?: string | undefined;
/**
* The group 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>;
};
export type CancelDeploymentMicrofrontends = CancelDeploymentMicrofrontends2 | CancelDeploymentMicrofrontends1;
export declare const CancelDeploymentFunctionType: {
readonly Fluid: "fluid";
readonly Standard: "standard";
};
export type CancelDeploymentFunctionType = ClosedEnum<typeof CancelDeploymentFunctionType>;
export declare const CancelDeploymentFunctionMemoryType: {
readonly Performance: "performance";
readonly PerformanceXl: "performance_xl";
readonly Standard: "standard";
readonly StandardLegacy: "standard_legacy";
};
export type CancelDeploymentFunctionMemoryType = ClosedEnum<typeof CancelDeploymentFunctionMemoryType>;
/**
* Build resource configuration snapshot for this deployment.
*/
export declare const CancelDeploymentConfiguration: {
readonly SkipNamespaceQueue: "SKIP_NAMESPACE_QUEUE";
readonly WaitForNamespaceQueue: "WAIT_FOR_NAMESPACE_QUEUE";
};
/**
* Build resource configuration snapshot for this deployment.
*/
export type CancelDeploymentConfiguration = ClosedEnum<typeof CancelDeploymentConfiguration>;
/**
* Build resource configuration snapshot for this deployment.
*/
export type CancelDeploymentBuildQueue = {
/**
* Build resource configuration snapshot for this deployment.
*/
configuration?: CancelDeploymentConfiguration | undefined;
};
/**
* When elastic concurrency is used for this deployment, a value is set. The value tells the reason where the setting was coming from. - TEAM_SETTING: Inherited from team settings - PROJECT_SETTING: Inherited from project settings - SKIP_QUEUE: Manually triggered by user to skip the queues
*/
export declare const CancelDeploymentElasticConcurrency: {
readonly ProjectSetting: "PROJECT_SETTING";
readonly SkipQueue: "SKIP_QUEUE";
readonly TeamSetting: "TEAM_SETTING";
};
/**
* When elastic concurrency is used for this deployment, a value is set. The value tells the reason where the setting was coming from. - TEAM_SETTING: Inherited from team settings - PROJECT_SETTING: Inherited from project settings - SKIP_QUEUE: Manually triggered by user to skip the queues
*/
export type CancelDeploymentElasticConcurrency = ClosedEnum<typeof CancelDeploymentElasticConcurrency>;
/**
* Machine type that was used for the build.
*/
export declare const CancelDeploymentPurchaseType: {
readonly Enhanced: "enhanced";
readonly Standard: "standard";
readonly Turbo: "turbo";
};
/**
* Machine type that was used for the build.
*/
export type CancelDeploymentPurchaseType = ClosedEnum<typeof CancelDeploymentPurchaseType>;
export type CancelDeploymentBuildMachine = {
/**
* Machine type that was used for the build.
*/
purchaseType?: CancelDeploymentPurchaseType | null | undefined;
};
/**
* Build resource configuration snapshot for this deployment.
*/
export type CancelDeploymentResourceConfig = {
/**
* Build resource configuration snapshot for this deployment.
*/
buildQueue?: CancelDeploymentBuildQueue | undefined;
/**
* When elastic concurrency is used for this deployment, a value is set. The value tells the reason where the setting was coming from. - TEAM_SETTING: Inherited from team settings - PROJECT_SETTING: Inherited from project settings - SKIP_QUEUE: Manually triggered by user to skip the queues
*/
elasticConcurrency?: CancelDeploymentElasticConcurrency | undefined;
buildMachine?: CancelDeploymentBuildMachine | undefined;
};
/**
* Since February 2025 the configuration must include snapshot data at the time of deployment creation to capture properties for the /deployments/:id/config endpoint utilized for displaying Deployment Configuration on the frontend This is optional because older deployments may not have this data captured
*/
export type CancelDeploymentConfig = {
version?: number | undefined;
functionType: CancelDeploymentFunctionType;
functionMemoryType: CancelDeploymentFunctionMemoryType;
functionTimeout: number | null;
secureComputePrimaryRegion: string | null;
secureComputeFallbackRegion: string | null;
isUsingActiveCPU?: boolean | undefined;
/**
* Build resource configuration snapshot for this deployment.
*/
resourceConfig?: CancelDeploymentResourceConfig | undefined;
};
export declare const CancelDeploymentDeploymentsState: {
readonly Failed: "failed";
readonly Pending: "pending";
readonly Succeeded: "succeeded";
};
export type CancelDeploymentDeploymentsState = ClosedEnum<typeof CancelDeploymentDeploymentsState>;
/**
* Condensed check data. Retrieve individual check and check run data using api-checks v2 routes.
*/
export type CancelDeploymentDeploymentAlias = {
state: CancelDeploymentDeploymentsState;
startedAt: number;
completedAt?: number | undefined;
};
export type CancelDeploymentChecks = {
/**
* Condensed check data. Retrieve individual check and check run data using api-checks v2 routes.
*/
deploymentAlias: CancelDeploymentDeploymentAlias;
};
/**
* The NSNB decision code for the seat block. TODO: We should consolidate block types.
*/
export declare const CancelDeploymentBlockCode: {
readonly CommitAuthorRequired: "COMMIT_AUTHOR_REQUIRED";
readonly TeamAccessRequired: "TEAM_ACCESS_REQUIRED";
};
/**
* The NSNB decision code for the seat block. TODO: We should consolidate block types.
*/
export type CancelDeploymentBlockCode = ClosedEnum<typeof CancelDeploymentBlockCode>;
export type CancelDeploymentGitUserId = string | number;
/**
* The git provider type associated with gitUserId.
*/
export declare const CancelDeploymentGitProvider: {
readonly Bitbucket: "bitbucket";
readonly Github: "github";
readonly Gitlab: "gitlab";
};
/**
* The git provider type associated with gitUserId.
*/
export type CancelDeploymentGitProvider = ClosedEnum<typeof CancelDeploymentGitProvider>;
/**
* NSNB Blocked metadata
*/
export type CancelDeploymentSeatBlock = {
/**
* The NSNB decision code for the seat block. TODO: We should consolidate block types.
*/
blockCode: CancelDeploymentBlockCode;
/**
* The blocked vercel user ID.
*/
userId?: string | undefined;
/**
* Determines if the user was verified during the block. In the git integration case, the commit sender was the author.
*/
isVerified?: boolean | undefined;
gitUserId?: string | number | undefined;
/**
* The git provider type associated with gitUserId.
*/
gitProvider?: CancelDeploymentGitProvider | undefined;
};
/**
* Commit metadata from the git commit author
*/
export type CancelDeploymentCommitMeta = {
/**
* Email from git commit author
*/
email?: string | undefined;
/**
* Name from git commit author
*/
name?: string | undefined;
/**
* Whether the commit was signed/verified (GitHub only, others return undefined)
*/
isVerified?: boolean | undefined;
};
export type CancelDeploymentId = string | number;
/**
* Git provider user associated with the commit author email (only set if resolved)
*/
export type CancelDeploymentGitUser = {
id: string | number;
/**
* Git provider username/login
*/
login: string;
/**
* User type
*/
type?: string | undefined;
/**
* The git provider (github, gitlab, bitbucket)
*/
provider?: string | undefined;
};
/**
* Vercel user linked to the git provider account (only set if resolved)
*/
export type CancelDeploymentVercelUser = {
/**
* Vercel user ID
*/
id: string;
/**
* Vercel username
*/
username: string;
/**
* Team roles at time of deployment
*/
teamRoles?: Array<string> | undefined;
};
/**
* Attribution metadata for the deployment, linking commit author to git and Vercel users. Only populated when the `enable-deployment-attribution` flag is enabled.
*/
export type CancelDeploymentAttribution = {
/**
* Commit metadata from the git commit author
*/
commitMeta?: CancelDeploymentCommitMeta | undefined;
/**
* Git provider user associated with the commit author email (only set if resolved)
*/
gitUser?: CancelDeploymentGitUser | undefined;
/**
* Vercel user linked to the git provider account (only set if resolved)
*/
vercelUser?: CancelDeploymentVercelUser | undefined;
};
/**
* The private deployment representation of a Deployment.
*/
export type CancelDeploymentResponseBody = {
aliasAssignedAt?: number | boolean | null | undefined;
alwaysRefuseToBuild?: boolean | undefined;
build: CancelDeploymentBuild;
buildArtifactUrls?: Array<string> | undefined;
builds?: Array<CancelDeploymentBuilds> | undefined;
env: Array<string>;
inspectorUrl: string | null;
isInConcurrentBuildsQueue: boolean;
isInSystemBuildsQueue: boolean;
projectSettings: CancelDeploymentProjectSettings;
integrations?: CancelDeploymentIntegrations | undefined;
images?: CancelDeploymentImages | undefined;
/**
* A list of all the aliases (default aliases, staging aliases and production aliases) that were assigned upon deployment creation
*/
alias?: Array<string> | undefined;
/**
* A boolean that will be true when the aliases from the alias property were assigned successfully
*/
aliasAssigned: boolean;
bootedAt: number;
buildingAt: number;
/**
* Since April 2025 it necessary for On-Demand Concurrency Minutes calculation
*/
buildContainerFinishedAt?: number | undefined;
buildSkipped: boolean;
/**
* Information about the deployment creator
*/
creator: CancelDeploymentCreator;
initReadyAt?: number | undefined;
isFirstBranchDeployment?: boolean | undefined;
lambdas?: Array<CancelDeploymentLambdas> | undefined;
/**
* A boolean representing if the deployment is public or not. By default this is `false`
*/
public: boolean;
ready?: number | undefined;
status: CancelDeploymentStatus;
/**
* The team that owns the deployment if any
*/
team?: CancelDeploymentTeam | undefined;
/**
* An array of domains that were provided by the user when creating the Deployment.
*/
userAliases?: Array<string> | undefined;
/**
* Whether or not preview comments are enabled for the deployment
*/
previewCommentsEnabled?: boolean | undefined;
ttyBuildLogs?: boolean | undefined;
customEnvironment?: CancelDeploymentCustomEnvironment1 | CancelDeploymentCustomEnvironment2 | undefined;
oomReport?: CancelDeploymentOomReport | undefined;
readyStateReason?: string | undefined;
aliasWarning?: CancelDeploymentAliasWarning | null | undefined;
/**
* A string holding the unique ID of the deployment
*/
id: string;
/**
* A number containing the date when the deployment was created in milliseconds
*/
createdAt: number;
/**
* The state of the deployment depending on the process of deploying, or if it is ready or in an error state
*/
readyState: CancelDeploymentReadyState;
/**
* The name of the project associated with the deployment at the time that the deployment was created
*/
name: string;
type: CancelDeploymentType;
errorMessage?: string | null | undefined;
/**
* An object that will contain a `code` and a `message` when the aliasing fails, otherwise the value will be `null`
*/
aliasError?: CancelDeploymentAliasError | null | undefined;
aliasFinal?: string | null | undefined;
/**
* applies to custom domains only, defaults to `true`
*/
autoAssignCustomDomains?: boolean | undefined;
automaticAliases?: Array<string> | undefined;
buildErrorAt?: number | undefined;
checksState?: CancelDeploymentChecksState | undefined;
checksConclusion?: CancelDeploymentChecksConclusion | undefined;
/**
* A number containing the date when the deployment was deleted at milliseconds
*/
deletedAt?: number | null | undefined;
/**
* Computed field that is only available for deployments with a microfrontend configuration.
*/
defaultRoute?: string | undefined;
canceledAt?: number | undefined;
errorCode?: string | undefined;
errorLink?: string | undefined;
errorStep?: string | undefined;
/**
* Since November 2023 this field defines a set of regions that we will deploy the lambda to passively Lambdas will be deployed to these regions but only invoked if all of the primary `regions` are marked as out of service
*/
passiveRegions?: Array<string> | undefined;
gitSource?: GitSource13 | GitSource16 | GitSource17 | CancelDeploymentGitSource4 | GitSource11 | GitSource12 | GitSource14 | GitSource15 | CancelDeploymentGitSource2 | CancelDeploymentGitSource3 | CancelDeploymentGitSource6 | GitSource9 | CancelDeploymentGitSource1 | CancelDeploymentGitSource5 | CancelDeploymentGitSource7 | CancelDeploymentGitSource8 | GitSource10 | undefined;
/**
* Present when deployment was created with manual provisioning enabled, either explicitly or via the experimental BYOC git flow. The deployment stays in INITIALIZING until /continue is called.
*/
manualProvisioning?: CancelDeploymentManualProvisioning | undefined;
meta: {
[k: string]: string;
};
originCacheRegion?: string | undefined;
/**
* If set it overrides the `projectSettings.nodeVersion` for this deployment.
*/
nodeVersion?: CancelDeploymentNodeVersion | undefined;
/**
* The public project information associated with the deployment.
*/
project?: CancelDeploymentProject | undefined;
prebuilt?: boolean | undefined;
/**
* Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - ROLLING: in the process of having production traffic gradually transitioned. - PROMOTED: has seen production traffic
*/
readySubstate?: CancelDeploymentReadySubstate | undefined;
/**
* The regions the deployment exists in
*/
regions: Array<string>;
/**
* flag to indicate if the deployment was deleted by retention policy
*/
softDeletedByRetention?: boolean | undefined;
/**
* Where was the deployment created from. Best-effort guess for metrics only — not authoritative; do not gate behavior on it.
*/
source?: CancelDeploymentSource | undefined;
/**
* If defined, either `staging` if a staging alias in the format `<project>.<team>.now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment.
*/
target?: CancelDeploymentTarget | null | undefined;
/**
* A number containing the date when the deployment was undeleted at milliseconds
*/
undeletedAt?: number | undefined;
/**
* A string with the unique URL of the deployment
*/
url: string;
/**
* Since January 2025 User-configured deployment ID for skew protection with pre-built deployments. This is set when users configure a custom deploymentId in their next.config.js file. This allows Next.js to use skew protection even when deployments are pre-built outside of Vercel's build system.
*/
userConfiguredDeploymentId?: string | undefined;
/**
* The platform version that was used to create the deployment.
*/
version: number;
oidcTokenClaims?: CancelDeploymentOidcTokenClaims | undefined;
projectId: string;
plan: CancelDeploymentPlan;
/**
* Metadata about the source platform that triggered the deployment. Allows us to map a deployment back to a platform (e.g. the chat that created it)
*/
platform?: CancelDeploymentPlatform | undefined;
connectBuildsEnabled?: boolean | undefined;
connectConfigurationId?: string | undefined;
createdIn: string;
crons?: Array<CancelDeploymentCrons> | undefined;
functions?: {
[k: string]: CancelDeploymentFunctions;
} | null | undefined;
monorepoManager?: string | null | undefined;
ownerId: string;
/**
* Since November 2023 this field defines a Secure Compute network that will only be used to deploy passive lambdas to (as in passiveRegions)
*/
passiveConnectConfigurationId?: string | undefined;
routes: Array<CancelDeploymentRoutes3 | CancelDeploymentRoutes1 | CancelDeploymentRoutes2> | null;
gitRepo?: CancelDeploymentGitRepo1 | CancelDeploymentGitRepo2 | CancelDeploymentGitRepo3 | CancelDeploymentGitRepo4 | null | undefined;
flags?: CancelDeploymentFlags1 | Array<CancelDeploymentFlags2> | undefined;
microfrontends?: CancelDeploymentMicrofrontends2 | CancelDeploymentMicrofrontends1 | undefined;
/**
* Since February 2025 the configuration must include snapshot data at the time of deployment creation to capture properties for the /deployments/:id/config endpoint utilized for displaying Deployment Configuration on the frontend This is optional because older deployments may not have this data captured
*/
config?: CancelDeploymentConfig | undefined;
checks?: CancelDeploymentChecks | undefined;
/**
* NSNB Blocked metadata
*/
seatBlock?: CancelDeploymentSeatBlock | undefined;
/**
* Attribution metadata for the deployment, linking commit author to git and Vercel users. Only populated when the `enable-deployment-attribution` flag is enabled.
*/
attribution?: CancelDeploymentAttribution | undefined;
};
/** @internal */
export type CancelDeploymentRequest$Outbound = {
id: string;
teamId?: string | undefined;
slug?: string | undefined;
};
/** @internal */
export declare const CancelDeploymentRequest$outboundSchema: z.ZodType<CancelDeploymentRequest$Outbound, z.ZodTypeDef, CancelDeploymentRequest>;
export declare function cancelDeploymentRequestToJSON(cancelDeploymentRequest: CancelDeploymentRequest): string;
/** @internal */
export declare const CancelDeploymentAliasAssignedAt$inboundSchema: z.ZodType<CancelDeploymentAliasAssignedAt, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentAliasAssignedAtFromJSON(jsonString: string): SafeParseResult<CancelDeploymentAliasAssignedAt, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentBuild$inboundSchema: z.ZodType<CancelDeploymentBuild, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentBuildFromJSON(jsonString: string): SafeParseResult<CancelDeploymentBuild, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentBuilds$inboundSchema: z.ZodType<CancelDeploymentBuilds, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentBuildsFromJSON(jsonString: string): SafeParseResult<CancelDeploymentBuilds, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentDeploymentsNodeVersion$inboundSchema: z.ZodNativeEnum<typeof CancelDeploymentDeploymentsNodeVersion>;
/** @internal */
export declare const CancelDeploymentFramework$inboundSchema: z.ZodNativeEnum<typeof CancelDeploymentFramework>;
/** @internal */
export declare const CancelDeploymentSpeedInsights$inboundSchema: z.ZodType<CancelDeploymentSpeedInsights, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentSpeedInsightsFromJSON(jsonString: string): SafeParseResult<CancelDeploymentSpeedInsights, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentWebAnalytics$inboundSchema: z.ZodType<CancelDeploymentWebAnalytics, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentWebAnalyticsFromJSON(jsonString: string): SafeParseResult<CancelDeploymentWebAnalytics, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentProjectSettings$inboundSchema: z.ZodType<CancelDeploymentProjectSettings, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentProjectSettingsFromJSON(jsonString: string): SafeParseResult<CancelDeploymentProjectSettings, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentDeploymentsStatus$inboundSchema: z.ZodNativeEnum<typeof CancelDeploymentDeploymentsStatus>;
/** @internal */
export declare const CancelDeploymentIntegrations$inboundSchema: z.ZodType<CancelDeploymentIntegrations, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentIntegrationsFromJSON(jsonString: string): SafeParseResult<CancelDeploymentIntegrations, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentProtocol$inboundSchema: z.ZodNativeEnum<typeof CancelDeploymentProtocol>;
/** @internal */
export declare const CancelDeploymentRemotePatterns$inboundSchema: z.ZodType<CancelDeploymentRemotePatterns, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentRemotePatternsFromJSON(jsonString: string): SafeParseResult<CancelDeploymentRemotePatterns, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentLocalPatterns$inboundSchema: z.ZodType<CancelDeploymentLocalPatterns, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentLocalPatternsFromJSON(jsonString: string): SafeParseResult<CancelDeploymentLocalPatterns, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentFormats$inboundSchema: z.ZodNativeEnum<typeof CancelDeploymentFormats>;
/** @internal */
export declare const CancelDeploymentContentDispositionType$inboundSchema: z.ZodNativeEnum<typeof CancelDeploymentContentDispositionType>;
/** @internal */
export declare const CancelDeploymentImages$inboundSchema: z.ZodType<CancelDeploymentImages, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentImagesFromJSON(jsonString: string): SafeParseResult<CancelDeploymentImages, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentCreator$inboundSchema: z.ZodType<CancelDeploymentCreator, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentCreatorFromJSON(jsonString: string): SafeParseResult<CancelDeploymentCreator, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentDeploymentsReadyState$inboundSchema: z.ZodNativeEnum<typeof CancelDeploymentDeploymentsReadyState>;
/** @internal */
export declare const CancelDeploymentOutput$inboundSchema: z.ZodType<CancelDeploymentOutput, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentOutputFromJSON(jsonString: string): SafeParseResult<CancelDeploymentOutput, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentLambdas$inboundSchema: z.ZodType<CancelDeploymentLambdas, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentLambdasFromJSON(jsonString: string): SafeParseResult<CancelDeploymentLambdas, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentStatus$inboundSchema: z.ZodNativeEnum<typeof CancelDeploymentStatus>;
/** @internal */
export declare const CancelDeploymentTeam$inboundSchema: z.ZodType<CancelDeploymentTeam, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentTeamFromJSON(jsonString: string): SafeParseResult<CancelDeploymentTeam, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentCustomEnvironment2$inboundSchema: z.ZodType<CancelDeploymentCustomEnvironment2, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentCustomEnvironment2FromJSON(jsonString: string): SafeParseResult<CancelDeploymentCustomEnvironment2, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentCustomEnvironmentType$inboundSchema: z.ZodNativeEnum<typeof CancelDeploymentCustomEnvironmentType>;
/** @internal */
export declare const CancelDeploymentCustomEnvironmentDeploymentsType$inboundSchema: z.ZodNativeEnum<typeof CancelDeploymentCustomEnvironmentDeploymentsType>;
/** @internal */
export declare const CustomEnvironmentBranchMatcher$inboundSchema: z.ZodType<CustomEnvironmentBranchMatcher, z.ZodTypeDef, unknown>;
export declare function customEnvironmentBranchMatcherFromJSON(jsonString: string): SafeParseResult<CustomEnvironmentBranchMatcher, SDKValidationError>;
/** @internal */
export declare const CustomEnvironmentVerification$inboundSchema: z.ZodType<CustomEnvironmentVerification, z.ZodTypeDef, unknown>;
export declare function customEnvironmentVerificationFromJSON(jsonString: string): SafeParseResult<CustomEnvironmentVerification, SDKValidationError>;
/** @internal */
export declare const CustomEnvironmentDomains$inboundSchema: z.ZodType<CustomEnvironmentDomains, z.ZodTypeDef, unknown>;
export declare function customEnvironmentDomainsFromJSON(jsonString: string): SafeParseResult<CustomEnvironmentDomains, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentCustomEnvironment1$inboundSchema: z.ZodType<CancelDeploymentCustomEnvironment1, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentCustomEnvironment1FromJSON(jsonString: string): SafeParseResult<CancelDeploymentCustomEnvironment1, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentCustomEnvironment$inboundSchema: z.ZodType<CancelDeploymentCustomEnvironment, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentCustomEnvironmentFromJSON(jsonString: string): SafeParseResult<CancelDeploymentCustomEnvironment, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentOomReport$inboundSchema: z.ZodNativeEnum<typeof CancelDeploymentOomReport>;
/** @internal */
export declare const CancelDeploymentAliasWarning$inboundSchema: z.ZodType<CancelDeploymentAliasWarning, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentAliasWarningFromJSON(jsonString: string): SafeParseResult<CancelDeploymentAliasWarning, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentReadyState$inboundSchema: z.ZodNativeEnum<typeof CancelDeploymentReadyState>;
/** @internal */
export declare const CancelDeploymentType$inboundSchema: z.ZodNativeEnum<typeof CancelDeploymentType>;
/** @internal */
export declare const CancelDeploymentAliasError$inboundSchema: z.ZodType<CancelDeploymentAliasError, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentAliasErrorFromJSON(jsonString: string): SafeParseResult<CancelDeploymentAliasError, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentChecksState$inboundSchema: z.ZodNativeEnum<typeof CancelDeploymentChecksState>;
/** @internal */
export declare const CancelDeploymentChecksConclusion$inboundSchema: z.ZodNativeEnum<typeof CancelDeploymentChecksConclusion>;
/** @internal */
export declare const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody17Type$inboundSchema: z.ZodNativeEnum<typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody17Type>;
/** @internal */
export declare const GitSource17$inboundSchema: z.ZodType<GitSource17, z.ZodTypeDef, unknown>;
export declare function gitSource17FromJSON(jsonString: string): SafeParseResult<GitSource17, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody16Type$inboundSchema: z.ZodNativeEnum<typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody16Type>;
/** @internal */
export declare const GitSource16$inboundSchema: z.ZodType<GitSource16, z.ZodTypeDef, unknown>;
export declare function gitSource16FromJSON(jsonString: string): SafeParseResult<GitSource16, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type$inboundSchema: z.ZodNativeEnum<typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type>;
/** @internal */
export declare const GitSource15$inboundSchema: z.ZodType<GitSource15, z.ZodTypeDef, unknown>;
export declare function gitSource15FromJSON(jsonString: string): SafeParseResult<GitSource15, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type$inboundSchema: z.ZodNativeEnum<typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type>;
/** @internal */
export declare const GitSource14$inboundSchema: z.ZodType<GitSource14, z.ZodTypeDef, unknown>;
export declare function gitSource14FromJSON(jsonString: string): SafeParseResult<GitSource14, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody13Type$inboundSchema: z.ZodNativeEnum<typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody13Type>;
/** @internal */
export declare const GitSource13$inboundSchema: z.ZodType<GitSource13, z.ZodTypeDef, unknown>;
export declare function gitSource13FromJSON(jsonString: string): SafeParseResult<GitSource13, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type$inboundSchema: z.ZodNativeEnum<typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type>;
/** @internal */
export declare const GitSource12$inboundSchema: z.ZodType<GitSource12, z.ZodTypeDef, unknown>;
export declare function gitSource12FromJSON(jsonString: string): SafeParseResult<GitSource12, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$inboundSchema: z.ZodNativeEnum<typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type>;
/** @internal */
export declare const GitSource11$inboundSchema: z.ZodType<GitSource11, z.ZodTypeDef, unknown>;
export declare function gitSource11FromJSON(jsonString: string): SafeParseResult<GitSource11, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody10Type$inboundSchema: z.ZodNativeEnum<typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody10Type>;
/** @internal */
export declare const GitSource10$inboundSchema: z.ZodType<GitSource10, z.ZodTypeDef, unknown>;
export declare function gitSource10FromJSON(jsonString: string): SafeParseResult<GitSource10, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type$inboundSchema: z.ZodNativeEnum<typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type>;
/** @internal */
export declare const GitSource9$inboundSchema: z.ZodType<GitSource9, z.ZodTypeDef, unknown>;
export declare function gitSource9FromJSON(jsonString: string): SafeParseResult<GitSource9, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type$inboundSchema: z.ZodNativeEnum<typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type>;
/** @internal */
export declare const CancelDeploymentGitSource8$inboundSchema: z.ZodType<CancelDeploymentGitSource8, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentGitSource8FromJSON(jsonString: string): SafeParseResult<CancelDeploymentGitSource8, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type$inboundSchema: z.ZodNativeEnum<typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type>;
/** @internal */
export declare const CancelDeploymentGitSourceProjectId$inboundSchema: z.ZodType<CancelDeploymentGitSourceProjectId, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentGitSourceProjectIdFromJSON(jsonString: string): SafeParseResult<CancelDeploymentGitSourceProjectId, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentGitSource7$inboundSchema: z.ZodType<CancelDeploymentGitSource7, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentGitSource7FromJSON(jsonString: string): SafeParseResult<CancelDeploymentGitSource7, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$inboundSchema: z.ZodNativeEnum<typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType>;
/** @internal */
export declare const CancelDeploymentGitSource6$inboundSchema: z.ZodType<CancelDeploymentGitSource6, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentGitSource6FromJSON(jsonString: string): SafeParseResult<CancelDeploymentGitSource6, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$inboundSchema: z.ZodNativeEnum<typeof CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONType>;
/** @internal */
export declare const CancelDeploymentGitSourceDeploymentsResponseRepoId$inboundSchema: z.ZodType<CancelDeploymentGitSourceDeploymentsResponseRepoId, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentGitSourceDeploymentsResponseRepoIdFromJSON(jsonString: string): SafeParseResult<CancelDeploymentGitSourceDeploymentsResponseRepoId, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentGitSource5$inboundSchema: z.ZodType<CancelDeploymentGitSource5, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentGitSource5FromJSON(jsonString: string): SafeParseResult<CancelDeploymentGitSource5, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentGitSourceDeploymentsResponse200Type$inboundSchema: z.ZodNativeEnum<typeof CancelDeploymentGitSourceDeploymentsResponse200Type>;
/** @internal */
export declare const CancelDeploymentGitSource4$inboundSchema: z.ZodType<CancelDeploymentGitSource4, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentGitSource4FromJSON(jsonString: string): SafeParseResult<CancelDeploymentGitSource4, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentGitSourceDeploymentsResponseType$inboundSchema: z.ZodNativeEnum<typeof CancelDeploymentGitSourceDeploymentsResponseType>;
/** @internal */
export declare const CancelDeploymentGitSourceDeploymentsRepoId$inboundSchema: z.ZodType<CancelDeploymentGitSourceDeploymentsRepoId, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentGitSourceDeploymentsRepoIdFromJSON(jsonString: string): SafeParseResult<CancelDeploymentGitSourceDeploymentsRepoId, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentGitSource3$inboundSchema: z.ZodType<CancelDeploymentGitSource3, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentGitSource3FromJSON(jsonString: string): SafeParseResult<CancelDeploymentGitSource3, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentGitSourceDeploymentsType$inboundSchema: z.ZodNativeEnum<typeof CancelDeploymentGitSourceDeploymentsType>;
/** @internal */
export declare const CancelDeploymentGitSource2$inboundSchema: z.ZodType<CancelDeploymentGitSource2, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentGitSource2FromJSON(jsonString: string): SafeParseResult<CancelDeploymentGitSource2, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentGitSourceType$inboundSchema: z.ZodNativeEnum<typeof CancelDeploymentGitSourceType>;
/** @internal */
export declare const CancelDeploymentGitSourceRepoId$inboundSchema: z.ZodType<CancelDeploymentGitSourceRepoId, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentGitSourceRepoIdFromJSON(jsonString: string): SafeParseResult<CancelDeploymentGitSourceRepoId, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentGitSource1$inboundSchema: z.ZodType<CancelDeploymentGitSource1, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentGitSource1FromJSON(jsonString: string): SafeParseResult<CancelDeploymentGitSource1, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentGitSource$inboundSchema: z.ZodType<CancelDeploymentGitSource, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentGitSourceFromJSON(jsonString: string): SafeParseResult<CancelDeploymentGitSource, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentState$inboundSchema: z.ZodNativeEnum<typeof CancelDeploymentState>;
/** @internal */
export declare const CancelDeploymentManualProvisioning$inboundSchema: z.ZodType<CancelDeploymentManualProvisioning, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentManualProvisioningFromJSON(jsonString: string): SafeParseResult<CancelDeploymentManualProvisioning, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentNodeVersion$inboundSchema: z.ZodNativeEnum<typeof CancelDeploymentNodeVersion>;
/** @internal */
export declare const CancelDeploymentProject$inboundSchema: z.ZodType<CancelDeploymentProject, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentProjectFromJSON(jsonString: string): SafeParseResult<CancelDeploymentProject, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentReadySubstate$inboundSchema: z.ZodNativeEnum<typeof CancelDeploymentReadySubstate>;
/** @internal */
export declare const CancelDeploymentSource$inboundSchema: z.ZodNativeEnum<typeof CancelDeploymentSource>;
/** @internal */
export declare const CancelDeploymentTarget$inboundSchema: z.ZodNativeEnum<typeof CancelDeploymentTarget>;
/** @internal */
export declare const CancelDeploymentOidcTokenClaims$inboundSchema: z.ZodType<CancelDeploymentOidcTokenClaims, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentOidcTokenClaimsFromJSON(jsonString: string): SafeParseResult<CancelDeploymentOidcTokenClaims, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentPlan$inboundSchema: z.ZodNativeEnum<typeof CancelDeploymentPlan>;
/** @internal */
export declare const CancelDeploymentDeploymentsSource$inboundSchema: z.ZodType<CancelDeploymentDeploymentsSource, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentDeploymentsSourceFromJSON(jsonString: string): SafeParseResult<CancelDeploymentDeploymentsSource, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentDeploymentsType$inboundSchema: z.ZodNativeEnum<typeof CancelDeploymentDeploymentsType>;
/** @internal */
export declare const CancelDeploymentOrigin$inboundSchema: z.ZodType<CancelDeploymentOrigin, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentOriginFromJSON(jsonString: string): SafeParseResult<CancelDeploymentOrigin, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentDeploymentsCreator$inboundSchema: z.ZodType<CancelDeploymentDeploymentsCreator, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentDeploymentsCreatorFromJSON(jsonString: string): SafeParseResult<CancelDeploymentDeploymentsCreator, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentPlatform$inboundSchema: z.ZodType<CancelDeploymentPlatform, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentPlatformFromJSON(jsonString: string): SafeParseResult<CancelDeploymentPlatform, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentCrons$inboundSchema: z.ZodType<CancelDeploymentCrons, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentCronsFromJSON(jsonString: string): SafeParseResult<CancelDeploymentCrons, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentArchitecture$inboundSchema: z.ZodNativeEnum<typeof CancelDeploymentArchitecture>;
/** @internal */
export declare const CancelDeploymentMaxDuration2$inboundSchema: z.ZodNativeEnum<typeof CancelDeploymentMaxDuration2>;
/** @internal */
export declare const CancelDeploymentMaxDuration$inboundSchema: z.ZodType<CancelDeploymentMaxDuration, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentMaxDurationFromJSON(jsonString: string): SafeParseResult<CancelDeploymentMaxDuration, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentExperimentalTriggers2$inboundSchema: z.ZodType<CancelDeploymentExperimentalTriggers2, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentExperimentalTriggers2FromJSON(jsonString: string): SafeParseResult<CancelDeploymentExperimentalTriggers2, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentExperimentalTriggers1$inboundSchema: z.ZodType<CancelDeploymentExperimentalTriggers1, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentExperimentalTriggers1FromJSON(jsonString: string): SafeParseResult<CancelDeploymentExperimentalTriggers1, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentExperimentalTriggers$inboundSchema: z.ZodType<CancelDeploymentExperimentalTriggers, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentExperimentalTriggersFromJSON(jsonString: string): SafeParseResult<CancelDeploymentExperimentalTriggers, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentFunctions$inboundSchema: z.ZodType<CancelDeploymentFunctions, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentFunctionsFromJSON(jsonString: string): SafeParseResult<CancelDeploymentFunctions, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentRoutes3$inboundSchema: z.ZodType<CancelDeploymentRoutes3, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentRoutes3FromJSON(jsonString: string): SafeParseResult<CancelDeploymentRoutes3, SDKValidationError>;
/** @internal */
export declare const RoutesHandle$inboundSchema: z.ZodNativeEnum<typeof RoutesHandle>;
/** @internal */
export declare const CancelDeploymentRoutes2$inboundSchema: z.ZodType<CancelDeploymentRoutes2, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentRoutes2FromJSON(jsonString: string): SafeParseResult<CancelDeploymentRoutes2, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentHasDeploymentsType$inboundSchema: z.ZodNativeEnum<typeof CancelDeploymentHasDeploymentsType>;
/** @internal */
export declare const CancelDeploymentValueDeploymentsEq$inboundSchema: z.ZodType<CancelDeploymentValueDeploymentsEq, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentValueDeploymentsEqFromJSON(jsonString: string): SafeParseResult<CancelDeploymentValueDeploymentsEq, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentValueDeployments2$inboundSchema: z.ZodType<CancelDeploymentValueDeployments2, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentValueDeployments2FromJSON(jsonString: string): SafeParseResult<CancelDeploymentValueDeployments2, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentHasDeploymentsValue$inboundSchema: z.ZodType<CancelDeploymentHasDeploymentsValue, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentHasDeploymentsValueFromJSON(jsonString: string): SafeParseResult<CancelDeploymentHasDeploymentsValue, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentHas2$inboundSchema: z.ZodType<CancelDeploymentHas2, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentHas2FromJSON(jsonString: string): SafeParseResult<CancelDeploymentHas2, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentValueEq$inboundSchema: z.ZodType<CancelDeploymentValueEq, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentValueEqFromJSON(jsonString: string): SafeParseResult<CancelDeploymentValueEq, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentValue2$inboundSchema: z.ZodType<CancelDeploymentValue2, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentValue2FromJSON(jsonString: string): SafeParseResult<CancelDeploymentValue2, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentHasValue$inboundSchema: z.ZodType<CancelDeploymentHasValue, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentHasValueFromJSON(jsonString: string): SafeParseResult<CancelDeploymentHasValue, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentHas1$inboundSchema: z.ZodType<CancelDeploymentHas1, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentHas1FromJSON(jsonString: string): SafeParseResult<CancelDeploymentHas1, SDKValidationError>;
/** @internal */
export declare const RoutesHas$inboundSchema: z.ZodType<RoutesHas, z.ZodTypeDef, unknown>;
export declare function routesHasFromJSON(jsonString: string): SafeParseResult<RoutesHas, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentMissingDeploymentsType$inboundSchema: z.ZodNativeEnum<typeof CancelDeploymentMissingDeploymentsType>;
/** @internal */
export declare const CancelDeploymentValueDeploymentsResponse200Eq$inboundSchema: z.ZodType<CancelDeploymentValueDeploymentsResponse200Eq, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentValueDeploymentsResponse200EqFromJSON(jsonString: string): SafeParseResult<CancelDeploymentValueDeploymentsResponse200Eq, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentValueDeploymentsResponse2002$inboundSchema: z.ZodType<CancelDeploymentValueDeploymentsResponse2002, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentValueDeploymentsResponse2002FromJSON(jsonString: string): SafeParseResult<CancelDeploymentValueDeploymentsResponse2002, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentMissingDeploymentsValue$inboundSchema: z.ZodType<CancelDeploymentMissingDeploymentsValue, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentMissingDeploymentsValueFromJSON(jsonString: string): SafeParseResult<CancelDeploymentMissingDeploymentsValue, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentMissing2$inboundSchema: z.ZodType<CancelDeploymentMissing2, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentMissing2FromJSON(jsonString: string): SafeParseResult<CancelDeploymentMissing2, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentValueDeploymentsResponseEq$inboundSchema: z.ZodType<CancelDeploymentValueDeploymentsResponseEq, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentValueDeploymentsResponseEqFromJSON(jsonString: string): SafeParseResult<CancelDeploymentValueDeploymentsResponseEq, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentValueDeploymentsResponse2$inboundSchema: z.ZodType<CancelDeploymentValueDeploymentsResponse2, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentValueDeploymentsResponse2FromJSON(jsonString: string): SafeParseResult<CancelDeploymentValueDeploymentsResponse2, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentMissingValue$inboundSchema: z.ZodType<CancelDeploymentMissingValue, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentMissingValueFromJSON(jsonString: string): SafeParseResult<CancelDeploymentMissingValue, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentMissing1$inboundSchema: z.ZodType<CancelDeploymentMissing1, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentMissing1FromJSON(jsonString: string): SafeParseResult<CancelDeploymentMissing1, SDKValidationError>;
/** @internal */
export declare const RoutesMissing$inboundSchema: z.ZodType<RoutesMissing, z.ZodTypeDef, unknown>;
export declare function routesMissingFromJSON(jsonString: string): SafeParseResult<RoutesMissing, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentRoutesAction$inboundSchema: z.ZodNativeEnum<typeof CancelDeploymentRoutesAction>;
/** @internal */
export declare const RoutesMitigate$inboundSchema: z.ZodType<RoutesMitigate, z.ZodTypeDef, unknown>;
export declare function routesMitigateFromJSON(jsonString: string): SafeParseResult<RoutesMitigate, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentRoutesType$inboundSchema: z.ZodNativeEnum<typeof CancelDeploymentRoutesType>;
/** @internal */
export declare const RoutesOp$inboundSchema: z.ZodNativeEnum<typeof RoutesOp>;
/** @internal */
export declare const CancelDeploymentKeyEq$inboundSchema: z.ZodType<CancelDeploymentKeyEq, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentKeyEqFromJSON(jsonString: string): SafeParseResult<CancelDeploymentKeyEq, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentKey2$inboundSchema: z.ZodType<CancelDeploymentKey2, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentKey2FromJSON(jsonString: string): SafeParseResult<CancelDeploymentKey2, SDKValidationError>;
/** @internal */
export declare const RoutesKey$inboundSchema: z.ZodType<RoutesKey, z.ZodTypeDef, unknown>;
export declare function routesKeyFromJSON(jsonString: string): SafeParseResult<RoutesKey, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentRoutesTarget$inboundSchema: z.ZodType<CancelDeploymentRoutesTarget, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentRoutesTargetFromJSON(jsonString: string): SafeParseResult<CancelDeploymentRoutesTarget, SDKValidationError>;
/** @internal */
export declare const RoutesArgs$inboundSchema: z.ZodType<RoutesArgs, z.ZodTypeDef, unknown>;
export declare function routesArgsFromJSON(jsonString: string): SafeParseResult<RoutesArgs, SDKValidationError>;
/** @internal */
export declare const RoutesTransforms$inboundSchema: z.ZodType<RoutesTransforms, z.ZodTypeDef, unknown>;
export declare function routesTransformsFromJSON(jsonString: string): SafeParseResult<RoutesTransforms, SDKValidationError>;
/** @internal */
export declare const RoutesLocale$inboundSchema: z.ZodType<RoutesLocale, z.ZodTypeDef, unknown>;
export declare function routesLocaleFromJSON(jsonString: string): SafeParseResult<RoutesLocale, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentDestinationType$inboundSchema: z.ZodNativeEnum<typeof CancelDeploymentDestinationType>;
/** @internal */
export declare const CancelDeploymentDestination2$inboundSchema: z.ZodType<CancelDeploymentDestination2, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentDestination2FromJSON(jsonString: string): SafeParseResult<CancelDeploymentDestination2, SDKValidationError>;
/** @internal */
export declare const RoutesDestination$inboundSchema: z.ZodType<RoutesDestination, z.ZodTypeDef, unknown>;
export declare function routesDestinationFromJSON(jsonString: string): SafeParseResult<RoutesDestination, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentRoutes1$inboundSchema: z.ZodType<CancelDeploymentRoutes1, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentRoutes1FromJSON(jsonString: string): SafeParseResult<CancelDeploymentRoutes1, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentRoutes$inboundSchema: z.ZodType<CancelDeploymentRoutes, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentRoutesFromJSON(jsonString: string): SafeParseResult<CancelDeploymentRoutes, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentGitRepoDeploymentsResponse200OwnerType$inboundSchema: z.ZodNativeEnum<typeof CancelDeploymentGitRepoDeploymentsResponse200OwnerType>;
/** @internal */
export declare const CancelDeploymentGitRepo4$inboundSchema: z.ZodType<CancelDeploymentGitRepo4, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentGitRepo4FromJSON(jsonString: string): SafeParseResult<CancelDeploymentGitRepo4, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentGitRepoDeploymentsResponseOwnerType$inboundSchema: z.ZodNativeEnum<typeof CancelDeploymentGitRepoDeploymentsResponseOwnerType>;
/** @internal */
export declare const CancelDeploymentGitRepo3$inboundSchema: z.ZodType<CancelDeploymentGitRepo3, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentGitRepo3FromJSON(jsonString: string): SafeParseResult<CancelDeploymentGitRepo3, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentGitRepoDeploymentsOwnerType$inboundSchema: z.ZodNativeEnum<typeof CancelDeploymentGitRepoDeploymentsOwnerType>;
/** @internal */
export declare const CancelDeploymentGitRepo2$inboundSchema: z.ZodType<CancelDeploymentGitRepo2, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentGitRepo2FromJSON(jsonString: string): SafeParseResult<CancelDeploymentGitRepo2, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentGitRepoOwnerType$inboundSchema: z.ZodNativeEnum<typeof CancelDeploymentGitRepoOwnerType>;
/** @internal */
export declare const CancelDeploymentGitRepo1$inboundSchema: z.ZodType<CancelDeploymentGitRepo1, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentGitRepo1FromJSON(jsonString: string): SafeParseResult<CancelDeploymentGitRepo1, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentGitRepo$inboundSchema: z.ZodType<CancelDeploymentGitRepo, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentGitRepoFromJSON(jsonString: string): SafeParseResult<CancelDeploymentGitRepo, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentFlags2$inboundSchema: z.ZodType<CancelDeploymentFlags2, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentFlags2FromJSON(jsonString: string): SafeParseResult<CancelDeploymentFlags2, SDKValidationError>;
/** @internal */
export declare const FlagsOptions$inboundSchema: z.ZodType<FlagsOptions, z.ZodTypeDef, unknown>;
export declare function flagsOptionsFromJSON(jsonString: string): SafeParseResult<FlagsOptions, SDKValidationError>;
/** @internal */
export declare const FlagsDefinitions$inboundSchema: z.ZodType<FlagsDefinitions, z.ZodTypeDef, unknown>;
export declare function flagsDefinitionsFromJSON(jsonString: string): SafeParseResult<FlagsDefinitions, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentFlags1$inboundSchema: z.ZodType<CancelDeploymentFlags1, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentFlags1FromJSON(jsonString: string): SafeParseResult<CancelDeploymentFlags1, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentFlags$inboundSchema: z.ZodType<CancelDeploymentFlags, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentFlagsFromJSON(jsonString: string): SafeParseResult<CancelDeploymentFlags, SDKValidationError>;
/** @internal */
export declare const MicrofrontendsMfeConfigUploadState$inboundSchema: z.ZodNativeEnum<typeof MicrofrontendsMfeConfigUploadState>;
/** @internal */
export declare const CancelDeploymentMicrofrontends2$inboundSchema: z.ZodType<CancelDeploymentMicrofrontends2, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentMicrofrontends2FromJSON(jsonString: string): SafeParseResult<CancelDeploymentMicrofrontends2, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentMicrofrontends1$inboundSchema: z.ZodType<CancelDeploymentMicrofrontends1, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentMicrofrontends1FromJSON(jsonString: string): SafeParseResult<CancelDeploymentMicrofrontends1, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentMicrofrontends$inboundSchema: z.ZodType<CancelDeploymentMicrofrontends, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentMicrofrontendsFromJSON(jsonString: string): SafeParseResult<CancelDeploymentMicrofrontends, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentFunctionType$inboundSchema: z.ZodNativeEnum<typeof CancelDeploymentFunctionType>;
/** @internal */
export declare const CancelDeploymentFunctionMemoryType$inboundSchema: z.ZodNativeEnum<typeof CancelDeploymentFunctionMemoryType>;
/** @internal */
export declare const CancelDeploymentConfiguration$inboundSchema: z.ZodNativeEnum<typeof CancelDeploymentConfiguration>;
/** @internal */
export declare const CancelDeploymentBuildQueue$inboundSchema: z.ZodType<CancelDeploymentBuildQueue, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentBuildQueueFromJSON(jsonString: string): SafeParseResult<CancelDeploymentBuildQueue, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentElasticConcurrency$inboundSchema: z.ZodNativeEnum<typeof CancelDeploymentElasticConcurrency>;
/** @internal */
export declare const CancelDeploymentPurchaseType$inboundSchema: z.ZodNativeEnum<typeof CancelDeploymentPurchaseType>;
/** @internal */
export declare const CancelDeploymentBuildMachine$inboundSchema: z.ZodType<CancelDeploymentBuildMachine, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentBuildMachineFromJSON(jsonString: string): SafeParseResult<CancelDeploymentBuildMachine, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentResourceConfig$inboundSchema: z.ZodType<CancelDeploymentResourceConfig, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentResourceConfigFromJSON(jsonString: string): SafeParseResult<CancelDeploymentResourceConfig, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentConfig$inboundSchema: z.ZodType<CancelDeploymentConfig, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentConfigFromJSON(jsonString: string): SafeParseResult<CancelDeploymentConfig, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentDeploymentsState$inboundSchema: z.ZodNativeEnum<typeof CancelDeploymentDeploymentsState>;
/** @internal */
export declare const CancelDeploymentDeploymentAlias$inboundSchema: z.ZodType<CancelDeploymentDeploymentAlias, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentDeploymentAliasFromJSON(jsonString: string): SafeParseResult<CancelDeploymentDeploymentAlias, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentChecks$inboundSchema: z.ZodType<CancelDeploymentChecks, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentChecksFromJSON(jsonString: string): SafeParseResult<CancelDeploymentChecks, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentBlockCode$inboundSchema: z.ZodNativeEnum<typeof CancelDeploymentBlockCode>;
/** @internal */
export declare const CancelDeploymentGitUserId$inboundSchema: z.ZodType<CancelDeploymentGitUserId, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentGitUserIdFromJSON(jsonString: string): SafeParseResult<CancelDeploymentGitUserId, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentGitProvider$inboundSchema: z.ZodNativeEnum<typeof CancelDeploymentGitProvider>;
/** @internal */
export declare const CancelDeploymentSeatBlock$inboundSchema: z.ZodType<CancelDeploymentSeatBlock, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentSeatBlockFromJSON(jsonString: string): SafeParseResult<CancelDeploymentSeatBlock, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentCommitMeta$inboundSchema: z.ZodType<CancelDeploymentCommitMeta, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentCommitMetaFromJSON(jsonString: string): SafeParseResult<CancelDeploymentCommitMeta, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentId$inboundSchema: z.ZodType<CancelDeploymentId, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentIdFromJSON(jsonString: string): SafeParseResult<CancelDeploymentId, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentGitUser$inboundSchema: z.ZodType<CancelDeploymentGitUser, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentGitUserFromJSON(jsonString: string): SafeParseResult<CancelDeploymentGitUser, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentVercelUser$inboundSchema: z.ZodType<CancelDeploymentVercelUser, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentVercelUserFromJSON(jsonString: string): SafeParseResult<CancelDeploymentVercelUser, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentAttribution$inboundSchema: z.ZodType<CancelDeploymentAttribution, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentAttributionFromJSON(jsonString: string): SafeParseResult<CancelDeploymentAttribution, SDKValidationError>;
/** @internal */
export declare const CancelDeploymentResponseBody$inboundSchema: z.ZodType<CancelDeploymentResponseBody, z.ZodTypeDef, unknown>;
export declare function cancelDeploymentResponseBodyFromJSON(jsonString: string): SafeParseResult<CancelDeploymentResponseBody, SDKValidationError>;
//# sourceMappingURL=canceldeploymentop.d.ts.map