@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>
1,964 lines • 93 kB
TypeScript
import * as z from "zod/v3";
import { ClosedEnum } from "../types/enums.js";
import { Result as SafeParseResult } from "../types/fp.js";
import { SDKValidationError } from "./sdkvalidationerror.js";
export type GetProjectRequest = {
/**
* The unique project identifier or the project name
*/
idOrName: 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;
};
/**
* The list of the installation resources connected to the project.
*/
export type GetProjectResources = {
externalResourceId: string;
};
/**
* Integration installation enabled on the project.
*/
export type GetProjectIntegrations = {
/**
* The integration installation ID.
*/
installationId: string;
/**
* The list of the installation resources connected to the project.
*/
resources?: Array<GetProjectResources> | undefined;
};
export type GetProjectCreator4 = {
type: "system";
};
export type GetProjectCreatorIntegration = {
integrationId: string;
configurationId: string;
};
export type GetProjectCreator3 = {
type: "integration";
integration: GetProjectCreatorIntegration;
};
export type GetProjectCreatorApp = {
/**
* The internal ID of the Vercel App backing this principal.
*/
id: string;
/**
* The protocol-facing OAuth client ID. This may differ from {@link id} when Client ID Metadata Documents (CIMD) are used.
*/
clientId?: string | undefined;
};
export type GetProjectCreator2 = {
type: "app";
app: GetProjectCreatorApp;
};
export type GetProjectViaIntegration = {
integrationId: string;
configurationId: string;
};
/**
* Set when a Vercel App or Integration acts on behalf of a {@link User}. Captures user-consented OAuth delegation that the ACL layer may inspect to evaluate scope restrictions. This is NOT for impersonation or token-exchange provenance — those live on `auth.token`, not on the principal.
*/
export type GetProjectVia2 = {
type: "integration";
integration: GetProjectViaIntegration;
};
export type GetProjectViaApp = {
/**
* The internal ID of the Vercel App backing this principal.
*/
id: string;
/**
* The protocol-facing OAuth client ID. This may differ from {@link id} when Client ID Metadata Documents (CIMD) are used.
*/
clientId?: string | undefined;
};
/**
* Set when a Vercel App or Integration acts on behalf of a {@link User}. Captures user-consented OAuth delegation that the ACL layer may inspect to evaluate scope restrictions. This is NOT for impersonation or token-exchange provenance — those live on `auth.token`, not on the principal.
*/
export type GetProjectVia1 = {
type: "app";
app: GetProjectViaApp;
};
export type GetProjectCreatorVia = GetProjectVia1 | GetProjectVia2;
export type GetProjectCreatorUser = {
id: string;
};
export type GetProjectCreator1 = {
type: "user";
via: GetProjectVia1 | GetProjectVia2 | null;
user: GetProjectCreatorUser;
};
export type GetProjectCreator = GetProjectCreator1 | GetProjectCreator2 | GetProjectCreator3 | GetProjectCreator4;
export declare const GetProjectConfiguredBy: {
readonly A: "A";
readonly Cname: "CNAME";
readonly Dns01: "dns-01";
readonly Http: "http";
};
export type GetProjectConfiguredBy = ClosedEnum<typeof GetProjectConfiguredBy>;
export type GetProjectProjectsResponseAliasAssigned = number | boolean;
export type GetProjectProjectsResponseAliasError = {
code: string;
message: string;
};
/**
* The type of matching to perform
*/
export declare const GetProjectProjectsResponse200ApplicationJSONResponseBodyAliasDeploymentType: {
readonly EndsWith: "endsWith";
readonly Equals: "equals";
readonly StartsWith: "startsWith";
};
/**
* The type of matching to perform
*/
export type GetProjectProjectsResponse200ApplicationJSONResponseBodyAliasDeploymentType = ClosedEnum<typeof GetProjectProjectsResponse200ApplicationJSONResponseBodyAliasDeploymentType>;
export type GetProjectProjectsResponse200BranchMatcher = {
/**
* The type of matching to perform
*/
type: GetProjectProjectsResponse200ApplicationJSONResponseBodyAliasDeploymentType;
/**
* The pattern to match against branch names
*/
pattern: string;
};
export type GetProjectProjectsResponseBuilds = {
use: string;
src?: string | undefined;
dest?: string | undefined;
};
export declare const GetProjectProjectsResponseChecksConclusion: {
readonly Canceled: "canceled";
readonly Failed: "failed";
readonly Skipped: "skipped";
readonly Succeeded: "succeeded";
};
export type GetProjectProjectsResponseChecksConclusion = ClosedEnum<typeof GetProjectProjectsResponseChecksConclusion>;
export declare const GetProjectProjectsResponseChecksState: {
readonly Completed: "completed";
readonly Registered: "registered";
readonly Running: "running";
};
export type GetProjectProjectsResponseChecksState = ClosedEnum<typeof GetProjectProjectsResponseChecksState>;
export type GetProjectProjectsResponse200Creator = {
email: string;
githubLogin?: string | undefined;
gitlabLogin?: string | undefined;
uid: string;
username: string;
};
export type GetProjectProjectsResponseOidcTokenClaims = {
iss: string;
sub: string;
scope: string;
aud: string;
owner: string;
ownerId: string;
project: string;
projectId: string;
environment: string;
customEnvironmentId?: string | undefined;
mfeGroupIds?: Array<string> | undefined;
plan?: string | undefined;
};
export declare const GetProjectProjectsResponsePlan: {
readonly Enterprise: "enterprise";
readonly Hobby: "hobby";
readonly Pro: "pro";
};
export type GetProjectProjectsResponsePlan = ClosedEnum<typeof GetProjectProjectsResponsePlan>;
export declare const GetProjectProjectsResponseReadyState: {
readonly Blocked: "BLOCKED";
readonly Building: "BUILDING";
readonly Canceled: "CANCELED";
readonly Error: "ERROR";
readonly Initializing: "INITIALIZING";
readonly Queued: "QUEUED";
readonly Ready: "READY";
};
export type GetProjectProjectsResponseReadyState = ClosedEnum<typeof GetProjectProjectsResponseReadyState>;
export declare const GetProjectProjectsResponseReadySubstate: {
readonly Promoted: "PROMOTED";
readonly Rolling: "ROLLING";
readonly Staged: "STAGED";
};
export type GetProjectProjectsResponseReadySubstate = ClosedEnum<typeof GetProjectProjectsResponseReadySubstate>;
export declare const GetProjectProjectsResponse200ApplicationJSONResponseBodyAliasType: {
readonly Lambdas: "LAMBDAS";
};
export type GetProjectProjectsResponse200ApplicationJSONResponseBodyAliasType = ClosedEnum<typeof GetProjectProjectsResponse200ApplicationJSONResponseBodyAliasType>;
export type GetProjectDeployment = {
id: string;
alias?: Array<string> | undefined;
aliasAssigned?: number | boolean | null | undefined;
aliasError?: GetProjectProjectsResponseAliasError | null | undefined;
aliasFinal?: string | null | undefined;
automaticAliases?: Array<string> | undefined;
branchMatcher?: GetProjectProjectsResponse200BranchMatcher | undefined;
buildingAt?: number | undefined;
builds?: Array<GetProjectProjectsResponseBuilds> | undefined;
checksConclusion?: GetProjectProjectsResponseChecksConclusion | undefined;
checksState?: GetProjectProjectsResponseChecksState | undefined;
connectBuildsEnabled?: boolean | undefined;
connectConfigurationId?: string | undefined;
createdAt: number;
createdIn: string;
creator: GetProjectProjectsResponse200Creator | null;
deletedAt?: number | undefined;
deploymentHostname: string;
forced?: boolean | undefined;
name: string;
meta?: {
[k: string]: string;
} | undefined;
monorepoManager?: string | null | undefined;
oidcTokenClaims?: GetProjectProjectsResponseOidcTokenClaims | undefined;
plan: GetProjectProjectsResponsePlan;
/**
* Whether or not preview comments are enabled for the deployment
*/
previewCommentsEnabled?: boolean | undefined;
private: boolean;
readyAt?: number | undefined;
readyState: GetProjectProjectsResponseReadyState;
readySubstate?: GetProjectProjectsResponseReadySubstate | undefined;
requestedAt?: number | undefined;
target?: string | null | undefined;
teamId?: string | null | undefined;
type: GetProjectProjectsResponse200ApplicationJSONResponseBodyAliasType;
url: string;
/**
* Present for user creators; omitted for app/integration/system creators.
*/
userId?: string | undefined;
withCache?: boolean | undefined;
};
export declare const GetProjectEnvironment: {
readonly Preview: "preview";
readonly Production: "production";
};
export type GetProjectEnvironment = ClosedEnum<typeof GetProjectEnvironment>;
export declare const GetProjectTarget: {
readonly Preview: "PREVIEW";
readonly Production: "PRODUCTION";
readonly Staging: "STAGING";
};
export type GetProjectTarget = ClosedEnum<typeof GetProjectTarget>;
export type GetProjectAlias = {
configuredBy?: GetProjectConfiguredBy | null | undefined;
configuredChangedAt?: number | null | undefined;
createdAt?: number | null | undefined;
deployment: GetProjectDeployment | null;
domain: string;
environment: GetProjectEnvironment;
gitBranch?: string | null | undefined;
redirect?: string | null | undefined;
redirectStatusCode?: number | null | undefined;
target: GetProjectTarget;
};
export type GetProjectAnalytics = {
id: string;
canceledAt?: number | null | undefined;
disabledAt: number;
enabledAt: number;
paidAt?: number | undefined;
sampleRatePercent?: number | null | undefined;
spendLimitInDollars?: number | null | undefined;
};
export type GetProjectSpeedInsights = {
id: string;
enabledAt?: number | undefined;
disabledAt?: number | undefined;
canceledAt?: number | undefined;
hasData?: boolean | undefined;
/**
* When the first free (not Speed Insights Plus) production data point was observed, in ms. Set once by subscriber-analytics-events; projects that already had data before this field shipped get it backfilled on their next batch, so it reads "first free data point observed", not necessarily "first ever".
*/
dataReceivedAt?: number | undefined;
paidAt?: number | undefined;
};
export declare const GetProjectEnvId2: {
readonly Preview: "preview";
readonly Production: "production";
};
export type GetProjectEnvId2 = ClosedEnum<typeof GetProjectEnvId2>;
export type GetProjectEnvId = string | GetProjectEnvId2;
export type GetProjectAws = {
subnetIds: Array<string>;
securityGroupId?: string | undefined;
};
export type GetProjectConnectConfigurations = {
envId: string | GetProjectEnvId2;
connectConfigurationId: string;
dc?: string | undefined;
passive: boolean;
buildsEnabled: boolean;
aws?: GetProjectAws | undefined;
createdAt: number;
updatedAt: number;
};
/**
* The origin of this definition. 'api' means created via the API. Undefined means it originated from a deployment (vercel.json).
*/
export declare const GetProjectSource: {
readonly Api: "api";
};
/**
* The origin of this definition. 'api' means created via the API. Undefined means it originated from a deployment (vercel.json).
*/
export type GetProjectSource = ClosedEnum<typeof GetProjectSource>;
export type GetProjectDefinitions = {
/**
* The hostname that should be used.
*/
host: string;
/**
* The path that should be called for the cronjob.
*/
path: string;
/**
* The cron expression.
*/
schedule: string;
/**
* The origin of this definition. 'api' means created via the API. Undefined means it originated from a deployment (vercel.json).
*/
source?: GetProjectSource | undefined;
/**
* A human-readable description of what this cron job does.
*/
description?: string | undefined;
/**
* Whether the host was inferred from the production deployment URL rather than explicitly provided.
*/
hostInferred?: boolean | undefined;
};
export type GetProjectCrons = {
/**
* The time the feature was enabled for this project. Note: It enables automatically with the first Deployment that outputs cronjobs.
*/
enabledAt: number;
/**
* The time the feature was disabled for this project.
*/
disabledAt: number | null;
updatedAt: number;
/**
* The ID of the Deployment from which the definitions originated.
*/
deploymentId: string | null;
definitions: Array<GetProjectDefinitions>;
};
export type GetProjectDataCache = {
userDisabled: boolean;
storageSizeBytes?: number | null | undefined;
unlimited?: boolean | undefined;
};
/**
* Retention policies for deployments. These are enforced at the project level, but we also maintain an instance of this at the team level as a default policy that gets applied to new projects.
*/
export type GetProjectDeploymentExpiration = {
/**
* Number of days to keep non-production deployments (mostly preview deployments) before soft deletion.
*/
expirationDays?: number | undefined;
/**
* Number of days to keep production deployments before soft deletion.
*/
expirationDaysProduction?: number | undefined;
/**
* Number of days to keep canceled deployments before soft deletion.
*/
expirationDaysCanceled?: number | undefined;
/**
* Number of days to keep errored deployments before soft deletion.
*/
expirationDaysErrored?: number | undefined;
/**
* Minimum number of production deployments to keep for this project, even if they are over the production expiration limit.
*/
deploymentsToKeep?: number | undefined;
};
export type GetProjectExpiration2 = {
/**
* Unix ms timestamp when the project was locked.
*/
lockedAt: number;
/**
* userId of the actor that triggered the lock (system or admin).
*/
lockedBy: string;
};
export type GetProjectExpiration1 = {
/**
* Unix ms timestamp when the project is scheduled to expire.
*/
expiresAt: number;
};
export type GetProjectExpiration = GetProjectExpiration2 | GetProjectExpiration1;
export declare const GetProjectTarget2: {
readonly Production: "production";
readonly Preview: "preview";
readonly Development: "development";
};
export type GetProjectTarget2 = ClosedEnum<typeof GetProjectTarget2>;
export declare const GetProjectTarget1: {
readonly Development: "development";
readonly Preview: "preview";
readonly Production: "production";
};
export type GetProjectTarget1 = ClosedEnum<typeof GetProjectTarget1>;
export type GetProjectProjectsTarget = Array<GetProjectTarget1> | GetProjectTarget2;
export declare const GetProjectType: {
readonly Encrypted: "encrypted";
readonly Plain: "plain";
readonly Secret: "secret";
readonly Sensitive: "sensitive";
readonly System: "system";
};
export type GetProjectType = ClosedEnum<typeof GetProjectType>;
/**
* User-facing config/secret model. When set, authoritative for new code paths when the env-var-config-secret-ui flag is enabled. Legacy rows omit this field; legacy rows omit it and callers fall back to existing `type` behavior.
*/
export declare const GetProjectVisibility: {
readonly Config: "config";
readonly Secret: "secret";
};
/**
* User-facing config/secret model. When set, authoritative for new code paths when the env-var-config-secret-ui flag is enabled. Legacy rows omit this field; legacy rows omit it and callers fall back to existing `type` behavior.
*/
export type GetProjectVisibility = ClosedEnum<typeof GetProjectVisibility>;
export type GetProjectContentHint17 = {
type: "flags-connection-string";
projectId: string;
};
export type GetProjectContentHint16 = {
type: "integration-store-secret";
storeId: string;
integrationId: string;
integrationProductId: string;
integrationConfigurationId: string;
};
export type GetProjectContentHint15 = {
type: "postgres-url-no-ssl";
storeId: string;
};
export type GetProjectContentHint14 = {
type: "postgres-database";
storeId: string;
};
export type GetProjectContentHint13 = {
type: "postgres-password";
storeId: string;
};
export type GetProjectContentHint12 = {
type: "postgres-host";
storeId: string;
};
export type GetProjectContentHint11 = {
type: "postgres-user";
storeId: string;
};
export type GetProjectContentHint10 = {
type: "postgres-prisma-url";
storeId: string;
};
export type GetProjectContentHint9 = {
type: "postgres-url-non-pooling";
storeId: string;
};
export type GetProjectContentHint8 = {
type: "postgres-url";
storeId: string;
};
export type GetProjectContentHint7 = {
type: "blob-webhook-public-key";
storeId: string;
};
export type GetProjectContentHint6 = {
type: "blob-store-id";
storeId: string;
};
export type GetProjectContentHint5 = {
type: "blob-read-write-token";
storeId: string;
};
export type GetProjectContentHint4 = {
type: "redis-rest-api-read-only-token";
storeId: string;
};
export type GetProjectContentHint3 = {
type: "redis-rest-api-token";
storeId: string;
};
export type GetProjectContentHint2 = {
type: "redis-rest-api-url";
storeId: string;
};
export type GetProjectContentHint1 = {
type: "redis-url";
storeId: string;
};
export type GetProjectContentHint = GetProjectContentHint1 | GetProjectContentHint2 | GetProjectContentHint3 | GetProjectContentHint4 | GetProjectContentHint5 | GetProjectContentHint6 | GetProjectContentHint7 | GetProjectContentHint8 | GetProjectContentHint9 | GetProjectContentHint10 | GetProjectContentHint11 | GetProjectContentHint12 | GetProjectContentHint13 | GetProjectContentHint14 | GetProjectContentHint15 | GetProjectContentHint16 | GetProjectContentHint17;
export declare const GetProjectProjectsResponse200ApplicationJSONResponseBodyEnvType: {
readonly FlagsSecret: "flags-secret";
};
export type GetProjectProjectsResponse200ApplicationJSONResponseBodyEnvType = ClosedEnum<typeof GetProjectProjectsResponse200ApplicationJSONResponseBodyEnvType>;
/**
* Similar to `contentHints`, but should not be exposed to the user.
*/
export type GetProjectInternalContentHint = {
type: GetProjectProjectsResponse200ApplicationJSONResponseBodyEnvType;
/**
* Contains the `value` of the env variable, encrypted with a special key to make decryption possible in the subscriber Lambda.
*/
encryptedValue: string;
};
export type GetProjectEnv = {
target?: Array<GetProjectTarget1> | GetProjectTarget2 | undefined;
type: GetProjectType;
/**
* This is used to identify variables that have been migrated from type secret to sensitive.
*/
sunsetSecretId?: string | undefined;
/**
* Legacy now-encryption ciphertext, present after migration swaps value/vsmValue
*/
legacyValue?: string | undefined;
decrypted?: boolean | undefined;
value: string;
vsmValue?: string | undefined;
id?: string | undefined;
key: string;
configurationId?: string | null | undefined;
createdAt?: number | undefined;
updatedAt?: number | undefined;
createdBy?: string | null | undefined;
updatedBy?: string | null | undefined;
gitBranch?: string | undefined;
/**
* User-facing config/secret model. When set, authoritative for new code paths when the env-var-config-secret-ui flag is enabled. Legacy rows omit this field; legacy rows omit it and callers fall back to existing `type` behavior.
*/
visibility?: GetProjectVisibility | undefined;
edgeConfigId?: string | null | undefined;
edgeConfigTokenId?: string | null | undefined;
contentHint?: GetProjectContentHint1 | GetProjectContentHint2 | GetProjectContentHint3 | GetProjectContentHint4 | GetProjectContentHint5 | GetProjectContentHint6 | GetProjectContentHint7 | GetProjectContentHint8 | GetProjectContentHint9 | GetProjectContentHint10 | GetProjectContentHint11 | GetProjectContentHint12 | GetProjectContentHint13 | GetProjectContentHint14 | GetProjectContentHint15 | GetProjectContentHint16 | GetProjectContentHint17 | null | undefined;
/**
* Similar to `contentHints`, but should not be exposed to the user.
*/
internalContentHint?: GetProjectInternalContentHint | null | undefined;
comment?: string | undefined;
customEnvironmentIds?: Array<string> | undefined;
};
/**
* The type of environment (production, preview, or development)
*/
export declare const GetProjectProjectsType: {
readonly Development: "development";
readonly Preview: "preview";
readonly Production: "production";
};
/**
* The type of environment (production, preview, or development)
*/
export type GetProjectProjectsType = ClosedEnum<typeof GetProjectProjectsType>;
/**
* The type of matching to perform
*/
export declare const GetProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType: {
readonly EndsWith: "endsWith";
readonly Equals: "equals";
readonly StartsWith: "startsWith";
};
/**
* The type of matching to perform
*/
export type GetProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType = ClosedEnum<typeof GetProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType>;
/**
* Configuration for matching git branches to this environment
*/
export type GetProjectBranchMatcher = {
/**
* The type of matching to perform
*/
type: GetProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType;
/**
* 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 GetProjectVerification = {
type: string;
domain: string;
value: string;
reason: string;
};
/**
* List of domains associated with this environment
*/
export type GetProjectDomains = {
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<GetProjectVerification> | undefined;
};
/**
* Internal representation of a custom environment with all required properties
*/
export type GetProjectCustomEnvironments = {
/**
* 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: GetProjectProjectsType;
/**
* Optional description of the environment's purpose
*/
description?: string | undefined;
/**
* Configuration for matching git branches to this environment
*/
branchMatcher?: GetProjectBranchMatcher | undefined;
/**
* List of domains associated with this environment
*/
domains?: Array<GetProjectDomains> | undefined;
/**
* List of aliases for the current deployment
*/
currentDeploymentAliases?: Array<string> | undefined;
/**
* Timestamp when the environment was created
*/
createdAt: number;
/**
* Timestamp when the environment was last updated
*/
updatedAt: number;
};
export declare const GetProjectFramework: {
readonly ActixWeb: "actix-web";
readonly Angular: "angular";
readonly Ash: "ash";
readonly Astro: "astro";
readonly Axum: "axum";
readonly Blitzjs: "blitzjs";
readonly Brunch: "brunch";
readonly Bun: "bun";
readonly Container: "container";
readonly CreateReactApp: "create-react-app";
readonly Django: "django";
readonly Docusaurus: "docusaurus";
readonly Docusaurus2: "docusaurus-2";
readonly Dojo: "dojo";
readonly Eleventy: "eleventy";
readonly Elysia: "elysia";
readonly Ember: "ember";
readonly Eve: "eve";
readonly Express: "express";
readonly FactoryEve: "factory-eve";
readonly Fastapi: "fastapi";
readonly Fasthtml: "fasthtml";
readonly Fastify: "fastify";
readonly Flask: "flask";
readonly Gatsby: "gatsby";
readonly Go: "go";
readonly Gridsome: "gridsome";
readonly H3: "h3";
readonly Hexo: "hexo";
readonly Hono: "hono";
readonly Hugo: "hugo";
readonly Hydrogen: "hydrogen";
readonly IonicAngular: "ionic-angular";
readonly IonicReact: "ionic-react";
readonly Jekyll: "jekyll";
readonly Koa: "koa";
readonly Mastra: "mastra";
readonly Middleman: "middleman";
readonly Nestjs: "nestjs";
readonly Nextjs: "nextjs";
readonly Nitro: "nitro";
readonly Node: "node";
readonly Nuxtjs: "nuxtjs";
readonly Parcel: "parcel";
readonly Polymer: "polymer";
readonly Preact: "preact";
readonly Python: "python";
readonly ReactRouter: "react-router";
readonly Redwoodjs: "redwoodjs";
readonly Remix: "remix";
readonly Ruby: "ruby";
readonly Rust: "rust";
readonly Saber: "saber";
readonly Sanity: "sanity";
readonly SanityV2: "sanity-v2";
readonly Sapper: "sapper";
readonly Scully: "scully";
readonly Services: "services";
readonly Solidstart: "solidstart";
readonly Solidstart1: "solidstart-1";
readonly Stencil: "stencil";
readonly Storybook: "storybook";
readonly Svelte: "svelte";
readonly Sveltekit: "sveltekit";
readonly Sveltekit1: "sveltekit-1";
readonly TanstackStart: "tanstack-start";
readonly TanstackStartLovable: "tanstack-start-lovable";
readonly Umijs: "umijs";
readonly Vite: "vite";
readonly Vitepress: "vitepress";
readonly Vue: "vue";
readonly Vuepress: "vuepress";
readonly Xmcp: "xmcp";
readonly Zola: "zola";
};
export type GetProjectFramework = ClosedEnum<typeof GetProjectFramework>;
/**
* Service kind (Service.type). Omitted for schemas that do not define one.
*/
export declare const GetProjectServiceType: {
readonly Cron: "cron";
readonly Job: "job";
readonly Web: "web";
readonly Worker: "worker";
};
/**
* Service kind (Service.type). Omitted for schemas that do not define one.
*/
export type GetProjectServiceType = ClosedEnum<typeof GetProjectServiceType>;
/**
* Framework slug, when the service has one (omitted otherwise).
*/
export declare const GetProjectProjectsFramework: {
readonly ActixWeb: "actix-web";
readonly Angular: "angular";
readonly Ash: "ash";
readonly Astro: "astro";
readonly Axum: "axum";
readonly Blitzjs: "blitzjs";
readonly Brunch: "brunch";
readonly Bun: "bun";
readonly Container: "container";
readonly CreateReactApp: "create-react-app";
readonly Django: "django";
readonly Docusaurus: "docusaurus";
readonly Docusaurus2: "docusaurus-2";
readonly Dojo: "dojo";
readonly Eleventy: "eleventy";
readonly Elysia: "elysia";
readonly Ember: "ember";
readonly Eve: "eve";
readonly Express: "express";
readonly FactoryEve: "factory-eve";
readonly Fastapi: "fastapi";
readonly Fasthtml: "fasthtml";
readonly Fastify: "fastify";
readonly Flask: "flask";
readonly Gatsby: "gatsby";
readonly Go: "go";
readonly Gridsome: "gridsome";
readonly H3: "h3";
readonly Hexo: "hexo";
readonly Hono: "hono";
readonly Hugo: "hugo";
readonly Hydrogen: "hydrogen";
readonly IonicAngular: "ionic-angular";
readonly IonicReact: "ionic-react";
readonly Jekyll: "jekyll";
readonly Koa: "koa";
readonly Mastra: "mastra";
readonly Middleman: "middleman";
readonly Nestjs: "nestjs";
readonly Nextjs: "nextjs";
readonly Nitro: "nitro";
readonly Node: "node";
readonly Nuxtjs: "nuxtjs";
readonly Parcel: "parcel";
readonly Polymer: "polymer";
readonly Preact: "preact";
readonly Python: "python";
readonly ReactRouter: "react-router";
readonly Redwoodjs: "redwoodjs";
readonly Remix: "remix";
readonly Ruby: "ruby";
readonly Rust: "rust";
readonly Saber: "saber";
readonly Sanity: "sanity";
readonly SanityV2: "sanity-v2";
readonly Sapper: "sapper";
readonly Scully: "scully";
readonly Services: "services";
readonly Solidstart: "solidstart";
readonly Solidstart1: "solidstart-1";
readonly Stencil: "stencil";
readonly Storybook: "storybook";
readonly Svelte: "svelte";
readonly Sveltekit: "sveltekit";
readonly Sveltekit1: "sveltekit-1";
readonly TanstackStart: "tanstack-start";
readonly TanstackStartLovable: "tanstack-start-lovable";
readonly Umijs: "umijs";
readonly Vite: "vite";
readonly Vitepress: "vitepress";
readonly Vue: "vue";
readonly Vuepress: "vuepress";
readonly Xmcp: "xmcp";
readonly Zola: "zola";
};
/**
* Framework slug, when the service has one (omitted otherwise).
*/
export type GetProjectProjectsFramework = ClosedEnum<typeof GetProjectProjectsFramework>;
export type GetProjectServices = {
/**
* Service name from the deployment (Service.name).
*/
serviceName: string;
/**
* Service kind (Service.type). Omitted for schemas that do not define one.
*/
serviceType?: GetProjectServiceType | undefined;
/**
* Framework slug, when the service has one (omitted otherwise).
*/
framework?: GetProjectProjectsFramework | undefined;
/**
* Generic runtime, e.g. 'node' | 'python' | 'go' | 'ruby' | 'rust' (Service.runtime). Omitted for static builds.
*/
runtime?: string | undefined;
};
export type GetProjectIpBuckets = {
bucket: string;
default?: boolean | undefined;
supportUntil?: number | undefined;
};
export type GetProjectLint = {
targets: Array<string>;
};
export type GetProjectTypecheck = {
targets: Array<string>;
};
export type GetProjectMfeConfigPresent = {
targets: Array<string>;
};
export type GetProjectJobs = {
lint?: GetProjectLint | undefined;
typecheck?: GetProjectTypecheck | undefined;
mfeConfigPresent?: GetProjectMfeConfigPresent | undefined;
};
export type GetProjectAliasAssigned = number | boolean;
export type GetProjectAliasError = {
code: string;
message: string;
};
/**
* The type of matching to perform
*/
export declare const GetProjectProjectsResponse200ApplicationJSONResponseBodyType: {
readonly EndsWith: "endsWith";
readonly Equals: "equals";
readonly StartsWith: "startsWith";
};
/**
* The type of matching to perform
*/
export type GetProjectProjectsResponse200ApplicationJSONResponseBodyType = ClosedEnum<typeof GetProjectProjectsResponse200ApplicationJSONResponseBodyType>;
export type GetProjectProjectsBranchMatcher = {
/**
* The type of matching to perform
*/
type: GetProjectProjectsResponse200ApplicationJSONResponseBodyType;
/**
* The pattern to match against branch names
*/
pattern: string;
};
export type GetProjectBuilds = {
use: string;
src?: string | undefined;
dest?: string | undefined;
};
export declare const GetProjectChecksConclusion: {
readonly Canceled: "canceled";
readonly Failed: "failed";
readonly Skipped: "skipped";
readonly Succeeded: "succeeded";
};
export type GetProjectChecksConclusion = ClosedEnum<typeof GetProjectChecksConclusion>;
export declare const GetProjectChecksState: {
readonly Completed: "completed";
readonly Registered: "registered";
readonly Running: "running";
};
export type GetProjectChecksState = ClosedEnum<typeof GetProjectChecksState>;
export type GetProjectProjectsCreator = {
email: string;
githubLogin?: string | undefined;
gitlabLogin?: string | undefined;
uid: string;
username: string;
};
export type GetProjectOidcTokenClaims = {
iss: string;
sub: string;
scope: string;
aud: string;
owner: string;
ownerId: string;
project: string;
projectId: string;
environment: string;
customEnvironmentId?: string | undefined;
mfeGroupIds?: Array<string> | undefined;
plan?: string | undefined;
};
export declare const GetProjectPlan: {
readonly Enterprise: "enterprise";
readonly Hobby: "hobby";
readonly Pro: "pro";
};
export type GetProjectPlan = ClosedEnum<typeof GetProjectPlan>;
export declare const GetProjectReadyState: {
readonly Blocked: "BLOCKED";
readonly Building: "BUILDING";
readonly Canceled: "CANCELED";
readonly Error: "ERROR";
readonly Initializing: "INITIALIZING";
readonly Queued: "QUEUED";
readonly Ready: "READY";
};
export type GetProjectReadyState = ClosedEnum<typeof GetProjectReadyState>;
export declare const GetProjectReadySubstate: {
readonly Promoted: "PROMOTED";
readonly Rolling: "ROLLING";
readonly Staged: "STAGED";
};
export type GetProjectReadySubstate = ClosedEnum<typeof GetProjectReadySubstate>;
export declare const GetProjectProjectsResponseType: {
readonly Lambdas: "LAMBDAS";
};
export type GetProjectProjectsResponseType = ClosedEnum<typeof GetProjectProjectsResponseType>;
export type GetProjectLatestDeployments = {
id: string;
alias?: Array<string> | undefined;
aliasAssigned?: number | boolean | null | undefined;
aliasError?: GetProjectAliasError | null | undefined;
aliasFinal?: string | null | undefined;
automaticAliases?: Array<string> | undefined;
branchMatcher?: GetProjectProjectsBranchMatcher | undefined;
buildingAt?: number | undefined;
builds?: Array<GetProjectBuilds> | undefined;
checksConclusion?: GetProjectChecksConclusion | undefined;
checksState?: GetProjectChecksState | undefined;
connectBuildsEnabled?: boolean | undefined;
connectConfigurationId?: string | undefined;
createdAt: number;
createdIn: string;
creator: GetProjectProjectsCreator | null;
deletedAt?: number | undefined;
deploymentHostname: string;
forced?: boolean | undefined;
name: string;
meta?: {
[k: string]: string;
} | undefined;
monorepoManager?: string | null | undefined;
oidcTokenClaims?: GetProjectOidcTokenClaims | undefined;
plan: GetProjectPlan;
/**
* Whether or not preview comments are enabled for the deployment
*/
previewCommentsEnabled?: boolean | undefined;
private: boolean;
readyAt?: number | undefined;
readyState: GetProjectReadyState;
readySubstate?: GetProjectReadySubstate | undefined;
requestedAt?: number | undefined;
target?: string | null | undefined;
teamId?: string | null | undefined;
type: GetProjectProjectsResponseType;
url: string;
/**
* Present for user creators; omitted for app/integration/system creators.
*/
userId?: string | undefined;
withCache?: boolean | undefined;
};
export type GetProjectLinkProjectsResponse200ApplicationJSONResponseBody8DeployHooks = {
createdAt?: number | undefined;
id: string;
name: string;
ref: string;
url: string;
};
export type GetProjectLink8 = {
/**
* Owner (namespace) slug, e.g. `acme`.
*/
owner: string;
repo: string;
/**
* Origin repository id.
*/
repoId: string;
/**
* Origin namespace id (`ns_…`) of the owner.
*/
ownerId: string;
type: "cursor-origin";
createdAt?: number | undefined;
deployHooks: Array<GetProjectLinkProjectsResponse200ApplicationJSONResponseBody8DeployHooks>;
gitCredentialId: string;
updatedAt?: number | undefined;
sourceless?: boolean | undefined;
productionBranch: string;
};
export type GetProjectLinkProjectsResponse200ApplicationJSONResponseBody7DeployHooks = {
createdAt?: number | undefined;
id: string;
name: string;
ref: string;
url: string;
};
export type GetProjectLink7 = {
org: string;
repo: string;
repoId: string;
type: "v0";
createdAt?: number | undefined;
deployHooks: Array<GetProjectLinkProjectsResponse200ApplicationJSONResponseBody7DeployHooks>;
gitCredentialId: string;
updatedAt?: number | undefined;
sourceless?: boolean | undefined;
productionBranch: string;
};
export type GetProjectLinkProjectsResponse200ApplicationJSONResponseBodyDeployHooks = {
createdAt?: number | undefined;
id: string;
name: string;
ref: string;
url: string;
};
export type GetProjectLink6 = {
org: string;
repo: string;
repoId: string;
type: "vercel";
createdAt?: number | undefined;
deployHooks: Array<GetProjectLinkProjectsResponse200ApplicationJSONResponseBodyDeployHooks>;
gitCredentialId: string;
updatedAt?: number | undefined;
sourceless?: boolean | undefined;
productionBranch: string;
};
export type GetProjectLinkProjectsResponse200ApplicationJSONDeployHooks = {
createdAt?: number | undefined;
id: string;
name: string;
ref: string;
url: string;
};
export type GetProjectLink5 = {
name: string;
slug: string;
owner: string;
type: "bitbucket";
uuid: string;
workspaceUuid: string;
createdAt?: number | undefined;
deployHooks: Array<GetProjectLinkProjectsResponse200ApplicationJSONDeployHooks>;
gitCredentialId: string;
updatedAt?: number | undefined;
sourceless?: boolean | undefined;
productionBranch: string;
};
export type GetProjectLinkProjectsResponse200DeployHooks = {
createdAt?: number | undefined;
id: string;
name: string;
ref: string;
url: string;
};
export type GetProjectLink4 = {
projectId: string;
projectName: string;
projectNameWithNamespace: string;
projectNamespace: string;
/**
* A new field, should be included in all new project links, is being added just in time when a deployment is created. This is needed for Protected Git scopes. This is the id of the top level group that a namespace belongs to. Gitlab supports group nesting (up to 20 levels).
*/
projectOwnerId?: number | undefined;
projectUrl: string;
type: "gitlab";
createdAt?: number | undefined;
deployHooks: Array<GetProjectLinkProjectsResponse200DeployHooks>;
gitCredentialId: string;
updatedAt?: number | undefined;
sourceless?: boolean | undefined;
productionBranch: string;
};
export type GetProjectLinkProjectsResponseDeployHooks = {
createdAt?: number | undefined;
id: string;
name: string;
ref: string;
url: string;
};
export type GetProjectLink3 = {
org: string;
/**
* A new field, should be included in all new project links, is being added just in time when a deployment is created. This is needed for Protected Git scopes.
*/
repoOwnerId?: number | undefined;
repo?: string | undefined;
repoId?: number | undefined;
type: "github-custom-host";
host: string;
createdAt?: number | undefined;
deployHooks: Array<GetProjectLinkProjectsResponseDeployHooks>;
gitCredentialId: string;
updatedAt?: number | undefined;
sourceless?: boolean | undefined;
productionBranch: string;
};
export type GetProjectLinkProjectsDeployHooks = {
createdAt?: number | undefined;
id: string;
name: string;
ref: string;
url: string;
};
export type GetProjectLink2 = {
type: "github-limited";
repo?: string | undefined;
repoId?: number | undefined;
createdAt?: number | undefined;
updatedAt?: number | undefined;
org: string;
/**
* A new field, should be included in all new project links, is being added just in time when a deployment is created. This is needed for Protected Git scopes.
*/
repoOwnerId?: number | undefined;
deployHooks: Array<GetProjectLinkProjectsDeployHooks>;
gitCredentialId: string;
sourceless?: boolean | undefined;
productionBranch: string;
};
export type GetProjectLinkDeployHooks = {
createdAt?: number | undefined;
id: string;
name: string;
ref: string;
url: string;
};
export type GetProjectLink1 = {
org: string;
/**
* A new field, should be included in all new project links, is being added just in time when a deployment is created. This is needed for Protected Git scopes.
*/
repoOwnerId?: number | undefined;
repo?: string | undefined;
repoId?: number | undefined;
type: "github";
createdAt?: number | undefined;
deployHooks: Array<GetProjectLinkDeployHooks>;
gitCredentialId: string;
updatedAt?: number | undefined;
sourceless?: boolean | undefined;
productionBranch: string;
};
export type GetProjectLink = GetProjectLink1 | GetProjectLink2 | GetProjectLink3 | GetProjectLink4 | GetProjectLink5 | GetProjectLink6 | GetProjectLink7 | GetProjectLink8;
export type GetProjectBlobs = {
/**
* Marks the team-level, Vercel-managed default blob project (`vercel-blob-default-project`) that orphan blob stores are scoped to when connected without an explicit project. Set only by internal storage flows and immutable after creation — guards rely on it to protect the connected stores from being lost when the project is deleted or transferred.
*/
isDefaultApp?: boolean | undefined;
};
export type GetProjectMicrofrontends3 = {
updatedAt: number;
groupIds: Array<any>;
enabled: false;
freeProjectForLegacyLimits?: boolean | undefined;
};
export type GetProjectMicrofrontends2 = {
isDefaultApp?: false | undefined;
/**
* Whether observability data should be routed to this microfrontend project or a root project.
*/
routeObservabilityToThisProject?: boolean | undefined;
/**
* Whether to add microfrontends routing to aliases. This means domains in this project will route as a microfrontend.
*/
doNotRouteWithMicrofrontendsRouting?: boolean | undefined;
/**
* Timestamp when the microfrontends settings were last updated.
*/
updatedAt: number;
/**
* The group IDs of microfrontends that this project belongs to. Each microfrontend project must belong to a microfrontends group that is the set of microfrontends that are used together.
*/
groupIds: Array<string>;
/**
* Whether microfrontends are enabled for this project.
*/
enabled: true;
/**
* A path that is used to take screenshots and as the default path in preview links when a domain for this microfrontend is shown in the UI. Includes the leading slash, e.g. `/docs`
*/
defaultRoute?: string | undefined;
/**
* Whether the project was part of the legacy limits for hobby and pro-trial before billing was added. This field is only set when the team is upgraded to a paid plan and we are backfilling the subscription status. We cap the subscription to 2 projects and set this field for the 3rd project. When this field is set, the project is not charged for and we do not call any billing APIs for this project.
*/
freeProjectForLegacyLimits?: boolean | undefined;
};
export type GetProjectMicrofrontends1 = {
isDefaultApp: true;
/**
* Timestamp when the microfrontends settings were last updated.
*/
updatedAt: number;
/**
* The group IDs of microfrontends that this project belongs to. Each microfrontend project must belong to a microfrontends group that is the set of microfrontends that are used together.
*/
groupIds: Array<string>;
/**
* Whether microfrontends are enabled for this project.
*/
enabled: true;
/**
* A path that is used to take screenshots and as the default path in preview links when a domain for this microfrontend is shown in the UI. Includes the leading slash, e.g. `/docs`
*/
defaultRoute?: string | undefined;
/**
* Whether the project was part of the legacy limits for hobby and pro-trial before billing was added. This field is only set when the team is upgraded to a paid plan and we are backfilling the subscription status. We cap the subscription to 2 projects and set this field for the 3rd project. When this field is set, the project is not charged for and we do not call any billing APIs for this project.
*/
freeProjectForLegacyLimits?: boolean | undefined;
};
export type GetProjectMicrofrontends = GetProjectMicrofrontends1 | GetProjectMicrofrontends2 | GetProjectMicrofrontends3;
export declare const GetProjectNodeVersion: {
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 GetProjectNodeVersion = ClosedEnum<typeof GetProjectNodeVersion>;
export type GetProjectPaths = {
value: string;
};
export type GetProjectOptionsAllowlist = {
paths: Array<GetProjectPaths>;
};
export type GetProjectPasswordProtection = {};
export declare const GetProjectDeploymentType: {
readonly All: "all";
readonly AllExceptCustomDomains: "all_except_custom_domains";
readonly Preview: "preview";
readonly ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews";
};
export type GetProjectDeploymentType = ClosedEnum<typeof GetProjectDeploymentType>;
export type GetProjectPassport = {
deploymentType: GetProjectDeploymentType;
connectorId: string;
};
export type GetProjectSandboxUrls = {
inheritDeploymentProtection?: boolean | undefined;
};
export type GetProjectProtectionConfig = {
sandboxUrls?: GetProjectSandboxUrls | undefined;
};
export declare const GetProjectRegion: {
readonly Arn1: "arn1";
readonly Bom1: "bom1";
readonly Cdg1: "cdg1";
readonly Cle1: "cle1";
readonly Cpt1: "cpt1";
readonly Dub1: "dub1";
readonly Fra1: "fra1";
readonly Gru1: "gru1";
readonly Hkg1: "hkg1";
readonly Hnd1: "hnd1";
readonly Iad1: "iad1";
readonly Icn1: "icn1";
readonly Kix1: "kix1";
readonly Lhr1: "lhr1";
readonly Pdx1: "pdx1";
readonly Sfo1: "sfo1";
readonly Sin1: "sin1";
readonly Syd1: "syd1";
readonly Yul1: "yul1";
};
export type GetProjectRegion = ClosedEnum<typeof GetProjectRegion>;
export declare const GetProjectFailoverRegions: {
readonly Arn1: "arn1";
readonly Bom1: "bom1";
readonly Cdg1: "cdg1";
readonly Cle1: "cle1";
readonly Cpt1: "cpt1";
readonly Dub1: "dub1";
readonly Fra1: "fra1";
readonly Gru1: "gru1";
readonly Hkg1: "hkg1";
readonly Hnd1: "hnd1";
readonly Iad1: "iad1";
readonly Icn1: "icn1";
readonly Kix1: "kix1";
readonly Lhr1: "lhr1";
readonly Pdx1: "pdx1";
readonly Sfo1: "sfo1";
readonly Sin1: "sin1";
readonly Syd1: "syd1";
readonly Yul1: "yul1";
};
export type GetProjectFailoverRegions = ClosedEnum<typeof GetProjectFailoverRegions>;
export type GetProjectSandbox = {
region?: GetProjectRegion | undefined;
failoverRegions?: Array<GetProjectFailoverRegions> | undefined;
};
export declare const GetProjectFunctionDefaultMemoryType: {
readonly Performance: "performance";
readonly PerformanceXl: "performance_xl";
readonly Standard: "standard";
readonly StandardLegacy: "standard_legacy";
};
export type GetProjectFunctionDefaultMemoryType = ClosedEnum<typeof GetProjectFunctionDefaultMemoryType>;
export declare const GetProjectBuildMachineType: {
readonly Basic: "basic";
readonly Enhanced: "enhanced";
readonly Standard: "standard";
readonly Turbo: "turbo";
};
export type GetProjectBuildMachineType = ClosedEnum<typeof GetProjectBuildMachineType>;
export declare const GetProjectBuildMachineSelection: {
readonly Elastic: "elastic";
readonly Fixed: "fixed";
};
export type GetProjectBuildMachineSelection = ClosedEnum<typeof GetProjectBuildMachineSelection>;
export declare const GetProjectBuildMachineElasticReason: {
readonly BasicFloor: "basic-floor";
readonly BuildTimeoutFailure: "build-timeout-failure";
readonly EnospcFailure: "enospc-failure";
readonly EnterpriseFloor: "enterprise-floor";
readonly HighPeakDisk: "high-peak-disk";
readonly HighPeakMemory: "high-peak-memory";
readonly LongBuildDuration: "long-build-duration";
readonly OomFailure: "oom-failure";
readonly ShortBuildDuration: "short-build-duration";
readonly SustainedHighCpu: "sustained-high-cpu";
};
export type GetProjectBuildMachineElasticReason = ClosedEnum<typeof GetProjectBuildMachineElasticReason>;
export declare const GetProjectConfiguration: {
readonly SkipNamespaceQueue: "SKIP_NAMESPACE_QUEUE";
readonly WaitForNamespaceQueue: "WAIT_FOR_NAMESPACE_QUEUE";
};
export type GetProjectConfiguration = ClosedEnum<typeof GetProjectConfiguration>;
export type GetProjectBuildQueue = {
configuration?: GetProjectConfiguration | undefined;
};
export type GetProjectResourceConfig = {
elasticConcurrencyEnabled?: boolean | undefined;
fluid?: boolean | undefined;
functionDefaultRegions: Array<string>;
functionDefaultTimeout?: number | undefined;
functionDefaultMemoryType?: GetProjectFunctionDefaultMemoryType | undefined;
functionZeroConfigFailover?: boolean | undefined;
buildMachineType?: GetProjectBuildMachineType | undefined;
buildMachineSelection?: GetProjectBuildMachineSelection | undefined;
buildMachineElasticLastUpdated?: number | undefined;
buildMachineElasticReason?: GetProjectBuildMachineElasticReason | undefined;
isNSNBDisabled?: boolean | undefined;
buildQueue?: GetProjectBuildQueue | undefined;
enableFunctionsBeta?: boolean | undefined;
};
/**
* Description of why a project was rolled back, and by whom. Note that lastAliasRequest contains the from/to details of the rollback.
*/
export type GetProjectRollbackDescription = {
/**
* The user who rolled back the project.
*/
userId: string;
/**
* The username of the user who rolled back the project.
*/
username: string;
/**
* User-supplied explanation of why they rolled back the project. Limited to 250 characters.
*/
description: string;
/**
* Timestamp of when the rollback was requested.
*/
createdAt: number;
};
/**
* An array of all the stages required during a deployment release. Each stage defines a target percentage and advancement rules. The final stage must always have targetPercentage: 100.
*/
export type GetProjectStages = {
/**
* The percentage of traffic to serve to the canary deployment (0-100)
*/
targetPercentage: number;
/**
* Whether or not this stage requires manual approval to proceed
*/
requireApproval?: boolean | undefined;
/**
* Duration in minutes for automatic advancement to the next stage
*/
duration?: number | undefined;
/**
* Whether to linearly shift traffic over the duration of this stage
*/
linearShift?: boolean | undefined;
};
/**
* The metric this check evaluates.
*/
export declare const GetProjectProjectsResponse200ApplicationJSONResponseBodyRollingReleaseType: {
readonly ErrorRate5xx: "error-rate-5xx";
};
/**
* The metric this check evaluates.
*/
export type GetProjectProjectsResponse200ApplicationJSONResponseBodyRollingReleaseType = ClosedEnum<typeof GetProjectProjectsResponse200ApplicationJSONResponseBodyRollingReleaseType>;
/**
* The checks to evaluate. An empty array means nothing is evaluated.
*/
export type GetProjectChecks = {
/**
* The metric this check evaluates.
*/
type: GetProjectProjectsResponse200ApplicationJSONResponseBodyRollingReleaseType;
/**
* Minimum number of requests required in the window before the check can fail. Below this, the check is inconclusive rather than failing, so low-traffic stages don't gate on noise. Defaults to `100` when omitted.
*/
minSampleSize?: number | undefined;
/**
* Response status codes to ignore entirely — dropped from both the numerator (errors) and the denominator (total requests). Defaults to `[]` when omitted.
*/
excludeStatusCodes?: Array<number> | undefined;
/**
* Request paths to ignore entirely — dropped from both the numerator (errors) and the denominator (total requests). Matched exactly against the request path with any query string removed; no prefix or glob matching. Defaults to `[]` when omitted.
*/
excludePaths?: Array<string> | undefined;
/**
* Seconds of ingest lag to allow for: the query's upper bound is `now() - this value`, so the check never reads a window that is still filling. Defaults to `30` when omitted.
*/
ingestWatermarkSeconds?: number | undefined;
};
/**
* What to do when the gate trips: pause the rollout, or roll it back.
*/
export declare const GetProjectProjectsResponse200ApplicationJSONAction: {
readonly Pause: "pause";
readonly Rollback: "rollback";
};
/**
* What to do when the gate trips: pause the rollout, or roll it back.
*/
export type GetProjectProjectsResponse200ApplicationJSONAction = ClosedEnum<typeof GetProjectProjectsResponse200ApplicationJSONAction>;
/**
* Automated gating configuration. Omitted (the default) means no gating is configured, which is equivalent to `enabled: false`.
*/
export type GetProjectGate = {
/**
* Whether automated gating is enabled for this project's rollouts.
*/
enabled: boolean;
/**
* The checks to evaluate. An empty array means nothing is evaluated.
*/
checks: Array<GetProjectChecks>;
/**
* How many failing evaluations within {@link windowSize} trip the gate. Defaults to `3` when omitted.
*/
failureThreshold?: number | undefined;
/**
* How many of the most recent evaluations {@link failureThreshold} is counted against. Defaults to `5` when omitted.
*/
windowSize?: number | undefined;
/**
* What to do when the gate trips: pause the rollout, or roll it back.
*/
action: GetProjectProjectsResponse200ApplicationJSONAction;
/**
* When true, a tripped gate is only reported — {@link action} is not taken.
*/
dryRun: boolean;
};
/**
* Project-level rolling release configuration that defines how deployments should be gradually rolled out
*/
export type GetProjectRollingRelease = {
/**
* The environment that the release targets, currently only supports production. Adding in case we want to configure with alias groups or custom environments.
*/
target: string;
/**
* An array of all the stages required during a deployment release. Each stage defines a target percentage and advancement rules. The final stage must always have targetPercentage: 100.
*/
stages?: Array<GetProjectStages> | null | undefined;
/**
* Whether the request served by a canary deployment should return a header indicating a canary was served. Defaults to `false` when omitted.
*/
canaryResponseHeader?: boolean | undefined;
/**
* Automated gating configuration. Omitted (the default) means no gating is configured, which is equivalent to `enabled: false`.
*/
gate?: GetProjectGate | undefined;
};
/** @internal */
export type GetProjectRequest$Outbound = {
idOrName: string;
teamId?: string | undefined;
slug?: string | undefined;
};
/** @internal */
export declare const GetProjectRequest$outboundSchema: z.ZodType<GetProjectRequest$Outbound, z.ZodTypeDef, GetProjectRequest>;
export declare function getProjectRequestToJSON(getProjectRequest: GetProjectRequest): string;
/** @internal */
export declare const GetProjectResources$inboundSchema: z.ZodType<GetProjectResources, z.ZodTypeDef, unknown>;
export declare function getProjectResourcesFromJSON(jsonString: string): SafeParseResult<GetProjectResources, SDKValidationError>;
/** @internal */
export declare const GetProjectIntegrations$inboundSchema: z.ZodType<GetProjectIntegrations, z.ZodTypeDef, unknown>;
export declare function getProjectIntegrationsFromJSON(jsonString: string): SafeParseResult<GetProjectIntegrations, SDKValidationError>;
/** @internal */
export declare const GetProjectCreator4$inboundSchema: z.ZodType<GetProjectCreator4, z.ZodTypeDef, unknown>;
export declare function getProjectCreator4FromJSON(jsonString: string): SafeParseResult<GetProjectCreator4, SDKValidationError>;
/** @internal */
export declare const GetProjectCreatorIntegration$inboundSchema: z.ZodType<GetProjectCreatorIntegration, z.ZodTypeDef, unknown>;
export declare function getProjectCreatorIntegrationFromJSON(jsonString: string): SafeParseResult<GetProjectCreatorIntegration, SDKValidationError>;
/** @internal */
export declare const GetProjectCreator3$inboundSchema: z.ZodType<GetProjectCreator3, z.ZodTypeDef, unknown>;
export declare function getProjectCreator3FromJSON(jsonString: string): SafeParseResult<GetProjectCreator3, SDKValidationError>;
/** @internal */
export declare const GetProjectCreatorApp$inboundSchema: z.ZodType<GetProjectCreatorApp, z.ZodTypeDef, unknown>;
export declare function getProjectCreatorAppFromJSON(jsonString: string): SafeParseResult<GetProjectCreatorApp, SDKValidationError>;
/** @internal */
export declare const GetProjectCreator2$inboundSchema: z.ZodType<GetProjectCreator2, z.ZodTypeDef, unknown>;
export declare function getProjectCreator2FromJSON(jsonString: string): SafeParseResult<GetProjectCreator2, SDKValidationError>;
/** @internal */
export declare const GetProjectViaIntegration$inboundSchema: z.ZodType<GetProjectViaIntegration, z.ZodTypeDef, unknown>;
export declare function getProjectViaIntegrationFromJSON(jsonString: string): SafeParseResult<GetProjectViaIntegration, SDKValidationError>;
/** @internal */
export declare const GetProjectVia2$inboundSchema: z.ZodType<GetProjectVia2, z.ZodTypeDef, unknown>;
export declare function getProjectVia2FromJSON(jsonString: string): SafeParseResult<GetProjectVia2, SDKValidationError>;
/** @internal */
export declare const GetProjectViaApp$inboundSchema: z.ZodType<GetProjectViaApp, z.ZodTypeDef, unknown>;
export declare function getProjectViaAppFromJSON(jsonString: string): SafeParseResult<GetProjectViaApp, SDKValidationError>;
/** @internal */
export declare const GetProjectVia1$inboundSchema: z.ZodType<GetProjectVia1, z.ZodTypeDef, unknown>;
export declare function getProjectVia1FromJSON(jsonString: string): SafeParseResult<GetProjectVia1, SDKValidationError>;
/** @internal */
export declare const GetProjectCreatorVia$inboundSchema: z.ZodType<GetProjectCreatorVia, z.ZodTypeDef, unknown>;
export declare function getProjectCreatorViaFromJSON(jsonString: string): SafeParseResult<GetProjectCreatorVia, SDKValidationError>;
/** @internal */
export declare const GetProjectCreatorUser$inboundSchema: z.ZodType<GetProjectCreatorUser, z.ZodTypeDef, unknown>;
export declare function getProjectCreatorUserFromJSON(jsonString: string): SafeParseResult<GetProjectCreatorUser, SDKValidationError>;
/** @internal */
export declare const GetProjectCreator1$inboundSchema: z.ZodType<GetProjectCreator1, z.ZodTypeDef, unknown>;
export declare function getProjectCreator1FromJSON(jsonString: string): SafeParseResult<GetProjectCreator1, SDKValidationError>;
/** @internal */
export declare const GetProjectCreator$inboundSchema: z.ZodType<GetProjectCreator, z.ZodTypeDef, unknown>;
export declare function getProjectCreatorFromJSON(jsonString: string): SafeParseResult<GetProjectCreator, SDKValidationError>;
/** @internal */
export declare const GetProjectConfiguredBy$inboundSchema: z.ZodNativeEnum<typeof GetProjectConfiguredBy>;
/** @internal */
export declare const GetProjectProjectsResponseAliasAssigned$inboundSchema: z.ZodType<GetProjectProjectsResponseAliasAssigned, z.ZodTypeDef, unknown>;
export declare function getProjectProjectsResponseAliasAssignedFromJSON(jsonString: string): SafeParseResult<GetProjectProjectsResponseAliasAssigned, SDKValidationError>;
/** @internal */
export declare const GetProjectProjectsResponseAliasError$inboundSchema: z.ZodType<GetProjectProjectsResponseAliasError, z.ZodTypeDef, unknown>;
export declare function getProjectProjectsResponseAliasErrorFromJSON(jsonString: string): SafeParseResult<GetProjectProjectsResponseAliasError, SDKValidationError>;
/** @internal */
export declare const GetProjectProjectsResponse200ApplicationJSONResponseBodyAliasDeploymentType$inboundSchema: z.ZodNativeEnum<typeof GetProjectProjectsResponse200ApplicationJSONResponseBodyAliasDeploymentType>;
/** @internal */
export declare const GetProjectProjectsResponse200BranchMatcher$inboundSchema: z.ZodType<GetProjectProjectsResponse200BranchMatcher, z.ZodTypeDef, unknown>;
export declare function getProjectProjectsResponse200BranchMatcherFromJSON(jsonString: string): SafeParseResult<GetProjectProjectsResponse200BranchMatcher, SDKValidationError>;
/** @internal */
export declare const GetProjectProjectsResponseBuilds$inboundSchema: z.ZodType<GetProjectProjectsResponseBuilds, z.ZodTypeDef, unknown>;
export declare function getProjectProjectsResponseBuildsFromJSON(jsonString: string): SafeParseResult<GetProjectProjectsResponseBuilds, SDKValidationError>;
/** @internal */
export declare const GetProjectProjectsResponseChecksConclusion$inboundSchema: z.ZodNativeEnum<typeof GetProjectProjectsResponseChecksConclusion>;
/** @internal */
export declare const GetProjectProjectsResponseChecksState$inboundSchema: z.ZodNativeEnum<typeof GetProjectProjectsResponseChecksState>;
/** @internal */
export declare const GetProjectProjectsResponse200Creator$inboundSchema: z.ZodType<GetProjectProjectsResponse200Creator, z.ZodTypeDef, unknown>;
export declare function getProjectProjectsResponse200CreatorFromJSON(jsonString: string): SafeParseResult<GetProjectProjectsResponse200Creator, SDKValidationError>;
/** @internal */
export declare const GetProjectProjectsResponseOidcTokenClaims$inboundSchema: z.ZodType<GetProjectProjectsResponseOidcTokenClaims, z.ZodTypeDef, unknown>;
export declare function getProjectProjectsResponseOidcTokenClaimsFromJSON(jsonString: string): SafeParseResult<GetProjectProjectsResponseOidcTokenClaims, SDKValidationError>;
/** @internal */
export declare const GetProjectProjectsResponsePlan$inboundSchema: z.ZodNativeEnum<typeof GetProjectProjectsResponsePlan>;
/** @internal */
export declare const GetProjectProjectsResponseReadyState$inboundSchema: z.ZodNativeEnum<typeof GetProjectProjectsResponseReadyState>;
/** @internal */
export declare const GetProjectProjectsResponseReadySubstate$inboundSchema: z.ZodNativeEnum<typeof GetProjectProjectsResponseReadySubstate>;
/** @internal */
export declare const GetProjectProjectsResponse200ApplicationJSONResponseBodyAliasType$inboundSchema: z.ZodNativeEnum<typeof GetProjectProjectsResponse200ApplicationJSONResponseBodyAliasType>;
/** @internal */
export declare const GetProjectDeployment$inboundSchema: z.ZodType<GetProjectDeployment, z.ZodTypeDef, unknown>;
export declare function getProjectDeploymentFromJSON(jsonString: string): SafeParseResult<GetProjectDeployment, SDKValidationError>;
/** @internal */
export declare const GetProjectEnvironment$inboundSchema: z.ZodNativeEnum<typeof GetProjectEnvironment>;
/** @internal */
export declare const GetProjectTarget$inboundSchema: z.ZodNativeEnum<typeof GetProjectTarget>;
/** @internal */
export declare const GetProjectAlias$inboundSchema: z.ZodType<GetProjectAlias, z.ZodTypeDef, unknown>;
export declare function getProjectAliasFromJSON(jsonString: string): SafeParseResult<GetProjectAlias, SDKValidationError>;
/** @internal */
export declare const GetProjectAnalytics$inboundSchema: z.ZodType<GetProjectAnalytics, z.ZodTypeDef, unknown>;
export declare function getProjectAnalyticsFromJSON(jsonString: string): SafeParseResult<GetProjectAnalytics, SDKValidationError>;
/** @internal */
export declare const GetProjectSpeedInsights$inboundSchema: z.ZodType<GetProjectSpeedInsights, z.ZodTypeDef, unknown>;
export declare function getProjectSpeedInsightsFromJSON(jsonString: string): SafeParseResult<GetProjectSpeedInsights, SDKValidationError>;
/** @internal */
export declare const GetProjectEnvId2$inboundSchema: z.ZodNativeEnum<typeof GetProjectEnvId2>;
/** @internal */
export declare const GetProjectEnvId$inboundSchema: z.ZodType<GetProjectEnvId, z.ZodTypeDef, unknown>;
export declare function getProjectEnvIdFromJSON(jsonString: string): SafeParseResult<GetProjectEnvId, SDKValidationError>;
/** @internal */
export declare const GetProjectAws$inboundSchema: z.ZodType<GetProjectAws, z.ZodTypeDef, unknown>;
export declare function getProjectAwsFromJSON(jsonString: string): SafeParseResult<GetProjectAws, SDKValidationError>;
/** @internal */
export declare const GetProjectConnectConfigurations$inboundSchema: z.ZodType<GetProjectConnectConfigurations, z.ZodTypeDef, unknown>;
export declare function getProjectConnectConfigurationsFromJSON(jsonString: string): SafeParseResult<GetProjectConnectConfigurations, SDKValidationError>;
/** @internal */
export declare const GetProjectSource$inboundSchema: z.ZodNativeEnum<typeof GetProjectSource>;
/** @internal */
export declare const GetProjectDefinitions$inboundSchema: z.ZodType<GetProjectDefinitions, z.ZodTypeDef, unknown>;
export declare function getProjectDefinitionsFromJSON(jsonString: string): SafeParseResult<GetProjectDefinitions, SDKValidationError>;
/** @internal */
export declare const GetProjectCrons$inboundSchema: z.ZodType<GetProjectCrons, z.ZodTypeDef, unknown>;
export declare function getProjectCronsFromJSON(jsonString: string): SafeParseResult<GetProjectCrons, SDKValidationError>;
/** @internal */
export declare const GetProjectDataCache$inboundSchema: z.ZodType<GetProjectDataCache, z.ZodTypeDef, unknown>;
export declare function getProjectDataCacheFromJSON(jsonString: string): SafeParseResult<GetProjectDataCache, SDKValidationError>;
/** @internal */
export declare const GetProjectDeploymentExpiration$inboundSchema: z.ZodType<GetProjectDeploymentExpiration, z.ZodTypeDef, unknown>;
export declare function getProjectDeploymentExpirationFromJSON(jsonString: string): SafeParseResult<GetProjectDeploymentExpiration, SDKValidationError>;
/** @internal */
export declare const GetProjectExpiration2$inboundSchema: z.ZodType<GetProjectExpiration2, z.ZodTypeDef, unknown>;
export declare function getProjectExpiration2FromJSON(jsonString: string): SafeParseResult<GetProjectExpiration2, SDKValidationError>;
/** @internal */
export declare const GetProjectExpiration1$inboundSchema: z.ZodType<GetProjectExpiration1, z.ZodTypeDef, unknown>;
export declare function getProjectExpiration1FromJSON(jsonString: string): SafeParseResult<GetProjectExpiration1, SDKValidationError>;
/** @internal */
export declare const GetProjectExpiration$inboundSchema: z.ZodType<GetProjectExpiration, z.ZodTypeDef, unknown>;
export declare function getProjectExpirationFromJSON(jsonString: string): SafeParseResult<GetProjectExpiration, SDKValidationError>;
/** @internal */
export declare const GetProjectTarget2$inboundSchema: z.ZodNativeEnum<typeof GetProjectTarget2>;
/** @internal */
export declare const GetProjectTarget1$inboundSchema: z.ZodNativeEnum<typeof GetProjectTarget1>;
/** @internal */
export declare const GetProjectProjectsTarget$inboundSchema: z.ZodType<GetProjectProjectsTarget, z.ZodTypeDef, unknown>;
export declare function getProjectProjectsTargetFromJSON(jsonString: string): SafeParseResult<GetProjectProjectsTarget, SDKValidationError>;
/** @internal */
export declare const GetProjectType$inboundSchema: z.ZodNativeEnum<typeof GetProjectType>;
/** @internal */
export declare const GetProjectVisibility$inboundSchema: z.ZodNativeEnum<typeof GetProjectVisibility>;
/** @internal */
export declare const GetProjectContentHint17$inboundSchema: z.ZodType<GetProjectContentHint17, z.ZodTypeDef, unknown>;
export declare function getProjectContentHint17FromJSON(jsonString: string): SafeParseResult<GetProjectContentHint17, SDKValidationError>;
/** @internal */
export declare const GetProjectContentHint16$inboundSchema: z.ZodType<GetProjectContentHint16, z.ZodTypeDef, unknown>;
export declare function getProjectContentHint16FromJSON(jsonString: string): SafeParseResult<GetProjectContentHint16, SDKValidationError>;
/** @internal */
export declare const GetProjectContentHint15$inboundSchema: z.ZodType<GetProjectContentHint15, z.ZodTypeDef, unknown>;
export declare function getProjectContentHint15FromJSON(jsonString: string): SafeParseResult<GetProjectContentHint15, SDKValidationError>;
/** @internal */
export declare const GetProjectContentHint14$inboundSchema: z.ZodType<GetProjectContentHint14, z.ZodTypeDef, unknown>;
export declare function getProjectContentHint14FromJSON(jsonString: string): SafeParseResult<GetProjectContentHint14, SDKValidationError>;
/** @internal */
export declare const GetProjectContentHint13$inboundSchema: z.ZodType<GetProjectContentHint13, z.ZodTypeDef, unknown>;
export declare function getProjectContentHint13FromJSON(jsonString: string): SafeParseResult<GetProjectContentHint13, SDKValidationError>;
/** @internal */
export declare const GetProjectContentHint12$inboundSchema: z.ZodType<GetProjectContentHint12, z.ZodTypeDef, unknown>;
export declare function getProjectContentHint12FromJSON(jsonString: string): SafeParseResult<GetProjectContentHint12, SDKValidationError>;
/** @internal */
export declare const GetProjectContentHint11$inboundSchema: z.ZodType<GetProjectContentHint11, z.ZodTypeDef, unknown>;
export declare function getProjectContentHint11FromJSON(jsonString: string): SafeParseResult<GetProjectContentHint11, SDKValidationError>;
/** @internal */
export declare const GetProjectContentHint10$inboundSchema: z.ZodType<GetProjectContentHint10, z.ZodTypeDef, unknown>;
export declare function getProjectContentHint10FromJSON(jsonString: string): SafeParseResult<GetProjectContentHint10, SDKValidationError>;
/** @internal */
export declare const GetProjectContentHint9$inboundSchema: z.ZodType<GetProjectContentHint9, z.ZodTypeDef, unknown>;
export declare function getProjectContentHint9FromJSON(jsonString: string): SafeParseResult<GetProjectContentHint9, SDKValidationError>;
/** @internal */
export declare const GetProjectContentHint8$inboundSchema: z.ZodType<GetProjectContentHint8, z.ZodTypeDef, unknown>;
export declare function getProjectContentHint8FromJSON(jsonString: string): SafeParseResult<GetProjectContentHint8, SDKValidationError>;
/** @internal */
export declare const GetProjectContentHint7$inboundSchema: z.ZodType<GetProjectContentHint7, z.ZodTypeDef, unknown>;
export declare function getProjectContentHint7FromJSON(jsonString: string): SafeParseResult<GetProjectContentHint7, SDKValidationError>;
/** @internal */
export declare const GetProjectContentHint6$inboundSchema: z.ZodType<GetProjectContentHint6, z.ZodTypeDef, unknown>;
export declare function getProjectContentHint6FromJSON(jsonString: string): SafeParseResult<GetProjectContentHint6, SDKValidationError>;
/** @internal */
export declare const GetProjectContentHint5$inboundSchema: z.ZodType<GetProjectContentHint5, z.ZodTypeDef, unknown>;
export declare function getProjectContentHint5FromJSON(jsonString: string): SafeParseResult<GetProjectContentHint5, SDKValidationError>;
/** @internal */
export declare const GetProjectContentHint4$inboundSchema: z.ZodType<GetProjectContentHint4, z.ZodTypeDef, unknown>;
export declare function getProjectContentHint4FromJSON(jsonString: string): SafeParseResult<GetProjectContentHint4, SDKValidationError>;
/** @internal */
export declare const GetProjectContentHint3$inboundSchema: z.ZodType<GetProjectContentHint3, z.ZodTypeDef, unknown>;
export declare function getProjectContentHint3FromJSON(jsonString: string): SafeParseResult<GetProjectContentHint3, SDKValidationError>;
/** @internal */
export declare const GetProjectContentHint2$inboundSchema: z.ZodType<GetProjectContentHint2, z.ZodTypeDef, unknown>;
export declare function getProjectContentHint2FromJSON(jsonString: string): SafeParseResult<GetProjectContentHint2, SDKValidationError>;
/** @internal */
export declare const GetProjectContentHint1$inboundSchema: z.ZodType<GetProjectContentHint1, z.ZodTypeDef, unknown>;
export declare function getProjectContentHint1FromJSON(jsonString: string): SafeParseResult<GetProjectContentHint1, SDKValidationError>;
/** @internal */
export declare const GetProjectContentHint$inboundSchema: z.ZodType<GetProjectContentHint, z.ZodTypeDef, unknown>;
export declare function getProjectContentHintFromJSON(jsonString: string): SafeParseResult<GetProjectContentHint, SDKValidationError>;
/** @internal */
export declare const GetProjectProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema: z.ZodNativeEnum<typeof GetProjectProjectsResponse200ApplicationJSONResponseBodyEnvType>;
/** @internal */
export declare const GetProjectInternalContentHint$inboundSchema: z.ZodType<GetProjectInternalContentHint, z.ZodTypeDef, unknown>;
export declare function getProjectInternalContentHintFromJSON(jsonString: string): SafeParseResult<GetProjectInternalContentHint, SDKValidationError>;
/** @internal */
export declare const GetProjectEnv$inboundSchema: z.ZodType<GetProjectEnv, z.ZodTypeDef, unknown>;
export declare function getProjectEnvFromJSON(jsonString: string): SafeParseResult<GetProjectEnv, SDKValidationError>;
/** @internal */
export declare const GetProjectProjectsType$inboundSchema: z.ZodNativeEnum<typeof GetProjectProjectsType>;
/** @internal */
export declare const GetProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema: z.ZodNativeEnum<typeof GetProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType>;
/** @internal */
export declare const GetProjectBranchMatcher$inboundSchema: z.ZodType<GetProjectBranchMatcher, z.ZodTypeDef, unknown>;
export declare function getProjectBranchMatcherFromJSON(jsonString: string): SafeParseResult<GetProjectBranchMatcher, SDKValidationError>;
/** @internal */
export declare const GetProjectVerification$inboundSchema: z.ZodType<GetProjectVerification, z.ZodTypeDef, unknown>;
export declare function getProjectVerificationFromJSON(jsonString: string): SafeParseResult<GetProjectVerification, SDKValidationError>;
/** @internal */
export declare const GetProjectDomains$inboundSchema: z.ZodType<GetProjectDomains, z.ZodTypeDef, unknown>;
export declare function getProjectDomainsFromJSON(jsonString: string): SafeParseResult<GetProjectDomains, SDKValidationError>;
/** @internal */
export declare const GetProjectCustomEnvironments$inboundSchema: z.ZodType<GetProjectCustomEnvironments, z.ZodTypeDef, unknown>;
export declare function getProjectCustomEnvironmentsFromJSON(jsonString: string): SafeParseResult<GetProjectCustomEnvironments, SDKValidationError>;
/** @internal */
export declare const GetProjectFramework$inboundSchema: z.ZodNativeEnum<typeof GetProjectFramework>;
/** @internal */
export declare const GetProjectServiceType$inboundSchema: z.ZodNativeEnum<typeof GetProjectServiceType>;
/** @internal */
export declare const GetProjectProjectsFramework$inboundSchema: z.ZodNativeEnum<typeof GetProjectProjectsFramework>;
/** @internal */
export declare const GetProjectServices$inboundSchema: z.ZodType<GetProjectServices, z.ZodTypeDef, unknown>;
export declare function getProjectServicesFromJSON(jsonString: string): SafeParseResult<GetProjectServices, SDKValidationError>;
/** @internal */
export declare const GetProjectIpBuckets$inboundSchema: z.ZodType<GetProjectIpBuckets, z.ZodTypeDef, unknown>;
export declare function getProjectIpBucketsFromJSON(jsonString: string): SafeParseResult<GetProjectIpBuckets, SDKValidationError>;
/** @internal */
export declare const GetProjectLint$inboundSchema: z.ZodType<GetProjectLint, z.ZodTypeDef, unknown>;
export declare function getProjectLintFromJSON(jsonString: string): SafeParseResult<GetProjectLint, SDKValidationError>;
/** @internal */
export declare const GetProjectTypecheck$inboundSchema: z.ZodType<GetProjectTypecheck, z.ZodTypeDef, unknown>;
export declare function getProjectTypecheckFromJSON(jsonString: string): SafeParseResult<GetProjectTypecheck, SDKValidationError>;
/** @internal */
export declare const GetProjectMfeConfigPresent$inboundSchema: z.ZodType<GetProjectMfeConfigPresent, z.ZodTypeDef, unknown>;
export declare function getProjectMfeConfigPresentFromJSON(jsonString: string): SafeParseResult<GetProjectMfeConfigPresent, SDKValidationError>;
/** @internal */
export declare const GetProjectJobs$inboundSchema: z.ZodType<GetProjectJobs, z.ZodTypeDef, unknown>;
export declare function getProjectJobsFromJSON(jsonString: string): SafeParseResult<GetProjectJobs, SDKValidationError>;
/** @internal */
export declare const GetProjectAliasAssigned$inboundSchema: z.ZodType<GetProjectAliasAssigned, z.ZodTypeDef, unknown>;
export declare function getProjectAliasAssignedFromJSON(jsonString: string): SafeParseResult<GetProjectAliasAssigned, SDKValidationError>;
/** @internal */
export declare const GetProjectAliasError$inboundSchema: z.ZodType<GetProjectAliasError, z.ZodTypeDef, unknown>;
export declare function getProjectAliasErrorFromJSON(jsonString: string): SafeParseResult<GetProjectAliasError, SDKValidationError>;
/** @internal */
export declare const GetProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema: z.ZodNativeEnum<typeof GetProjectProjectsResponse200ApplicationJSONResponseBodyType>;
/** @internal */
export declare const GetProjectProjectsBranchMatcher$inboundSchema: z.ZodType<GetProjectProjectsBranchMatcher, z.ZodTypeDef, unknown>;
export declare function getProjectProjectsBranchMatcherFromJSON(jsonString: string): SafeParseResult<GetProjectProjectsBranchMatcher, SDKValidationError>;
/** @internal */
export declare const GetProjectBuilds$inboundSchema: z.ZodType<GetProjectBuilds, z.ZodTypeDef, unknown>;
export declare function getProjectBuildsFromJSON(jsonString: string): SafeParseResult<GetProjectBuilds, SDKValidationError>;
/** @internal */
export declare const GetProjectChecksConclusion$inboundSchema: z.ZodNativeEnum<typeof GetProjectChecksConclusion>;
/** @internal */
export declare const GetProjectChecksState$inboundSchema: z.ZodNativeEnum<typeof GetProjectChecksState>;
/** @internal */
export declare const GetProjectProjectsCreator$inboundSchema: z.ZodType<GetProjectProjectsCreator, z.ZodTypeDef, unknown>;
export declare function getProjectProjectsCreatorFromJSON(jsonString: string): SafeParseResult<GetProjectProjectsCreator, SDKValidationError>;
/** @internal */
export declare const GetProjectOidcTokenClaims$inboundSchema: z.ZodType<GetProjectOidcTokenClaims, z.ZodTypeDef, unknown>;
export declare function getProjectOidcTokenClaimsFromJSON(jsonString: string): SafeParseResult<GetProjectOidcTokenClaims, SDKValidationError>;
/** @internal */
export declare const GetProjectPlan$inboundSchema: z.ZodNativeEnum<typeof GetProjectPlan>;
/** @internal */
export declare const GetProjectReadyState$inboundSchema: z.ZodNativeEnum<typeof GetProjectReadyState>;
/** @internal */
export declare const GetProjectReadySubstate$inboundSchema: z.ZodNativeEnum<typeof GetProjectReadySubstate>;
/** @internal */
export declare const GetProjectProjectsResponseType$inboundSchema: z.ZodNativeEnum<typeof GetProjectProjectsResponseType>;
/** @internal */
export declare const GetProjectLatestDeployments$inboundSchema: z.ZodType<GetProjectLatestDeployments, z.ZodTypeDef, unknown>;
export declare function getProjectLatestDeploymentsFromJSON(jsonString: string): SafeParseResult<GetProjectLatestDeployments, SDKValidationError>;
/** @internal */
export declare const GetProjectLinkProjectsResponse200ApplicationJSONResponseBody8DeployHooks$inboundSchema: z.ZodType<GetProjectLinkProjectsResponse200ApplicationJSONResponseBody8DeployHooks, z.ZodTypeDef, unknown>;
export declare function getProjectLinkProjectsResponse200ApplicationJSONResponseBody8DeployHooksFromJSON(jsonString: string): SafeParseResult<GetProjectLinkProjectsResponse200ApplicationJSONResponseBody8DeployHooks, SDKValidationError>;
/** @internal */
export declare const GetProjectLink8$inboundSchema: z.ZodType<GetProjectLink8, z.ZodTypeDef, unknown>;
export declare function getProjectLink8FromJSON(jsonString: string): SafeParseResult<GetProjectLink8, SDKValidationError>;
/** @internal */
export declare const GetProjectLinkProjectsResponse200ApplicationJSONResponseBody7DeployHooks$inboundSchema: z.ZodType<GetProjectLinkProjectsResponse200ApplicationJSONResponseBody7DeployHooks, z.ZodTypeDef, unknown>;
export declare function getProjectLinkProjectsResponse200ApplicationJSONResponseBody7DeployHooksFromJSON(jsonString: string): SafeParseResult<GetProjectLinkProjectsResponse200ApplicationJSONResponseBody7DeployHooks, SDKValidationError>;
/** @internal */
export declare const GetProjectLink7$inboundSchema: z.ZodType<GetProjectLink7, z.ZodTypeDef, unknown>;
export declare function getProjectLink7FromJSON(jsonString: string): SafeParseResult<GetProjectLink7, SDKValidationError>;
/** @internal */
export declare const GetProjectLinkProjectsResponse200ApplicationJSONResponseBodyDeployHooks$inboundSchema: z.ZodType<GetProjectLinkProjectsResponse200ApplicationJSONResponseBodyDeployHooks, z.ZodTypeDef, unknown>;
export declare function getProjectLinkProjectsResponse200ApplicationJSONResponseBodyDeployHooksFromJSON(jsonString: string): SafeParseResult<GetProjectLinkProjectsResponse200ApplicationJSONResponseBodyDeployHooks, SDKValidationError>;
/** @internal */
export declare const GetProjectLink6$inboundSchema: z.ZodType<GetProjectLink6, z.ZodTypeDef, unknown>;
export declare function getProjectLink6FromJSON(jsonString: string): SafeParseResult<GetProjectLink6, SDKValidationError>;
/** @internal */
export declare const GetProjectLinkProjectsResponse200ApplicationJSONDeployHooks$inboundSchema: z.ZodType<GetProjectLinkProjectsResponse200ApplicationJSONDeployHooks, z.ZodTypeDef, unknown>;
export declare function getProjectLinkProjectsResponse200ApplicationJSONDeployHooksFromJSON(jsonString: string): SafeParseResult<GetProjectLinkProjectsResponse200ApplicationJSONDeployHooks, SDKValidationError>;
/** @internal */
export declare const GetProjectLink5$inboundSchema: z.ZodType<GetProjectLink5, z.ZodTypeDef, unknown>;
export declare function getProjectLink5FromJSON(jsonString: string): SafeParseResult<GetProjectLink5, SDKValidationError>;
/** @internal */
export declare const GetProjectLinkProjectsResponse200DeployHooks$inboundSchema: z.ZodType<GetProjectLinkProjectsResponse200DeployHooks, z.ZodTypeDef, unknown>;
export declare function getProjectLinkProjectsResponse200DeployHooksFromJSON(jsonString: string): SafeParseResult<GetProjectLinkProjectsResponse200DeployHooks, SDKValidationError>;
/** @internal */
export declare const GetProjectLink4$inboundSchema: z.ZodType<GetProjectLink4, z.ZodTypeDef, unknown>;
export declare function getProjectLink4FromJSON(jsonString: string): SafeParseResult<GetProjectLink4, SDKValidationError>;
/** @internal */
export declare const GetProjectLinkProjectsResponseDeployHooks$inboundSchema: z.ZodType<GetProjectLinkProjectsResponseDeployHooks, z.ZodTypeDef, unknown>;
export declare function getProjectLinkProjectsResponseDeployHooksFromJSON(jsonString: string): SafeParseResult<GetProjectLinkProjectsResponseDeployHooks, SDKValidationError>;
/** @internal */
export declare const GetProjectLink3$inboundSchema: z.ZodType<GetProjectLink3, z.ZodTypeDef, unknown>;
export declare function getProjectLink3FromJSON(jsonString: string): SafeParseResult<GetProjectLink3, SDKValidationError>;
/** @internal */
export declare const GetProjectLinkProjectsDeployHooks$inboundSchema: z.ZodType<GetProjectLinkProjectsDeployHooks, z.ZodTypeDef, unknown>;
export declare function getProjectLinkProjectsDeployHooksFromJSON(jsonString: string): SafeParseResult<GetProjectLinkProjectsDeployHooks, SDKValidationError>;
/** @internal */
export declare const GetProjectLink2$inboundSchema: z.ZodType<GetProjectLink2, z.ZodTypeDef, unknown>;
export declare function getProjectLink2FromJSON(jsonString: string): SafeParseResult<GetProjectLink2, SDKValidationError>;
/** @internal */
export declare const GetProjectLinkDeployHooks$inboundSchema: z.ZodType<GetProjectLinkDeployHooks, z.ZodTypeDef, unknown>;
export declare function getProjectLinkDeployHooksFromJSON(jsonString: string): SafeParseResult<GetProjectLinkDeployHooks, SDKValidationError>;
/** @internal */
export declare const GetProjectLink1$inboundSchema: z.ZodType<GetProjectLink1, z.ZodTypeDef, unknown>;
export declare function getProjectLink1FromJSON(jsonString: string): SafeParseResult<GetProjectLink1, SDKValidationError>;
/** @internal */
export declare const GetProjectLink$inboundSchema: z.ZodType<GetProjectLink, z.ZodTypeDef, unknown>;
export declare function getProjectLinkFromJSON(jsonString: string): SafeParseResult<GetProjectLink, SDKValidationError>;
/** @internal */
export declare const GetProjectBlobs$inboundSchema: z.ZodType<GetProjectBlobs, z.ZodTypeDef, unknown>;
export declare function getProjectBlobsFromJSON(jsonString: string): SafeParseResult<GetProjectBlobs, SDKValidationError>;
/** @internal */
export declare const GetProjectMicrofrontends3$inboundSchema: z.ZodType<GetProjectMicrofrontends3, z.ZodTypeDef, unknown>;
export declare function getProjectMicrofrontends3FromJSON(jsonString: string): SafeParseResult<GetProjectMicrofrontends3, SDKValidationError>;
/** @internal */
export declare const GetProjectMicrofrontends2$inboundSchema: z.ZodType<GetProjectMicrofrontends2, z.ZodTypeDef, unknown>;
export declare function getProjectMicrofrontends2FromJSON(jsonString: string): SafeParseResult<GetProjectMicrofrontends2, SDKValidationError>;
/** @internal */
export declare const GetProjectMicrofrontends1$inboundSchema: z.ZodType<GetProjectMicrofrontends1, z.ZodTypeDef, unknown>;
export declare function getProjectMicrofrontends1FromJSON(jsonString: string): SafeParseResult<GetProjectMicrofrontends1, SDKValidationError>;
/** @internal */
export declare const GetProjectMicrofrontends$inboundSchema: z.ZodType<GetProjectMicrofrontends, z.ZodTypeDef, unknown>;
export declare function getProjectMicrofrontendsFromJSON(jsonString: string): SafeParseResult<GetProjectMicrofrontends, SDKValidationError>;
/** @internal */
export declare const GetProjectNodeVersion$inboundSchema: z.ZodNativeEnum<typeof GetProjectNodeVersion>;
/** @internal */
export declare const GetProjectPaths$inboundSchema: z.ZodType<GetProjectPaths, z.ZodTypeDef, unknown>;
export declare function getProjectPathsFromJSON(jsonString: string): SafeParseResult<GetProjectPaths, SDKValidationError>;
/** @internal */
export declare const GetProjectOptionsAllowlist$inboundSchema: z.ZodType<GetProjectOptionsAllowlist, z.ZodTypeDef, unknown>;
export declare function getProjectOptionsAllowlistFromJSON(jsonString: string): SafeParseResult<GetProjectOptionsAllowlist, SDKValidationError>;
/** @internal */
export declare const GetProjectPasswordProtection$inboundSchema: z.ZodType<GetProjectPasswordProtection, z.ZodTypeDef, unknown>;
export declare function getProjectPasswordProtectionFromJSON(jsonString: string): SafeParseResult<GetProjectPasswordProtection, SDKValidationError>;
/** @internal */
export declare const GetProjectDeploymentType$inboundSchema: z.ZodNativeEnum<typeof GetProjectDeploymentType>;
/** @internal */
export declare const GetProjectPassport$inboundSchema: z.ZodType<GetProjectPassport, z.ZodTypeDef, unknown>;
export declare function getProjectPassportFromJSON(jsonString: string): SafeParseResult<GetProjectPassport, SDKValidationError>;
/** @internal */
export declare const GetProjectSandboxUrls$inboundSchema: z.ZodType<GetProjectSandboxUrls, z.ZodTypeDef, unknown>;
export declare function getProjectSandboxUrlsFromJSON(jsonString: string): SafeParseResult<GetProjectSandboxUrls, SDKValidationError>;
/** @internal */
export declare const GetProjectProtectionConfig$inboundSchema: z.ZodType<GetProjectProtectionConfig, z.ZodTypeDef, unknown>;
export declare function getProjectProtectionConfigFromJSON(jsonString: string): SafeParseResult<GetProjectProtectionConfig, SDKValidationError>;
/** @internal */
export declare const GetProjectRegion$inboundSchema: z.ZodNativeEnum<typeof GetProjectRegion>;
/** @internal */
export declare const GetProjectFailoverRegions$inboundSchema: z.ZodNativeEnum<typeof GetProjectFailoverRegions>;
/** @internal */
export declare const GetProjectSandbox$inboundSchema: z.ZodType<GetProjectSandbox, z.ZodTypeDef, unknown>;
export declare function getProjectSandboxFromJSON(jsonString: string): SafeParseResult<GetProjectSandbox, SDKValidationError>;
/** @internal */
export declare const GetProjectFunctionDefaultMemoryType$inboundSchema: z.ZodNativeEnum<typeof GetProjectFunctionDefaultMemoryType>;
/** @internal */
export declare const GetProjectBuildMachineType$inboundSchema: z.ZodNativeEnum<typeof GetProjectBuildMachineType>;
/** @internal */
export declare const GetProjectBuildMachineSelection$inboundSchema: z.ZodNativeEnum<typeof GetProjectBuildMachineSelection>;
/** @internal */
export declare const GetProjectBuildMachineElasticReason$inboundSchema: z.ZodNativeEnum<typeof GetProjectBuildMachineElasticReason>;
/** @internal */
export declare const GetProjectConfiguration$inboundSchema: z.ZodNativeEnum<typeof GetProjectConfiguration>;
/** @internal */
export declare const GetProjectBuildQueue$inboundSchema: z.ZodType<GetProjectBuildQueue, z.ZodTypeDef, unknown>;
export declare function getProjectBuildQueueFromJSON(jsonString: string): SafeParseResult<GetProjectBuildQueue, SDKValidationError>;
/** @internal */
export declare const GetProjectResourceConfig$inboundSchema: z.ZodType<GetProjectResourceConfig, z.ZodTypeDef, unknown>;
export declare function getProjectResourceConfigFromJSON(jsonString: string): SafeParseResult<GetProjectResourceConfig, SDKValidationError>;
/** @internal */
export declare const GetProjectRollbackDescription$inboundSchema: z.ZodType<GetProjectRollbackDescription, z.ZodTypeDef, unknown>;
export declare function getProjectRollbackDescriptionFromJSON(jsonString: string): SafeParseResult<GetProjectRollbackDescription, SDKValidationError>;
/** @internal */
export declare const GetProjectStages$inboundSchema: z.ZodType<GetProjectStages, z.ZodTypeDef, unknown>;
export declare function getProjectStagesFromJSON(jsonString: string): SafeParseResult<GetProjectStages, SDKValidationError>;
/** @internal */
export declare const GetProjectProjectsResponse200ApplicationJSONResponseBodyRollingReleaseType$inboundSchema: z.ZodNativeEnum<typeof GetProjectProjectsResponse200ApplicationJSONResponseBodyRollingReleaseType>;
/** @internal */
export declare const GetProjectChecks$inboundSchema: z.ZodType<GetProjectChecks, z.ZodTypeDef, unknown>;
export declare function getProjectChecksFromJSON(jsonString: string): SafeParseResult<GetProjectChecks, SDKValidationError>;
/** @internal */
export declare const GetProjectProjectsResponse200ApplicationJSONAction$inboundSchema: z.ZodNativeEnum<typeof GetProjectProjectsResponse200ApplicationJSONAction>;
/** @internal */
export declare const GetProjectGate$inboundSchema: z.ZodType<GetProjectGate, z.ZodTypeDef, unknown>;
export declare function getProjectGateFromJSON(jsonString: string): SafeParseResult<GetProjectGate, SDKValidationError>;
/** @internal */
export declare const GetProjectRollingRelease$inboundSchema: z.ZodType<GetProjectRollingRelease, z.ZodTypeDef, unknown>;
export declare function getProjectRollingReleaseFromJSON(jsonString: string): SafeParseResult<GetProjectRollingRelease, SDKValidationError>;
//# sourceMappingURL=getprojectrollingrelease.d.ts.map