@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>
850 lines • 53.9 kB
TypeScript
import * as z from "zod/v3";
import { ClosedEnum } from "../types/enums.js";
import { Result as SafeParseResult } from "../types/fp.js";
import { SDKValidationError } from "./sdkvalidationerror.js";
import { UpdateProjectAlias, UpdateProjectAnalytics, UpdateProjectConnectConfigurations, UpdateProjectCreator, UpdateProjectCrons, UpdateProjectDataCache, UpdateProjectDeploymentExpiration, UpdateProjectExpiration, UpdateProjectProjectsEnv, UpdateProjectSpeedInsights } from "./updateprojectprojectsresponse200applicationjsonresponsebodycustomenvironmentstype.js";
import { UpdateProjectBlobs, UpdateProjectCustomEnvironments, UpdateProjectDefaultResourceConfig, UpdateProjectGitComments, UpdateProjectGitProviderOptions, UpdateProjectIpBuckets, UpdateProjectJobs, UpdateProjectLastAliasRequest, UpdateProjectLastRollbackTarget, UpdateProjectLatestDeployments, UpdateProjectLink, UpdateProjectMicrofrontends, UpdateProjectPermissions, UpdateProjectProjectsFramework, UpdateProjectProjectsNodeVersion, UpdateProjectProjectsOptionsAllowlist, UpdateProjectProjectsPassport, UpdateProjectProjectsPasswordProtection, UpdateProjectProjectsResourceConfig, UpdateProjectProjectsSandbox, UpdateProjectProjectsSsoProtection, UpdateProjectProjectsStaticIps, UpdateProjectProjectsTrustedIps, UpdateProjectProtectionBypass, UpdateProjectProtectionConfig, UpdateProjectRollbackDescription, UpdateProjectRollingRelease, UpdateProjectRulesets, UpdateProjectServices, UpdateProjectTargets, UpdateProjectTrafficSources, UpdateProjectTrustedSources, UpdateProjectVercelRuleset, UpdateProjectWebAnalytics } from "./updateprojecttrafficsources.js";
export declare const UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityManagedRulesBotFilterAction: {
readonly Challenge: "challenge";
readonly Deny: "deny";
readonly Log: "log";
};
export type UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityManagedRulesBotFilterAction = ClosedEnum<typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityManagedRulesBotFilterAction>;
export type UpdateProjectBotFilter = {
active: boolean;
action?: UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityManagedRulesBotFilterAction | undefined;
};
export declare const UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityAction: {
readonly Challenge: "challenge";
readonly Deny: "deny";
readonly Log: "log";
};
export type UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityAction = ClosedEnum<typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityAction>;
export type UpdateProjectAiBots = {
active: boolean;
action?: UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityAction | undefined;
};
export declare const UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityManagedRulesAction: {
readonly Challenge: "challenge";
readonly Deny: "deny";
readonly Log: "log";
};
export type UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityManagedRulesAction = ClosedEnum<typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityManagedRulesAction>;
export type UpdateProjectOwasp = {
active: boolean;
action?: UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityManagedRulesAction | undefined;
};
export type UpdateProjectManagedRules = {
vercelRuleset: UpdateProjectVercelRuleset;
trafficSources: UpdateProjectTrafficSources;
botFilter: UpdateProjectBotFilter;
aiBots: UpdateProjectAiBots;
owasp: UpdateProjectOwasp;
};
export declare const UpdateProjectLogHeaders2: {
readonly Wildcard: "*";
};
export type UpdateProjectLogHeaders2 = ClosedEnum<typeof UpdateProjectLogHeaders2>;
export type UpdateProjectLogHeaders = Array<string> | UpdateProjectLogHeaders2;
export type UpdateProjectSecurityPlusMetadata = {
updatedAt: number;
/**
* Timestamp when the feature was first enabled. Never changes after initial enablement.
*/
firstEnabledAt?: number | undefined;
};
export type UpdateProjectSecurity = {
attackModeEnabled?: boolean | undefined;
attackModeUpdatedAt?: number | undefined;
firewallEnabled?: boolean | undefined;
firewallUpdatedAt?: number | undefined;
attackModeActiveUntil?: number | null | undefined;
firewallConfigVersion?: number | undefined;
rulesets?: {
[k: string]: UpdateProjectRulesets;
} | undefined;
firewallSeawallEnabled?: boolean | undefined;
ja3Enabled?: boolean | undefined;
ja4Enabled?: boolean | undefined;
firewallBypassIps?: Array<string> | undefined;
managedRules?: UpdateProjectManagedRules | null | undefined;
botIdEnabled?: boolean | undefined;
logHeaders?: Array<string> | UpdateProjectLogHeaders2 | undefined;
securityPlus?: boolean | undefined;
securityPlusMetadata?: UpdateProjectSecurityPlusMetadata | undefined;
/**
* Whether Page Integrity is enabled for this project. Used by the metadata service to gate DynamoDB lookups against the page-integrity-inventory table.
*/
pageIntegrityEnabled?: boolean | undefined;
};
/**
* - team: `https://oidc.vercel.com/[team_slug]` - global: `https://oidc.vercel.com`
*/
export declare const UpdateProjectProjectsIssuerMode: {
readonly Global: "global";
readonly Team: "team";
};
/**
* - team: `https://oidc.vercel.com/[team_slug]` - global: `https://oidc.vercel.com`
*/
export type UpdateProjectProjectsIssuerMode = ClosedEnum<typeof UpdateProjectProjectsIssuerMode>;
export type UpdateProjectProjectsOidcTokenConfig = {
/**
* Whether or not to generate OpenID Connect JSON Web Tokens.
*/
enabled?: boolean | undefined;
/**
* - team: `https://oidc.vercel.com/[team_slug]` - global: `https://oidc.vercel.com`
*/
issuerMode?: UpdateProjectProjectsIssuerMode | undefined;
};
/**
* Allowlist entry for GitLab, which uses nested groups rather than a flat org/repo. `namespace` is the full group path (e.g. `group` or `group/subgroup`); `project` is the leaf project name. Omit `project` to match any project under the namespace. Namespace is matched case-insensitively.
*/
export type UpdateProjectSourcesProjects2 = {
provider: "gitlab";
namespace: string;
project?: string | undefined;
};
export declare const UpdateProjectSourcesProjectsResponse200Provider: {
readonly Bitbucket: "bitbucket";
readonly Github: "github";
};
export type UpdateProjectSourcesProjectsResponse200Provider = ClosedEnum<typeof UpdateProjectSourcesProjectsResponse200Provider>;
/**
* Allowlist entry for GitHub and Bitbucket, whose repos are identified by a flat `org`/`repo` (Bitbucket's workspace/owner maps to `org`, its repo slug to `repo`). Omit `repo` to match any repo in the org. Org is matched case-insensitively.
*/
export type UpdateProjectSourcesProjects1 = {
provider: UpdateProjectSourcesProjectsResponse200Provider;
org: string;
repo?: string | undefined;
};
export type UpdateProjectSources = (UpdateProjectSourcesProjects1 & {
provider: "bitbucket";
}) | (UpdateProjectSourcesProjects1 & {
provider: "github";
}) | UpdateProjectSourcesProjects2;
export type UpdateProjectEnvironmentsProjectsResponse2002 = {
type: "custom";
environmentId: string;
};
export declare const UpdateProjectEnvironmentsProjectsResponse200Target: {
readonly Preview: "preview";
readonly Production: "production";
};
export type UpdateProjectEnvironmentsProjectsResponse200Target = ClosedEnum<typeof UpdateProjectEnvironmentsProjectsResponse200Target>;
export type UpdateProjectEnvironmentsProjectsResponse1 = {
type: "system";
target: UpdateProjectEnvironmentsProjectsResponse200Target;
};
export type UpdateProjectEnvironments = UpdateProjectEnvironmentsProjectsResponse1 | UpdateProjectEnvironmentsProjectsResponse2002;
/**
* `enabled: true` with empty `sources` is deny-all.
*/
export type UpdateProjectGitSources = {
sources: Array<(UpdateProjectSourcesProjects1 & {
provider: "bitbucket";
}) | (UpdateProjectSourcesProjects1 & {
provider: "github";
}) | UpdateProjectSourcesProjects2>;
enabled: boolean;
environments: Array<UpdateProjectEnvironmentsProjectsResponse1 | UpdateProjectEnvironmentsProjectsResponse2002>;
};
/**
* Customer-configurable deployment sources. Every deploy classifies to exactly one. JSON schema in `packages/deployment-policy/schemas/body.ts` enumerates exactly these values. - `'git'` — git provider webhook. - `'cli'` — Vercel CLI (legacy classic-token CLI and SIWV CLI both). - `'rest-api'` — direct user/team-token REST upload. Does NOT cover deploy hooks, Marketplace integrations, or first-party app tokens. - `'deploy-hook'` — project deploy-hook URL. The URL is the credential. - `'integration'` — third-party Marketplace actor: Marketplace integration token, user-delegated OAuth from a Marketplace app, or an unrecognized third-party Vercel App. First-party Vercel Apps are never `'integration'`. - `'v0'` — the v0 product surface (entitlement-gated). v0 deploys through the CLI under the hood, but classifies as its own source so a team can allow or deny v0 independently of `'cli'`. First-party Vercel apps (Toolbar, etc.) classify as `'first-party'` — see `ClassifiedSource` in `./checks`. They're not in this union because they aren't customer-configurable; they bypass `checkDeploymentSources` entirely. v0 is intentionally NOT among them: like the CLI, it's a real product surface and is policy-controllable.
*/
export declare const UpdateProjectProjectsSources: {
readonly Cli: "cli";
readonly DeployHook: "deploy-hook";
readonly Git: "git";
readonly Integration: "integration";
readonly RestApi: "rest-api";
readonly V0: "v0";
};
/**
* Customer-configurable deployment sources. Every deploy classifies to exactly one. JSON schema in `packages/deployment-policy/schemas/body.ts` enumerates exactly these values. - `'git'` — git provider webhook. - `'cli'` — Vercel CLI (legacy classic-token CLI and SIWV CLI both). - `'rest-api'` — direct user/team-token REST upload. Does NOT cover deploy hooks, Marketplace integrations, or first-party app tokens. - `'deploy-hook'` — project deploy-hook URL. The URL is the credential. - `'integration'` — third-party Marketplace actor: Marketplace integration token, user-delegated OAuth from a Marketplace app, or an unrecognized third-party Vercel App. First-party Vercel Apps are never `'integration'`. - `'v0'` — the v0 product surface (entitlement-gated). v0 deploys through the CLI under the hood, but classifies as its own source so a team can allow or deny v0 independently of `'cli'`. First-party Vercel apps (Toolbar, etc.) classify as `'first-party'` — see `ClassifiedSource` in `./checks`. They're not in this union because they aren't customer-configurable; they bypass `checkDeploymentSources` entirely. v0 is intentionally NOT among them: like the CLI, it's a real product surface and is policy-controllable.
*/
export type UpdateProjectProjectsSources = ClosedEnum<typeof UpdateProjectProjectsSources>;
export type UpdateProjectEnvironmentsProjectsResponse2 = {
type: "custom";
environmentId: string;
};
export declare const UpdateProjectEnvironmentsProjectsResponseTarget: {
readonly Preview: "preview";
readonly Production: "production";
};
export type UpdateProjectEnvironmentsProjectsResponseTarget = ClosedEnum<typeof UpdateProjectEnvironmentsProjectsResponseTarget>;
export type UpdateProjectEnvironmentsProjectsResponse2001 = {
type: "system";
target: UpdateProjectEnvironmentsProjectsResponseTarget;
};
export type UpdateProjectProjectsEnvironments = UpdateProjectEnvironmentsProjectsResponse2001 | UpdateProjectEnvironmentsProjectsResponse2;
/**
* `enabled: true` with empty `sources` is deny-all.
*/
export type UpdateProjectDeploymentSources = {
sources: Array<UpdateProjectProjectsSources>;
enabled: boolean;
environments: Array<UpdateProjectEnvironmentsProjectsResponse2001 | UpdateProjectEnvironmentsProjectsResponse2>;
};
/**
* Project shape. `null` on a rule list clears the project's override for that rule type (fall back to team for every env); omitting is equivalent. Setting `deploymentPolicy` itself to `null` clears every override at once. Kept structurally distinct from {@link TeamDeploymentPolicy} so the two storage locations don't share a type by accident.
*/
export type UpdateProjectProjectsDeploymentPolicy = {
gitSources?: Array<UpdateProjectGitSources> | null | undefined;
deploymentSources?: Array<UpdateProjectDeploymentSources> | null | undefined;
};
export declare const UpdateProjectTier: {
readonly Advanced: "advanced";
readonly Critical: "critical";
readonly Priority: "priority";
};
export type UpdateProjectTier = ClosedEnum<typeof UpdateProjectTier>;
/**
* Billing mode. Always 'flat' for flat-rate projects.
*/
export declare const UpdateProjectKind: {
readonly Flat: "flat";
};
/**
* Billing mode. Always 'flat' for flat-rate projects.
*/
export type UpdateProjectKind = ClosedEnum<typeof UpdateProjectKind>;
export type UpdateProjectUsageStatus = {
/**
* Billing mode. Always 'flat' for flat-rate projects.
*/
kind: UpdateProjectKind;
/**
* Timestamp until which the project has exceeded its CDN allowance.
*/
exceededAllowanceUntil?: number | undefined;
/**
* Timestamp until which throttling is bypassed (project pays list rates for overage).
*/
bypassThrottleUntil?: number | undefined;
/**
* Per-project throttle, set explicitly for this project (e.g. via the per-project Flat Rate CDN endpoint).
*/
throttled?: boolean | undefined;
/**
* Synced from `team.billing.usageStatus.throttled`. When `true`, the team has throttled all of its projects regardless of `throttled`. The effective throttle the CDN enforces is `throttled || teamThrottled`.
*/
teamThrottled?: boolean | undefined;
};
export type UpdateProjectFeatures = {
webAnalytics?: boolean | undefined;
};
export type UpdateProjectHistory = {
scanner: string;
reason: string;
by: string;
byId: string;
at: number;
};
export declare const UpdateProjectProjectsResponse200Action: {
readonly Blocked: "blocked";
};
export type UpdateProjectProjectsResponse200Action = ClosedEnum<typeof UpdateProjectProjectsResponse200Action>;
export type UpdateProjectBlock = {
action: UpdateProjectProjectsResponse200Action;
reason: string;
statusCode: number;
createdAt: number;
caseId?: string | undefined;
actor?: string | undefined;
comment?: string | undefined;
ineligibleForAppeal?: boolean | undefined;
isCascading?: boolean | undefined;
};
export type UpdateProjectHasProjectsResponse200Value = {
eq: string;
};
export type UpdateProjectHasProjects2 = {
type: "host";
value: UpdateProjectHasProjectsResponse200Value;
};
export declare const UpdateProjectHasProjectsKey: {
readonly XVercelIpCountry: "x-vercel-ip-country";
};
export type UpdateProjectHasProjectsKey = ClosedEnum<typeof UpdateProjectHasProjectsKey>;
export type UpdateProjectHasProjectsResponseValue = {
eq: string;
};
export type UpdateProjectHasProjects1 = {
type: "header";
key: UpdateProjectHasProjectsKey;
value: UpdateProjectHasProjectsResponseValue;
};
export type UpdateProjectRouteProjectsHas = UpdateProjectHasProjects1 | UpdateProjectHasProjects2;
export declare const UpdateProjectRouteProjectsAction: {
readonly BlockLegalCwc: "block_legal_cwc";
};
export type UpdateProjectRouteProjectsAction = ClosedEnum<typeof UpdateProjectRouteProjectsAction>;
export type UpdateProjectRouteProjectsMitigate = {
action: UpdateProjectRouteProjectsAction;
};
export type UpdateProjectRouteProjects2 = {
has: Array<UpdateProjectHasProjects1 | UpdateProjectHasProjects2>;
mitigate: UpdateProjectRouteProjectsMitigate;
src?: string | undefined;
};
export type UpdateProjectRouteProjects1 = {
src: string;
status: number;
expiry?: number | undefined;
};
export type UpdateProjectBlockHistoryProjectsRoute = UpdateProjectRouteProjects1 | UpdateProjectRouteProjects2;
export type UpdateProjectBlockHistory4 = {
action: "route-unblocked";
route: UpdateProjectRouteProjects1 | UpdateProjectRouteProjects2;
statusCode?: number | undefined;
createdAt: number;
caseId?: string | undefined;
actor?: string | undefined;
comment?: string | undefined;
ineligibleForAppeal?: boolean | undefined;
isCascading?: boolean | undefined;
};
export type UpdateProjectHasProjectsResponse200ApplicationJSONResponseBodyValue = {
eq: string;
};
export type UpdateProjectHasProjectsResponse2 = {
type: "host";
value: UpdateProjectHasProjectsResponse200ApplicationJSONResponseBodyValue;
};
export declare const UpdateProjectHasProjectsResponseKey: {
readonly XVercelIpCountry: "x-vercel-ip-country";
};
export type UpdateProjectHasProjectsResponseKey = ClosedEnum<typeof UpdateProjectHasProjectsResponseKey>;
export type UpdateProjectHasProjectsResponse200ApplicationJSONValue = {
eq: string;
};
export type UpdateProjectHasProjectsResponse1 = {
type: "header";
key: UpdateProjectHasProjectsResponseKey;
value: UpdateProjectHasProjectsResponse200ApplicationJSONValue;
};
export type UpdateProjectRouteHas = UpdateProjectHasProjectsResponse1 | UpdateProjectHasProjectsResponse2;
export declare const UpdateProjectRouteAction: {
readonly BlockLegalCwc: "block_legal_cwc";
};
export type UpdateProjectRouteAction = ClosedEnum<typeof UpdateProjectRouteAction>;
export type UpdateProjectRouteMitigate = {
action: UpdateProjectRouteAction;
};
export type UpdateProjectRoute2 = {
has: Array<UpdateProjectHasProjectsResponse1 | UpdateProjectHasProjectsResponse2>;
mitigate: UpdateProjectRouteMitigate;
src?: string | undefined;
};
export type UpdateProjectRoute1 = {
src: string;
status: number;
expiry?: number | undefined;
};
export type UpdateProjectBlockHistoryRoute = UpdateProjectRoute1 | UpdateProjectRoute2;
export type UpdateProjectBlockHistory3 = {
action: "route-blocked";
route: UpdateProjectRoute1 | UpdateProjectRoute2;
reason: string;
createdAt: number;
caseId?: string | undefined;
actor?: string | undefined;
comment?: string | undefined;
ineligibleForAppeal?: boolean | undefined;
isCascading?: boolean | undefined;
};
export type UpdateProjectBlockHistory2 = {
action: "unblocked";
createdAt: number;
caseId?: string | undefined;
actor?: string | undefined;
comment?: string | undefined;
ineligibleForAppeal?: boolean | undefined;
isCascading?: boolean | undefined;
};
export type UpdateProjectBlockHistory1 = {
action: "blocked";
reason: string;
statusCode: number;
createdAt: number;
caseId?: string | undefined;
actor?: string | undefined;
comment?: string | undefined;
ineligibleForAppeal?: boolean | undefined;
isCascading?: boolean | undefined;
};
export type UpdateProjectBlockHistory = UpdateProjectBlockHistory1 | UpdateProjectBlockHistory2 | UpdateProjectBlockHistory3 | UpdateProjectBlockHistory4;
export declare const UpdateProjectProjectsResponse200ApplicationJSONAction: {
readonly AddDeploymentInterstitial: "add-deployment-interstitial";
readonly AddProjectInterstitial: "add-project-interstitial";
readonly RemoveDeploymentInterstitial: "remove-deployment-interstitial";
readonly RemoveProjectInterstitial: "remove-project-interstitial";
};
export type UpdateProjectProjectsResponse200ApplicationJSONAction = ClosedEnum<typeof UpdateProjectProjectsResponse200ApplicationJSONAction>;
export type UpdateProjectInterstitialHistory = {
action: UpdateProjectProjectsResponse200ApplicationJSONAction;
createdAt: number;
caseId?: string | undefined;
reason?: string | undefined;
actor?: string | undefined;
comment?: string | undefined;
};
export type UpdateProjectAbuse = {
scanner?: string | undefined;
history: Array<UpdateProjectHistory>;
updatedAt: number;
block?: UpdateProjectBlock | undefined;
blockHistory?: Array<UpdateProjectBlockHistory1 | UpdateProjectBlockHistory2 | UpdateProjectBlockHistory3 | UpdateProjectBlockHistory4> | undefined;
interstitial?: boolean | undefined;
interstitialHistory?: Array<UpdateProjectInterstitialHistory> | undefined;
};
export type UpdateProjectHasProjectsValue = {
eq: string;
};
export type UpdateProjectHas2 = {
type: "host";
value: UpdateProjectHasProjectsValue;
};
export declare const UpdateProjectHasKey: {
readonly XVercelIpCountry: "x-vercel-ip-country";
};
export type UpdateProjectHasKey = ClosedEnum<typeof UpdateProjectHasKey>;
export type UpdateProjectHasValue = {
eq: string;
};
export type UpdateProjectHas1 = {
type: "header";
key: UpdateProjectHasKey;
value: UpdateProjectHasValue;
};
export type UpdateProjectInternalRoutesHas = UpdateProjectHas1 | UpdateProjectHas2;
export declare const UpdateProjectInternalRoutesAction: {
readonly BlockLegalCwc: "block_legal_cwc";
};
export type UpdateProjectInternalRoutesAction = ClosedEnum<typeof UpdateProjectInternalRoutesAction>;
export type UpdateProjectInternalRoutesMitigate = {
action: UpdateProjectInternalRoutesAction;
};
export type UpdateProjectInternalRoutes2 = {
has: Array<UpdateProjectHas1 | UpdateProjectHas2>;
mitigate: UpdateProjectInternalRoutesMitigate;
src?: string | undefined;
};
export type UpdateProjectInternalRoutes1 = {
src: string;
status: number;
expiry?: number | undefined;
};
export type UpdateProjectInternalRoutes = UpdateProjectInternalRoutes1 | UpdateProjectInternalRoutes2;
export declare const UpdateProjectProjectsAction: {
readonly Accept: "accept";
readonly Cancel: "cancel";
readonly Delete: "delete";
};
export type UpdateProjectProjectsAction = ClosedEnum<typeof UpdateProjectProjectsAction>;
export type UpdateProjectValuePreviousValue = string | number | boolean;
export type UpdateProjectValueCurrentValue = string | number | boolean;
export type UpdateProjectValue3 = {
previousValue: string | number | boolean;
currentValue: string | number | boolean;
};
export type UpdateProjectValue = UpdateProjectValue3 | string | number | boolean;
export type UpdateProjectProjectsDismissedToasts = {
key: string;
dismissedAt: number;
action: UpdateProjectProjectsAction;
value: UpdateProjectValue3 | string | number | boolean | null;
};
export declare const UpdateProjectProjectsResponseEnv: {
readonly Preview: "preview";
readonly Production: "production";
};
export type UpdateProjectProjectsResponseEnv = ClosedEnum<typeof UpdateProjectProjectsResponseEnv>;
/**
* Which tracing destination this rule applies to. `internal` is the hidden Vercel production-tracing drain (internal delivery); `external` is any customer-configured drain. Derived from the owning drain's delivery type when project tracing is computed; absent on configs persisted before this field existed.
*/
export declare const UpdateProjectDestination: {
readonly External: "external";
readonly Internal: "internal";
};
/**
* Which tracing destination this rule applies to. `internal` is the hidden Vercel production-tracing drain (internal delivery); `external` is any customer-configured drain. Derived from the owning drain's delivery type when project tracing is computed; absent on configs persisted before this field existed.
*/
export type UpdateProjectDestination = ClosedEnum<typeof UpdateProjectDestination>;
export type UpdateProjectSamplingRules = {
rate: number;
env?: UpdateProjectProjectsResponseEnv | undefined;
requestPath?: string | undefined;
/**
* Which tracing destination this rule applies to. `internal` is the hidden Vercel production-tracing drain (internal delivery); `external` is any customer-configured drain. Derived from the owning drain's delivery type when project tracing is computed; absent on configs persisted before this field existed.
*/
destination?: UpdateProjectDestination | undefined;
};
export type UpdateProjectProjectsTracing = {
domains?: string | undefined;
ignorePaths?: Array<string> | undefined;
samplingRules?: Array<UpdateProjectSamplingRules> | undefined;
};
/**
* The project was successfully updated
*/
export type UpdateProjectResponseBody = {
accountId: string;
creator?: UpdateProjectCreator | undefined;
alias: Array<UpdateProjectAlias>;
analytics?: UpdateProjectAnalytics | undefined;
appliedCve55182Migration?: boolean | undefined;
speedInsights?: UpdateProjectSpeedInsights | undefined;
autoExposeSystemEnvs?: boolean | undefined;
autoAssignCustomDomains?: boolean | undefined;
autoAssignCustomDomainsUpdatedBy?: string | undefined;
buildCommand?: string | null | undefined;
commandForIgnoringBuildStep?: string | null | undefined;
connectConfigurations?: Array<UpdateProjectConnectConfigurations> | null | undefined;
connectConfigurationId?: string | null | undefined;
connectBuildsEnabled?: boolean | undefined;
passiveConnectConfigurationId?: string | null | undefined;
createdAt?: number | undefined;
customerSupportCodeVisibility?: boolean | undefined;
crons?: UpdateProjectCrons | undefined;
dataCache?: UpdateProjectDataCache | 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.
*/
deploymentExpiration: UpdateProjectDeploymentExpiration;
expiration?: UpdateProjectExpiration | undefined;
devCommand?: string | null | undefined;
directoryListing: boolean;
installCommand?: string | null | undefined;
env?: Array<UpdateProjectProjectsEnv> | undefined;
customEnvironments?: Array<UpdateProjectCustomEnvironments> | undefined;
framework?: UpdateProjectProjectsFramework | null | undefined;
services?: Array<UpdateProjectServices> | undefined;
gitForkProtection?: boolean | undefined;
gitLFS?: boolean | undefined;
id: string;
ipBuckets?: Array<UpdateProjectIpBuckets> | undefined;
jobs?: UpdateProjectJobs | undefined;
latestDeployments?: Array<UpdateProjectLatestDeployments> | undefined;
link?: UpdateProjectLink | undefined;
blobs?: UpdateProjectBlobs | undefined;
microfrontends?: UpdateProjectMicrofrontends | undefined;
name: string;
nodeVersion: UpdateProjectProjectsNodeVersion;
optionsAllowlist?: UpdateProjectProjectsOptionsAllowlist | null | undefined;
outputDirectory?: string | null | undefined;
passwordProtection?: UpdateProjectProjectsPasswordProtection | null | undefined;
passport?: UpdateProjectProjectsPassport | null | undefined;
protectionConfig?: UpdateProjectProtectionConfig | undefined;
sandbox?: UpdateProjectProjectsSandbox | undefined;
productionDeploymentsFastLane?: boolean | undefined;
resourceConfig: UpdateProjectProjectsResourceConfig;
/**
* Description of why a project was rolled back, and by whom. Note that lastAliasRequest contains the from/to details of the rollback.
*/
rollbackDescription?: UpdateProjectRollbackDescription | undefined;
/**
* Project-level rolling release configuration that defines how deployments should be gradually rolled out
*/
rollingRelease?: UpdateProjectRollingRelease | null | undefined;
defaultResourceConfig: UpdateProjectDefaultResourceConfig;
rootDirectory?: string | null | undefined;
serverlessFunctionZeroConfigFailover?: boolean | undefined;
skewProtectionBoundaryAt?: number | undefined;
skewProtectionMaxAge?: number | undefined;
skewProtectionAllowedDomains?: Array<string> | undefined;
skipGitConnectDuringLink?: boolean | undefined;
staticIps?: UpdateProjectProjectsStaticIps | undefined;
sourceFilesOutsideRootDirectory?: boolean | undefined;
enableAffectedProjectsDeployments?: boolean | undefined;
enableExternalRewriteCaching?: boolean | undefined;
ssoProtection?: UpdateProjectProjectsSsoProtection | null | undefined;
targets?: {
[k: string]: UpdateProjectTargets | null;
} | undefined;
transferCompletedAt?: number | undefined;
transferStartedAt?: number | undefined;
transferToAccountId?: string | undefined;
transferredFromAccountId?: string | undefined;
updatedAt?: number | undefined;
live?: boolean | undefined;
enablePreviewFeedback?: boolean | null | undefined;
enableProductionFeedback?: boolean | null | undefined;
permissions?: UpdateProjectPermissions | undefined;
lastRollbackTarget?: UpdateProjectLastRollbackTarget | null | undefined;
lastAliasRequest?: UpdateProjectLastAliasRequest | null | undefined;
protectionBypass?: {
[k: string]: UpdateProjectProtectionBypass;
} | undefined;
hasActiveBranches?: boolean | undefined;
trustedIps?: UpdateProjectProjectsTrustedIps | null | undefined;
trustedSources?: UpdateProjectTrustedSources | null | undefined;
gitComments?: UpdateProjectGitComments | undefined;
gitProviderOptions?: UpdateProjectGitProviderOptions | undefined;
paused?: boolean | undefined;
concurrencyBucketName?: string | undefined;
webAnalytics?: UpdateProjectWebAnalytics | undefined;
security?: UpdateProjectSecurity | undefined;
oidcTokenConfig?: UpdateProjectProjectsOidcTokenConfig | undefined;
/**
* Project shape. `null` on a rule list clears the project's override for that rule type (fall back to team for every env); omitting is equivalent. Setting `deploymentPolicy` itself to `null` clears every override at once. Kept structurally distinct from {@link TeamDeploymentPolicy} so the two storage locations don't share a type by accident.
*/
deploymentPolicy?: UpdateProjectProjectsDeploymentPolicy | null | undefined;
tier?: UpdateProjectTier | undefined;
usageStatus?: UpdateProjectUsageStatus | undefined;
features?: UpdateProjectFeatures | undefined;
v0?: boolean | undefined;
v0Created?: boolean | undefined;
abuse?: UpdateProjectAbuse | undefined;
internalRoutes?: Array<UpdateProjectInternalRoutes1 | UpdateProjectInternalRoutes2> | undefined;
hasDeployments?: boolean | undefined;
dismissedToasts?: Array<UpdateProjectProjectsDismissedToasts> | undefined;
protectedSourcemaps?: boolean | undefined;
tracing?: UpdateProjectProjectsTracing | undefined;
avatar?: string | null | undefined;
};
/** @internal */
export declare const UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityManagedRulesBotFilterAction$inboundSchema: z.ZodNativeEnum<typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityManagedRulesBotFilterAction>;
/** @internal */
export declare const UpdateProjectBotFilter$inboundSchema: z.ZodType<UpdateProjectBotFilter, z.ZodTypeDef, unknown>;
export declare function updateProjectBotFilterFromJSON(jsonString: string): SafeParseResult<UpdateProjectBotFilter, SDKValidationError>;
/** @internal */
export declare const UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityAction$inboundSchema: z.ZodNativeEnum<typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityAction>;
/** @internal */
export declare const UpdateProjectAiBots$inboundSchema: z.ZodType<UpdateProjectAiBots, z.ZodTypeDef, unknown>;
export declare function updateProjectAiBotsFromJSON(jsonString: string): SafeParseResult<UpdateProjectAiBots, SDKValidationError>;
/** @internal */
export declare const UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityManagedRulesAction$inboundSchema: z.ZodNativeEnum<typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodySecurityManagedRulesAction>;
/** @internal */
export declare const UpdateProjectOwasp$inboundSchema: z.ZodType<UpdateProjectOwasp, z.ZodTypeDef, unknown>;
export declare function updateProjectOwaspFromJSON(jsonString: string): SafeParseResult<UpdateProjectOwasp, SDKValidationError>;
/** @internal */
export declare const UpdateProjectManagedRules$inboundSchema: z.ZodType<UpdateProjectManagedRules, z.ZodTypeDef, unknown>;
export declare function updateProjectManagedRulesFromJSON(jsonString: string): SafeParseResult<UpdateProjectManagedRules, SDKValidationError>;
/** @internal */
export declare const UpdateProjectLogHeaders2$inboundSchema: z.ZodNativeEnum<typeof UpdateProjectLogHeaders2>;
/** @internal */
export declare const UpdateProjectLogHeaders$inboundSchema: z.ZodType<UpdateProjectLogHeaders, z.ZodTypeDef, unknown>;
export declare function updateProjectLogHeadersFromJSON(jsonString: string): SafeParseResult<UpdateProjectLogHeaders, SDKValidationError>;
/** @internal */
export declare const UpdateProjectSecurityPlusMetadata$inboundSchema: z.ZodType<UpdateProjectSecurityPlusMetadata, z.ZodTypeDef, unknown>;
export declare function updateProjectSecurityPlusMetadataFromJSON(jsonString: string): SafeParseResult<UpdateProjectSecurityPlusMetadata, SDKValidationError>;
/** @internal */
export declare const UpdateProjectSecurity$inboundSchema: z.ZodType<UpdateProjectSecurity, z.ZodTypeDef, unknown>;
export declare function updateProjectSecurityFromJSON(jsonString: string): SafeParseResult<UpdateProjectSecurity, SDKValidationError>;
/** @internal */
export declare const UpdateProjectProjectsIssuerMode$inboundSchema: z.ZodNativeEnum<typeof UpdateProjectProjectsIssuerMode>;
/** @internal */
export declare const UpdateProjectProjectsOidcTokenConfig$inboundSchema: z.ZodType<UpdateProjectProjectsOidcTokenConfig, z.ZodTypeDef, unknown>;
export declare function updateProjectProjectsOidcTokenConfigFromJSON(jsonString: string): SafeParseResult<UpdateProjectProjectsOidcTokenConfig, SDKValidationError>;
/** @internal */
export declare const UpdateProjectSourcesProjects2$inboundSchema: z.ZodType<UpdateProjectSourcesProjects2, z.ZodTypeDef, unknown>;
export declare function updateProjectSourcesProjects2FromJSON(jsonString: string): SafeParseResult<UpdateProjectSourcesProjects2, SDKValidationError>;
/** @internal */
export declare const UpdateProjectSourcesProjectsResponse200Provider$inboundSchema: z.ZodNativeEnum<typeof UpdateProjectSourcesProjectsResponse200Provider>;
/** @internal */
export declare const UpdateProjectSourcesProjects1$inboundSchema: z.ZodType<UpdateProjectSourcesProjects1, z.ZodTypeDef, unknown>;
export declare function updateProjectSourcesProjects1FromJSON(jsonString: string): SafeParseResult<UpdateProjectSourcesProjects1, SDKValidationError>;
/** @internal */
export declare const UpdateProjectSources$inboundSchema: z.ZodType<UpdateProjectSources, z.ZodTypeDef, unknown>;
export declare function updateProjectSourcesFromJSON(jsonString: string): SafeParseResult<UpdateProjectSources, SDKValidationError>;
/** @internal */
export declare const UpdateProjectEnvironmentsProjectsResponse2002$inboundSchema: z.ZodType<UpdateProjectEnvironmentsProjectsResponse2002, z.ZodTypeDef, unknown>;
export declare function updateProjectEnvironmentsProjectsResponse2002FromJSON(jsonString: string): SafeParseResult<UpdateProjectEnvironmentsProjectsResponse2002, SDKValidationError>;
/** @internal */
export declare const UpdateProjectEnvironmentsProjectsResponse200Target$inboundSchema: z.ZodNativeEnum<typeof UpdateProjectEnvironmentsProjectsResponse200Target>;
/** @internal */
export declare const UpdateProjectEnvironmentsProjectsResponse1$inboundSchema: z.ZodType<UpdateProjectEnvironmentsProjectsResponse1, z.ZodTypeDef, unknown>;
export declare function updateProjectEnvironmentsProjectsResponse1FromJSON(jsonString: string): SafeParseResult<UpdateProjectEnvironmentsProjectsResponse1, SDKValidationError>;
/** @internal */
export declare const UpdateProjectEnvironments$inboundSchema: z.ZodType<UpdateProjectEnvironments, z.ZodTypeDef, unknown>;
export declare function updateProjectEnvironmentsFromJSON(jsonString: string): SafeParseResult<UpdateProjectEnvironments, SDKValidationError>;
/** @internal */
export declare const UpdateProjectGitSources$inboundSchema: z.ZodType<UpdateProjectGitSources, z.ZodTypeDef, unknown>;
export declare function updateProjectGitSourcesFromJSON(jsonString: string): SafeParseResult<UpdateProjectGitSources, SDKValidationError>;
/** @internal */
export declare const UpdateProjectProjectsSources$inboundSchema: z.ZodNativeEnum<typeof UpdateProjectProjectsSources>;
/** @internal */
export declare const UpdateProjectEnvironmentsProjectsResponse2$inboundSchema: z.ZodType<UpdateProjectEnvironmentsProjectsResponse2, z.ZodTypeDef, unknown>;
export declare function updateProjectEnvironmentsProjectsResponse2FromJSON(jsonString: string): SafeParseResult<UpdateProjectEnvironmentsProjectsResponse2, SDKValidationError>;
/** @internal */
export declare const UpdateProjectEnvironmentsProjectsResponseTarget$inboundSchema: z.ZodNativeEnum<typeof UpdateProjectEnvironmentsProjectsResponseTarget>;
/** @internal */
export declare const UpdateProjectEnvironmentsProjectsResponse2001$inboundSchema: z.ZodType<UpdateProjectEnvironmentsProjectsResponse2001, z.ZodTypeDef, unknown>;
export declare function updateProjectEnvironmentsProjectsResponse2001FromJSON(jsonString: string): SafeParseResult<UpdateProjectEnvironmentsProjectsResponse2001, SDKValidationError>;
/** @internal */
export declare const UpdateProjectProjectsEnvironments$inboundSchema: z.ZodType<UpdateProjectProjectsEnvironments, z.ZodTypeDef, unknown>;
export declare function updateProjectProjectsEnvironmentsFromJSON(jsonString: string): SafeParseResult<UpdateProjectProjectsEnvironments, SDKValidationError>;
/** @internal */
export declare const UpdateProjectDeploymentSources$inboundSchema: z.ZodType<UpdateProjectDeploymentSources, z.ZodTypeDef, unknown>;
export declare function updateProjectDeploymentSourcesFromJSON(jsonString: string): SafeParseResult<UpdateProjectDeploymentSources, SDKValidationError>;
/** @internal */
export declare const UpdateProjectProjectsDeploymentPolicy$inboundSchema: z.ZodType<UpdateProjectProjectsDeploymentPolicy, z.ZodTypeDef, unknown>;
export declare function updateProjectProjectsDeploymentPolicyFromJSON(jsonString: string): SafeParseResult<UpdateProjectProjectsDeploymentPolicy, SDKValidationError>;
/** @internal */
export declare const UpdateProjectTier$inboundSchema: z.ZodNativeEnum<typeof UpdateProjectTier>;
/** @internal */
export declare const UpdateProjectKind$inboundSchema: z.ZodNativeEnum<typeof UpdateProjectKind>;
/** @internal */
export declare const UpdateProjectUsageStatus$inboundSchema: z.ZodType<UpdateProjectUsageStatus, z.ZodTypeDef, unknown>;
export declare function updateProjectUsageStatusFromJSON(jsonString: string): SafeParseResult<UpdateProjectUsageStatus, SDKValidationError>;
/** @internal */
export declare const UpdateProjectFeatures$inboundSchema: z.ZodType<UpdateProjectFeatures, z.ZodTypeDef, unknown>;
export declare function updateProjectFeaturesFromJSON(jsonString: string): SafeParseResult<UpdateProjectFeatures, SDKValidationError>;
/** @internal */
export declare const UpdateProjectHistory$inboundSchema: z.ZodType<UpdateProjectHistory, z.ZodTypeDef, unknown>;
export declare function updateProjectHistoryFromJSON(jsonString: string): SafeParseResult<UpdateProjectHistory, SDKValidationError>;
/** @internal */
export declare const UpdateProjectProjectsResponse200Action$inboundSchema: z.ZodNativeEnum<typeof UpdateProjectProjectsResponse200Action>;
/** @internal */
export declare const UpdateProjectBlock$inboundSchema: z.ZodType<UpdateProjectBlock, z.ZodTypeDef, unknown>;
export declare function updateProjectBlockFromJSON(jsonString: string): SafeParseResult<UpdateProjectBlock, SDKValidationError>;
/** @internal */
export declare const UpdateProjectHasProjectsResponse200Value$inboundSchema: z.ZodType<UpdateProjectHasProjectsResponse200Value, z.ZodTypeDef, unknown>;
export declare function updateProjectHasProjectsResponse200ValueFromJSON(jsonString: string): SafeParseResult<UpdateProjectHasProjectsResponse200Value, SDKValidationError>;
/** @internal */
export declare const UpdateProjectHasProjects2$inboundSchema: z.ZodType<UpdateProjectHasProjects2, z.ZodTypeDef, unknown>;
export declare function updateProjectHasProjects2FromJSON(jsonString: string): SafeParseResult<UpdateProjectHasProjects2, SDKValidationError>;
/** @internal */
export declare const UpdateProjectHasProjectsKey$inboundSchema: z.ZodNativeEnum<typeof UpdateProjectHasProjectsKey>;
/** @internal */
export declare const UpdateProjectHasProjectsResponseValue$inboundSchema: z.ZodType<UpdateProjectHasProjectsResponseValue, z.ZodTypeDef, unknown>;
export declare function updateProjectHasProjectsResponseValueFromJSON(jsonString: string): SafeParseResult<UpdateProjectHasProjectsResponseValue, SDKValidationError>;
/** @internal */
export declare const UpdateProjectHasProjects1$inboundSchema: z.ZodType<UpdateProjectHasProjects1, z.ZodTypeDef, unknown>;
export declare function updateProjectHasProjects1FromJSON(jsonString: string): SafeParseResult<UpdateProjectHasProjects1, SDKValidationError>;
/** @internal */
export declare const UpdateProjectRouteProjectsHas$inboundSchema: z.ZodType<UpdateProjectRouteProjectsHas, z.ZodTypeDef, unknown>;
export declare function updateProjectRouteProjectsHasFromJSON(jsonString: string): SafeParseResult<UpdateProjectRouteProjectsHas, SDKValidationError>;
/** @internal */
export declare const UpdateProjectRouteProjectsAction$inboundSchema: z.ZodNativeEnum<typeof UpdateProjectRouteProjectsAction>;
/** @internal */
export declare const UpdateProjectRouteProjectsMitigate$inboundSchema: z.ZodType<UpdateProjectRouteProjectsMitigate, z.ZodTypeDef, unknown>;
export declare function updateProjectRouteProjectsMitigateFromJSON(jsonString: string): SafeParseResult<UpdateProjectRouteProjectsMitigate, SDKValidationError>;
/** @internal */
export declare const UpdateProjectRouteProjects2$inboundSchema: z.ZodType<UpdateProjectRouteProjects2, z.ZodTypeDef, unknown>;
export declare function updateProjectRouteProjects2FromJSON(jsonString: string): SafeParseResult<UpdateProjectRouteProjects2, SDKValidationError>;
/** @internal */
export declare const UpdateProjectRouteProjects1$inboundSchema: z.ZodType<UpdateProjectRouteProjects1, z.ZodTypeDef, unknown>;
export declare function updateProjectRouteProjects1FromJSON(jsonString: string): SafeParseResult<UpdateProjectRouteProjects1, SDKValidationError>;
/** @internal */
export declare const UpdateProjectBlockHistoryProjectsRoute$inboundSchema: z.ZodType<UpdateProjectBlockHistoryProjectsRoute, z.ZodTypeDef, unknown>;
export declare function updateProjectBlockHistoryProjectsRouteFromJSON(jsonString: string): SafeParseResult<UpdateProjectBlockHistoryProjectsRoute, SDKValidationError>;
/** @internal */
export declare const UpdateProjectBlockHistory4$inboundSchema: z.ZodType<UpdateProjectBlockHistory4, z.ZodTypeDef, unknown>;
export declare function updateProjectBlockHistory4FromJSON(jsonString: string): SafeParseResult<UpdateProjectBlockHistory4, SDKValidationError>;
/** @internal */
export declare const UpdateProjectHasProjectsResponse200ApplicationJSONResponseBodyValue$inboundSchema: z.ZodType<UpdateProjectHasProjectsResponse200ApplicationJSONResponseBodyValue, z.ZodTypeDef, unknown>;
export declare function updateProjectHasProjectsResponse200ApplicationJSONResponseBodyValueFromJSON(jsonString: string): SafeParseResult<UpdateProjectHasProjectsResponse200ApplicationJSONResponseBodyValue, SDKValidationError>;
/** @internal */
export declare const UpdateProjectHasProjectsResponse2$inboundSchema: z.ZodType<UpdateProjectHasProjectsResponse2, z.ZodTypeDef, unknown>;
export declare function updateProjectHasProjectsResponse2FromJSON(jsonString: string): SafeParseResult<UpdateProjectHasProjectsResponse2, SDKValidationError>;
/** @internal */
export declare const UpdateProjectHasProjectsResponseKey$inboundSchema: z.ZodNativeEnum<typeof UpdateProjectHasProjectsResponseKey>;
/** @internal */
export declare const UpdateProjectHasProjectsResponse200ApplicationJSONValue$inboundSchema: z.ZodType<UpdateProjectHasProjectsResponse200ApplicationJSONValue, z.ZodTypeDef, unknown>;
export declare function updateProjectHasProjectsResponse200ApplicationJSONValueFromJSON(jsonString: string): SafeParseResult<UpdateProjectHasProjectsResponse200ApplicationJSONValue, SDKValidationError>;
/** @internal */
export declare const UpdateProjectHasProjectsResponse1$inboundSchema: z.ZodType<UpdateProjectHasProjectsResponse1, z.ZodTypeDef, unknown>;
export declare function updateProjectHasProjectsResponse1FromJSON(jsonString: string): SafeParseResult<UpdateProjectHasProjectsResponse1, SDKValidationError>;
/** @internal */
export declare const UpdateProjectRouteHas$inboundSchema: z.ZodType<UpdateProjectRouteHas, z.ZodTypeDef, unknown>;
export declare function updateProjectRouteHasFromJSON(jsonString: string): SafeParseResult<UpdateProjectRouteHas, SDKValidationError>;
/** @internal */
export declare const UpdateProjectRouteAction$inboundSchema: z.ZodNativeEnum<typeof UpdateProjectRouteAction>;
/** @internal */
export declare const UpdateProjectRouteMitigate$inboundSchema: z.ZodType<UpdateProjectRouteMitigate, z.ZodTypeDef, unknown>;
export declare function updateProjectRouteMitigateFromJSON(jsonString: string): SafeParseResult<UpdateProjectRouteMitigate, SDKValidationError>;
/** @internal */
export declare const UpdateProjectRoute2$inboundSchema: z.ZodType<UpdateProjectRoute2, z.ZodTypeDef, unknown>;
export declare function updateProjectRoute2FromJSON(jsonString: string): SafeParseResult<UpdateProjectRoute2, SDKValidationError>;
/** @internal */
export declare const UpdateProjectRoute1$inboundSchema: z.ZodType<UpdateProjectRoute1, z.ZodTypeDef, unknown>;
export declare function updateProjectRoute1FromJSON(jsonString: string): SafeParseResult<UpdateProjectRoute1, SDKValidationError>;
/** @internal */
export declare const UpdateProjectBlockHistoryRoute$inboundSchema: z.ZodType<UpdateProjectBlockHistoryRoute, z.ZodTypeDef, unknown>;
export declare function updateProjectBlockHistoryRouteFromJSON(jsonString: string): SafeParseResult<UpdateProjectBlockHistoryRoute, SDKValidationError>;
/** @internal */
export declare const UpdateProjectBlockHistory3$inboundSchema: z.ZodType<UpdateProjectBlockHistory3, z.ZodTypeDef, unknown>;
export declare function updateProjectBlockHistory3FromJSON(jsonString: string): SafeParseResult<UpdateProjectBlockHistory3, SDKValidationError>;
/** @internal */
export declare const UpdateProjectBlockHistory2$inboundSchema: z.ZodType<UpdateProjectBlockHistory2, z.ZodTypeDef, unknown>;
export declare function updateProjectBlockHistory2FromJSON(jsonString: string): SafeParseResult<UpdateProjectBlockHistory2, SDKValidationError>;
/** @internal */
export declare const UpdateProjectBlockHistory1$inboundSchema: z.ZodType<UpdateProjectBlockHistory1, z.ZodTypeDef, unknown>;
export declare function updateProjectBlockHistory1FromJSON(jsonString: string): SafeParseResult<UpdateProjectBlockHistory1, SDKValidationError>;
/** @internal */
export declare const UpdateProjectBlockHistory$inboundSchema: z.ZodType<UpdateProjectBlockHistory, z.ZodTypeDef, unknown>;
export declare function updateProjectBlockHistoryFromJSON(jsonString: string): SafeParseResult<UpdateProjectBlockHistory, SDKValidationError>;
/** @internal */
export declare const UpdateProjectProjectsResponse200ApplicationJSONAction$inboundSchema: z.ZodNativeEnum<typeof UpdateProjectProjectsResponse200ApplicationJSONAction>;
/** @internal */
export declare const UpdateProjectInterstitialHistory$inboundSchema: z.ZodType<UpdateProjectInterstitialHistory, z.ZodTypeDef, unknown>;
export declare function updateProjectInterstitialHistoryFromJSON(jsonString: string): SafeParseResult<UpdateProjectInterstitialHistory, SDKValidationError>;
/** @internal */
export declare const UpdateProjectAbuse$inboundSchema: z.ZodType<UpdateProjectAbuse, z.ZodTypeDef, unknown>;
export declare function updateProjectAbuseFromJSON(jsonString: string): SafeParseResult<UpdateProjectAbuse, SDKValidationError>;
/** @internal */
export declare const UpdateProjectHasProjectsValue$inboundSchema: z.ZodType<UpdateProjectHasProjectsValue, z.ZodTypeDef, unknown>;
export declare function updateProjectHasProjectsValueFromJSON(jsonString: string): SafeParseResult<UpdateProjectHasProjectsValue, SDKValidationError>;
/** @internal */
export declare const UpdateProjectHas2$inboundSchema: z.ZodType<UpdateProjectHas2, z.ZodTypeDef, unknown>;
export declare function updateProjectHas2FromJSON(jsonString: string): SafeParseResult<UpdateProjectHas2, SDKValidationError>;
/** @internal */
export declare const UpdateProjectHasKey$inboundSchema: z.ZodNativeEnum<typeof UpdateProjectHasKey>;
/** @internal */
export declare const UpdateProjectHasValue$inboundSchema: z.ZodType<UpdateProjectHasValue, z.ZodTypeDef, unknown>;
export declare function updateProjectHasValueFromJSON(jsonString: string): SafeParseResult<UpdateProjectHasValue, SDKValidationError>;
/** @internal */
export declare const UpdateProjectHas1$inboundSchema: z.ZodType<UpdateProjectHas1, z.ZodTypeDef, unknown>;
export declare function updateProjectHas1FromJSON(jsonString: string): SafeParseResult<UpdateProjectHas1, SDKValidationError>;
/** @internal */
export declare const UpdateProjectInternalRoutesHas$inboundSchema: z.ZodType<UpdateProjectInternalRoutesHas, z.ZodTypeDef, unknown>;
export declare function updateProjectInternalRoutesHasFromJSON(jsonString: string): SafeParseResult<UpdateProjectInternalRoutesHas, SDKValidationError>;
/** @internal */
export declare const UpdateProjectInternalRoutesAction$inboundSchema: z.ZodNativeEnum<typeof UpdateProjectInternalRoutesAction>;
/** @internal */
export declare const UpdateProjectInternalRoutesMitigate$inboundSchema: z.ZodType<UpdateProjectInternalRoutesMitigate, z.ZodTypeDef, unknown>;
export declare function updateProjectInternalRoutesMitigateFromJSON(jsonString: string): SafeParseResult<UpdateProjectInternalRoutesMitigate, SDKValidationError>;
/** @internal */
export declare const UpdateProjectInternalRoutes2$inboundSchema: z.ZodType<UpdateProjectInternalRoutes2, z.ZodTypeDef, unknown>;
export declare function updateProjectInternalRoutes2FromJSON(jsonString: string): SafeParseResult<UpdateProjectInternalRoutes2, SDKValidationError>;
/** @internal */
export declare const UpdateProjectInternalRoutes1$inboundSchema: z.ZodType<UpdateProjectInternalRoutes1, z.ZodTypeDef, unknown>;
export declare function updateProjectInternalRoutes1FromJSON(jsonString: string): SafeParseResult<UpdateProjectInternalRoutes1, SDKValidationError>;
/** @internal */
export declare const UpdateProjectInternalRoutes$inboundSchema: z.ZodType<UpdateProjectInternalRoutes, z.ZodTypeDef, unknown>;
export declare function updateProjectInternalRoutesFromJSON(jsonString: string): SafeParseResult<UpdateProjectInternalRoutes, SDKValidationError>;
/** @internal */
export declare const UpdateProjectProjectsAction$inboundSchema: z.ZodNativeEnum<typeof UpdateProjectProjectsAction>;
/** @internal */
export declare const UpdateProjectValuePreviousValue$inboundSchema: z.ZodType<UpdateProjectValuePreviousValue, z.ZodTypeDef, unknown>;
export declare function updateProjectValuePreviousValueFromJSON(jsonString: string): SafeParseResult<UpdateProjectValuePreviousValue, SDKValidationError>;
/** @internal */
export declare const UpdateProjectValueCurrentValue$inboundSchema: z.ZodType<UpdateProjectValueCurrentValue, z.ZodTypeDef, unknown>;
export declare function updateProjectValueCurrentValueFromJSON(jsonString: string): SafeParseResult<UpdateProjectValueCurrentValue, SDKValidationError>;
/** @internal */
export declare const UpdateProjectValue3$inboundSchema: z.ZodType<UpdateProjectValue3, z.ZodTypeDef, unknown>;
export declare function updateProjectValue3FromJSON(jsonString: string): SafeParseResult<UpdateProjectValue3, SDKValidationError>;
/** @internal */
export declare const UpdateProjectValue$inboundSchema: z.ZodType<UpdateProjectValue, z.ZodTypeDef, unknown>;
export declare function updateProjectValueFromJSON(jsonString: string): SafeParseResult<UpdateProjectValue, SDKValidationError>;
/** @internal */
export declare const UpdateProjectProjectsDismissedToasts$inboundSchema: z.ZodType<UpdateProjectProjectsDismissedToasts, z.ZodTypeDef, unknown>;
export declare function updateProjectProjectsDismissedToastsFromJSON(jsonString: string): SafeParseResult<UpdateProjectProjectsDismissedToasts, SDKValidationError>;
/** @internal */
export declare const UpdateProjectProjectsResponseEnv$inboundSchema: z.ZodNativeEnum<typeof UpdateProjectProjectsResponseEnv>;
/** @internal */
export declare const UpdateProjectDestination$inboundSchema: z.ZodNativeEnum<typeof UpdateProjectDestination>;
/** @internal */
export declare const UpdateProjectSamplingRules$inboundSchema: z.ZodType<UpdateProjectSamplingRules, z.ZodTypeDef, unknown>;
export declare function updateProjectSamplingRulesFromJSON(jsonString: string): SafeParseResult<UpdateProjectSamplingRules, SDKValidationError>;
/** @internal */
export declare const UpdateProjectProjectsTracing$inboundSchema: z.ZodType<UpdateProjectProjectsTracing, z.ZodTypeDef, unknown>;
export declare function updateProjectProjectsTracingFromJSON(jsonString: string): SafeParseResult<UpdateProjectProjectsTracing, SDKValidationError>;
/** @internal */
export declare const UpdateProjectResponseBody$inboundSchema: z.ZodType<UpdateProjectResponseBody, z.ZodTypeDef, unknown>;
export declare function updateProjectResponseBodyFromJSON(jsonString: string): SafeParseResult<UpdateProjectResponseBody, SDKValidationError>;
//# sourceMappingURL=updateprojectresponsebody.d.ts.map