import * as API from "@distilled.cloud/core/api"; import * as C from "@distilled.cloud/core/category"; // AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/spec-mirror-vercel/specs/openapi.json). Do not edit. import * as S from "@distilled.cloud/core/schema-lite"; import * as __L from "@distilled.cloud/core/schema-lite"; import type * as Redacted from "effect/Redacted"; import { VercelServiceErrors } from "../errors.ts"; import { VercelProtocol, type VercelOpError, type VercelOpContext } from "../protocol.ts"; import * as Retry from "../retry.ts"; import * as T from "../traits.ts"; // Schema table, filled on first reach (see __S at the end). const __s: any[] = []; export type { VercelOpError, VercelOpContext }; /** Span facts shared by every operation (com.distilled.telemetry#service). */ const TELEMETRY = { system: "vercel-api", responseHeaders: [ { header: "x-request-id", name: "http.response.header.x-request-id", transform: "list" }, { header: "request-id", name: "http.response.header.request-id", transform: "list" }, { header: "x-vercel-id", name: "http.response.header.x-vercel-id", transform: "list" }, ], prefix: "Vercel", service: "Deployments", labels: "vercel", propagate: "w3c", } as const; export class BadRequest extends /*@__PURE__*/ T.applyErrorMatchers( /*@__PURE__*/ S.TaggedError()("BadRequest", { code: S.Number, message: S.String, body: /*@__PURE__*/ S.optional(S.Unknown), headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)), }).pipe(C.withBadRequestError), [{ status: 400 }], ) {} export class Conflict extends /*@__PURE__*/ T.applyErrorMatchers( /*@__PURE__*/ S.TaggedError()("Conflict", { code: S.Number, message: S.String, body: /*@__PURE__*/ S.optional(S.Unknown), headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)), }).pipe(C.withConflictError), [{ status: 409 }], ) {} export class Forbidden extends /*@__PURE__*/ T.applyErrorMatchers( /*@__PURE__*/ S.TaggedError()("Forbidden", { code: S.Number, message: S.String, body: /*@__PURE__*/ S.optional(S.Unknown), headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)), }).pipe(C.withAuthError), [{ status: 403 }], ) {} export class NotFound extends /*@__PURE__*/ T.applyErrorMatchers( /*@__PURE__*/ S.TaggedError()("NotFound", { code: S.Number, message: S.String, body: /*@__PURE__*/ S.optional(S.Unknown), headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)), }).pipe(C.withBadRequestError), [{ status: 404 }], ) {} export class PaymentRequired extends /*@__PURE__*/ T.applyErrorMatchers( /*@__PURE__*/ S.TaggedError()("PaymentRequired", { code: S.Number, message: S.String, body: /*@__PURE__*/ S.optional(S.Unknown), headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)), }).pipe(C.withQuotaError), [{ status: 402 }], ) {} export class UnprocessableEntity extends /*@__PURE__*/ T.applyErrorMatchers( /*@__PURE__*/ S.TaggedError()("UnprocessableEntity", { code: S.Number, message: S.String, body: /*@__PURE__*/ S.optional(S.Unknown), headers: /*@__PURE__*/ S.optional(/*@__PURE__*/ S.Record(S.String, S.String)), }).pipe(C.withBadRequestError), [{ status: 422 }], ) {} export interface CancelDeploymentRequest { /** The unique identifier of the deployment. */ id: string; /** The Team identifier to perform the request on behalf of. */ teamId?: string | undefined; /** The Team slug to perform the request on behalf of. */ slug?: string | undefined; } /** A list of all the aliases (default aliases, staging aliases and production aliases) that were assigned upon deployment creation */ export type CancelDeploymentResponseAliasList = Array; export type CancelDeploymentResponseAliasAssignedAt = number | boolean; /** An object that will contain a `code` and a `message` when the aliasing fails, otherwise the value will be `null` */ export interface CancelDeploymentResponseAliasError { code: string; message: string; } export interface CancelDeploymentResponseAliasWarning { action?: string | undefined; code: string; link?: string | undefined; message: string; } export interface CancelDeploymentResponseAtprotoCase0 { enabled: boolean; } export type CancelDeploymentResponseAtprotoCase1SubscriptionCollectionsList = Array; export type CancelDeploymentResponseAtprotoCase1SubscriptionDidsList = Array; export type CancelDeploymentResponseAtprotoCase1SubscriptionKindsItem = | "account" | "commit" | "identity" | "sync"; export type CancelDeploymentResponseAtprotoCase1SubscriptionKindsList = Array; export interface CancelDeploymentResponseAtprotoCase1Subscription { collections: CancelDeploymentResponseAtprotoCase1SubscriptionCollectionsList; dids?: CancelDeploymentResponseAtprotoCase1SubscriptionDidsList | undefined; kinds?: CancelDeploymentResponseAtprotoCase1SubscriptionKindsList | undefined; path: string; } export interface CancelDeploymentResponseAtprotoCase1 { enabled: boolean; subscription: CancelDeploymentResponseAtprotoCase1Subscription; } export type CancelDeploymentResponseAtproto = | CancelDeploymentResponseAtprotoCase0 | CancelDeploymentResponseAtprotoCase1; /** Commit metadata from the git commit author */ export interface CancelDeploymentResponseAttributionCommitMeta { /** Email from git commit author */ email?: string | undefined; /** Whether the commit was signed/verified (GitHub only, others return undefined) */ isVerified?: boolean | undefined; /** Name from git commit author */ name?: string | undefined; } export type CancelDeploymentResponseAttributionGitUserId = string | number; /** Git provider user associated with the commit author email (only set if resolved) */ export interface CancelDeploymentResponseAttributionGitUser { id: CancelDeploymentResponseAttributionGitUserId; /** Git provider username/login */ login: string; /** The git provider (github, gitlab, bitbucket) */ provider?: string | undefined; /** User type */ type?: string | undefined; } /** Team roles at time of deployment */ export type CancelDeploymentResponseAttributionVercelUserTeamRolesList = Array; /** Vercel user linked to the git provider account (only set if resolved) */ export interface CancelDeploymentResponseAttributionVercelUser { /** Vercel user ID */ id: string; /** Team roles at time of deployment */ teamRoles?: CancelDeploymentResponseAttributionVercelUserTeamRolesList | undefined; /** Vercel username */ username: string; } /** Attribution metadata for the deployment, linking commit author to git and Vercel users. Only populated when the `enable-deployment-attribution` flag is enabled. */ export interface CancelDeploymentResponseAttribution { /** Commit metadata from the git commit author */ commitMeta?: CancelDeploymentResponseAttributionCommitMeta | undefined; /** Git provider user associated with the commit author email (only set if resolved) */ gitUser?: CancelDeploymentResponseAttributionGitUser | undefined; /** Vercel user linked to the git provider account (only set if resolved) */ vercelUser?: CancelDeploymentResponseAttributionVercelUser | undefined; } export type CancelDeploymentResponseAutomaticAliasesList = Array; export type CancelDeploymentResponseBuildEnvList = Array; export interface CancelDeploymentResponseBuild { env: CancelDeploymentResponseBuildEnvList; } export type CancelDeploymentResponseBuildArtifactUrlsList = Array; export type CancelDeploymentResponseBuildsItemConfigMap = { [key: string]: unknown | undefined }; export interface CancelDeploymentResponseBuildsItem { config?: CancelDeploymentResponseBuildsItemConfigMap | undefined; src?: string | undefined; use: string; } export type CancelDeploymentResponseBuildsList = Array; export type CancelDeploymentResponseChecksDeploymentAliasState = "failed" | "pending" | "succeeded"; export interface CancelDeploymentResponseChecksDeploymentAlias { completedAt?: number | undefined; startedAt: number; state: CancelDeploymentResponseChecksDeploymentAliasState; } export interface CancelDeploymentResponseChecks { deployment_alias: CancelDeploymentResponseChecksDeploymentAlias; } export type CancelDeploymentResponseChecksConclusion = | "canceled" | "failed" | "skipped" | "succeeded"; export type CancelDeploymentResponseChecksState = "completed" | "registered" | "running"; export type CancelDeploymentResponseConfigFunctionMemoryType = | "performance" | "performance_xl" | "standard" | "standard_legacy"; export type CancelDeploymentResponseConfigFunctionType = "fluid" | "standard"; /** Build resource configuration snapshot for this deployment. */ export type CancelDeploymentResponseConfigResourceConfigBuildQueueConfiguration = | "SKIP_NAMESPACE_QUEUE" | "WAIT_FOR_NAMESPACE_QUEUE"; /** Build resource configuration snapshot for this deployment. */ export interface CancelDeploymentResponseConfigResourceConfigBuildQueue { /** Build resource configuration snapshot for this deployment. */ configuration?: CancelDeploymentResponseConfigResourceConfigBuildQueueConfiguration | undefined; } /** When elastic concurrency is used for this deployment, a value is set. The value tells the reason where the setting was coming from. - TEAM_SETTING: Inherited from team settings - PROJECT_SETTING: Inherited from project settings - SKIP_QUEUE: Manually triggered by user to skip the queues */ export type CancelDeploymentResponseConfigResourceConfigElasticConcurrency = | "PROJECT_SETTING" | "SKIP_QUEUE" | "TEAM_SETTING"; /** Machine type that was used for the build. */ export type CancelDeploymentResponseConfigResourceConfigBuildMachinePurchaseType = | "14cpu-28gb" | "basic" | "enhanced" | "standard" | "turbo"; export interface CancelDeploymentResponseConfigResourceConfigBuildMachine { /** Machine type that was used for the build. */ purchaseType?: | CancelDeploymentResponseConfigResourceConfigBuildMachinePurchaseType | null | undefined; } /** Build resource configuration snapshot for this deployment. */ export interface CancelDeploymentResponseConfigResourceConfig { /** Build resource configuration snapshot for this deployment. */ buildQueue?: CancelDeploymentResponseConfigResourceConfigBuildQueue | undefined; /** When elastic concurrency is used for this deployment, a value is set. The value tells the reason where the setting was coming from. - TEAM_SETTING: Inherited from team settings - PROJECT_SETTING: Inherited from project settings - SKIP_QUEUE: Manually triggered by user to skip the queues */ elasticConcurrency?: CancelDeploymentResponseConfigResourceConfigElasticConcurrency | undefined; buildMachine?: CancelDeploymentResponseConfigResourceConfigBuildMachine | undefined; } /** Since February 2025 the configuration must include snapshot data at the time of deployment creation to capture properties for the /deployments/:id/config endpoint utilized for displaying Deployment Configuration on the frontend This is optional because older deployments may not have this data captured */ export interface CancelDeploymentResponseConfig { functionMemoryType: CancelDeploymentResponseConfigFunctionMemoryType; functionTimeout: number | null; functionType: CancelDeploymentResponseConfigFunctionType; isUsingActiveCPU?: boolean | undefined; /** Build resource configuration snapshot for this deployment. */ resourceConfig?: CancelDeploymentResponseConfigResourceConfig | undefined; secureComputeFallbackRegion: string | null; secureComputePrimaryRegion: string | null; version?: number | undefined; } /** Principal type of the deployment creator. */ export type CancelDeploymentResponseCreatorType = | "app" | "integration" | "project" | "system" | "user"; /** Information about the deployment creator */ export interface CancelDeploymentResponseCreator { /** The avatar of the user that created the deployment */ avatar?: string | undefined; /** Principal type of the deployment creator. */ type?: CancelDeploymentResponseCreatorType | undefined; /** Stable creator id across principal types (user id, app id, integration configuration id, or `system`). */ uid: string; /** The username of the user that created the deployment */ username?: string | undefined; } export interface CancelDeploymentResponseCronsItem { path: string; schedule: string; } export type CancelDeploymentResponseCronsList = Array; /** The type of matching to perform */ export type CancelDeploymentResponseCustomEnvironmentCase0BranchMatcherType = | "endsWith" | "equals" | "startsWith"; /** Configuration for matching git branches to this environment */ export interface CancelDeploymentResponseCustomEnvironmentCase0BranchMatcher { /** The pattern to match against branch names */ pattern: string; /** The type of matching to perform */ type: CancelDeploymentResponseCustomEnvironmentCase0BranchMatcherType; } /** List of aliases for the current deployment */ export type CancelDeploymentResponseCustomEnvironmentCase0CurrentDeploymentAliasesList = Array; export type CancelDeploymentResponseCustomEnvironmentCase0DomainsItemRedirectStatusCode = | 301 | 302 | 307 | 308; /** 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 interface CancelDeploymentResponseCustomEnvironmentCase0DomainsItemVerificationItem { domain: string; reason: string; type: string; value: 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 CancelDeploymentResponseCustomEnvironmentCase0DomainsItemVerificationList = Array; /** List of domains associated with this environment */ export interface CancelDeploymentResponseCustomEnvironmentCase0DomainsItem { apexName: string; createdAt?: number | undefined; customEnvironmentId?: string | null | undefined; gitBranch?: string | null | undefined; name: string; projectId: string; redirect?: string | null | undefined; redirectStatusCode?: | CancelDeploymentResponseCustomEnvironmentCase0DomainsItemRedirectStatusCode | null | undefined; updatedAt?: number | undefined; /** 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?: | CancelDeploymentResponseCustomEnvironmentCase0DomainsItemVerificationList | 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; } /** List of domains associated with this environment */ export type CancelDeploymentResponseCustomEnvironmentCase0DomainsList = Array; /** The type of environment (production, preview, or development) */ export type CancelDeploymentResponseCustomEnvironmentCase0Type = | "development" | "preview" | "production"; /** If the deployment was created using a Custom Environment, then this property contains information regarding the environment used. */ export interface CancelDeploymentResponseCustomEnvironmentCase0 { /** Configuration for matching git branches to this environment */ branchMatcher?: CancelDeploymentResponseCustomEnvironmentCase0BranchMatcher | undefined; /** Timestamp when the environment was created */ createdAt: number; /** List of aliases for the current deployment */ currentDeploymentAliases?: | CancelDeploymentResponseCustomEnvironmentCase0CurrentDeploymentAliasesList | undefined; /** Optional description of the environment's purpose */ description?: string | undefined; /** List of domains associated with this environment */ domains?: CancelDeploymentResponseCustomEnvironmentCase0DomainsList | undefined; /** 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: CancelDeploymentResponseCustomEnvironmentCase0Type; /** Timestamp when the environment was last updated */ updatedAt: number; } /** If the deployment was created using a Custom Environment, then this property contains information regarding the environment used. */ export interface CancelDeploymentResponseCustomEnvironmentCase1 { id: string; } export type CancelDeploymentResponseCustomEnvironment = | CancelDeploymentResponseCustomEnvironmentCase0 | CancelDeploymentResponseCustomEnvironmentCase1; export interface CancelDeploymentResponseDuration { /** Unix timestamp in milliseconds when the build container exited. */ endTime?: number | undefined; /** Build-container exit Unix timestamp in milliseconds, capped at 45 minutes after `startTime`. */ endTimeCapped?: number | undefined; /** Unix timestamp in milliseconds when the deployment entered BUILDING. */ startTime?: number | undefined; /** Billable build-container duration in milliseconds, capped at 45 minutes, rounded up to a whole minute, with a one-minute minimum. */ timeForBilling?: number | undefined; /** Milliseconds from entering BUILDING until the build container exited, without the billing cap. */ timeToContainerExit?: number | undefined; /** Build-container duration in milliseconds, capped at 45 minutes and without billing rounding. */ timeToContainerExitCapped?: number | undefined; /** Milliseconds from entering BUILDING until the deployment reached its current ready state. */ timeToReady?: number | undefined; } export type CancelDeploymentResponseEnvList = Array; export type FlagJSONValueCase2List = Array; export type FlagJSONValueCase3Map = { [key: string]: FlagJSONValue | undefined }; export type FlagJSONValue = | string | number | FlagJSONValueCase2List | FlagJSONValueCase3Map | boolean; export interface CancelDeploymentResponseFlagsCase0DefinitionsValueOptionsItem { label?: string | undefined; value: FlagJSONValue | null; } export type CancelDeploymentResponseFlagsCase0DefinitionsValueOptionsList = Array; export interface CancelDeploymentResponseFlagsCase0DefinitionsValue { description?: string | undefined; options?: CancelDeploymentResponseFlagsCase0DefinitionsValueOptionsList | undefined; url?: string | undefined; } export type CancelDeploymentResponseFlagsCase0DefinitionsMap = { [key: string]: CancelDeploymentResponseFlagsCase0DefinitionsValue | undefined; }; /** Flags defined in the Build Output API, used by this deployment. Primarily used by the Toolbar to know about the used flags. */ export interface CancelDeploymentResponseFlagsCase0 { definitions: CancelDeploymentResponseFlagsCase0DefinitionsMap; } /** Flags defined in the Build Output API, used by this deployment. Primarily used by the Toolbar to know about the used flags. */ export type CancelDeploymentResponseFlagsCase1List = Array; export type CancelDeploymentResponseFlags = | CancelDeploymentResponseFlagsCase0 | CancelDeploymentResponseFlagsCase1List; export type CancelDeploymentResponseFunctionsValueAffinityMode = "strict"; export interface CancelDeploymentResponseFunctionsValueAffinity { mode: CancelDeploymentResponseFunctionsValueAffinityMode; } export type CancelDeploymentResponseFunctionsValueArchitecture = "arm64" | "x86_64"; /** Event type - must be "queue/v1beta" (REQUIRED) */ export type CancelDeploymentResponseFunctionsValueExperimentalTriggersItemCase0Type = "queue/v1beta"; /** Queue trigger input event for v1beta (from vercel.json config). Requires explicit consumer name. */ export interface CancelDeploymentResponseFunctionsValueExperimentalTriggersItemCase0 { /** Name of the consumer group for this trigger (REQUIRED) */ consumer: string; /** Initial delay in seconds before first execution attempt (OPTIONAL) Must be 0 or greater. Use 0 for no initial delay. Behavior when not specified depends on the server's default configuration. */ initialDelaySeconds?: number | undefined; /** Maximum number of concurrent executions for this consumer (OPTIONAL) Must be at least 1 if specified. Behavior when not specified depends on the server's default configuration. */ maxConcurrency?: number | undefined; /** Maximum number of delivery attempts for message processing (OPTIONAL) This represents the total number of times a message can be delivered, not the number of retries. Must be at least 1 if specified. Behavior when not specified depends on the server's default configuration. */ maxDeliveries?: number | undefined; /** Delay in seconds before retrying failed executions (OPTIONAL) Behavior when not specified depends on the server's default configuration. */ retryAfterSeconds?: number | undefined; /** Name of the queue topic to consume from (REQUIRED) */ topic: string; /** Event type - must be "queue/v1beta" (REQUIRED) */ type: CancelDeploymentResponseFunctionsValueExperimentalTriggersItemCase0Type; } /** Event type - must be "queue/v2beta" (REQUIRED) */ export type CancelDeploymentResponseFunctionsValueExperimentalTriggersItemCase1Type = "queue/v2beta"; /** Queue trigger input event for v2beta (from vercel.json config). Consumer name is implicitly derived from the function path. Only one trigger per function is allowed. */ export interface CancelDeploymentResponseFunctionsValueExperimentalTriggersItemCase1 { /** Initial delay in seconds before first execution attempt (OPTIONAL) Must be 0 or greater. Use 0 for no initial delay. Behavior when not specified depends on the server's default configuration. */ initialDelaySeconds?: number | undefined; /** Maximum number of concurrent executions for this consumer (OPTIONAL) Must be at least 1 if specified. Behavior when not specified depends on the server's default configuration. */ maxConcurrency?: number | undefined; /** Maximum number of delivery attempts for message processing (OPTIONAL) This represents the total number of times a message can be delivered, not the number of retries. Must be at least 1 if specified. Behavior when not specified depends on the server's default configuration. */ maxDeliveries?: number | undefined; /** Delay in seconds before retrying failed executions (OPTIONAL) Behavior when not specified depends on the server's default configuration. */ retryAfterSeconds?: number | undefined; /** Name of the queue topic to consume from (REQUIRED) */ topic: string; /** Event type - must be "queue/v2beta" (REQUIRED) */ type: CancelDeploymentResponseFunctionsValueExperimentalTriggersItemCase1Type; } /** Event type - must be "schedule/v1beta" (REQUIRED) */ export type CancelDeploymentResponseFunctionsValueExperimentalTriggersItemCase2Type = "schedule/v1beta"; export interface CancelDeploymentResponseFunctionsValueExperimentalTriggersItemCase2 { /** Event type - must be "schedule/v1beta" (REQUIRED) */ type: CancelDeploymentResponseFunctionsValueExperimentalTriggersItemCase2Type; } export type CancelDeploymentResponseFunctionsValueExperimentalTriggersItem = | CancelDeploymentResponseFunctionsValueExperimentalTriggersItemCase0 | CancelDeploymentResponseFunctionsValueExperimentalTriggersItemCase1 | CancelDeploymentResponseFunctionsValueExperimentalTriggersItemCase2; export type CancelDeploymentResponseFunctionsValueExperimentalTriggersList = Array; export type CancelDeploymentResponseFunctionsValueFunctionFailoverRegionsList = Array; export type CancelDeploymentResponseFunctionsValueMaxDurationCase1 = "max"; export type CancelDeploymentResponseFunctionsValueMaxDuration = | number | CancelDeploymentResponseFunctionsValueMaxDurationCase1; export type CancelDeploymentResponseFunctionsValueRegionsList = Array; export interface CancelDeploymentResponseFunctionsValue { affinity?: CancelDeploymentResponseFunctionsValueAffinity | undefined; architecture?: CancelDeploymentResponseFunctionsValueArchitecture | undefined; excludeFiles?: string | undefined; experimentalTriggers?: CancelDeploymentResponseFunctionsValueExperimentalTriggersList | undefined; functionFailoverRegions?: | CancelDeploymentResponseFunctionsValueFunctionFailoverRegionsList | undefined; includeFiles?: string | undefined; /** Overrides how dependencies are installed for this function. An empty string skips the install. Only honored by `@vercel/node`. */ installCommand?: string | undefined; maxConcurrency?: number | undefined; maxDuration?: CancelDeploymentResponseFunctionsValueMaxDuration | undefined; memory?: number | undefined; regions?: CancelDeploymentResponseFunctionsValueRegionsList | undefined; runtime?: string | undefined; supportsCancellation?: boolean | undefined; } export type CancelDeploymentResponseFunctionsMap = { [key: string]: CancelDeploymentResponseFunctionsValue | undefined; }; export type CancelDeploymentResponseGitRepoCase0OwnerType = "team" | "user"; export type CancelDeploymentResponseGitRepoCase0Type = "gitlab"; export interface CancelDeploymentResponseGitRepoCase0 { defaultBranch: string; name: string; namespace: string; ownerType: CancelDeploymentResponseGitRepoCase0OwnerType; path: string; private: boolean; projectId: number; type: CancelDeploymentResponseGitRepoCase0Type; url: string; } export type CancelDeploymentResponseGitRepoCase1OwnerType = "team" | "user"; export type CancelDeploymentResponseGitRepoCase1Type = "github"; export interface CancelDeploymentResponseGitRepoCase1 { defaultBranch: string; name: string; org: string; ownerType: CancelDeploymentResponseGitRepoCase1OwnerType; path: string; private: boolean; repo: string; repoId: number; repoOwnerId: number; type: CancelDeploymentResponseGitRepoCase1Type; } export type CancelDeploymentResponseGitRepoCase2OwnerType = "team" | "user"; export type CancelDeploymentResponseGitRepoCase2Type = "bitbucket"; export interface CancelDeploymentResponseGitRepoCase2 { defaultBranch: string; name: string; owner: string; ownerType: CancelDeploymentResponseGitRepoCase2OwnerType; path: string; private: boolean; repoUuid: string; slug: string; type: CancelDeploymentResponseGitRepoCase2Type; workspaceUuid: string; } export type CancelDeploymentResponseGitRepoCase3OwnerType = "team" | "user"; export type CancelDeploymentResponseGitRepoCase3Type = "vercel"; export interface CancelDeploymentResponseGitRepoCase3 { defaultBranch: string; name: string; org: string; ownerType: CancelDeploymentResponseGitRepoCase3OwnerType; path: string; private: boolean; repo: string; type: CancelDeploymentResponseGitRepoCase3Type; } export type CancelDeploymentResponseGitRepoCase4OwnerType = "team" | "user"; export type CancelDeploymentResponseGitRepoCase4Type = "cursor-origin"; export interface CancelDeploymentResponseGitRepoCase4 { defaultBranch: string; name: string; /** Owner (namespace) slug. */ owner: string; ownerType: CancelDeploymentResponseGitRepoCase4OwnerType; path: string; private: boolean; repo: string; /** Origin repository id. */ repoId: string; type: CancelDeploymentResponseGitRepoCase4Type; } export type CancelDeploymentResponseGitRepo = | CancelDeploymentResponseGitRepoCase0 | CancelDeploymentResponseGitRepoCase1 | CancelDeploymentResponseGitRepoCase2 | CancelDeploymentResponseGitRepoCase3 | CancelDeploymentResponseGitRepoCase4; export type CancelDeploymentResponseGitSourceCase0RepoId = string | number; export type CancelDeploymentResponseGitSourceCase0Type = "github"; export interface CancelDeploymentResponseGitSourceCase0 { prId?: number | null | undefined; ref?: string | null | undefined; repoId: CancelDeploymentResponseGitSourceCase0RepoId; sha?: string | undefined; type: CancelDeploymentResponseGitSourceCase0Type; } export type CancelDeploymentResponseGitSourceCase1Type = "github"; export interface CancelDeploymentResponseGitSourceCase1 { org: string; prId?: number | null | undefined; ref?: string | null | undefined; repo: string; sha?: string | undefined; type: CancelDeploymentResponseGitSourceCase1Type; } export type CancelDeploymentResponseGitSourceCase2RepoId = string | number; export type CancelDeploymentResponseGitSourceCase2Type = "github-custom-host"; export interface CancelDeploymentResponseGitSourceCase2 { host: string; prId?: number | null | undefined; ref?: string | null | undefined; repoId: CancelDeploymentResponseGitSourceCase2RepoId; sha?: string | undefined; type: CancelDeploymentResponseGitSourceCase2Type; } export type CancelDeploymentResponseGitSourceCase3Type = "github-custom-host"; export interface CancelDeploymentResponseGitSourceCase3 { host: string; org: string; prId?: number | null | undefined; ref?: string | null | undefined; repo: string; sha?: string | undefined; type: CancelDeploymentResponseGitSourceCase3Type; } export type CancelDeploymentResponseGitSourceCase4RepoId = string | number; export type CancelDeploymentResponseGitSourceCase4Type = "github-limited"; export interface CancelDeploymentResponseGitSourceCase4 { prId?: number | null | undefined; ref?: string | null | undefined; repoId: CancelDeploymentResponseGitSourceCase4RepoId; sha?: string | undefined; type: CancelDeploymentResponseGitSourceCase4Type; } export type CancelDeploymentResponseGitSourceCase5Type = "github-limited"; export interface CancelDeploymentResponseGitSourceCase5 { org: string; prId?: number | null | undefined; ref?: string | null | undefined; repo: string; sha?: string | undefined; type: CancelDeploymentResponseGitSourceCase5Type; } export type CancelDeploymentResponseGitSourceCase6ProjectId = string | number; export type CancelDeploymentResponseGitSourceCase6Type = "gitlab"; export interface CancelDeploymentResponseGitSourceCase6 { prId?: number | null | undefined; projectId: CancelDeploymentResponseGitSourceCase6ProjectId; ref?: string | null | undefined; sha?: string | undefined; type: CancelDeploymentResponseGitSourceCase6Type; } export type CancelDeploymentResponseGitSourceCase7Type = "bitbucket"; export interface CancelDeploymentResponseGitSourceCase7 { prId?: number | null | undefined; ref?: string | null | undefined; repoUuid: string; sha?: string | undefined; type: CancelDeploymentResponseGitSourceCase7Type; workspaceUuid?: string | undefined; } export type CancelDeploymentResponseGitSourceCase8Type = "bitbucket"; export interface CancelDeploymentResponseGitSourceCase8 { owner: string; prId?: number | null | undefined; ref?: string | null | undefined; sha?: string | undefined; slug: string; type: CancelDeploymentResponseGitSourceCase8Type; } export interface CancelDeploymentResponseGitSourceCase9CommitMetadataAuthor { date: string; email: string; name: string; } export type CancelDeploymentResponseGitSourceCase9CommitMetadataCommitter = CancelDeploymentResponseGitSourceCase9CommitMetadataAuthor; export interface CancelDeploymentResponseGitSourceCase9CommitMetadata { author: CancelDeploymentResponseGitSourceCase9CommitMetadataAuthor; committer: CancelDeploymentResponseGitSourceCase9CommitMetadataAuthor; message: string; } export type CancelDeploymentResponseGitSourceCase9Type = "vercel"; export interface CancelDeploymentResponseGitSourceCase9 { commitMetadata?: CancelDeploymentResponseGitSourceCase9CommitMetadata | undefined; org?: string | undefined; prId?: number | null | undefined; ref?: string | null | undefined; repo?: string | undefined; repoId: string; repoPushedAt?: number | undefined; sha: string; type: CancelDeploymentResponseGitSourceCase9Type; } export type CancelDeploymentResponseGitSourceCase10Type = "cursor-origin"; export interface CancelDeploymentResponseGitSourceCase10 { /** Owner (namespace) slug. */ owner?: string | undefined; prId?: number | null | undefined; ref?: string | null | undefined; repo?: string | undefined; /** Origin repository id. */ repoId: string; sha?: string | undefined; type: CancelDeploymentResponseGitSourceCase10Type; } export type CancelDeploymentResponseGitSourceCase11Type = "custom"; /** Allows custom git sources (local folder mounted to the container) in test mode */ export interface CancelDeploymentResponseGitSourceCase11 { gitUrl: string; ref: string; sha: string; type: CancelDeploymentResponseGitSourceCase11Type; } export type CancelDeploymentResponseGitSourceCase12Type = "github"; export interface CancelDeploymentResponseGitSourceCase12 { org?: string | undefined; ref: string; repo?: string | undefined; repoId: number; sha: string; type: CancelDeploymentResponseGitSourceCase12Type; } export type CancelDeploymentResponseGitSourceCase13Type = "github-custom-host"; export interface CancelDeploymentResponseGitSourceCase13 { host: string; org?: string | undefined; ref: string; repo?: string | undefined; repoId: number; sha: string; type: CancelDeploymentResponseGitSourceCase13Type; } export type CancelDeploymentResponseGitSourceCase14Type = "github-limited"; export interface CancelDeploymentResponseGitSourceCase14 { org?: string | undefined; ref: string; repo?: string | undefined; repoId: number; sha: string; type: CancelDeploymentResponseGitSourceCase14Type; } export type CancelDeploymentResponseGitSourceCase15Type = "gitlab"; export interface CancelDeploymentResponseGitSourceCase15 { projectId: number; ref: string; sha: string; type: CancelDeploymentResponseGitSourceCase15Type; } export type CancelDeploymentResponseGitSourceCase16Type = "bitbucket"; export interface CancelDeploymentResponseGitSourceCase16 { owner?: string | undefined; ref: string; repoUuid: string; sha: string; slug?: string | undefined; type: CancelDeploymentResponseGitSourceCase16Type; workspaceUuid: string; } export type CancelDeploymentResponseGitSourceCase17CommitMetadataAuthor = CancelDeploymentResponseGitSourceCase9CommitMetadataAuthor; export type CancelDeploymentResponseGitSourceCase17CommitMetadataCommitter = CancelDeploymentResponseGitSourceCase9CommitMetadataAuthor; export type CancelDeploymentResponseGitSourceCase17CommitMetadata = CancelDeploymentResponseGitSourceCase9CommitMetadata; export type CancelDeploymentResponseGitSourceCase17Type = "vercel"; export interface CancelDeploymentResponseGitSourceCase17 { commitMetadata?: CancelDeploymentResponseGitSourceCase9CommitMetadata | undefined; org: string; ref: string; repo: string; repoId?: string | undefined; repoPushedAt?: number | undefined; sha: string; type: CancelDeploymentResponseGitSourceCase17Type; } export type CancelDeploymentResponseGitSourceCase18Type = "cursor-origin"; export interface CancelDeploymentResponseGitSourceCase18 { owner: string; ref: string; repo: string; repoId: string; sha: string; type: CancelDeploymentResponseGitSourceCase18Type; } export type CancelDeploymentResponseGitSource = | CancelDeploymentResponseGitSourceCase0 | CancelDeploymentResponseGitSourceCase1 | CancelDeploymentResponseGitSourceCase2 | CancelDeploymentResponseGitSourceCase3 | CancelDeploymentResponseGitSourceCase4 | CancelDeploymentResponseGitSourceCase5 | CancelDeploymentResponseGitSourceCase6 | CancelDeploymentResponseGitSourceCase7 | CancelDeploymentResponseGitSourceCase8 | CancelDeploymentResponseGitSourceCase9 | CancelDeploymentResponseGitSourceCase10 | CancelDeploymentResponseGitSourceCase11 | CancelDeploymentResponseGitSourceCase12 | CancelDeploymentResponseGitSourceCase13 | CancelDeploymentResponseGitSourceCase14 | CancelDeploymentResponseGitSourceCase15 | CancelDeploymentResponseGitSourceCase16 | CancelDeploymentResponseGitSourceCase17 | CancelDeploymentResponseGitSourceCase18; export type CancelDeploymentResponseImagesContentDispositionType = "attachment" | "inline"; export type CancelDeploymentResponseImagesDomainsList = Array; export type CancelDeploymentResponseImagesFormatsItem = "image/avif" | "image/webp"; export type CancelDeploymentResponseImagesFormatsList = Array; export interface CancelDeploymentResponseImagesLocalPatternsItem { /** Can be literal or wildcard. Single `*` matches a single path segment. Double `**` matches any number of path segments. */ pathname?: string | undefined; /** Can be literal query string such as `?v=1` or empty string meaning no query string. */ search?: string | undefined; } export type CancelDeploymentResponseImagesLocalPatternsList = Array; export type CancelDeploymentResponseImagesQualitiesList = Array; /** Must be `http` or `https`. */ export type CancelDeploymentResponseImagesRemotePatternsItemProtocol = "http" | "https"; export interface CancelDeploymentResponseImagesRemotePatternsItem { /** Can be literal or wildcard. Single `*` matches a single subdomain. Double `**` matches any number of subdomains. */ hostname: string; /** Can be literal or wildcard. Single `*` matches a single path segment. Double `**` matches any number of path segments. */ pathname?: string | undefined; /** Can be literal port such as `8080` or empty string meaning no port. */ port?: string | undefined; /** Must be `http` or `https`. */ protocol?: CancelDeploymentResponseImagesRemotePatternsItemProtocol | undefined; /** Can be literal query string such as `?v=1` or empty string meaning no query string. */ search?: string | undefined; } export type CancelDeploymentResponseImagesRemotePatternsList = Array; export type CancelDeploymentResponseImagesSizesList = Array; export interface CancelDeploymentResponseImages { contentDispositionType?: CancelDeploymentResponseImagesContentDispositionType | undefined; contentSecurityPolicy?: string | undefined; dangerouslyAllowSVG?: boolean | undefined; domains?: CancelDeploymentResponseImagesDomainsList | undefined; formats?: CancelDeploymentResponseImagesFormatsList | undefined; localPatterns?: CancelDeploymentResponseImagesLocalPatternsList | undefined; minimumCacheTTL?: number | undefined; qualities?: CancelDeploymentResponseImagesQualitiesList | undefined; remotePatterns?: CancelDeploymentResponseImagesRemotePatternsList | undefined; sizes?: CancelDeploymentResponseImagesSizesList | undefined; } export type CancelDeploymentResponseIntegrationsStatus = | "error" | "pending" | "ready" | "skipped" | "timeout"; export interface CancelDeploymentResponseIntegrations { claimedAt?: number | undefined; completedAt?: number | undefined; skippedAt?: number | undefined; skippedBy?: string | undefined; startedAt: number; status: CancelDeploymentResponseIntegrationsStatus; } export type CancelDeploymentResponseLambdasItemReadyState = | "BUILDING" | "ERROR" | "INITIALIZING" | "READY"; export interface CancelDeploymentResponseLambdasItemOutputItem { functionName: string; path: string; } export type CancelDeploymentResponseLambdasItemOutputList = Array; /** A partial representation of a Build used by the deployment endpoint. */ export interface CancelDeploymentResponseLambdasItem { createdAt?: number | undefined; entrypoint?: string | null | undefined; id: string; readyState?: CancelDeploymentResponseLambdasItemReadyState | undefined; readyStateAt?: number | undefined; output: CancelDeploymentResponseLambdasItemOutputList; } export type CancelDeploymentResponseLambdasList = Array; /** Current provisioning state */ export type CancelDeploymentResponseManualProvisioningState = "COMPLETE" | "PENDING" | "TIMEOUT"; /** Present when deployment was created with manual provisioning enabled, either explicitly or via the experimental BYOC git flow. The deployment stays in INITIALIZING until /continue is called. */ export interface CancelDeploymentResponseManualProvisioning { /** Timestamp when manual provisioning completed */ completedAt?: number | undefined; /** Current provisioning state */ state: CancelDeploymentResponseManualProvisioningState; } export type CancelDeploymentResponseMetaMap = { [key: string]: string | undefined }; /** The group of microfrontends that this project belongs to. Each microfrontend project must belong to a microfrontends group that is the set of microfrontends that are used together. */ export type CancelDeploymentResponseMicrofrontendsCase0GroupIdsList = Array; export interface CancelDeploymentResponseMicrofrontendsCase0 { /** The project name of the default app of this deployment's microfrontends group. */ defaultAppProjectName: string; /** A path that is used to take screenshots and as the default path in preview links when a domain for this microfrontend is shown in the UI. */ defaultRoute?: string | undefined; /** The group of microfrontends that this project belongs to. Each microfrontend project must belong to a microfrontends group that is the set of microfrontends that are used together. */ groupIds: CancelDeploymentResponseMicrofrontendsCase0GroupIdsList; isDefaultApp?: boolean | undefined; } /** The group of microfrontends that this project belongs to. Each microfrontend project must belong to a microfrontends group that is the set of microfrontends that are used together. */ export type CancelDeploymentResponseMicrofrontendsCase1GroupIdsList = Array; /** The result of the microfrontends config upload during deployment creation / build. Only set for default app deployments. The config upload is attempted during deployment create, and then again during the build. If the config is not in the root directory, or the deployment is prebuilt, the config cannot be uploaded during deployment create. The upload during deployment build finds the config even if it's not in the root directory, as it has access to all files. Uploading the config during create is ideal, as then all child deployments are guaranteed to have access to the default app deployment config even if the default app has not yet started building. If the config is not uploaded, the child app will show as building until the config has been uploaded during the default app build. - `success` - The config was uploaded successfully, either when the deployment was created or during the build. - `waiting_on_build` - The config could not be uploaded during deployment create, will be attempted again during the build. - `no_config` - No config was found. Only set once the build has not found the config in any of the deployment's files. - `undefined` - Legacy deployments, or there was an error uploading the config during deployment create. */ export type CancelDeploymentResponseMicrofrontendsCase1MfeConfigUploadState = | "no_config" | "success" | "waiting_on_build"; export interface CancelDeploymentResponseMicrofrontendsCase1 { /** The project name of the default app of this deployment's microfrontends group. */ defaultAppProjectName: string; /** A path that is used to take screenshots and as the default path in preview links when a domain for this microfrontend is shown in the UI. */ defaultRoute?: string | undefined; /** The group of microfrontends that this project belongs to. Each microfrontend project must belong to a microfrontends group that is the set of microfrontends that are used together. */ groupIds: CancelDeploymentResponseMicrofrontendsCase1GroupIdsList; isDefaultApp: boolean; /** The result of the microfrontends config upload during deployment creation / build. Only set for default app deployments. The config upload is attempted during deployment create, and then again during the build. If the config is not in the root directory, or the deployment is prebuilt, the config cannot be uploaded during deployment create. The upload during deployment build finds the config even if it's not in the root directory, as it has access to all files. Uploading the config during create is ideal, as then all child deployments are guaranteed to have access to the default app deployment config even if the default app has not yet started building. If the config is not uploaded, the child app will show as building until the config has been uploaded during the default app build. - `success` - The config was uploaded successfully, either when the deployment was created or during the build. - `waiting_on_build` - The config could not be uploaded during deployment create, will be attempted again during the build. - `no_config` - No config was found. Only set once the build has not found the config in any of the deployment's files. - `undefined` - Legacy deployments, or there was an error uploading the config during deployment create. */ mfeConfigUploadState?: | CancelDeploymentResponseMicrofrontendsCase1MfeConfigUploadState | undefined; } export type CancelDeploymentResponseMicrofrontends = | CancelDeploymentResponseMicrofrontendsCase0 | CancelDeploymentResponseMicrofrontendsCase1; /** If set it overrides the `projectSettings.nodeVersion` for this deployment. */ export type CancelDeploymentResponseNodeVersion = | "10.x" | "12.x" | "14.x" | "16.x" | "18.x" | "20.x" | "22.x" | "24.x" | "26.x" | "8.10.x"; export type CancelDeploymentResponseOidcTokenClaimsMfeGroupIdsList = Array; export interface CancelDeploymentResponseOidcTokenClaims { aud: string; custom_environment_id?: string | undefined; deployment_id?: string | undefined; environment: string; iss: string; mfe_group_ids?: CancelDeploymentResponseOidcTokenClaimsMfeGroupIdsList | undefined; owner: string; owner_id: string; plan?: string | undefined; project: string; project_id: string; scope: string; sub: string; } export type CancelDeploymentResponseOomReport = "out-of-memory"; /** Since November 2023 this field defines a set of regions that we will deploy the lambda to passively Lambdas will be deployed to these regions but only invoked if all of the primary `regions` are marked as out of service */ export type CancelDeploymentResponsePassiveRegionsList = Array; export type CancelDeploymentResponsePlan = "enterprise" | "hobby" | "pro"; /** The user on the external platform who triggered the deployment. */ export interface CancelDeploymentResponsePlatformCreator { /** URL of the platform user's avatar image. */ avatar?: string | undefined; /** Display name of the platform user. */ name: string; } /** Arbitrary key-value metadata provided by the platform. */ export type CancelDeploymentResponsePlatformMetaMap = { [key: string]: string | undefined }; /** Whether the value is an opaque identifier or a URL. */ export type CancelDeploymentResponsePlatformOriginType = "id" | "url"; /** Reference back to the entity on the platform that initiated the deployment. */ export interface CancelDeploymentResponsePlatformOrigin { /** Whether the value is an opaque identifier or a URL. */ type: CancelDeploymentResponsePlatformOriginType; /** The identifier or URL pointing to the originating entity. */ value: string; } /** The external platform that created the deployment (e.g. its display name). */ export interface CancelDeploymentResponsePlatformSource { /** Display name of the platform. */ name: string; } /** Metadata about the source platform that triggered the deployment. Allows us to map a deployment back to a platform (e.g. the chat that created it) */ export interface CancelDeploymentResponsePlatform { /** The user on the external platform who triggered the deployment. */ creator: CancelDeploymentResponsePlatformCreator; /** Arbitrary key-value metadata provided by the platform. */ meta?: CancelDeploymentResponsePlatformMetaMap | undefined; /** Reference back to the entity on the platform that initiated the deployment. */ origin: CancelDeploymentResponsePlatformOrigin; /** The external platform that created the deployment (e.g. its display name). */ source: CancelDeploymentResponsePlatformSource; } /** The public project information associated with the deployment. */ export interface CancelDeploymentResponseProject { framework?: string | null | undefined; id: string; name: string; } export type CancelDeploymentResponseProjectSettingsFramework = | "actix-web" | "angular" | "ash" | "astro" | "axum" | "blitzjs" | "brunch" | "bun" | "container" | "create-react-app" | "django" | "docusaurus" | "docusaurus-2" | "dojo" | "eleventy" | "elysia" | "ember" | "eve" | "express" | "factory-eve" | "fastapi" | "fasthtml" | "fastify" | "flask" | "gatsby" | "go" | "gridsome" | "h3" | "hexo" | "hono" | "hugo" | "hydrogen" | "ionic-angular" | "ionic-react" | "jekyll" | "koa" | "mastra" | "middleman" | "nestjs" | "nextjs" | "nitro" | "node" | "nuxtjs" | "parcel" | "polymer" | "preact" | "python" | "react-router" | "redwoodjs" | "remix" | "ruby" | "rust" | "saber" | "sanity" | "sanity-v2" | "sapper" | "scully" | "services" | "solidstart" | "solidstart-1" | "stencil" | "storybook" | "svelte" | "sveltekit" | "sveltekit-1" | "tanstack-start" | "tanstack-start-lovable" | "umijs" | "vite" | "vitepress" | "vue" | "vuepress" | "xmcp" | "zola"; export type CancelDeploymentResponseProjectSettingsNodeVersion = | "10.x" | "12.x" | "14.x" | "16.x" | "18.x" | "20.x" | "22.x" | "24.x" | "26.x" | "8.10.x"; export interface CancelDeploymentResponseProjectSettingsSpeedInsights { canceledAt?: number | 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; disabledAt?: number | undefined; enabledAt?: number | undefined; hasData?: boolean | undefined; id: string; paidAt?: number | undefined; } /** Vercel Flags activation metadata copied from the project at deployment creation. */ export interface CancelDeploymentResponseProjectSettingsVercelFlags { enabledAt?: number | undefined; } export interface CancelDeploymentResponseProjectSettingsWebAnalytics { canceledAt?: number | undefined; disabledAt?: number | undefined; enabledAt?: number | undefined; hasData?: boolean | undefined; id: string; } export interface CancelDeploymentResponseProjectSettings { buildCommand?: string | null | undefined; commandForIgnoringBuildStep?: string | null | undefined; devCommand?: string | null | undefined; framework?: CancelDeploymentResponseProjectSettingsFramework | null | undefined; installCommand?: string | null | undefined; nodeVersion?: CancelDeploymentResponseProjectSettingsNodeVersion | undefined; outputDirectory?: string | null | undefined; speedInsights?: CancelDeploymentResponseProjectSettingsSpeedInsights | undefined; /** Vercel Flags activation metadata copied from the project at deployment creation. */ vercelFlags?: CancelDeploymentResponseProjectSettingsVercelFlags | undefined; webAnalytics?: CancelDeploymentResponseProjectSettingsWebAnalytics | undefined; } /** The state of the deployment depending on the process of deploying, or if it is ready or in an error state */ export type CancelDeploymentResponseReadyState = | "BLOCKED" | "BUILDING" | "CANCELED" | "ERROR" | "INITIALIZING" | "QUEUED" | "READY"; /** Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - ROLLING: in the process of having production traffic gradually transitioned. - PROMOTED: has seen production traffic */ export type CancelDeploymentResponseReadySubstate = "PROMOTED" | "ROLLING" | "STAGED"; /** The regions the deployment exists in */ export type CancelDeploymentResponseRegionsList = Array; /** The build ran on an elastic machine. Drives billing. */ export type CancelDeploymentResponseResourceConfigBuildMachineCase0MachineSelectionType = "elastic"; /** Machine type purchased for this build. `basic` is the 2vCPU tier, recorded so the build pipeline can detect a basic build without consulting the project. */ export type CancelDeploymentResponseResourceConfigBuildMachineCase0PurchaseType = | "14cpu-28gb" | "basic" | "enhanced" | "standard" | "turbo"; /** The build machine tier included with the customer's plan. For most customers this is standard; enhanced entitlements include enhanced, while `none` means every build is billed at its purchase type. */ export type CancelDeploymentResponseResourceConfigBuildMachineCase0DefaultPurchaseType = | "basic" | "enhanced" | "none" | "standard"; /** The setting which selected the build machine when the deployment was created. Frozen here so later project or team changes do not rewrite its history. */ export type CancelDeploymentResponseResourceConfigBuildMachineCase0SelectionSource = | "deployment-override" | "elastic-algorithm" | "plan-default" | "project-setting" | "team-entitlement" | "team-setting"; export interface CancelDeploymentResponseResourceConfigBuildMachineCase0 { /** The build ran on an elastic machine. Drives billing. */ machineSelectionType: CancelDeploymentResponseResourceConfigBuildMachineCase0MachineSelectionType; /** Machine type purchased for this build. `basic` is the 2vCPU tier, recorded so the build pipeline can detect a basic build without consulting the project. */ purchaseType?: CancelDeploymentResponseResourceConfigBuildMachineCase0PurchaseType | undefined; /** Build cores. Deployment creation sets the requested value; dispatch replaces it with the cores assigned by routing. */ cores?: number | undefined; /** The build machine tier included with the customer's plan. For most customers this is standard; enhanced entitlements include enhanced, while `none` means every build is billed at its purchase type. */ defaultPurchaseType?: | CancelDeploymentResponseResourceConfigBuildMachineCase0DefaultPurchaseType | undefined; /** Build memory, in MiB. Deployment creation sets the requested value; dispatch replaces it with the memory assigned by routing. */ memory?: number | undefined; /** The setting which selected the build machine when the deployment was created. Frozen here so later project or team changes do not rewrite its history. */ selectionSource?: | CancelDeploymentResponseResourceConfigBuildMachineCase0SelectionSource | undefined; } /** The build ran on a fixed machine. Drives billing. */ export type CancelDeploymentResponseResourceConfigBuildMachineCase1MachineSelectionType = "fixed"; /** Machine type purchased for this build. */ export type CancelDeploymentResponseResourceConfigBuildMachineCase1PurchaseType = | "basic" | "enhanced" | "standard" | "turbo"; /** The build machine tier included with the customer's plan. For most customers this is standard; enhanced entitlements include enhanced, while `none` means every build is billed at its purchase type. */ export type CancelDeploymentResponseResourceConfigBuildMachineCase1DefaultPurchaseType = | "basic" | "enhanced" | "none" | "standard"; /** The setting which selected the build machine when the deployment was created. Frozen here so later project or team changes do not rewrite its history. */ export type CancelDeploymentResponseResourceConfigBuildMachineCase1SelectionSource = | "deployment-override" | "elastic-algorithm" | "plan-default" | "project-setting" | "team-entitlement" | "team-setting"; export interface CancelDeploymentResponseResourceConfigBuildMachineCase1 { /** The build ran on a fixed machine. Drives billing. */ machineSelectionType?: | CancelDeploymentResponseResourceConfigBuildMachineCase1MachineSelectionType | undefined; /** Machine type purchased for this build. */ purchaseType?: CancelDeploymentResponseResourceConfigBuildMachineCase1PurchaseType | undefined; /** Build cores. Deployment creation sets the requested value; dispatch replaces it with the cores assigned by routing. */ cores?: number | undefined; /** The build machine tier included with the customer's plan. For most customers this is standard; enhanced entitlements include enhanced, while `none` means every build is billed at its purchase type. */ defaultPurchaseType?: | CancelDeploymentResponseResourceConfigBuildMachineCase1DefaultPurchaseType | undefined; /** Build memory, in MiB. Deployment creation sets the requested value; dispatch replaces it with the memory assigned by routing. */ memory?: number | undefined; /** The setting which selected the build machine when the deployment was created. Frozen here so later project or team changes do not rewrite its history. */ selectionSource?: | CancelDeploymentResponseResourceConfigBuildMachineCase1SelectionSource | undefined; } export type CancelDeploymentResponseResourceConfigBuildMachine = | CancelDeploymentResponseResourceConfigBuildMachineCase0 | CancelDeploymentResponseResourceConfigBuildMachineCase1; export interface CancelDeploymentResponseResourceConfig { buildMachine?: CancelDeploymentResponseResourceConfigBuildMachine | undefined; } /** Optional explicit format marker. The destination is identified by the presence of `service`, so `type` is no longer required. */ export type CancelDeploymentResponseRoutesItemCase0DestinationCase1Type = "service"; export interface CancelDeploymentResponseRoutesItemCase0DestinationCase1 { /** Routing-only path used to select a route inside the target service. */ path?: string | undefined; service: string; /** Optional explicit format marker. The destination is identified by the presence of `service`, so `type` is no longer required. */ type?: CancelDeploymentResponseRoutesItemCase0DestinationCase1Type | undefined; } export type CancelDeploymentResponseRoutesItemCase0Destination = | string | CancelDeploymentResponseRoutesItemCase0DestinationCase1; export type CancelDeploymentResponseRoutesItemCase0EnvList = Array; export type CancelDeploymentResponseRoutesItemCase0HasItemCase0Type = "host"; export type CancelDeploymentResponseRoutesItemCase0HasItemCase0ValueCase1Eq = string | number; export type CancelDeploymentResponseRoutesItemCase0HasItemCase0ValueCase1IncList = Array; export type CancelDeploymentResponseRoutesItemCase0HasItemCase0ValueCase1NincList = Array; export interface CancelDeploymentResponseRoutesItemCase0HasItemCase0ValueCase1 { eq?: CancelDeploymentResponseRoutesItemCase0HasItemCase0ValueCase1Eq | undefined; gt?: number | undefined; gte?: number | undefined; inc?: CancelDeploymentResponseRoutesItemCase0HasItemCase0ValueCase1IncList | undefined; lt?: number | undefined; lte?: number | undefined; neq?: string | undefined; ninc?: CancelDeploymentResponseRoutesItemCase0HasItemCase0ValueCase1NincList | undefined; pre?: string | undefined; re?: string | undefined; suf?: string | undefined; } export type CancelDeploymentResponseRoutesItemCase0HasItemCase0Value = | string | CancelDeploymentResponseRoutesItemCase0HasItemCase0ValueCase1; export interface CancelDeploymentResponseRoutesItemCase0HasItemCase0 { type: CancelDeploymentResponseRoutesItemCase0HasItemCase0Type; value: CancelDeploymentResponseRoutesItemCase0HasItemCase0Value; } export type CancelDeploymentResponseRoutesItemCase0HasItemCase1Type = "cookie" | "header" | "query"; export type CancelDeploymentResponseRoutesItemCase0HasItemCase1ValueCase1Eq = string | number; export type CancelDeploymentResponseRoutesItemCase0HasItemCase1ValueCase1IncList = Array; export type CancelDeploymentResponseRoutesItemCase0HasItemCase1ValueCase1NincList = Array; export interface CancelDeploymentResponseRoutesItemCase0HasItemCase1ValueCase1 { eq?: CancelDeploymentResponseRoutesItemCase0HasItemCase1ValueCase1Eq | undefined; gt?: number | undefined; gte?: number | undefined; inc?: CancelDeploymentResponseRoutesItemCase0HasItemCase1ValueCase1IncList | undefined; lt?: number | undefined; lte?: number | undefined; neq?: string | undefined; ninc?: CancelDeploymentResponseRoutesItemCase0HasItemCase1ValueCase1NincList | undefined; pre?: string | undefined; re?: string | undefined; suf?: string | undefined; } export type CancelDeploymentResponseRoutesItemCase0HasItemCase1Value = | string | CancelDeploymentResponseRoutesItemCase0HasItemCase1ValueCase1; export interface CancelDeploymentResponseRoutesItemCase0HasItemCase1 { key: string; type: CancelDeploymentResponseRoutesItemCase0HasItemCase1Type; value?: CancelDeploymentResponseRoutesItemCase0HasItemCase1Value | undefined; } export type CancelDeploymentResponseRoutesItemCase0HasItem = | CancelDeploymentResponseRoutesItemCase0HasItemCase0 | CancelDeploymentResponseRoutesItemCase0HasItemCase1; export type CancelDeploymentResponseRoutesItemCase0HasList = Array; export type CancelDeploymentResponseRoutesItemCase0HeadersMap = { [key: string]: string | undefined; }; export type CancelDeploymentResponseRoutesItemCase0LocaleRedirectMap = { [key: string]: string | undefined; }; export interface CancelDeploymentResponseRoutesItemCase0Locale { cookie?: string | undefined; redirect?: CancelDeploymentResponseRoutesItemCase0LocaleRedirectMap | undefined; } export type CancelDeploymentResponseRoutesItemCase0MethodsList = Array; /** The original middleware matchers. */ export type CancelDeploymentResponseRoutesItemCase0MiddlewareRawSrcList = Array; export type CancelDeploymentResponseRoutesItemCase0MissingItemCase0Type = "host"; export type CancelDeploymentResponseRoutesItemCase0MissingItemCase0ValueCase1Eq = string | number; export type CancelDeploymentResponseRoutesItemCase0MissingItemCase0ValueCase1IncList = Array; export type CancelDeploymentResponseRoutesItemCase0MissingItemCase0ValueCase1NincList = Array; export interface CancelDeploymentResponseRoutesItemCase0MissingItemCase0ValueCase1 { eq?: CancelDeploymentResponseRoutesItemCase0MissingItemCase0ValueCase1Eq | undefined; gt?: number | undefined; gte?: number | undefined; inc?: CancelDeploymentResponseRoutesItemCase0MissingItemCase0ValueCase1IncList | undefined; lt?: number | undefined; lte?: number | undefined; neq?: string | undefined; ninc?: CancelDeploymentResponseRoutesItemCase0MissingItemCase0ValueCase1NincList | undefined; pre?: string | undefined; re?: string | undefined; suf?: string | undefined; } export type CancelDeploymentResponseRoutesItemCase0MissingItemCase0Value = | string | CancelDeploymentResponseRoutesItemCase0MissingItemCase0ValueCase1; export interface CancelDeploymentResponseRoutesItemCase0MissingItemCase0 { type: CancelDeploymentResponseRoutesItemCase0MissingItemCase0Type; value: CancelDeploymentResponseRoutesItemCase0MissingItemCase0Value; } export type CancelDeploymentResponseRoutesItemCase0MissingItemCase1Type = | "cookie" | "header" | "query"; export type CancelDeploymentResponseRoutesItemCase0MissingItemCase1ValueCase1Eq = string | number; export type CancelDeploymentResponseRoutesItemCase0MissingItemCase1ValueCase1IncList = Array; export type CancelDeploymentResponseRoutesItemCase0MissingItemCase1ValueCase1NincList = Array; export interface CancelDeploymentResponseRoutesItemCase0MissingItemCase1ValueCase1 { eq?: CancelDeploymentResponseRoutesItemCase0MissingItemCase1ValueCase1Eq | undefined; gt?: number | undefined; gte?: number | undefined; inc?: CancelDeploymentResponseRoutesItemCase0MissingItemCase1ValueCase1IncList | undefined; lt?: number | undefined; lte?: number | undefined; neq?: string | undefined; ninc?: CancelDeploymentResponseRoutesItemCase0MissingItemCase1ValueCase1NincList | undefined; pre?: string | undefined; re?: string | undefined; suf?: string | undefined; } export type CancelDeploymentResponseRoutesItemCase0MissingItemCase1Value = | string | CancelDeploymentResponseRoutesItemCase0MissingItemCase1ValueCase1; export interface CancelDeploymentResponseRoutesItemCase0MissingItemCase1 { key: string; type: CancelDeploymentResponseRoutesItemCase0MissingItemCase1Type; value?: CancelDeploymentResponseRoutesItemCase0MissingItemCase1Value | undefined; } export type CancelDeploymentResponseRoutesItemCase0MissingItem = | CancelDeploymentResponseRoutesItemCase0MissingItemCase0 | CancelDeploymentResponseRoutesItemCase0MissingItemCase1; export type CancelDeploymentResponseRoutesItemCase0MissingList = Array; export type CancelDeploymentResponseRoutesItemCase0MitigateAction = "challenge" | "deny"; export interface CancelDeploymentResponseRoutesItemCase0Mitigate { action: CancelDeploymentResponseRoutesItemCase0MitigateAction; } export type CancelDeploymentResponseRoutesItemCase0TransformsItemCase0ArgsCase1List = Array; export type CancelDeploymentResponseRoutesItemCase0TransformsItemCase0Args = | string | CancelDeploymentResponseRoutesItemCase0TransformsItemCase0ArgsCase1List; export type CancelDeploymentResponseRoutesItemCase0TransformsItemCase0EnvList = Array; export type CancelDeploymentResponseRoutesItemCase0TransformsItemCase0Op = | "append" | "delete" | "set"; export type CancelDeploymentResponseRoutesItemCase0TransformsItemCase0TargetKeyCase1Eq = | string | number; export type CancelDeploymentResponseRoutesItemCase0TransformsItemCase0TargetKeyCase1IncList = Array; export type CancelDeploymentResponseRoutesItemCase0TransformsItemCase0TargetKeyCase1NincList = Array; export interface CancelDeploymentResponseRoutesItemCase0TransformsItemCase0TargetKeyCase1 { eq?: CancelDeploymentResponseRoutesItemCase0TransformsItemCase0TargetKeyCase1Eq | undefined; gt?: number | undefined; gte?: number | undefined; inc?: CancelDeploymentResponseRoutesItemCase0TransformsItemCase0TargetKeyCase1IncList | undefined; lt?: number | undefined; lte?: number | undefined; neq?: string | undefined; ninc?: | CancelDeploymentResponseRoutesItemCase0TransformsItemCase0TargetKeyCase1NincList | undefined; pre?: string | undefined; suf?: string | undefined; } export type CancelDeploymentResponseRoutesItemCase0TransformsItemCase0TargetKey = | string | CancelDeploymentResponseRoutesItemCase0TransformsItemCase0TargetKeyCase1; export interface CancelDeploymentResponseRoutesItemCase0TransformsItemCase0Target { key: CancelDeploymentResponseRoutesItemCase0TransformsItemCase0TargetKey; } export type CancelDeploymentResponseRoutesItemCase0TransformsItemCase0Type = | "request.headers" | "request.query" | "response.headers"; export interface CancelDeploymentResponseRoutesItemCase0TransformsItemCase0 { args?: CancelDeploymentResponseRoutesItemCase0TransformsItemCase0Args | undefined; env?: CancelDeploymentResponseRoutesItemCase0TransformsItemCase0EnvList | undefined; op: CancelDeploymentResponseRoutesItemCase0TransformsItemCase0Op; target: CancelDeploymentResponseRoutesItemCase0TransformsItemCase0Target; type: CancelDeploymentResponseRoutesItemCase0TransformsItemCase0Type; } export type CancelDeploymentResponseRoutesItemCase0TransformsItemCase1EnvList = Array; export type CancelDeploymentResponseRoutesItemCase0TransformsItemCase1Op = "set"; export type CancelDeploymentResponseRoutesItemCase0TransformsItemCase1Type = "request.path"; export interface CancelDeploymentResponseRoutesItemCase0TransformsItemCase1 { args: string; env?: CancelDeploymentResponseRoutesItemCase0TransformsItemCase1EnvList | undefined; /** Keep an earlier request.path value. Builders use this for fallback routes. */ fallback?: boolean | undefined; op: CancelDeploymentResponseRoutesItemCase0TransformsItemCase1Op; type: CancelDeploymentResponseRoutesItemCase0TransformsItemCase1Type; } export type CancelDeploymentResponseRoutesItemCase0TransformsItem = | CancelDeploymentResponseRoutesItemCase0TransformsItemCase0 | CancelDeploymentResponseRoutesItemCase0TransformsItemCase1; export type CancelDeploymentResponseRoutesItemCase0TransformsList = Array; export interface CancelDeploymentResponseRoutesItemCase0 { caseSensitive?: boolean | undefined; check?: boolean | undefined; continue?: boolean | undefined; dest?: string | undefined; destination?: CancelDeploymentResponseRoutesItemCase0Destination | undefined; env?: CancelDeploymentResponseRoutesItemCase0EnvList | undefined; has?: CancelDeploymentResponseRoutesItemCase0HasList | undefined; headers?: CancelDeploymentResponseRoutesItemCase0HeadersMap | undefined; important?: boolean | undefined; locale?: CancelDeploymentResponseRoutesItemCase0Locale | undefined; methods?: CancelDeploymentResponseRoutesItemCase0MethodsList | undefined; /** A middleware index in the `middleware` key under the build result */ middleware?: number | undefined; /** A middleware key within the `output` key under the build result. Overrides a `middleware` definition. */ middlewarePath?: string | undefined; /** The original middleware matchers. */ middlewareRawSrc?: CancelDeploymentResponseRoutesItemCase0MiddlewareRawSrcList | undefined; missing?: CancelDeploymentResponseRoutesItemCase0MissingList | undefined; mitigate?: CancelDeploymentResponseRoutesItemCase0Mitigate | undefined; override?: boolean | undefined; respectOriginCacheControl?: boolean | undefined; /** Aliases for `src`, `dest`, and `status`. These provide consistency with the `rewrites`, `redirects`, and `headers` fields which use `source`, `destination`, and `statusCode`. During normalization, the string forms are converted to their canonical forms (`src`, `dest`, `status`) and stripped from the route object. `destination` may also be a service-targeted object, in which case routing is delegated into the named service's internal route table and the object is preserved as-is (not folded into `dest`). */ source?: string | undefined; src: string; status?: number | undefined; statusCode?: number | undefined; transforms?: CancelDeploymentResponseRoutesItemCase0TransformsList | undefined; } export type CancelDeploymentResponseRoutesItemCase1Handle = | "error" | "filesystem" | "hit" | "miss" | "resource" | "rewrite"; export interface CancelDeploymentResponseRoutesItemCase1 { dest?: string | undefined; handle: CancelDeploymentResponseRoutesItemCase1Handle; src?: string | undefined; status?: number | undefined; } export type CancelDeploymentResponseRoutesItemCase2Middleware = 0; export interface CancelDeploymentResponseRoutesItemCase2 { continue: boolean; middleware: CancelDeploymentResponseRoutesItemCase2Middleware; src: string; } export type CancelDeploymentResponseRoutesItem = | CancelDeploymentResponseRoutesItemCase0 | CancelDeploymentResponseRoutesItemCase1 | CancelDeploymentResponseRoutesItemCase2; export type CancelDeploymentResponseRoutesList = Array; /** The NSNB decision code for the seat block. TODO: We should consolidate block types. */ export type CancelDeploymentResponseSeatBlockBlockCode = | "COMMIT_AUTHOR_REQUIRED" | "TEAM_ACCESS_REQUIRED"; /** The git provider type associated with gitUserId. */ export type CancelDeploymentResponseSeatBlockGitProvider = "bitbucket" | "github" | "gitlab"; export type CancelDeploymentResponseSeatBlockGitUserId = string | number; /** NSNB Blocked metadata */ export interface CancelDeploymentResponseSeatBlock { /** The NSNB decision code for the seat block. TODO: We should consolidate block types. */ blockCode: CancelDeploymentResponseSeatBlockBlockCode; /** The git provider type associated with gitUserId. */ gitProvider?: CancelDeploymentResponseSeatBlockGitProvider | undefined; gitUserId?: CancelDeploymentResponseSeatBlockGitUserId | undefined; /** Determines if the user was verified during the block. In the git integration case, the commit sender was the author. */ isVerified?: boolean | undefined; /** The blocked vercel user ID. */ userId?: string | undefined; } /** Generated value shape, must be `"url"`. */ export type CancelDeploymentResponseServicesItemCase0BuilderConfigDaemonBindingsItemFormat = "url"; /** If present, must be `"service"` for Service-to-Service HTTP bindings. */ export type CancelDeploymentResponseServicesItemCase0BuilderConfigDaemonBindingsItemType = "service"; /** Bindings to services in the same deployment. */ export interface CancelDeploymentResponseServicesItemCase0BuilderConfigDaemonBindingsItem { /** Environment variable name that will store the generated value */ env: string; /** Generated value shape, must be `"url"`. */ format: CancelDeploymentResponseServicesItemCase0BuilderConfigDaemonBindingsItemFormat; /** Target service name from `services`. */ service: string; /** If present, must be `"service"` for Service-to-Service HTTP bindings. */ type?: CancelDeploymentResponseServicesItemCase0BuilderConfigDaemonBindingsItemType | undefined; } /** Bindings to services in the same deployment. */ export type CancelDeploymentResponseServicesItemCase0BuilderConfigDaemonBindingsList = Array; export type CancelDeploymentResponseServicesItemCase0BuilderConfigDaemonCommandList = Array; /** Instance counts by region. */ export type CancelDeploymentResponseServicesItemCase0BuilderConfigDaemonInstancesMap = { [key: string]: number | undefined; }; export interface CancelDeploymentResponseServicesItemCase0BuilderConfigDaemonLivenessProbeHttpGetHttpHeadersItem { name: string; value: string; } export type CancelDeploymentResponseServicesItemCase0BuilderConfigDaemonLivenessProbeHttpGetHttpHeadersList = Array; export type CancelDeploymentResponseServicesItemCase0BuilderConfigDaemonLivenessProbeHttpGetScheme = | "HTTP" | "HTTPS"; export interface CancelDeploymentResponseServicesItemCase0BuilderConfigDaemonLivenessProbeHttpGet { host?: string | undefined; httpHeaders?: | CancelDeploymentResponseServicesItemCase0BuilderConfigDaemonLivenessProbeHttpGetHttpHeadersList | undefined; path?: string | undefined; port: number; scheme?: | CancelDeploymentResponseServicesItemCase0BuilderConfigDaemonLivenessProbeHttpGetScheme | undefined; } /** A Kubernetes-style HTTP liveness probe. */ export interface CancelDeploymentResponseServicesItemCase0BuilderConfigDaemonLivenessProbe { failureThreshold?: number | undefined; httpGet: CancelDeploymentResponseServicesItemCase0BuilderConfigDaemonLivenessProbeHttpGet; initialDelaySeconds?: number | undefined; periodSeconds?: number | undefined; successThreshold?: number | undefined; timeoutSeconds?: number | undefined; } /** Instance counts by region. */ export type CancelDeploymentResponseServicesItemCase0BuilderConfigDaemonReplicasMap = { [key: string]: number | undefined; }; export type CancelDeploymentResponseServicesItemCase0BuilderConfigDaemonResourcesRequestsMemory = | "1Gi" | "2Gi" | "4Gi" | "8Gi"; export interface CancelDeploymentResponseServicesItemCase0BuilderConfigDaemonResourcesRequests { memory: CancelDeploymentResponseServicesItemCase0BuilderConfigDaemonResourcesRequestsMemory; } export interface CancelDeploymentResponseServicesItemCase0BuilderConfigDaemonResources { requests: CancelDeploymentResponseServicesItemCase0BuilderConfigDaemonResourcesRequests; } /** Set when this build produces the named daemon. */ export interface CancelDeploymentResponseServicesItemCase0BuilderConfigDaemon { /** Bindings to services in the same deployment. */ bindings?: CancelDeploymentResponseServicesItemCase0BuilderConfigDaemonBindingsList | undefined; command?: CancelDeploymentResponseServicesItemCase0BuilderConfigDaemonCommandList | undefined; entrypoint: string; /** Instance counts by region. */ instances?: CancelDeploymentResponseServicesItemCase0BuilderConfigDaemonInstancesMap | undefined; /** A Kubernetes-style HTTP liveness probe. */ livenessProbe?: | CancelDeploymentResponseServicesItemCase0BuilderConfigDaemonLivenessProbe | undefined; /** Instance counts by region. */ replicas?: CancelDeploymentResponseServicesItemCase0BuilderConfigDaemonReplicasMap | undefined; resources?: CancelDeploymentResponseServicesItemCase0BuilderConfigDaemonResources | undefined; root: string; terminationGracePeriodSeconds?: number | undefined; name: string; } export type CancelDeploymentResponseServicesItemCase0BuilderConfigExcludeFilesCase1List = Array; export type CancelDeploymentResponseServicesItemCase0BuilderConfigExcludeFiles = | string | CancelDeploymentResponseServicesItemCase0BuilderConfigExcludeFilesCase1List; export type CancelDeploymentResponseServicesItemCase0BuilderConfigFunctionsValueAffinityMode = "strict"; export interface CancelDeploymentResponseServicesItemCase0BuilderConfigFunctionsValueAffinity { mode: CancelDeploymentResponseServicesItemCase0BuilderConfigFunctionsValueAffinityMode; } export type CancelDeploymentResponseServicesItemCase0BuilderConfigFunctionsValueArchitecture = | "arm64" | "x86_64"; /** Event type - must be "queue/v1beta" (REQUIRED) */ export type CancelDeploymentResponseServicesItemCase0BuilderConfigFunctionsValueExperimentalTriggersItemCase0Type = "queue/v1beta"; /** Queue trigger input event for v1beta (from vercel.json config). Requires explicit consumer name. */ export interface CancelDeploymentResponseServicesItemCase0BuilderConfigFunctionsValueExperimentalTriggersItemCase0 { /** Name of the consumer group for this trigger (REQUIRED) */ consumer: string; /** Initial delay in seconds before first execution attempt (OPTIONAL) Must be 0 or greater. Use 0 for no initial delay. Behavior when not specified depends on the server's default configuration. */ initialDelaySeconds?: number | undefined; /** Maximum number of concurrent executions for this consumer (OPTIONAL) Must be at least 1 if specified. Behavior when not specified depends on the server's default configuration. */ maxConcurrency?: number | undefined; /** Maximum number of delivery attempts for message processing (OPTIONAL) This represents the total number of times a message can be delivered, not the number of retries. Must be at least 1 if specified. Behavior when not specified depends on the server's default configuration. */ maxDeliveries?: number | undefined; /** Delay in seconds before retrying failed executions (OPTIONAL) Behavior when not specified depends on the server's default configuration. */ retryAfterSeconds?: number | undefined; /** Name of the queue topic to consume from (REQUIRED) */ topic: string; /** Event type - must be "queue/v1beta" (REQUIRED) */ type: CancelDeploymentResponseServicesItemCase0BuilderConfigFunctionsValueExperimentalTriggersItemCase0Type; } /** Event type - must be "queue/v2beta" (REQUIRED) */ export type CancelDeploymentResponseServicesItemCase0BuilderConfigFunctionsValueExperimentalTriggersItemCase1Type = "queue/v2beta"; /** Queue trigger input event for v2beta (from vercel.json config). Consumer name is implicitly derived from the function path. Only one trigger per function is allowed. */ export interface CancelDeploymentResponseServicesItemCase0BuilderConfigFunctionsValueExperimentalTriggersItemCase1 { /** Initial delay in seconds before first execution attempt (OPTIONAL) Must be 0 or greater. Use 0 for no initial delay. Behavior when not specified depends on the server's default configuration. */ initialDelaySeconds?: number | undefined; /** Maximum number of concurrent executions for this consumer (OPTIONAL) Must be at least 1 if specified. Behavior when not specified depends on the server's default configuration. */ maxConcurrency?: number | undefined; /** Maximum number of delivery attempts for message processing (OPTIONAL) This represents the total number of times a message can be delivered, not the number of retries. Must be at least 1 if specified. Behavior when not specified depends on the server's default configuration. */ maxDeliveries?: number | undefined; /** Delay in seconds before retrying failed executions (OPTIONAL) Behavior when not specified depends on the server's default configuration. */ retryAfterSeconds?: number | undefined; /** Name of the queue topic to consume from (REQUIRED) */ topic: string; /** Event type - must be "queue/v2beta" (REQUIRED) */ type: CancelDeploymentResponseServicesItemCase0BuilderConfigFunctionsValueExperimentalTriggersItemCase1Type; } /** Event type - must be "schedule/v1beta" (REQUIRED) */ export type CancelDeploymentResponseServicesItemCase0BuilderConfigFunctionsValueExperimentalTriggersItemCase2Type = "schedule/v1beta"; export interface CancelDeploymentResponseServicesItemCase0BuilderConfigFunctionsValueExperimentalTriggersItemCase2 { /** Event type - must be "schedule/v1beta" (REQUIRED) */ type: CancelDeploymentResponseServicesItemCase0BuilderConfigFunctionsValueExperimentalTriggersItemCase2Type; } export type CancelDeploymentResponseServicesItemCase0BuilderConfigFunctionsValueExperimentalTriggersItem = | CancelDeploymentResponseServicesItemCase0BuilderConfigFunctionsValueExperimentalTriggersItemCase0 | CancelDeploymentResponseServicesItemCase0BuilderConfigFunctionsValueExperimentalTriggersItemCase1 | CancelDeploymentResponseServicesItemCase0BuilderConfigFunctionsValueExperimentalTriggersItemCase2; export type CancelDeploymentResponseServicesItemCase0BuilderConfigFunctionsValueExperimentalTriggersList = Array; export type CancelDeploymentResponseServicesItemCase0BuilderConfigFunctionsValueFunctionFailoverRegionsList = Array; export type CancelDeploymentResponseServicesItemCase0BuilderConfigFunctionsValueMaxDurationCase1 = "max"; export type CancelDeploymentResponseServicesItemCase0BuilderConfigFunctionsValueMaxDuration = | number | CancelDeploymentResponseServicesItemCase0BuilderConfigFunctionsValueMaxDurationCase1; export type CancelDeploymentResponseServicesItemCase0BuilderConfigFunctionsValueRegionsList = Array; export interface CancelDeploymentResponseServicesItemCase0BuilderConfigFunctionsValue { affinity?: | CancelDeploymentResponseServicesItemCase0BuilderConfigFunctionsValueAffinity | undefined; architecture?: | CancelDeploymentResponseServicesItemCase0BuilderConfigFunctionsValueArchitecture | undefined; excludeFiles?: string | undefined; experimentalTriggers?: | CancelDeploymentResponseServicesItemCase0BuilderConfigFunctionsValueExperimentalTriggersList | undefined; functionFailoverRegions?: | CancelDeploymentResponseServicesItemCase0BuilderConfigFunctionsValueFunctionFailoverRegionsList | undefined; includeFiles?: string | undefined; /** Overrides how dependencies are installed for this function. An empty string skips the install. Only honored by `@vercel/node`. */ installCommand?: string | undefined; maxConcurrency?: number | undefined; maxDuration?: | CancelDeploymentResponseServicesItemCase0BuilderConfigFunctionsValueMaxDuration | undefined; memory?: number | undefined; regions?: | CancelDeploymentResponseServicesItemCase0BuilderConfigFunctionsValueRegionsList | undefined; runtime?: string | undefined; supportsCancellation?: boolean | undefined; } export type CancelDeploymentResponseServicesItemCase0BuilderConfigFunctionsMap = { [key: string]: CancelDeploymentResponseServicesItemCase0BuilderConfigFunctionsValue | undefined; }; export type CancelDeploymentResponseServicesItemCase0BuilderConfigImportMap = { [key: string]: string | undefined; }; export type CancelDeploymentResponseServicesItemCase0BuilderConfigIncludeFilesCase1List = Array; export type CancelDeploymentResponseServicesItemCase0BuilderConfigIncludeFiles = | string | CancelDeploymentResponseServicesItemCase0BuilderConfigIncludeFilesCase1List; /** Matcher supplied outside of the middleware source module. */ export type CancelDeploymentResponseServicesItemCase0BuilderConfigMiddlewareMatcherCase1List = Array; export type CancelDeploymentResponseServicesItemCase0BuilderConfigMiddlewareMatcher = | string | CancelDeploymentResponseServicesItemCase0BuilderConfigMiddlewareMatcherCase1List; /** Enforced runtime for explicitly configured Routing Middleware. */ export type CancelDeploymentResponseServicesItemCase0BuilderConfigMiddlewareRuntime = "nodejs"; export type CancelDeploymentResponseServicesItemCase0BuilderConfigProjectSettingsVercelFlags = CancelDeploymentResponseProjectSettingsVercelFlags; export interface CancelDeploymentResponseServicesItemCase0BuilderConfigProjectSettings { autoExposeSystemEnvs?: boolean | undefined; buildCommand?: string | null | undefined; commandForIgnoringBuildStep?: string | null | undefined; createdAt?: number | undefined; devCommand?: string | null | undefined; directoryListing?: boolean | undefined; framework?: string | null | undefined; gitForkProtection?: boolean | undefined; installCommand?: string | null | undefined; monorepoManager?: string | null | undefined; nodeVersion?: string | undefined; outputDirectory?: string | null | undefined; rootDirectory?: string | null | undefined; sourceFilesOutsideRootDirectory?: boolean | undefined; vercelFlags?: CancelDeploymentResponseProjectSettingsVercelFlags | undefined; } /** Names of the schedules that dispatch to this entrypoint, in config order. */ export type CancelDeploymentResponseServicesItemCase0BuilderConfigScheduleFunctionEntrypointsItemScheduleNamesList = Array; export interface CancelDeploymentResponseServicesItemCase0BuilderConfigScheduleFunctionEntrypointsItem { /** Runtime-specific entrypoint locator from `vercel.json`. */ entrypoint: string; /** Names of the schedules that dispatch to this entrypoint, in config order. */ scheduleNames: CancelDeploymentResponseServicesItemCase0BuilderConfigScheduleFunctionEntrypointsItemScheduleNamesList; /** Project-relative source file that contains the entrypoint. */ sourceFile: string; } export type CancelDeploymentResponseServicesItemCase0BuilderConfigScheduleFunctionEntrypointsList = Array; /** Set when this build produces a function for schedule entrypoints. */ export interface CancelDeploymentResponseServicesItemCase0BuilderConfigScheduleFunction { entrypoints: CancelDeploymentResponseServicesItemCase0BuilderConfigScheduleFunctionEntrypointsList; /** Function output path every schedule in this build targets. */ outputPath: string; } export interface CancelDeploymentResponseServicesItemCase0BuilderConfig { buildCommand?: string | undefined; /** Buildpack runtime slug (e.g. "ruby"). */ buildpack?: string | undefined; bundle?: boolean | undefined; bunVersion?: string | undefined; /** Set when this build produces the named daemon. */ daemon?: CancelDeploymentResponseServicesItemCase0BuilderConfigDaemon | undefined; debug?: boolean | undefined; devCommand?: string | undefined; excludeFiles?: CancelDeploymentResponseServicesItemCase0BuilderConfigExcludeFiles | undefined; framework?: string | null | undefined; functions?: CancelDeploymentResponseServicesItemCase0BuilderConfigFunctionsMap | undefined; helpers?: boolean | undefined; import?: CancelDeploymentResponseServicesItemCase0BuilderConfigImportMap | undefined; includeFiles?: CancelDeploymentResponseServicesItemCase0BuilderConfigIncludeFiles | undefined; installCommand?: string | undefined; ldsflags?: string | undefined; maxLambdaSize?: string | undefined; middleware?: boolean | undefined; middlewareMatcher?: | CancelDeploymentResponseServicesItemCase0BuilderConfigMiddlewareMatcher | undefined; /** Enforced runtime for explicitly configured Routing Middleware. */ middlewareRuntime?: | CancelDeploymentResponseServicesItemCase0BuilderConfigMiddlewareRuntime | undefined; nodeVersion?: string | undefined; outputDirectory?: string | undefined; projectSettings?: | CancelDeploymentResponseServicesItemCase0BuilderConfigProjectSettings | undefined; rust?: string | undefined; /** Set when this build produces a function for schedule entrypoints. */ scheduleFunction?: | CancelDeploymentResponseServicesItemCase0BuilderConfigScheduleFunction | undefined; /** Owning service name; scopes per-function config such as the v2beta consumer. */ serviceName?: string | undefined; zeroConfig?: boolean | undefined; } export interface CancelDeploymentResponseServicesItemCase0Builder { config?: CancelDeploymentResponseServicesItemCase0BuilderConfig | undefined; src?: string | undefined; use: string; } export type CancelDeploymentResponseServicesItemCase0EnvValueType = "service-ref"; export interface CancelDeploymentResponseServicesItemCase0EnvValue { service: string; type: CancelDeploymentResponseServicesItemCase0EnvValueType; } export type CancelDeploymentResponseServicesItemCase0EnvMap = { [key: string]: CancelDeploymentResponseServicesItemCase0EnvValue | undefined; }; export type CancelDeploymentResponseServicesItemCase0RoutePrefixSource = "configured" | "generated"; export type CancelDeploymentResponseServicesItemCase0ScheduleCase1List = Array; export type CancelDeploymentResponseServicesItemCase0Schedule = | string | CancelDeploymentResponseServicesItemCase0ScheduleCase1List; export type CancelDeploymentResponseServicesItemCase0Schema = "experimentalServices"; export type CancelDeploymentResponseServicesItemCase0TopicsCase0List = Array; export interface CancelDeploymentResponseServicesItemCase0TopicsCase1Item { initialDelaySeconds?: number | undefined; retryAfterSeconds?: number | undefined; topic: string; } export type CancelDeploymentResponseServicesItemCase0TopicsCase1List = Array; export type CancelDeploymentResponseServicesItemCase0Topics = | CancelDeploymentResponseServicesItemCase0TopicsCase0List | CancelDeploymentResponseServicesItemCase0TopicsCase1List; export type CancelDeploymentResponseServicesItemCase0Trigger = "queue" | "schedule" | "workflow"; export type CancelDeploymentResponseServicesItemCase0Type = "cron" | "job" | "web" | "worker"; /** Services detected during build from vercel.json experimentalServices or auto-detected from project structure. Used to inject service URLs as environment variables at runtime. */ export interface CancelDeploymentResponseServicesItemCase0 { buildCommand?: string | undefined; builder: CancelDeploymentResponseServicesItemCase0Builder; entrypoint?: string | undefined; env?: CancelDeploymentResponseServicesItemCase0EnvMap | undefined; framework?: string | undefined; group?: string | undefined; handlerFunction?: string | undefined; installCommand?: string | undefined; name: string; preDeployCommand?: string | undefined; routePrefix?: string | undefined; routePrefixSource?: CancelDeploymentResponseServicesItemCase0RoutePrefixSource | undefined; runtime?: string | undefined; schedule?: CancelDeploymentResponseServicesItemCase0Schedule | undefined; schema: CancelDeploymentResponseServicesItemCase0Schema; subdomain?: string | undefined; topics?: CancelDeploymentResponseServicesItemCase0Topics | undefined; trigger?: CancelDeploymentResponseServicesItemCase0Trigger | undefined; type: CancelDeploymentResponseServicesItemCase0Type; workspace: string; } /** Generated value shape, must be `"url"`. */ export type CancelDeploymentResponseServicesItemCase1BindingsItemFormat = "url"; /** If present, must be `"service"` for Service-to-Service HTTP bindings. */ export type CancelDeploymentResponseServicesItemCase1BindingsItemType = "service"; /** Caller-side bindings to other services. */ export interface CancelDeploymentResponseServicesItemCase1BindingsItem { /** Environment variable name that will store the generated value */ env: string; /** Generated value shape, must be `"url"`. */ format: CancelDeploymentResponseServicesItemCase1BindingsItemFormat; /** Target service name from `services`. */ service: string; /** If present, must be `"service"` for Service-to-Service HTTP bindings. */ type?: CancelDeploymentResponseServicesItemCase1BindingsItemType | undefined; } /** Caller-side bindings to other services. */ export type CancelDeploymentResponseServicesItemCase1BindingsList = Array; /** Generated value shape, must be `"url"`. */ export type CancelDeploymentResponseServicesItemCase1BuilderConfigDaemonBindingsItemFormat = "url"; /** If present, must be `"service"` for Service-to-Service HTTP bindings. */ export type CancelDeploymentResponseServicesItemCase1BuilderConfigDaemonBindingsItemType = "service"; /** Bindings to services in the same deployment. */ export interface CancelDeploymentResponseServicesItemCase1BuilderConfigDaemonBindingsItem { /** Environment variable name that will store the generated value */ env: string; /** Generated value shape, must be `"url"`. */ format: CancelDeploymentResponseServicesItemCase1BuilderConfigDaemonBindingsItemFormat; /** Target service name from `services`. */ service: string; /** If present, must be `"service"` for Service-to-Service HTTP bindings. */ type?: CancelDeploymentResponseServicesItemCase1BuilderConfigDaemonBindingsItemType | undefined; } /** Bindings to services in the same deployment. */ export type CancelDeploymentResponseServicesItemCase1BuilderConfigDaemonBindingsList = Array; export type CancelDeploymentResponseServicesItemCase1BuilderConfigDaemonCommandList = Array; /** Instance counts by region. */ export type CancelDeploymentResponseServicesItemCase1BuilderConfigDaemonInstancesMap = { [key: string]: number | undefined; }; export type CancelDeploymentResponseServicesItemCase1BuilderConfigDaemonLivenessProbeHttpGetHttpHeadersItem = CancelDeploymentResponseServicesItemCase0BuilderConfigDaemonLivenessProbeHttpGetHttpHeadersItem; export type CancelDeploymentResponseServicesItemCase1BuilderConfigDaemonLivenessProbeHttpGetHttpHeadersList = Array; export type CancelDeploymentResponseServicesItemCase1BuilderConfigDaemonLivenessProbeHttpGetScheme = | "HTTP" | "HTTPS"; export interface CancelDeploymentResponseServicesItemCase1BuilderConfigDaemonLivenessProbeHttpGet { host?: string | undefined; httpHeaders?: | CancelDeploymentResponseServicesItemCase1BuilderConfigDaemonLivenessProbeHttpGetHttpHeadersList | undefined; path?: string | undefined; port: number; scheme?: | CancelDeploymentResponseServicesItemCase1BuilderConfigDaemonLivenessProbeHttpGetScheme | undefined; } /** A Kubernetes-style HTTP liveness probe. */ export interface CancelDeploymentResponseServicesItemCase1BuilderConfigDaemonLivenessProbe { failureThreshold?: number | undefined; httpGet: CancelDeploymentResponseServicesItemCase1BuilderConfigDaemonLivenessProbeHttpGet; initialDelaySeconds?: number | undefined; periodSeconds?: number | undefined; successThreshold?: number | undefined; timeoutSeconds?: number | undefined; } /** Instance counts by region. */ export type CancelDeploymentResponseServicesItemCase1BuilderConfigDaemonReplicasMap = { [key: string]: number | undefined; }; export type CancelDeploymentResponseServicesItemCase1BuilderConfigDaemonResourcesRequestsMemory = | "1Gi" | "2Gi" | "4Gi" | "8Gi"; export interface CancelDeploymentResponseServicesItemCase1BuilderConfigDaemonResourcesRequests { memory: CancelDeploymentResponseServicesItemCase1BuilderConfigDaemonResourcesRequestsMemory; } export interface CancelDeploymentResponseServicesItemCase1BuilderConfigDaemonResources { requests: CancelDeploymentResponseServicesItemCase1BuilderConfigDaemonResourcesRequests; } /** Set when this build produces the named daemon. */ export interface CancelDeploymentResponseServicesItemCase1BuilderConfigDaemon { /** Bindings to services in the same deployment. */ bindings?: CancelDeploymentResponseServicesItemCase1BuilderConfigDaemonBindingsList | undefined; command?: CancelDeploymentResponseServicesItemCase1BuilderConfigDaemonCommandList | undefined; entrypoint: string; /** Instance counts by region. */ instances?: CancelDeploymentResponseServicesItemCase1BuilderConfigDaemonInstancesMap | undefined; /** A Kubernetes-style HTTP liveness probe. */ livenessProbe?: | CancelDeploymentResponseServicesItemCase1BuilderConfigDaemonLivenessProbe | undefined; /** Instance counts by region. */ replicas?: CancelDeploymentResponseServicesItemCase1BuilderConfigDaemonReplicasMap | undefined; resources?: CancelDeploymentResponseServicesItemCase1BuilderConfigDaemonResources | undefined; root: string; terminationGracePeriodSeconds?: number | undefined; name: string; } export type CancelDeploymentResponseServicesItemCase1BuilderConfigExcludeFilesCase1List = Array; export type CancelDeploymentResponseServicesItemCase1BuilderConfigExcludeFiles = | string | CancelDeploymentResponseServicesItemCase1BuilderConfigExcludeFilesCase1List; export type CancelDeploymentResponseServicesItemCase1BuilderConfigFunctionsValueAffinityMode = "strict"; export interface CancelDeploymentResponseServicesItemCase1BuilderConfigFunctionsValueAffinity { mode: CancelDeploymentResponseServicesItemCase1BuilderConfigFunctionsValueAffinityMode; } export type CancelDeploymentResponseServicesItemCase1BuilderConfigFunctionsValueArchitecture = | "arm64" | "x86_64"; /** Event type - must be "queue/v1beta" (REQUIRED) */ export type CancelDeploymentResponseServicesItemCase1BuilderConfigFunctionsValueExperimentalTriggersItemCase0Type = "queue/v1beta"; /** Queue trigger input event for v1beta (from vercel.json config). Requires explicit consumer name. */ export interface CancelDeploymentResponseServicesItemCase1BuilderConfigFunctionsValueExperimentalTriggersItemCase0 { /** Name of the consumer group for this trigger (REQUIRED) */ consumer: string; /** Initial delay in seconds before first execution attempt (OPTIONAL) Must be 0 or greater. Use 0 for no initial delay. Behavior when not specified depends on the server's default configuration. */ initialDelaySeconds?: number | undefined; /** Maximum number of concurrent executions for this consumer (OPTIONAL) Must be at least 1 if specified. Behavior when not specified depends on the server's default configuration. */ maxConcurrency?: number | undefined; /** Maximum number of delivery attempts for message processing (OPTIONAL) This represents the total number of times a message can be delivered, not the number of retries. Must be at least 1 if specified. Behavior when not specified depends on the server's default configuration. */ maxDeliveries?: number | undefined; /** Delay in seconds before retrying failed executions (OPTIONAL) Behavior when not specified depends on the server's default configuration. */ retryAfterSeconds?: number | undefined; /** Name of the queue topic to consume from (REQUIRED) */ topic: string; /** Event type - must be "queue/v1beta" (REQUIRED) */ type: CancelDeploymentResponseServicesItemCase1BuilderConfigFunctionsValueExperimentalTriggersItemCase0Type; } /** Event type - must be "queue/v2beta" (REQUIRED) */ export type CancelDeploymentResponseServicesItemCase1BuilderConfigFunctionsValueExperimentalTriggersItemCase1Type = "queue/v2beta"; /** Queue trigger input event for v2beta (from vercel.json config). Consumer name is implicitly derived from the function path. Only one trigger per function is allowed. */ export interface CancelDeploymentResponseServicesItemCase1BuilderConfigFunctionsValueExperimentalTriggersItemCase1 { /** Initial delay in seconds before first execution attempt (OPTIONAL) Must be 0 or greater. Use 0 for no initial delay. Behavior when not specified depends on the server's default configuration. */ initialDelaySeconds?: number | undefined; /** Maximum number of concurrent executions for this consumer (OPTIONAL) Must be at least 1 if specified. Behavior when not specified depends on the server's default configuration. */ maxConcurrency?: number | undefined; /** Maximum number of delivery attempts for message processing (OPTIONAL) This represents the total number of times a message can be delivered, not the number of retries. Must be at least 1 if specified. Behavior when not specified depends on the server's default configuration. */ maxDeliveries?: number | undefined; /** Delay in seconds before retrying failed executions (OPTIONAL) Behavior when not specified depends on the server's default configuration. */ retryAfterSeconds?: number | undefined; /** Name of the queue topic to consume from (REQUIRED) */ topic: string; /** Event type - must be "queue/v2beta" (REQUIRED) */ type: CancelDeploymentResponseServicesItemCase1BuilderConfigFunctionsValueExperimentalTriggersItemCase1Type; } /** Event type - must be "schedule/v1beta" (REQUIRED) */ export type CancelDeploymentResponseServicesItemCase1BuilderConfigFunctionsValueExperimentalTriggersItemCase2Type = "schedule/v1beta"; export interface CancelDeploymentResponseServicesItemCase1BuilderConfigFunctionsValueExperimentalTriggersItemCase2 { /** Event type - must be "schedule/v1beta" (REQUIRED) */ type: CancelDeploymentResponseServicesItemCase1BuilderConfigFunctionsValueExperimentalTriggersItemCase2Type; } export type CancelDeploymentResponseServicesItemCase1BuilderConfigFunctionsValueExperimentalTriggersItem = | CancelDeploymentResponseServicesItemCase1BuilderConfigFunctionsValueExperimentalTriggersItemCase0 | CancelDeploymentResponseServicesItemCase1BuilderConfigFunctionsValueExperimentalTriggersItemCase1 | CancelDeploymentResponseServicesItemCase1BuilderConfigFunctionsValueExperimentalTriggersItemCase2; export type CancelDeploymentResponseServicesItemCase1BuilderConfigFunctionsValueExperimentalTriggersList = Array; export type CancelDeploymentResponseServicesItemCase1BuilderConfigFunctionsValueFunctionFailoverRegionsList = Array; export type CancelDeploymentResponseServicesItemCase1BuilderConfigFunctionsValueMaxDurationCase1 = "max"; export type CancelDeploymentResponseServicesItemCase1BuilderConfigFunctionsValueMaxDuration = | number | CancelDeploymentResponseServicesItemCase1BuilderConfigFunctionsValueMaxDurationCase1; export type CancelDeploymentResponseServicesItemCase1BuilderConfigFunctionsValueRegionsList = Array; export interface CancelDeploymentResponseServicesItemCase1BuilderConfigFunctionsValue { affinity?: | CancelDeploymentResponseServicesItemCase1BuilderConfigFunctionsValueAffinity | undefined; architecture?: | CancelDeploymentResponseServicesItemCase1BuilderConfigFunctionsValueArchitecture | undefined; excludeFiles?: string | undefined; experimentalTriggers?: | CancelDeploymentResponseServicesItemCase1BuilderConfigFunctionsValueExperimentalTriggersList | undefined; functionFailoverRegions?: | CancelDeploymentResponseServicesItemCase1BuilderConfigFunctionsValueFunctionFailoverRegionsList | undefined; includeFiles?: string | undefined; /** Overrides how dependencies are installed for this function. An empty string skips the install. Only honored by `@vercel/node`. */ installCommand?: string | undefined; maxConcurrency?: number | undefined; maxDuration?: | CancelDeploymentResponseServicesItemCase1BuilderConfigFunctionsValueMaxDuration | undefined; memory?: number | undefined; regions?: | CancelDeploymentResponseServicesItemCase1BuilderConfigFunctionsValueRegionsList | undefined; runtime?: string | undefined; supportsCancellation?: boolean | undefined; } export type CancelDeploymentResponseServicesItemCase1BuilderConfigFunctionsMap = { [key: string]: CancelDeploymentResponseServicesItemCase1BuilderConfigFunctionsValue | undefined; }; export type CancelDeploymentResponseServicesItemCase1BuilderConfigImportMap = { [key: string]: string | undefined; }; export type CancelDeploymentResponseServicesItemCase1BuilderConfigIncludeFilesCase1List = Array; export type CancelDeploymentResponseServicesItemCase1BuilderConfigIncludeFiles = | string | CancelDeploymentResponseServicesItemCase1BuilderConfigIncludeFilesCase1List; /** Matcher supplied outside of the middleware source module. */ export type CancelDeploymentResponseServicesItemCase1BuilderConfigMiddlewareMatcherCase1List = Array; export type CancelDeploymentResponseServicesItemCase1BuilderConfigMiddlewareMatcher = | string | CancelDeploymentResponseServicesItemCase1BuilderConfigMiddlewareMatcherCase1List; /** Enforced runtime for explicitly configured Routing Middleware. */ export type CancelDeploymentResponseServicesItemCase1BuilderConfigMiddlewareRuntime = "nodejs"; export type CancelDeploymentResponseServicesItemCase1BuilderConfigProjectSettingsVercelFlags = CancelDeploymentResponseProjectSettingsVercelFlags; export type CancelDeploymentResponseServicesItemCase1BuilderConfigProjectSettings = CancelDeploymentResponseServicesItemCase0BuilderConfigProjectSettings; /** Names of the schedules that dispatch to this entrypoint, in config order. */ export type CancelDeploymentResponseServicesItemCase1BuilderConfigScheduleFunctionEntrypointsItemScheduleNamesList = Array; export interface CancelDeploymentResponseServicesItemCase1BuilderConfigScheduleFunctionEntrypointsItem { /** Runtime-specific entrypoint locator from `vercel.json`. */ entrypoint: string; /** Names of the schedules that dispatch to this entrypoint, in config order. */ scheduleNames: CancelDeploymentResponseServicesItemCase1BuilderConfigScheduleFunctionEntrypointsItemScheduleNamesList; /** Project-relative source file that contains the entrypoint. */ sourceFile: string; } export type CancelDeploymentResponseServicesItemCase1BuilderConfigScheduleFunctionEntrypointsList = Array; /** Set when this build produces a function for schedule entrypoints. */ export interface CancelDeploymentResponseServicesItemCase1BuilderConfigScheduleFunction { entrypoints: CancelDeploymentResponseServicesItemCase1BuilderConfigScheduleFunctionEntrypointsList; /** Function output path every schedule in this build targets. */ outputPath: string; } export interface CancelDeploymentResponseServicesItemCase1BuilderConfig { buildCommand?: string | undefined; /** Buildpack runtime slug (e.g. "ruby"). */ buildpack?: string | undefined; bundle?: boolean | undefined; bunVersion?: string | undefined; /** Set when this build produces the named daemon. */ daemon?: CancelDeploymentResponseServicesItemCase1BuilderConfigDaemon | undefined; debug?: boolean | undefined; devCommand?: string | undefined; excludeFiles?: CancelDeploymentResponseServicesItemCase1BuilderConfigExcludeFiles | undefined; framework?: string | null | undefined; functions?: CancelDeploymentResponseServicesItemCase1BuilderConfigFunctionsMap | undefined; helpers?: boolean | undefined; import?: CancelDeploymentResponseServicesItemCase1BuilderConfigImportMap | undefined; includeFiles?: CancelDeploymentResponseServicesItemCase1BuilderConfigIncludeFiles | undefined; installCommand?: string | undefined; ldsflags?: string | undefined; maxLambdaSize?: string | undefined; middleware?: boolean | undefined; middlewareMatcher?: | CancelDeploymentResponseServicesItemCase1BuilderConfigMiddlewareMatcher | undefined; /** Enforced runtime for explicitly configured Routing Middleware. */ middlewareRuntime?: | CancelDeploymentResponseServicesItemCase1BuilderConfigMiddlewareRuntime | undefined; nodeVersion?: string | undefined; outputDirectory?: string | undefined; projectSettings?: | CancelDeploymentResponseServicesItemCase0BuilderConfigProjectSettings | undefined; rust?: string | undefined; /** Set when this build produces a function for schedule entrypoints. */ scheduleFunction?: | CancelDeploymentResponseServicesItemCase1BuilderConfigScheduleFunction | undefined; /** Owning service name; scopes per-function config such as the v2beta consumer. */ serviceName?: string | undefined; zeroConfig?: boolean | undefined; } /** Builder selected by the resolver. */ export interface CancelDeploymentResponseServicesItemCase1Builder { config?: CancelDeploymentResponseServicesItemCase1BuilderConfig | undefined; src?: string | undefined; use: string; } /** Command override for `runtime: "container"` services. */ export type CancelDeploymentResponseServicesItemCase1CommandList = Array; export type CancelDeploymentResponseServicesItemCase1FunctionsValueAffinityMode = "strict"; export interface CancelDeploymentResponseServicesItemCase1FunctionsValueAffinity { mode: CancelDeploymentResponseServicesItemCase1FunctionsValueAffinityMode; } export type CancelDeploymentResponseServicesItemCase1FunctionsValueArchitecture = | "arm64" | "x86_64"; /** Event type - must be "queue/v1beta" (REQUIRED) */ export type CancelDeploymentResponseServicesItemCase1FunctionsValueExperimentalTriggersItemCase0Type = "queue/v1beta"; /** Queue trigger input event for v1beta (from vercel.json config). Requires explicit consumer name. */ export interface CancelDeploymentResponseServicesItemCase1FunctionsValueExperimentalTriggersItemCase0 { /** Name of the consumer group for this trigger (REQUIRED) */ consumer: string; /** Initial delay in seconds before first execution attempt (OPTIONAL) Must be 0 or greater. Use 0 for no initial delay. Behavior when not specified depends on the server's default configuration. */ initialDelaySeconds?: number | undefined; /** Maximum number of concurrent executions for this consumer (OPTIONAL) Must be at least 1 if specified. Behavior when not specified depends on the server's default configuration. */ maxConcurrency?: number | undefined; /** Maximum number of delivery attempts for message processing (OPTIONAL) This represents the total number of times a message can be delivered, not the number of retries. Must be at least 1 if specified. Behavior when not specified depends on the server's default configuration. */ maxDeliveries?: number | undefined; /** Delay in seconds before retrying failed executions (OPTIONAL) Behavior when not specified depends on the server's default configuration. */ retryAfterSeconds?: number | undefined; /** Name of the queue topic to consume from (REQUIRED) */ topic: string; /** Event type - must be "queue/v1beta" (REQUIRED) */ type: CancelDeploymentResponseServicesItemCase1FunctionsValueExperimentalTriggersItemCase0Type; } /** Event type - must be "queue/v2beta" (REQUIRED) */ export type CancelDeploymentResponseServicesItemCase1FunctionsValueExperimentalTriggersItemCase1Type = "queue/v2beta"; /** Queue trigger input event for v2beta (from vercel.json config). Consumer name is implicitly derived from the function path. Only one trigger per function is allowed. */ export interface CancelDeploymentResponseServicesItemCase1FunctionsValueExperimentalTriggersItemCase1 { /** Initial delay in seconds before first execution attempt (OPTIONAL) Must be 0 or greater. Use 0 for no initial delay. Behavior when not specified depends on the server's default configuration. */ initialDelaySeconds?: number | undefined; /** Maximum number of concurrent executions for this consumer (OPTIONAL) Must be at least 1 if specified. Behavior when not specified depends on the server's default configuration. */ maxConcurrency?: number | undefined; /** Maximum number of delivery attempts for message processing (OPTIONAL) This represents the total number of times a message can be delivered, not the number of retries. Must be at least 1 if specified. Behavior when not specified depends on the server's default configuration. */ maxDeliveries?: number | undefined; /** Delay in seconds before retrying failed executions (OPTIONAL) Behavior when not specified depends on the server's default configuration. */ retryAfterSeconds?: number | undefined; /** Name of the queue topic to consume from (REQUIRED) */ topic: string; /** Event type - must be "queue/v2beta" (REQUIRED) */ type: CancelDeploymentResponseServicesItemCase1FunctionsValueExperimentalTriggersItemCase1Type; } /** Event type - must be "schedule/v1beta" (REQUIRED) */ export type CancelDeploymentResponseServicesItemCase1FunctionsValueExperimentalTriggersItemCase2Type = "schedule/v1beta"; export interface CancelDeploymentResponseServicesItemCase1FunctionsValueExperimentalTriggersItemCase2 { /** Event type - must be "schedule/v1beta" (REQUIRED) */ type: CancelDeploymentResponseServicesItemCase1FunctionsValueExperimentalTriggersItemCase2Type; } export type CancelDeploymentResponseServicesItemCase1FunctionsValueExperimentalTriggersItem = | CancelDeploymentResponseServicesItemCase1FunctionsValueExperimentalTriggersItemCase0 | CancelDeploymentResponseServicesItemCase1FunctionsValueExperimentalTriggersItemCase1 | CancelDeploymentResponseServicesItemCase1FunctionsValueExperimentalTriggersItemCase2; export type CancelDeploymentResponseServicesItemCase1FunctionsValueExperimentalTriggersList = Array; export type CancelDeploymentResponseServicesItemCase1FunctionsValueFunctionFailoverRegionsList = Array; export type CancelDeploymentResponseServicesItemCase1FunctionsValueMaxDurationCase1 = "max"; export type CancelDeploymentResponseServicesItemCase1FunctionsValueMaxDuration = | number | CancelDeploymentResponseServicesItemCase1FunctionsValueMaxDurationCase1; export type CancelDeploymentResponseServicesItemCase1FunctionsValueRegionsList = Array; /** Function configuration scoped to this service. */ export interface CancelDeploymentResponseServicesItemCase1FunctionsValue { affinity?: CancelDeploymentResponseServicesItemCase1FunctionsValueAffinity | undefined; architecture?: CancelDeploymentResponseServicesItemCase1FunctionsValueArchitecture | undefined; excludeFiles?: string | undefined; experimentalTriggers?: | CancelDeploymentResponseServicesItemCase1FunctionsValueExperimentalTriggersList | undefined; functionFailoverRegions?: | CancelDeploymentResponseServicesItemCase1FunctionsValueFunctionFailoverRegionsList | undefined; includeFiles?: string | undefined; /** Overrides how dependencies are installed for this function. An empty string skips the install. Only honored by `@vercel/node`. */ installCommand?: string | undefined; maxConcurrency?: number | undefined; maxDuration?: CancelDeploymentResponseServicesItemCase1FunctionsValueMaxDuration | undefined; memory?: number | undefined; regions?: CancelDeploymentResponseServicesItemCase1FunctionsValueRegionsList | undefined; runtime?: string | undefined; supportsCancellation?: boolean | undefined; } /** Function configuration scoped to this service. */ export type CancelDeploymentResponseServicesItemCase1FunctionsMap = { [key: string]: CancelDeploymentResponseServicesItemCase1FunctionsValue | undefined; }; export type CancelDeploymentResponseServicesItemCase1HeadersItemHasItemCase0Type = "host"; export type CancelDeploymentResponseServicesItemCase1HeadersItemHasItemCase0ValueCase1Eq = | string | number; export type CancelDeploymentResponseServicesItemCase1HeadersItemHasItemCase0ValueCase1IncList = Array; export type CancelDeploymentResponseServicesItemCase1HeadersItemHasItemCase0ValueCase1NincList = Array; export interface CancelDeploymentResponseServicesItemCase1HeadersItemHasItemCase0ValueCase1 { eq?: CancelDeploymentResponseServicesItemCase1HeadersItemHasItemCase0ValueCase1Eq | undefined; gt?: number | undefined; gte?: number | undefined; inc?: | CancelDeploymentResponseServicesItemCase1HeadersItemHasItemCase0ValueCase1IncList | undefined; lt?: number | undefined; lte?: number | undefined; neq?: string | undefined; ninc?: | CancelDeploymentResponseServicesItemCase1HeadersItemHasItemCase0ValueCase1NincList | undefined; pre?: string | undefined; re?: string | undefined; suf?: string | undefined; } export type CancelDeploymentResponseServicesItemCase1HeadersItemHasItemCase0Value = | string | CancelDeploymentResponseServicesItemCase1HeadersItemHasItemCase0ValueCase1; export interface CancelDeploymentResponseServicesItemCase1HeadersItemHasItemCase0 { type: CancelDeploymentResponseServicesItemCase1HeadersItemHasItemCase0Type; value: CancelDeploymentResponseServicesItemCase1HeadersItemHasItemCase0Value; } export type CancelDeploymentResponseServicesItemCase1HeadersItemHasItemCase1Type = | "cookie" | "header" | "query"; export type CancelDeploymentResponseServicesItemCase1HeadersItemHasItemCase1ValueCase1Eq = | string | number; export type CancelDeploymentResponseServicesItemCase1HeadersItemHasItemCase1ValueCase1IncList = Array; export type CancelDeploymentResponseServicesItemCase1HeadersItemHasItemCase1ValueCase1NincList = Array; export interface CancelDeploymentResponseServicesItemCase1HeadersItemHasItemCase1ValueCase1 { eq?: CancelDeploymentResponseServicesItemCase1HeadersItemHasItemCase1ValueCase1Eq | undefined; gt?: number | undefined; gte?: number | undefined; inc?: | CancelDeploymentResponseServicesItemCase1HeadersItemHasItemCase1ValueCase1IncList | undefined; lt?: number | undefined; lte?: number | undefined; neq?: string | undefined; ninc?: | CancelDeploymentResponseServicesItemCase1HeadersItemHasItemCase1ValueCase1NincList | undefined; pre?: string | undefined; re?: string | undefined; suf?: string | undefined; } export type CancelDeploymentResponseServicesItemCase1HeadersItemHasItemCase1Value = | string | CancelDeploymentResponseServicesItemCase1HeadersItemHasItemCase1ValueCase1; export interface CancelDeploymentResponseServicesItemCase1HeadersItemHasItemCase1 { key: string; type: CancelDeploymentResponseServicesItemCase1HeadersItemHasItemCase1Type; value?: CancelDeploymentResponseServicesItemCase1HeadersItemHasItemCase1Value | undefined; } export type CancelDeploymentResponseServicesItemCase1HeadersItemHasItem = | CancelDeploymentResponseServicesItemCase1HeadersItemHasItemCase0 | CancelDeploymentResponseServicesItemCase1HeadersItemHasItemCase1; export type CancelDeploymentResponseServicesItemCase1HeadersItemHasList = Array; export interface CancelDeploymentResponseServicesItemCase1HeadersItemHeadersItem { key: string; value: string; } export type CancelDeploymentResponseServicesItemCase1HeadersItemHeadersList = Array; export type CancelDeploymentResponseServicesItemCase1HeadersItemMissingItemCase0Type = "host"; export type CancelDeploymentResponseServicesItemCase1HeadersItemMissingItemCase0ValueCase1Eq = | string | number; export type CancelDeploymentResponseServicesItemCase1HeadersItemMissingItemCase0ValueCase1IncList = Array; export type CancelDeploymentResponseServicesItemCase1HeadersItemMissingItemCase0ValueCase1NincList = Array; export interface CancelDeploymentResponseServicesItemCase1HeadersItemMissingItemCase0ValueCase1 { eq?: CancelDeploymentResponseServicesItemCase1HeadersItemMissingItemCase0ValueCase1Eq | undefined; gt?: number | undefined; gte?: number | undefined; inc?: | CancelDeploymentResponseServicesItemCase1HeadersItemMissingItemCase0ValueCase1IncList | undefined; lt?: number | undefined; lte?: number | undefined; neq?: string | undefined; ninc?: | CancelDeploymentResponseServicesItemCase1HeadersItemMissingItemCase0ValueCase1NincList | undefined; pre?: string | undefined; re?: string | undefined; suf?: string | undefined; } export type CancelDeploymentResponseServicesItemCase1HeadersItemMissingItemCase0Value = | string | CancelDeploymentResponseServicesItemCase1HeadersItemMissingItemCase0ValueCase1; export interface CancelDeploymentResponseServicesItemCase1HeadersItemMissingItemCase0 { type: CancelDeploymentResponseServicesItemCase1HeadersItemMissingItemCase0Type; value: CancelDeploymentResponseServicesItemCase1HeadersItemMissingItemCase0Value; } export type CancelDeploymentResponseServicesItemCase1HeadersItemMissingItemCase1Type = | "cookie" | "header" | "query"; export type CancelDeploymentResponseServicesItemCase1HeadersItemMissingItemCase1ValueCase1Eq = | string | number; export type CancelDeploymentResponseServicesItemCase1HeadersItemMissingItemCase1ValueCase1IncList = Array; export type CancelDeploymentResponseServicesItemCase1HeadersItemMissingItemCase1ValueCase1NincList = Array; export interface CancelDeploymentResponseServicesItemCase1HeadersItemMissingItemCase1ValueCase1 { eq?: CancelDeploymentResponseServicesItemCase1HeadersItemMissingItemCase1ValueCase1Eq | undefined; gt?: number | undefined; gte?: number | undefined; inc?: | CancelDeploymentResponseServicesItemCase1HeadersItemMissingItemCase1ValueCase1IncList | undefined; lt?: number | undefined; lte?: number | undefined; neq?: string | undefined; ninc?: | CancelDeploymentResponseServicesItemCase1HeadersItemMissingItemCase1ValueCase1NincList | undefined; pre?: string | undefined; re?: string | undefined; suf?: string | undefined; } export type CancelDeploymentResponseServicesItemCase1HeadersItemMissingItemCase1Value = | string | CancelDeploymentResponseServicesItemCase1HeadersItemMissingItemCase1ValueCase1; export interface CancelDeploymentResponseServicesItemCase1HeadersItemMissingItemCase1 { key: string; type: CancelDeploymentResponseServicesItemCase1HeadersItemMissingItemCase1Type; value?: CancelDeploymentResponseServicesItemCase1HeadersItemMissingItemCase1Value | undefined; } export type CancelDeploymentResponseServicesItemCase1HeadersItemMissingItem = | CancelDeploymentResponseServicesItemCase1HeadersItemMissingItemCase0 | CancelDeploymentResponseServicesItemCase1HeadersItemMissingItemCase1; export type CancelDeploymentResponseServicesItemCase1HeadersItemMissingList = Array; export interface CancelDeploymentResponseServicesItemCase1HeadersItem { has?: CancelDeploymentResponseServicesItemCase1HeadersItemHasList | undefined; headers: CancelDeploymentResponseServicesItemCase1HeadersItemHeadersList; missing?: CancelDeploymentResponseServicesItemCase1HeadersItemMissingList | undefined; source: string; } export type CancelDeploymentResponseServicesItemCase1HeadersList = Array; export type CancelDeploymentResponseServicesItemCase1RedirectsItemEnvList = Array; export type CancelDeploymentResponseServicesItemCase1RedirectsItemHasItemCase0Type = "host"; export type CancelDeploymentResponseServicesItemCase1RedirectsItemHasItemCase0ValueCase1Eq = | string | number; export type CancelDeploymentResponseServicesItemCase1RedirectsItemHasItemCase0ValueCase1IncList = Array; export type CancelDeploymentResponseServicesItemCase1RedirectsItemHasItemCase0ValueCase1NincList = Array; export interface CancelDeploymentResponseServicesItemCase1RedirectsItemHasItemCase0ValueCase1 { eq?: CancelDeploymentResponseServicesItemCase1RedirectsItemHasItemCase0ValueCase1Eq | undefined; gt?: number | undefined; gte?: number | undefined; inc?: | CancelDeploymentResponseServicesItemCase1RedirectsItemHasItemCase0ValueCase1IncList | undefined; lt?: number | undefined; lte?: number | undefined; neq?: string | undefined; ninc?: | CancelDeploymentResponseServicesItemCase1RedirectsItemHasItemCase0ValueCase1NincList | undefined; pre?: string | undefined; re?: string | undefined; suf?: string | undefined; } export type CancelDeploymentResponseServicesItemCase1RedirectsItemHasItemCase0Value = | string | CancelDeploymentResponseServicesItemCase1RedirectsItemHasItemCase0ValueCase1; export interface CancelDeploymentResponseServicesItemCase1RedirectsItemHasItemCase0 { type: CancelDeploymentResponseServicesItemCase1RedirectsItemHasItemCase0Type; value: CancelDeploymentResponseServicesItemCase1RedirectsItemHasItemCase0Value; } export type CancelDeploymentResponseServicesItemCase1RedirectsItemHasItemCase1Type = | "cookie" | "header" | "query"; export type CancelDeploymentResponseServicesItemCase1RedirectsItemHasItemCase1ValueCase1Eq = | string | number; export type CancelDeploymentResponseServicesItemCase1RedirectsItemHasItemCase1ValueCase1IncList = Array; export type CancelDeploymentResponseServicesItemCase1RedirectsItemHasItemCase1ValueCase1NincList = Array; export interface CancelDeploymentResponseServicesItemCase1RedirectsItemHasItemCase1ValueCase1 { eq?: CancelDeploymentResponseServicesItemCase1RedirectsItemHasItemCase1ValueCase1Eq | undefined; gt?: number | undefined; gte?: number | undefined; inc?: | CancelDeploymentResponseServicesItemCase1RedirectsItemHasItemCase1ValueCase1IncList | undefined; lt?: number | undefined; lte?: number | undefined; neq?: string | undefined; ninc?: | CancelDeploymentResponseServicesItemCase1RedirectsItemHasItemCase1ValueCase1NincList | undefined; pre?: string | undefined; re?: string | undefined; suf?: string | undefined; } export type CancelDeploymentResponseServicesItemCase1RedirectsItemHasItemCase1Value = | string | CancelDeploymentResponseServicesItemCase1RedirectsItemHasItemCase1ValueCase1; export interface CancelDeploymentResponseServicesItemCase1RedirectsItemHasItemCase1 { key: string; type: CancelDeploymentResponseServicesItemCase1RedirectsItemHasItemCase1Type; value?: CancelDeploymentResponseServicesItemCase1RedirectsItemHasItemCase1Value | undefined; } export type CancelDeploymentResponseServicesItemCase1RedirectsItemHasItem = | CancelDeploymentResponseServicesItemCase1RedirectsItemHasItemCase0 | CancelDeploymentResponseServicesItemCase1RedirectsItemHasItemCase1; export type CancelDeploymentResponseServicesItemCase1RedirectsItemHasList = Array; export type CancelDeploymentResponseServicesItemCase1RedirectsItemMissingItemCase0Type = "host"; export type CancelDeploymentResponseServicesItemCase1RedirectsItemMissingItemCase0ValueCase1Eq = | string | number; export type CancelDeploymentResponseServicesItemCase1RedirectsItemMissingItemCase0ValueCase1IncList = Array; export type CancelDeploymentResponseServicesItemCase1RedirectsItemMissingItemCase0ValueCase1NincList = Array; export interface CancelDeploymentResponseServicesItemCase1RedirectsItemMissingItemCase0ValueCase1 { eq?: | CancelDeploymentResponseServicesItemCase1RedirectsItemMissingItemCase0ValueCase1Eq | undefined; gt?: number | undefined; gte?: number | undefined; inc?: | CancelDeploymentResponseServicesItemCase1RedirectsItemMissingItemCase0ValueCase1IncList | undefined; lt?: number | undefined; lte?: number | undefined; neq?: string | undefined; ninc?: | CancelDeploymentResponseServicesItemCase1RedirectsItemMissingItemCase0ValueCase1NincList | undefined; pre?: string | undefined; re?: string | undefined; suf?: string | undefined; } export type CancelDeploymentResponseServicesItemCase1RedirectsItemMissingItemCase0Value = | string | CancelDeploymentResponseServicesItemCase1RedirectsItemMissingItemCase0ValueCase1; export interface CancelDeploymentResponseServicesItemCase1RedirectsItemMissingItemCase0 { type: CancelDeploymentResponseServicesItemCase1RedirectsItemMissingItemCase0Type; value: CancelDeploymentResponseServicesItemCase1RedirectsItemMissingItemCase0Value; } export type CancelDeploymentResponseServicesItemCase1RedirectsItemMissingItemCase1Type = | "cookie" | "header" | "query"; export type CancelDeploymentResponseServicesItemCase1RedirectsItemMissingItemCase1ValueCase1Eq = | string | number; export type CancelDeploymentResponseServicesItemCase1RedirectsItemMissingItemCase1ValueCase1IncList = Array; export type CancelDeploymentResponseServicesItemCase1RedirectsItemMissingItemCase1ValueCase1NincList = Array; export interface CancelDeploymentResponseServicesItemCase1RedirectsItemMissingItemCase1ValueCase1 { eq?: | CancelDeploymentResponseServicesItemCase1RedirectsItemMissingItemCase1ValueCase1Eq | undefined; gt?: number | undefined; gte?: number | undefined; inc?: | CancelDeploymentResponseServicesItemCase1RedirectsItemMissingItemCase1ValueCase1IncList | undefined; lt?: number | undefined; lte?: number | undefined; neq?: string | undefined; ninc?: | CancelDeploymentResponseServicesItemCase1RedirectsItemMissingItemCase1ValueCase1NincList | undefined; pre?: string | undefined; re?: string | undefined; suf?: string | undefined; } export type CancelDeploymentResponseServicesItemCase1RedirectsItemMissingItemCase1Value = | string | CancelDeploymentResponseServicesItemCase1RedirectsItemMissingItemCase1ValueCase1; export interface CancelDeploymentResponseServicesItemCase1RedirectsItemMissingItemCase1 { key: string; type: CancelDeploymentResponseServicesItemCase1RedirectsItemMissingItemCase1Type; value?: CancelDeploymentResponseServicesItemCase1RedirectsItemMissingItemCase1Value | undefined; } export type CancelDeploymentResponseServicesItemCase1RedirectsItemMissingItem = | CancelDeploymentResponseServicesItemCase1RedirectsItemMissingItemCase0 | CancelDeploymentResponseServicesItemCase1RedirectsItemMissingItemCase1; export type CancelDeploymentResponseServicesItemCase1RedirectsItemMissingList = Array; export interface CancelDeploymentResponseServicesItemCase1RedirectsItem { destination: string; env?: CancelDeploymentResponseServicesItemCase1RedirectsItemEnvList | undefined; has?: CancelDeploymentResponseServicesItemCase1RedirectsItemHasList | undefined; missing?: CancelDeploymentResponseServicesItemCase1RedirectsItemMissingList | undefined; permanent?: boolean | undefined; source: string; statusCode?: number | undefined; } export type CancelDeploymentResponseServicesItemCase1RedirectsList = Array; /** Optional explicit format marker. The destination is identified by the presence of `service`, so `type` is no longer required. */ export type CancelDeploymentResponseServicesItemCase1RewritesItemDestinationCase1Type = "service"; export interface CancelDeploymentResponseServicesItemCase1RewritesItemDestinationCase1 { /** Routing-only path used to select a route inside the target service. */ path?: string | undefined; service: string; /** Optional explicit format marker. The destination is identified by the presence of `service`, so `type` is no longer required. */ type?: CancelDeploymentResponseServicesItemCase1RewritesItemDestinationCase1Type | undefined; } export type CancelDeploymentResponseServicesItemCase1RewritesItemDestination = | string | CancelDeploymentResponseServicesItemCase1RewritesItemDestinationCase1; export type CancelDeploymentResponseServicesItemCase1RewritesItemEnvList = Array; export type CancelDeploymentResponseServicesItemCase1RewritesItemHasItemCase0Type = "host"; export type CancelDeploymentResponseServicesItemCase1RewritesItemHasItemCase0ValueCase1Eq = | string | number; export type CancelDeploymentResponseServicesItemCase1RewritesItemHasItemCase0ValueCase1IncList = Array; export type CancelDeploymentResponseServicesItemCase1RewritesItemHasItemCase0ValueCase1NincList = Array; export interface CancelDeploymentResponseServicesItemCase1RewritesItemHasItemCase0ValueCase1 { eq?: CancelDeploymentResponseServicesItemCase1RewritesItemHasItemCase0ValueCase1Eq | undefined; gt?: number | undefined; gte?: number | undefined; inc?: | CancelDeploymentResponseServicesItemCase1RewritesItemHasItemCase0ValueCase1IncList | undefined; lt?: number | undefined; lte?: number | undefined; neq?: string | undefined; ninc?: | CancelDeploymentResponseServicesItemCase1RewritesItemHasItemCase0ValueCase1NincList | undefined; pre?: string | undefined; re?: string | undefined; suf?: string | undefined; } export type CancelDeploymentResponseServicesItemCase1RewritesItemHasItemCase0Value = | string | CancelDeploymentResponseServicesItemCase1RewritesItemHasItemCase0ValueCase1; export interface CancelDeploymentResponseServicesItemCase1RewritesItemHasItemCase0 { type: CancelDeploymentResponseServicesItemCase1RewritesItemHasItemCase0Type; value: CancelDeploymentResponseServicesItemCase1RewritesItemHasItemCase0Value; } export type CancelDeploymentResponseServicesItemCase1RewritesItemHasItemCase1Type = | "cookie" | "header" | "query"; export type CancelDeploymentResponseServicesItemCase1RewritesItemHasItemCase1ValueCase1Eq = | string | number; export type CancelDeploymentResponseServicesItemCase1RewritesItemHasItemCase1ValueCase1IncList = Array; export type CancelDeploymentResponseServicesItemCase1RewritesItemHasItemCase1ValueCase1NincList = Array; export interface CancelDeploymentResponseServicesItemCase1RewritesItemHasItemCase1ValueCase1 { eq?: CancelDeploymentResponseServicesItemCase1RewritesItemHasItemCase1ValueCase1Eq | undefined; gt?: number | undefined; gte?: number | undefined; inc?: | CancelDeploymentResponseServicesItemCase1RewritesItemHasItemCase1ValueCase1IncList | undefined; lt?: number | undefined; lte?: number | undefined; neq?: string | undefined; ninc?: | CancelDeploymentResponseServicesItemCase1RewritesItemHasItemCase1ValueCase1NincList | undefined; pre?: string | undefined; re?: string | undefined; suf?: string | undefined; } export type CancelDeploymentResponseServicesItemCase1RewritesItemHasItemCase1Value = | string | CancelDeploymentResponseServicesItemCase1RewritesItemHasItemCase1ValueCase1; export interface CancelDeploymentResponseServicesItemCase1RewritesItemHasItemCase1 { key: string; type: CancelDeploymentResponseServicesItemCase1RewritesItemHasItemCase1Type; value?: CancelDeploymentResponseServicesItemCase1RewritesItemHasItemCase1Value | undefined; } export type CancelDeploymentResponseServicesItemCase1RewritesItemHasItem = | CancelDeploymentResponseServicesItemCase1RewritesItemHasItemCase0 | CancelDeploymentResponseServicesItemCase1RewritesItemHasItemCase1; export type CancelDeploymentResponseServicesItemCase1RewritesItemHasList = Array; export type CancelDeploymentResponseServicesItemCase1RewritesItemMissingItemCase0Type = "host"; export type CancelDeploymentResponseServicesItemCase1RewritesItemMissingItemCase0ValueCase1Eq = | string | number; export type CancelDeploymentResponseServicesItemCase1RewritesItemMissingItemCase0ValueCase1IncList = Array; export type CancelDeploymentResponseServicesItemCase1RewritesItemMissingItemCase0ValueCase1NincList = Array; export interface CancelDeploymentResponseServicesItemCase1RewritesItemMissingItemCase0ValueCase1 { eq?: | CancelDeploymentResponseServicesItemCase1RewritesItemMissingItemCase0ValueCase1Eq | undefined; gt?: number | undefined; gte?: number | undefined; inc?: | CancelDeploymentResponseServicesItemCase1RewritesItemMissingItemCase0ValueCase1IncList | undefined; lt?: number | undefined; lte?: number | undefined; neq?: string | undefined; ninc?: | CancelDeploymentResponseServicesItemCase1RewritesItemMissingItemCase0ValueCase1NincList | undefined; pre?: string | undefined; re?: string | undefined; suf?: string | undefined; } export type CancelDeploymentResponseServicesItemCase1RewritesItemMissingItemCase0Value = | string | CancelDeploymentResponseServicesItemCase1RewritesItemMissingItemCase0ValueCase1; export interface CancelDeploymentResponseServicesItemCase1RewritesItemMissingItemCase0 { type: CancelDeploymentResponseServicesItemCase1RewritesItemMissingItemCase0Type; value: CancelDeploymentResponseServicesItemCase1RewritesItemMissingItemCase0Value; } export type CancelDeploymentResponseServicesItemCase1RewritesItemMissingItemCase1Type = | "cookie" | "header" | "query"; export type CancelDeploymentResponseServicesItemCase1RewritesItemMissingItemCase1ValueCase1Eq = | string | number; export type CancelDeploymentResponseServicesItemCase1RewritesItemMissingItemCase1ValueCase1IncList = Array; export type CancelDeploymentResponseServicesItemCase1RewritesItemMissingItemCase1ValueCase1NincList = Array; export interface CancelDeploymentResponseServicesItemCase1RewritesItemMissingItemCase1ValueCase1 { eq?: | CancelDeploymentResponseServicesItemCase1RewritesItemMissingItemCase1ValueCase1Eq | undefined; gt?: number | undefined; gte?: number | undefined; inc?: | CancelDeploymentResponseServicesItemCase1RewritesItemMissingItemCase1ValueCase1IncList | undefined; lt?: number | undefined; lte?: number | undefined; neq?: string | undefined; ninc?: | CancelDeploymentResponseServicesItemCase1RewritesItemMissingItemCase1ValueCase1NincList | undefined; pre?: string | undefined; re?: string | undefined; suf?: string | undefined; } export type CancelDeploymentResponseServicesItemCase1RewritesItemMissingItemCase1Value = | string | CancelDeploymentResponseServicesItemCase1RewritesItemMissingItemCase1ValueCase1; export interface CancelDeploymentResponseServicesItemCase1RewritesItemMissingItemCase1 { key: string; type: CancelDeploymentResponseServicesItemCase1RewritesItemMissingItemCase1Type; value?: CancelDeploymentResponseServicesItemCase1RewritesItemMissingItemCase1Value | undefined; } export type CancelDeploymentResponseServicesItemCase1RewritesItemMissingItem = | CancelDeploymentResponseServicesItemCase1RewritesItemMissingItemCase0 | CancelDeploymentResponseServicesItemCase1RewritesItemMissingItemCase1; export type CancelDeploymentResponseServicesItemCase1RewritesItemMissingList = Array; export type CancelDeploymentResponseServicesItemCase1RewritesItemTransformsItemEnvList = Array; export type CancelDeploymentResponseServicesItemCase1RewritesItemTransformsItemOp = "set"; export type CancelDeploymentResponseServicesItemCase1RewritesItemTransformsItemType = "request.path"; export interface CancelDeploymentResponseServicesItemCase1RewritesItemTransformsItem { args: string; env?: CancelDeploymentResponseServicesItemCase1RewritesItemTransformsItemEnvList | undefined; /** Keep an earlier request.path value. Builders use this for fallback routes. */ fallback?: boolean | undefined; op: CancelDeploymentResponseServicesItemCase1RewritesItemTransformsItemOp; type: CancelDeploymentResponseServicesItemCase1RewritesItemTransformsItemType; } export type CancelDeploymentResponseServicesItemCase1RewritesItemTransformsList = Array; export interface CancelDeploymentResponseServicesItemCase1RewritesItem { destination: CancelDeploymentResponseServicesItemCase1RewritesItemDestination; env?: CancelDeploymentResponseServicesItemCase1RewritesItemEnvList | undefined; has?: CancelDeploymentResponseServicesItemCase1RewritesItemHasList | undefined; missing?: CancelDeploymentResponseServicesItemCase1RewritesItemMissingList | undefined; respectOriginCacheControl?: boolean | undefined; source: string; statusCode?: number | undefined; transforms?: CancelDeploymentResponseServicesItemCase1RewritesItemTransformsList | undefined; } export type CancelDeploymentResponseServicesItemCase1RewritesList = Array; /** Optional explicit format marker. The destination is identified by the presence of `service`, so `type` is no longer required. */ export type CancelDeploymentResponseServicesItemCase1RoutesItemCase0DestinationCase1Type = "service"; export interface CancelDeploymentResponseServicesItemCase1RoutesItemCase0DestinationCase1 { /** Routing-only path used to select a route inside the target service. */ path?: string | undefined; service: string; /** Optional explicit format marker. The destination is identified by the presence of `service`, so `type` is no longer required. */ type?: CancelDeploymentResponseServicesItemCase1RoutesItemCase0DestinationCase1Type | undefined; } export type CancelDeploymentResponseServicesItemCase1RoutesItemCase0Destination = | string | CancelDeploymentResponseServicesItemCase1RoutesItemCase0DestinationCase1; export type CancelDeploymentResponseServicesItemCase1RoutesItemCase0EnvList = Array; export type CancelDeploymentResponseServicesItemCase1RoutesItemCase0HasItemCase0Type = "host"; export type CancelDeploymentResponseServicesItemCase1RoutesItemCase0HasItemCase0ValueCase1Eq = | string | number; export type CancelDeploymentResponseServicesItemCase1RoutesItemCase0HasItemCase0ValueCase1IncList = Array; export type CancelDeploymentResponseServicesItemCase1RoutesItemCase0HasItemCase0ValueCase1NincList = Array; export interface CancelDeploymentResponseServicesItemCase1RoutesItemCase0HasItemCase0ValueCase1 { eq?: CancelDeploymentResponseServicesItemCase1RoutesItemCase0HasItemCase0ValueCase1Eq | undefined; gt?: number | undefined; gte?: number | undefined; inc?: | CancelDeploymentResponseServicesItemCase1RoutesItemCase0HasItemCase0ValueCase1IncList | undefined; lt?: number | undefined; lte?: number | undefined; neq?: string | undefined; ninc?: | CancelDeploymentResponseServicesItemCase1RoutesItemCase0HasItemCase0ValueCase1NincList | undefined; pre?: string | undefined; re?: string | undefined; suf?: string | undefined; } export type CancelDeploymentResponseServicesItemCase1RoutesItemCase0HasItemCase0Value = | string | CancelDeploymentResponseServicesItemCase1RoutesItemCase0HasItemCase0ValueCase1; export interface CancelDeploymentResponseServicesItemCase1RoutesItemCase0HasItemCase0 { type: CancelDeploymentResponseServicesItemCase1RoutesItemCase0HasItemCase0Type; value: CancelDeploymentResponseServicesItemCase1RoutesItemCase0HasItemCase0Value; } export type CancelDeploymentResponseServicesItemCase1RoutesItemCase0HasItemCase1Type = | "cookie" | "header" | "query"; export type CancelDeploymentResponseServicesItemCase1RoutesItemCase0HasItemCase1ValueCase1Eq = | string | number; export type CancelDeploymentResponseServicesItemCase1RoutesItemCase0HasItemCase1ValueCase1IncList = Array; export type CancelDeploymentResponseServicesItemCase1RoutesItemCase0HasItemCase1ValueCase1NincList = Array; export interface CancelDeploymentResponseServicesItemCase1RoutesItemCase0HasItemCase1ValueCase1 { eq?: CancelDeploymentResponseServicesItemCase1RoutesItemCase0HasItemCase1ValueCase1Eq | undefined; gt?: number | undefined; gte?: number | undefined; inc?: | CancelDeploymentResponseServicesItemCase1RoutesItemCase0HasItemCase1ValueCase1IncList | undefined; lt?: number | undefined; lte?: number | undefined; neq?: string | undefined; ninc?: | CancelDeploymentResponseServicesItemCase1RoutesItemCase0HasItemCase1ValueCase1NincList | undefined; pre?: string | undefined; re?: string | undefined; suf?: string | undefined; } export type CancelDeploymentResponseServicesItemCase1RoutesItemCase0HasItemCase1Value = | string | CancelDeploymentResponseServicesItemCase1RoutesItemCase0HasItemCase1ValueCase1; export interface CancelDeploymentResponseServicesItemCase1RoutesItemCase0HasItemCase1 { key: string; type: CancelDeploymentResponseServicesItemCase1RoutesItemCase0HasItemCase1Type; value?: CancelDeploymentResponseServicesItemCase1RoutesItemCase0HasItemCase1Value | undefined; } export type CancelDeploymentResponseServicesItemCase1RoutesItemCase0HasItem = | CancelDeploymentResponseServicesItemCase1RoutesItemCase0HasItemCase0 | CancelDeploymentResponseServicesItemCase1RoutesItemCase0HasItemCase1; export type CancelDeploymentResponseServicesItemCase1RoutesItemCase0HasList = Array; export type CancelDeploymentResponseServicesItemCase1RoutesItemCase0HeadersMap = { [key: string]: string | undefined; }; export type CancelDeploymentResponseServicesItemCase1RoutesItemCase0LocaleRedirectMap = { [key: string]: string | undefined; }; export interface CancelDeploymentResponseServicesItemCase1RoutesItemCase0Locale { cookie?: string | undefined; redirect?: CancelDeploymentResponseServicesItemCase1RoutesItemCase0LocaleRedirectMap | undefined; } export type CancelDeploymentResponseServicesItemCase1RoutesItemCase0MethodsList = Array; /** The original middleware matchers. */ export type CancelDeploymentResponseServicesItemCase1RoutesItemCase0MiddlewareRawSrcList = Array; export type CancelDeploymentResponseServicesItemCase1RoutesItemCase0MissingItemCase0Type = "host"; export type CancelDeploymentResponseServicesItemCase1RoutesItemCase0MissingItemCase0ValueCase1Eq = | string | number; export type CancelDeploymentResponseServicesItemCase1RoutesItemCase0MissingItemCase0ValueCase1IncList = Array; export type CancelDeploymentResponseServicesItemCase1RoutesItemCase0MissingItemCase0ValueCase1NincList = Array; export interface CancelDeploymentResponseServicesItemCase1RoutesItemCase0MissingItemCase0ValueCase1 { eq?: | CancelDeploymentResponseServicesItemCase1RoutesItemCase0MissingItemCase0ValueCase1Eq | undefined; gt?: number | undefined; gte?: number | undefined; inc?: | CancelDeploymentResponseServicesItemCase1RoutesItemCase0MissingItemCase0ValueCase1IncList | undefined; lt?: number | undefined; lte?: number | undefined; neq?: string | undefined; ninc?: | CancelDeploymentResponseServicesItemCase1RoutesItemCase0MissingItemCase0ValueCase1NincList | undefined; pre?: string | undefined; re?: string | undefined; suf?: string | undefined; } export type CancelDeploymentResponseServicesItemCase1RoutesItemCase0MissingItemCase0Value = | string | CancelDeploymentResponseServicesItemCase1RoutesItemCase0MissingItemCase0ValueCase1; export interface CancelDeploymentResponseServicesItemCase1RoutesItemCase0MissingItemCase0 { type: CancelDeploymentResponseServicesItemCase1RoutesItemCase0MissingItemCase0Type; value: CancelDeploymentResponseServicesItemCase1RoutesItemCase0MissingItemCase0Value; } export type CancelDeploymentResponseServicesItemCase1RoutesItemCase0MissingItemCase1Type = | "cookie" | "header" | "query"; export type CancelDeploymentResponseServicesItemCase1RoutesItemCase0MissingItemCase1ValueCase1Eq = | string | number; export type CancelDeploymentResponseServicesItemCase1RoutesItemCase0MissingItemCase1ValueCase1IncList = Array; export type CancelDeploymentResponseServicesItemCase1RoutesItemCase0MissingItemCase1ValueCase1NincList = Array; export interface CancelDeploymentResponseServicesItemCase1RoutesItemCase0MissingItemCase1ValueCase1 { eq?: | CancelDeploymentResponseServicesItemCase1RoutesItemCase0MissingItemCase1ValueCase1Eq | undefined; gt?: number | undefined; gte?: number | undefined; inc?: | CancelDeploymentResponseServicesItemCase1RoutesItemCase0MissingItemCase1ValueCase1IncList | undefined; lt?: number | undefined; lte?: number | undefined; neq?: string | undefined; ninc?: | CancelDeploymentResponseServicesItemCase1RoutesItemCase0MissingItemCase1ValueCase1NincList | undefined; pre?: string | undefined; re?: string | undefined; suf?: string | undefined; } export type CancelDeploymentResponseServicesItemCase1RoutesItemCase0MissingItemCase1Value = | string | CancelDeploymentResponseServicesItemCase1RoutesItemCase0MissingItemCase1ValueCase1; export interface CancelDeploymentResponseServicesItemCase1RoutesItemCase0MissingItemCase1 { key: string; type: CancelDeploymentResponseServicesItemCase1RoutesItemCase0MissingItemCase1Type; value?: CancelDeploymentResponseServicesItemCase1RoutesItemCase0MissingItemCase1Value | undefined; } export type CancelDeploymentResponseServicesItemCase1RoutesItemCase0MissingItem = | CancelDeploymentResponseServicesItemCase1RoutesItemCase0MissingItemCase0 | CancelDeploymentResponseServicesItemCase1RoutesItemCase0MissingItemCase1; export type CancelDeploymentResponseServicesItemCase1RoutesItemCase0MissingList = Array; export type CancelDeploymentResponseServicesItemCase1RoutesItemCase0MitigateAction = | "challenge" | "deny"; export interface CancelDeploymentResponseServicesItemCase1RoutesItemCase0Mitigate { action: CancelDeploymentResponseServicesItemCase1RoutesItemCase0MitigateAction; } export type CancelDeploymentResponseServicesItemCase1RoutesItemCase0TransformsItemCase0ArgsCase1List = Array; export type CancelDeploymentResponseServicesItemCase1RoutesItemCase0TransformsItemCase0Args = | string | CancelDeploymentResponseServicesItemCase1RoutesItemCase0TransformsItemCase0ArgsCase1List; export type CancelDeploymentResponseServicesItemCase1RoutesItemCase0TransformsItemCase0EnvList = Array; export type CancelDeploymentResponseServicesItemCase1RoutesItemCase0TransformsItemCase0Op = | "append" | "delete" | "set"; export type CancelDeploymentResponseServicesItemCase1RoutesItemCase0TransformsItemCase0TargetKeyCase1Eq = | string | number; export type CancelDeploymentResponseServicesItemCase1RoutesItemCase0TransformsItemCase0TargetKeyCase1IncList = Array; export type CancelDeploymentResponseServicesItemCase1RoutesItemCase0TransformsItemCase0TargetKeyCase1NincList = Array; export interface CancelDeploymentResponseServicesItemCase1RoutesItemCase0TransformsItemCase0TargetKeyCase1 { eq?: | CancelDeploymentResponseServicesItemCase1RoutesItemCase0TransformsItemCase0TargetKeyCase1Eq | undefined; gt?: number | undefined; gte?: number | undefined; inc?: | CancelDeploymentResponseServicesItemCase1RoutesItemCase0TransformsItemCase0TargetKeyCase1IncList | undefined; lt?: number | undefined; lte?: number | undefined; neq?: string | undefined; ninc?: | CancelDeploymentResponseServicesItemCase1RoutesItemCase0TransformsItemCase0TargetKeyCase1NincList | undefined; pre?: string | undefined; suf?: string | undefined; } export type CancelDeploymentResponseServicesItemCase1RoutesItemCase0TransformsItemCase0TargetKey = | string | CancelDeploymentResponseServicesItemCase1RoutesItemCase0TransformsItemCase0TargetKeyCase1; export interface CancelDeploymentResponseServicesItemCase1RoutesItemCase0TransformsItemCase0Target { key: CancelDeploymentResponseServicesItemCase1RoutesItemCase0TransformsItemCase0TargetKey; } export type CancelDeploymentResponseServicesItemCase1RoutesItemCase0TransformsItemCase0Type = | "request.headers" | "request.query" | "response.headers"; export interface CancelDeploymentResponseServicesItemCase1RoutesItemCase0TransformsItemCase0 { args?: | CancelDeploymentResponseServicesItemCase1RoutesItemCase0TransformsItemCase0Args | undefined; env?: | CancelDeploymentResponseServicesItemCase1RoutesItemCase0TransformsItemCase0EnvList | undefined; op: CancelDeploymentResponseServicesItemCase1RoutesItemCase0TransformsItemCase0Op; target: CancelDeploymentResponseServicesItemCase1RoutesItemCase0TransformsItemCase0Target; type: CancelDeploymentResponseServicesItemCase1RoutesItemCase0TransformsItemCase0Type; } export type CancelDeploymentResponseServicesItemCase1RoutesItemCase0TransformsItemCase1EnvList = Array; export type CancelDeploymentResponseServicesItemCase1RoutesItemCase0TransformsItemCase1Op = "set"; export type CancelDeploymentResponseServicesItemCase1RoutesItemCase0TransformsItemCase1Type = "request.path"; export interface CancelDeploymentResponseServicesItemCase1RoutesItemCase0TransformsItemCase1 { args: string; env?: | CancelDeploymentResponseServicesItemCase1RoutesItemCase0TransformsItemCase1EnvList | undefined; /** Keep an earlier request.path value. Builders use this for fallback routes. */ fallback?: boolean | undefined; op: CancelDeploymentResponseServicesItemCase1RoutesItemCase0TransformsItemCase1Op; type: CancelDeploymentResponseServicesItemCase1RoutesItemCase0TransformsItemCase1Type; } export type CancelDeploymentResponseServicesItemCase1RoutesItemCase0TransformsItem = | CancelDeploymentResponseServicesItemCase1RoutesItemCase0TransformsItemCase0 | CancelDeploymentResponseServicesItemCase1RoutesItemCase0TransformsItemCase1; export type CancelDeploymentResponseServicesItemCase1RoutesItemCase0TransformsList = Array; export interface CancelDeploymentResponseServicesItemCase1RoutesItemCase0 { caseSensitive?: boolean | undefined; check?: boolean | undefined; continue?: boolean | undefined; dest?: string | undefined; destination?: CancelDeploymentResponseServicesItemCase1RoutesItemCase0Destination | undefined; env?: CancelDeploymentResponseServicesItemCase1RoutesItemCase0EnvList | undefined; has?: CancelDeploymentResponseServicesItemCase1RoutesItemCase0HasList | undefined; headers?: CancelDeploymentResponseServicesItemCase1RoutesItemCase0HeadersMap | undefined; important?: boolean | undefined; locale?: CancelDeploymentResponseServicesItemCase1RoutesItemCase0Locale | undefined; methods?: CancelDeploymentResponseServicesItemCase1RoutesItemCase0MethodsList | undefined; /** A middleware index in the `middleware` key under the build result */ middleware?: number | undefined; /** A middleware key within the `output` key under the build result. Overrides a `middleware` definition. */ middlewarePath?: string | undefined; /** The original middleware matchers. */ middlewareRawSrc?: | CancelDeploymentResponseServicesItemCase1RoutesItemCase0MiddlewareRawSrcList | undefined; missing?: CancelDeploymentResponseServicesItemCase1RoutesItemCase0MissingList | undefined; mitigate?: CancelDeploymentResponseServicesItemCase1RoutesItemCase0Mitigate | undefined; override?: boolean | undefined; respectOriginCacheControl?: boolean | undefined; /** Aliases for `src`, `dest`, and `status`. These provide consistency with the `rewrites`, `redirects`, and `headers` fields which use `source`, `destination`, and `statusCode`. During normalization, the string forms are converted to their canonical forms (`src`, `dest`, `status`) and stripped from the route object. `destination` may also be a service-targeted object, in which case routing is delegated into the named service's internal route table and the object is preserved as-is (not folded into `dest`). */ source?: string | undefined; src: string; status?: number | undefined; statusCode?: number | undefined; transforms?: CancelDeploymentResponseServicesItemCase1RoutesItemCase0TransformsList | undefined; } export type CancelDeploymentResponseServicesItemCase1RoutesItemCase1Handle = | "error" | "filesystem" | "hit" | "miss" | "resource" | "rewrite"; export interface CancelDeploymentResponseServicesItemCase1RoutesItemCase1 { dest?: string | undefined; handle: CancelDeploymentResponseServicesItemCase1RoutesItemCase1Handle; src?: string | undefined; status?: number | undefined; } export type CancelDeploymentResponseServicesItemCase1RoutesItem = | CancelDeploymentResponseServicesItemCase1RoutesItemCase0 | CancelDeploymentResponseServicesItemCase1RoutesItemCase1; export type CancelDeploymentResponseServicesItemCase1RoutesList = Array; export type CancelDeploymentResponseServicesItemCase1Schema = "experimentalServicesV2"; /** Services detected during build from vercel.json experimentalServices or auto-detected from project structure. Used to inject service URLs as environment variables at runtime. */ export interface CancelDeploymentResponseServicesItemCase1 { /** Caller-side bindings to other services. */ bindings?: CancelDeploymentResponseServicesItemCase1BindingsList | undefined; buildCommand?: string | undefined; /** Builder selected by the resolver. */ builder: CancelDeploymentResponseServicesItemCase1Builder; cleanUrls?: boolean | undefined; /** Command override for `runtime: "container"` services. */ command?: CancelDeploymentResponseServicesItemCase1CommandList | undefined; devCommand?: string | undefined; /** Resolved entrypoint, relative to the service root. */ entrypoint?: string | undefined; framework?: string | undefined; /** Function configuration scoped to this service. */ functions?: CancelDeploymentResponseServicesItemCase1FunctionsMap | undefined; headers?: CancelDeploymentResponseServicesItemCase1HeadersList | undefined; ignoreCommand?: string | undefined; installCommand?: string | undefined; name: string; outputDirectory?: string | undefined; redirects?: CancelDeploymentResponseServicesItemCase1RedirectsList | undefined; rewrites?: CancelDeploymentResponseServicesItemCase1RewritesList | undefined; /** Path to the service root, relative to the project root. */ root: string; routes?: CancelDeploymentResponseServicesItemCase1RoutesList | undefined; runtime?: string | undefined; schema: CancelDeploymentResponseServicesItemCase1Schema; trailingSlash?: boolean | undefined; } export type CancelDeploymentResponseServicesItem = | CancelDeploymentResponseServicesItemCase0 | CancelDeploymentResponseServicesItemCase1; /** Services detected during build from vercel.json experimentalServices or auto-detected from project structure. Used to inject service URLs as environment variables at runtime. */ export type CancelDeploymentResponseServicesList = Array; /** Where was the deployment created from. Best-effort guess for metrics only -- not authoritative; do not gate behavior on it. */ export type CancelDeploymentResponseSource = | "api-trigger-git-deploy" | "cli" | "clone/repo" | "drop" | "git" | "git-deploy-hook" | "import" | "import/repo" | "redeploy" | "v0-web"; export type CancelDeploymentResponseStatus = | "BLOCKED" | "BUILDING" | "CANCELED" | "ERROR" | "INITIALIZING" | "QUEUED" | "READY"; /** If defined, either `staging` if a staging alias in the format `..now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment. */ export type CancelDeploymentResponseTarget = "production" | "staging"; /** The team that owns the deployment if any */ export interface CancelDeploymentResponseTeam { avatar?: string | undefined; id: string; name: string; slug: string; } export type CancelDeploymentResponseType = "LAMBDAS"; /** An array of domains that were provided by the user when creating the Deployment. */ export type CancelDeploymentResponseUserAliasesList = Array; /** The platform version that was used to create the deployment. */ export type CancelDeploymentResponseVersion = 2; export interface CancelDeploymentResponse { /** A list of all the aliases (default aliases, staging aliases and production aliases) that were assigned upon deployment creation */ alias?: CancelDeploymentResponseAliasList | undefined; /** A boolean that will be true when the aliases from the alias property were assigned successfully */ aliasAssigned: boolean; aliasAssignedAt?: CancelDeploymentResponseAliasAssignedAt | null | undefined; /** An object that will contain a `code` and a `message` when the aliasing fails, otherwise the value will be `null` */ aliasError?: CancelDeploymentResponseAliasError | null | undefined; aliasFinal?: string | null | undefined; aliasWarning?: CancelDeploymentResponseAliasWarning | null | undefined; alwaysRefuseToBuild?: boolean | undefined; atproto?: CancelDeploymentResponseAtproto | undefined; /** Attribution metadata for the deployment, linking commit author to git and Vercel users. Only populated when the `enable-deployment-attribution` flag is enabled. */ attribution?: CancelDeploymentResponseAttribution | undefined; /** applies to custom domains only, defaults to `true` */ autoAssignCustomDomains?: boolean | undefined; automaticAliases?: CancelDeploymentResponseAutomaticAliasesList | undefined; bootedAt: number; build: CancelDeploymentResponseBuild; buildArtifactUrls?: CancelDeploymentResponseBuildArtifactUrlsList | undefined; /** Since April 2025 it necessary for On-Demand Concurrency Minutes calculation */ buildContainerFinishedAt?: number | undefined; buildErrorAt?: number | undefined; buildingAt: number; builds?: CancelDeploymentResponseBuildsList | undefined; buildSkipped: boolean; canceledAt?: number | undefined; checks?: CancelDeploymentResponseChecks | undefined; checksConclusion?: CancelDeploymentResponseChecksConclusion | undefined; checksState?: CancelDeploymentResponseChecksState | undefined; /** Since February 2025 the configuration must include snapshot data at the time of deployment creation to capture properties for the /deployments/:id/config endpoint utilized for displaying Deployment Configuration on the frontend This is optional because older deployments may not have this data captured */ config?: CancelDeploymentResponseConfig | undefined; connectBuildsEnabled?: boolean | undefined; connectConfigurationId?: string | undefined; /** A number containing the date when the deployment was created in milliseconds */ createdAt: number; createdIn: string; /** Information about the deployment creator */ creator: CancelDeploymentResponseCreator; crons?: CancelDeploymentResponseCronsList | undefined; customEnvironment?: CancelDeploymentResponseCustomEnvironment | undefined; /** Computed field that is only available for deployments with a microfrontend configuration. */ defaultRoute?: string | undefined; /** A number containing the date when the deployment was deleted at milliseconds */ deletedAt?: number | null | undefined; duration: CancelDeploymentResponseDuration; env: CancelDeploymentResponseEnvList; errorCode?: string | undefined; errorLink?: string | undefined; errorMessage?: string | null | undefined; errorStep?: string | undefined; flags?: CancelDeploymentResponseFlags | undefined; functions?: CancelDeploymentResponseFunctionsMap | null | undefined; gitRepo?: CancelDeploymentResponseGitRepo | null | undefined; gitSource?: CancelDeploymentResponseGitSource | undefined; /** A string holding the unique ID of the deployment */ id: string; images?: CancelDeploymentResponseImages | undefined; initReadyAt?: number | undefined; inspectorUrl: string | null; integrations?: CancelDeploymentResponseIntegrations | undefined; isFirstBranchDeployment?: boolean | undefined; isInConcurrentBuildsQueue: boolean; /** Whether this deployment completed through the instant static fast path. */ isInstantStatic?: boolean | undefined; isInSystemBuildsQueue: boolean; lambdas?: CancelDeploymentResponseLambdasList | undefined; /** Present when deployment was created with manual provisioning enabled, either explicitly or via the experimental BYOC git flow. The deployment stays in INITIALIZING until /continue is called. */ manualProvisioning?: CancelDeploymentResponseManualProvisioning | undefined; meta: CancelDeploymentResponseMetaMap; microfrontends?: CancelDeploymentResponseMicrofrontends | undefined; monorepoManager?: string | null | undefined; /** The name of the project associated with the deployment at the time that the deployment was created */ name: string; /** If set it overrides the `projectSettings.nodeVersion` for this deployment. */ nodeVersion?: CancelDeploymentResponseNodeVersion | undefined; oidcTokenClaims?: CancelDeploymentResponseOidcTokenClaims | undefined; oomReport?: CancelDeploymentResponseOomReport | undefined; originCacheRegion?: string | undefined; ownerId: string; /** Since November 2023 this field defines a Secure Compute network that will only be used to deploy passive lambdas to (as in passiveRegions) */ passiveConnectConfigurationId?: string | undefined; /** Since November 2023 this field defines a set of regions that we will deploy the lambda to passively Lambdas will be deployed to these regions but only invoked if all of the primary `regions` are marked as out of service */ passiveRegions?: CancelDeploymentResponsePassiveRegionsList | undefined; plan: CancelDeploymentResponsePlan; /** Metadata about the source platform that triggered the deployment. Allows us to map a deployment back to a platform (e.g. the chat that created it) */ platform?: CancelDeploymentResponsePlatform | undefined; prebuilt?: boolean | undefined; /** Whether or not preview comments are enabled for the deployment */ previewCommentsEnabled?: boolean | undefined; /** The public project information associated with the deployment. */ project?: CancelDeploymentResponseProject | undefined; projectId: string; projectSettings: CancelDeploymentResponseProjectSettings; /** A boolean representing if the deployment is public or not. By default this is `false` */ public: boolean; ready?: number | undefined; /** The state of the deployment depending on the process of deploying, or if it is ready or in an error state */ readyState: CancelDeploymentResponseReadyState; readyStateReason?: string | undefined; /** Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - ROLLING: in the process of having production traffic gradually transitioned. - PROMOTED: has seen production traffic */ readySubstate?: CancelDeploymentResponseReadySubstate | undefined; /** The regions the deployment exists in */ regions: CancelDeploymentResponseRegionsList; resourceConfig?: CancelDeploymentResponseResourceConfig | undefined; routes: CancelDeploymentResponseRoutesList | null; /** NSNB Blocked metadata */ seatBlock?: CancelDeploymentResponseSeatBlock | undefined; /** Services detected during build from vercel.json experimentalServices or auto-detected from project structure. Used to inject service URLs as environment variables at runtime. */ services?: CancelDeploymentResponseServicesList | undefined; /** flag to indicate if the deployment was deleted by retention policy */ softDeletedByRetention?: boolean | undefined; /** Where was the deployment created from. Best-effort guess for metrics only -- not authoritative; do not gate behavior on it. */ source?: CancelDeploymentResponseSource | undefined; status: CancelDeploymentResponseStatus; /** If defined, either `staging` if a staging alias in the format `..now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment. */ target?: CancelDeploymentResponseTarget | null | undefined; /** The team that owns the deployment if any */ team?: CancelDeploymentResponseTeam | undefined; ttyBuildLogs?: boolean | undefined; type: CancelDeploymentResponseType; /** A number containing the date when the deployment was undeleted at milliseconds */ undeletedAt?: number | undefined; /** A string with the unique URL of the deployment */ url: string; /** An array of domains that were provided by the user when creating the Deployment. */ userAliases?: CancelDeploymentResponseUserAliasesList | undefined; /** Since January 2025 User-configured deployment ID for skew protection with pre-built deployments. This is set when users configure a custom deploymentId in their next.config.js file. This allows Next.js to use skew protection even when deployments are pre-built outside of Vercel's build system. */ userConfiguredDeploymentId?: string | undefined; /** The platform version that was used to create the deployment. */ version: CancelDeploymentResponseVersion; } /** Forces a new deployment even if there is a previous similar deployment. Set to `1` to bypass deployment deduplication and always trigger a fresh build. */ export type CreateDeploymentRequestForceNew = "0" | "1"; /** Set to `1` to skip framework auto-detection and proceed without confirmation. By default, if Vercel detects a framework that differs from the project setting, the API returns a `400` asking you to confirm. Use this to suppress that check in automated pipelines. */ export type CreateDeploymentRequestSkipAutoDetectionConfirmation = "0" | "1"; /** Selects a custom build machine for this deployment without changing project settings. */ export type CreateDeploymentRequestBuildMachine = "turbo"; /** The file content encoding, it could be either a base64 (useful for images, etc.) of the files or the plain text for source code. */ export type CreateDeploymentRequestFilesItemCase0Encoding = "base64" | "utf-8"; /** Used in the case you want to inline a file inside the request */ export interface CreateDeploymentRequestFilesItemCase0 { /** The file content, it could be either a `base64` (useful for images, etc.) of the files or the plain content for source code */ data: string; /** The file content encoding, it could be either a base64 (useful for images, etc.) of the files or the plain text for source code. */ encoding?: CreateDeploymentRequestFilesItemCase0Encoding | (string & {}) | undefined; /** The file name including the whole path */ file: string; } /** Used in the case you want to reference a file that was already uploaded */ export interface CreateDeploymentRequestFilesItemCase1 { /** The file path relative to the project root */ file: string; /** The file contents hashed with SHA1, used to check the integrity */ sha?: string | undefined; /** The file size in bytes */ size?: number | undefined; } export type CreateDeploymentRequestFilesItem = | CreateDeploymentRequestFilesItemCase0 | CreateDeploymentRequestFilesItemCase1; /** The files to include in the deployment. Each entry is either an inlined file (with `data` and `encoding`) or a reference to a previously uploaded file (with `sha` and `size`). Required for non-git deployments. Cannot be used together with `gitSource`. */ export type CreateDeploymentRequestFilesList = Array; /** Populates initial git metadata for different git providers. */ export interface CreateDeploymentRequestGitMetadata { /** The git repository's remote origin url */ remoteUrl?: string | undefined; /** The name of the author of the commit */ commitAuthorName?: string | undefined; /** The email of the author of the commit */ commitAuthorEmail?: string | undefined; /** The commit message */ commitMessage?: string | undefined; /** The branch on which the commit was made */ commitRef?: string | undefined; /** The hash of the commit */ commitSha?: string | undefined; /** Whether or not there have been modifications to the working tree since the latest commit */ dirty?: boolean | undefined; /** True if process.env.CI was set when deploying */ ci?: boolean | undefined; /** The type of CI system used */ ciType?: string | undefined; /** The username used for the Git Provider (e.g. GitHub) if their CI (e.g. GitHub Actions) was used, if available */ ciGitProviderUsername?: string | undefined; /** The visibility of the Git repository if their CI (e.g. GitHub Actions) was used, if available */ ciGitRepoVisibility?: string | undefined; /** Path of the deployed directory relative to the detected git repository root. Empty string when deploying from the repository root. */ rootDirectory?: string | undefined; } export type CreateDeploymentRequestGitSourceCase0Type = "vercel"; export interface CreateDeploymentRequestGitSourceCase0 { type: CreateDeploymentRequestGitSourceCase0Type; /** The stable Vercel Git repository ID. */ repoId: string; sha: string; } export type CreateDeploymentRequestGitSourceCase1RepoId = number | string; export type CreateDeploymentRequestGitSourceCase1Type = "github"; export interface CreateDeploymentRequestGitSourceCase1 { ref: string; repoId: CreateDeploymentRequestGitSourceCase1RepoId; sha?: string | undefined; type: CreateDeploymentRequestGitSourceCase1Type; } export type CreateDeploymentRequestGitSourceCase2Type = "github"; export interface CreateDeploymentRequestGitSourceCase2 { org: string; ref: string; repo: string; sha?: string | undefined; type: CreateDeploymentRequestGitSourceCase2Type; } export type CreateDeploymentRequestGitSourceCase3RepoId = number | string; export type CreateDeploymentRequestGitSourceCase3Type = "github-limited"; export interface CreateDeploymentRequestGitSourceCase3 { ref: string; repoId: CreateDeploymentRequestGitSourceCase3RepoId; sha?: string | undefined; type: CreateDeploymentRequestGitSourceCase3Type; } export type CreateDeploymentRequestGitSourceCase4Type = "github-limited"; export interface CreateDeploymentRequestGitSourceCase4 { org: string; ref: string; repo: string; sha?: string | undefined; type: CreateDeploymentRequestGitSourceCase4Type; } export type CreateDeploymentRequestGitSourceCase5ProjectId = number | string; export type CreateDeploymentRequestGitSourceCase5Type = "gitlab"; export interface CreateDeploymentRequestGitSourceCase5 { projectId: CreateDeploymentRequestGitSourceCase5ProjectId; ref: string; sha?: string | undefined; type: CreateDeploymentRequestGitSourceCase5Type; } export type CreateDeploymentRequestGitSourceCase6Type = "bitbucket"; export interface CreateDeploymentRequestGitSourceCase6 { ref: string; repoUuid: string; sha?: string | undefined; type: CreateDeploymentRequestGitSourceCase6Type; workspaceUuid?: string | undefined; } export type CreateDeploymentRequestGitSourceCase7Type = "bitbucket"; export interface CreateDeploymentRequestGitSourceCase7 { owner: string; ref: string; sha?: string | undefined; slug: string; type: CreateDeploymentRequestGitSourceCase7Type; } export type CreateDeploymentRequestGitSourceCase8Type = "cursor-origin"; /** Deploys from the Cursor Origin repository linked to the target project. The repository ID must match the linked repository; Vercel resolves the owner and repository name from the project link. */ export interface CreateDeploymentRequestGitSourceCase8 { /** The Origin workspace slug. Optional because Vercel resolves it from the linked project. */ owner?: string | undefined; /** The branch or Git reference to deploy. */ ref: string; /** The Origin repository name. Optional because Vercel resolves it from the linked project. */ repo?: string | undefined; /** The stable Origin repository ID. Read it from the `link.repoId` field returned by the project API. */ repoId: string; /** The commit SHA to deploy. When omitted, Vercel resolves the latest commit on `ref`. */ sha?: string | undefined; type: CreateDeploymentRequestGitSourceCase8Type; } /** Defines the Git Repository source to be deployed. This property can not be used in combination with `files`. */ export type CreateDeploymentRequestGitSource = | CreateDeploymentRequestGitSourceCase0 | CreateDeploymentRequestGitSourceCase1 | CreateDeploymentRequestGitSourceCase2 | CreateDeploymentRequestGitSourceCase3 | CreateDeploymentRequestGitSourceCase4 | CreateDeploymentRequestGitSourceCase5 | CreateDeploymentRequestGitSourceCase6 | CreateDeploymentRequestGitSourceCase7 | CreateDeploymentRequestGitSourceCase8; /** An object containing the deployment's metadata. Multiple key-value pairs can be attached to a deployment. For deployments created with a Cursor Origin `gitSource`, Vercel automatically adds `cursorOriginDeployment`, `cursorOriginCommitSha`, `cursorOriginCommitRef`, `cursorOriginCommitMessage`, `cursorOriginCommitAuthorName`, `cursorOriginCommitAuthorEmail` when available, `cursorOriginOwner`, `cursorOriginRepo`, `cursorOriginRepoId`, and `cursorOriginPrId` for pull request deployments. */ export type CreateDeploymentRequestMetaMap = { [key: string]: string | undefined }; /** The framework that is being used for this project. When `null` is used no framework is selected */ export type CreateDeploymentRequestProjectSettingsFramework = | "services" | "container" | "blitzjs" | "nextjs" | "gatsby" | "remix" | "react-router" | "astro" | "hexo" | "eleventy" | "docusaurus-2" | "docusaurus" | "preact" | "solidstart-1" | "solidstart" | "dojo" | "ember" | "vue" | "scully" | "ionic-angular" | "angular" | "polymer" | "svelte" | "sveltekit" | "sveltekit-1" | "ionic-react" | "create-react-app" | "gridsome" | "umijs" | "sapper" | "saber" | "stencil" | "nuxtjs" | "redwoodjs" | "hugo" | "jekyll" | "brunch" | "middleman" | "zola" | "hydrogen" | "vite" | "tanstack-start" | "tanstack-start-lovable" | "vitepress" | "vuepress" | "parcel" | "fastapi" | "flask" | "fasthtml" | "django" | "ash" | "factory-eve" | "eve" | "sanity" | "sanity-v2" | "storybook" | "nitro" | "hono" | "express" | "h3" | "koa" | "nestjs" | "elysia" | "fastify" | "xmcp" | "python" | "ruby" | "rust" | "axum" | "actix-web" | "bun" | "node" | "go" | "mastra"; /** Override the Node.js version that should be used for this deployment */ export type CreateDeploymentRequestProjectSettingsNodeVersion = | "26.x" | "24.x" | "22.x" | "20.x" | "18.x" | "16.x" | "14.x" | "12.x" | "10.x" | "8.10.x"; /** Project settings that will be applied to the deployment. It is required for the first deployment of a project and will be saved for any following deployments */ export interface CreateDeploymentRequestProjectSettings { /** The build command for this project. When `null` is used this value will be automatically detected */ buildCommand?: string | null | undefined; commandForIgnoringBuildStep?: string | null | undefined; /** The dev command for this project. When `null` is used this value will be automatically detected */ devCommand?: string | null | undefined; /** The framework that is being used for this project. When `null` is used no framework is selected */ framework?: CreateDeploymentRequestProjectSettingsFramework | (string & {}) | null | undefined; /** The install command for this project. When `null` is used this value will be automatically detected */ installCommand?: string | null | undefined; /** Override the Node.js version that should be used for this deployment */ nodeVersion?: CreateDeploymentRequestProjectSettingsNodeVersion | (string & {}) | undefined; /** The output directory of the project. When `null` is used this value will be automatically detected */ outputDirectory?: string | null | undefined; /** The name of a directory or relative path to the source code of your project. When `null` is used it will default to the project root */ rootDirectory?: string | null | undefined; /** The region to deploy Serverless Functions in this project */ serverlessFunctionRegion?: string | null | undefined; /** Opts-out of the message prompting a CLI user to connect a Git repository in `vercel link`. */ skipGitConnectDuringLink?: boolean | undefined; /** Indicates if there are source files outside of the root directory, typically used for monorepos */ sourceFilesOutsideRootDirectory?: boolean | undefined; } export interface CreateDeploymentRequest { /** Forces a new deployment even if there is a previous similar deployment. Set to `1` to bypass deployment deduplication and always trigger a fresh build. */ forceNew?: CreateDeploymentRequestForceNew | (string & {}) | undefined; /** Set to `1` to skip framework auto-detection and proceed without confirmation. By default, if Vercel detects a framework that differs from the project setting, the API returns a `400` asking you to confirm. Use this to suppress that check in automated pipelines. */ skipAutoDetectionConfirmation?: | CreateDeploymentRequestSkipAutoDetectionConfirmation | (string & {}) | undefined; /** 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; /** Selects a custom build machine for this deployment without changing project settings. */ buildMachine?: CreateDeploymentRequestBuildMachine | (string & {}) | undefined; /** The slug or ID of a custom environment to deploy to, overriding the default target environment. When omitted, the deployment targets the environment inferred from the branch (production or preview). */ customEnvironmentSlugOrId?: string | undefined; /** The ID of an existing deployment to redeploy. All project settings and environment variables are inherited from the original unless explicitly overridden in this request. The redeployment gets a new ID, URL, and build. */ deploymentId?: string | undefined; /** The files to include in the deployment. Each entry is either an inlined file (with `data` and `encoding`) or a reference to a previously uploaded file (with `sha` and `size`). Required for non-git deployments. Cannot be used together with `gitSource`. */ files?: CreateDeploymentRequestFilesList | undefined; /** Available only to Vercel platform accounts. A read-only GitHub access token scoped to the requested repository. Use a token with a lifetime of 24 hours or less that remains valid until source retrieval completes. */ gitAccessToken?: string | Redacted.Redacted | undefined; /** Populates initial git metadata for different git providers. */ gitMetadata?: CreateDeploymentRequestGitMetadata | undefined; /** Defines the Git Repository source to be deployed. This property can not be used in combination with `files`. */ gitSource?: CreateDeploymentRequestGitSource | undefined; /** An object containing the deployment's metadata. Multiple key-value pairs can be attached to a deployment. For deployments created with a Cursor Origin `gitSource`, Vercel automatically adds `cursorOriginDeployment`, `cursorOriginCommitSha`, `cursorOriginCommitRef`, `cursorOriginCommitMessage`, `cursorOriginCommitAuthorName`, `cursorOriginCommitAuthorEmail` when available, `cursorOriginOwner`, `cursorOriginRepo`, `cursorOriginRepoId`, and `cursorOriginPrId` for pull request deployments. */ meta?: CreateDeploymentRequestMetaMap | undefined; /** The monorepo manager that is being used for this deployment. When `null` is used no monorepo manager is selected */ monorepoManager?: string | null | undefined; /** A string with the project name used in the deployment URL */ name: string; /** The target project identifier in which the deployment will be created. When defined, this parameter overrides name */ project?: string | undefined; /** Project settings that will be applied to the deployment. It is required for the first deployment of a project and will be saved for any following deployments */ projectSettings?: CreateDeploymentRequestProjectSettings | undefined; /** Either not defined, `staging`, `production`, or a custom environment identifier. If `staging`, a staging alias in the format `-.vercel.app` will be assigned. If `production`, any aliases defined in `alias` will be assigned. If omitted, the target will be `preview`. */ target?: string | undefined; /** When `true` and `deploymentId` is passed in, the sha from the previous deployment's `gitSource` is removed forcing the latest commit to be used. */ withLatestCommit?: boolean | undefined; } export type CreateDeploymentResponseBodyCase0AliasList = Array; /** An object that will contain a `code` and a `message` when the aliasing fails, otherwise the value will be `null` */ export type CreateDeploymentResponseBodyCase0AliasError = CancelDeploymentResponseAliasError; export type CreateDeploymentResponseBodyCase0AliasWarning = CancelDeploymentResponseAliasWarning; export type CreateDeploymentResponseBodyCase0Duration = CancelDeploymentResponseDuration; /** The state of the deployment depending on the process of deploying, or if it is ready or in an error state */ export type CreateDeploymentResponseBodyCase0ReadyState = | "BLOCKED" | "BUILDING" | "CANCELED" | "ERROR" | "INITIALIZING" | "QUEUED" | "READY"; /** If defined, either `staging` if a staging alias in the format `..now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment. */ export type CreateDeploymentResponseBodyCase0Target = "production" | "staging"; /** Returns the reduced deployment view for anonymous (`vcn_`) callers. Pool-team details are withheld. */ export interface CreateDeploymentResponseBodyCase0 { alias?: CreateDeploymentResponseBodyCase0AliasList | undefined; aliasAssigned: boolean; /** An object that will contain a `code` and a `message` when the aliasing fails, otherwise the value will be `null` */ aliasError?: CancelDeploymentResponseAliasError | null | undefined; aliasWarning?: CancelDeploymentResponseAliasWarning | null | undefined; duration: CancelDeploymentResponseDuration; errorCode?: string | undefined; errorMessage?: string | null | undefined; /** A string holding the unique ID of the deployment */ id: string; /** The state of the deployment depending on the process of deploying, or if it is ready or in an error state */ readyState: CreateDeploymentResponseBodyCase0ReadyState; /** If defined, either `staging` if a staging alias in the format `..now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment. */ target?: CreateDeploymentResponseBodyCase0Target | null | undefined; } /** A list of all the aliases (default aliases, staging aliases and production aliases) that were assigned upon deployment creation */ export type CreateDeploymentResponseBodyCase1AliasList = Array; export type CreateDeploymentResponseBodyCase1AliasAssignedAt = number | boolean; /** An object that will contain a `code` and a `message` when the aliasing fails, otherwise the value will be `null` */ export type CreateDeploymentResponseBodyCase1AliasError = CancelDeploymentResponseAliasError; export type CreateDeploymentResponseBodyCase1AliasWarning = CancelDeploymentResponseAliasWarning; export type CreateDeploymentResponseBodyCase1AtprotoCase0 = CancelDeploymentResponseAtprotoCase0; export type CreateDeploymentResponseBodyCase1AtprotoCase1SubscriptionCollectionsList = Array; export type CreateDeploymentResponseBodyCase1AtprotoCase1SubscriptionDidsList = Array; export type CreateDeploymentResponseBodyCase1AtprotoCase1SubscriptionKindsItem = | "account" | "commit" | "identity" | "sync"; export type CreateDeploymentResponseBodyCase1AtprotoCase1SubscriptionKindsList = Array; export interface CreateDeploymentResponseBodyCase1AtprotoCase1Subscription { collections: CreateDeploymentResponseBodyCase1AtprotoCase1SubscriptionCollectionsList; dids?: CreateDeploymentResponseBodyCase1AtprotoCase1SubscriptionDidsList | undefined; kinds?: CreateDeploymentResponseBodyCase1AtprotoCase1SubscriptionKindsList | undefined; path: string; } export interface CreateDeploymentResponseBodyCase1AtprotoCase1 { enabled: boolean; subscription: CreateDeploymentResponseBodyCase1AtprotoCase1Subscription; } export type CreateDeploymentResponseBodyCase1Atproto = | CancelDeploymentResponseAtprotoCase0 | CreateDeploymentResponseBodyCase1AtprotoCase1; /** Commit metadata from the git commit author */ export type CreateDeploymentResponseBodyCase1AttributionCommitMeta = CancelDeploymentResponseAttributionCommitMeta; export type CreateDeploymentResponseBodyCase1AttributionGitUserId = string | number; /** Git provider user associated with the commit author email (only set if resolved) */ export interface CreateDeploymentResponseBodyCase1AttributionGitUser { id: CreateDeploymentResponseBodyCase1AttributionGitUserId; /** Git provider username/login */ login: string; /** The git provider (github, gitlab, bitbucket) */ provider?: string | undefined; /** User type */ type?: string | undefined; } /** Team roles at time of deployment */ export type CreateDeploymentResponseBodyCase1AttributionVercelUserTeamRolesList = Array; /** Vercel user linked to the git provider account (only set if resolved) */ export interface CreateDeploymentResponseBodyCase1AttributionVercelUser { /** Vercel user ID */ id: string; /** Team roles at time of deployment */ teamRoles?: CreateDeploymentResponseBodyCase1AttributionVercelUserTeamRolesList | undefined; /** Vercel username */ username: string; } /** Attribution metadata for the deployment, linking commit author to git and Vercel users. Only populated when the `enable-deployment-attribution` flag is enabled. */ export interface CreateDeploymentResponseBodyCase1Attribution { /** Commit metadata from the git commit author */ commitMeta?: CancelDeploymentResponseAttributionCommitMeta | undefined; /** Git provider user associated with the commit author email (only set if resolved) */ gitUser?: CreateDeploymentResponseBodyCase1AttributionGitUser | undefined; /** Vercel user linked to the git provider account (only set if resolved) */ vercelUser?: CreateDeploymentResponseBodyCase1AttributionVercelUser | undefined; } export type CreateDeploymentResponseBodyCase1AutomaticAliasesList = Array; export type CreateDeploymentResponseBodyCase1BuildEnvList = Array; export interface CreateDeploymentResponseBodyCase1Build { env: CreateDeploymentResponseBodyCase1BuildEnvList; } export type CreateDeploymentResponseBodyCase1BuildArtifactUrlsList = Array; export type CreateDeploymentResponseBodyCase1BuildsItemConfigMap = { [key: string]: unknown | undefined; }; export interface CreateDeploymentResponseBodyCase1BuildsItem { config?: CreateDeploymentResponseBodyCase1BuildsItemConfigMap | undefined; src?: string | undefined; use: string; } export type CreateDeploymentResponseBodyCase1BuildsList = Array; export type CreateDeploymentResponseBodyCase1ChecksDeploymentAliasState = | "failed" | "pending" | "succeeded"; export interface CreateDeploymentResponseBodyCase1ChecksDeploymentAlias { completedAt?: number | undefined; startedAt: number; state: CreateDeploymentResponseBodyCase1ChecksDeploymentAliasState; } export interface CreateDeploymentResponseBodyCase1Checks { deployment_alias: CreateDeploymentResponseBodyCase1ChecksDeploymentAlias; } export type CreateDeploymentResponseBodyCase1ChecksConclusion = | "canceled" | "failed" | "skipped" | "succeeded"; export type CreateDeploymentResponseBodyCase1ChecksState = "completed" | "registered" | "running"; export type CreateDeploymentResponseBodyCase1ConfigFunctionMemoryType = | "performance" | "performance_xl" | "standard" | "standard_legacy"; export type CreateDeploymentResponseBodyCase1ConfigFunctionType = "fluid" | "standard"; /** Build resource configuration snapshot for this deployment. */ export type CreateDeploymentResponseBodyCase1ConfigResourceConfigBuildQueueConfiguration = | "SKIP_NAMESPACE_QUEUE" | "WAIT_FOR_NAMESPACE_QUEUE"; /** Build resource configuration snapshot for this deployment. */ export interface CreateDeploymentResponseBodyCase1ConfigResourceConfigBuildQueue { /** Build resource configuration snapshot for this deployment. */ configuration?: | CreateDeploymentResponseBodyCase1ConfigResourceConfigBuildQueueConfiguration | undefined; } /** When elastic concurrency is used for this deployment, a value is set. The value tells the reason where the setting was coming from. - TEAM_SETTING: Inherited from team settings - PROJECT_SETTING: Inherited from project settings - SKIP_QUEUE: Manually triggered by user to skip the queues */ export type CreateDeploymentResponseBodyCase1ConfigResourceConfigElasticConcurrency = | "PROJECT_SETTING" | "SKIP_QUEUE" | "TEAM_SETTING"; /** Machine type that was used for the build. */ export type CreateDeploymentResponseBodyCase1ConfigResourceConfigBuildMachinePurchaseType = | "14cpu-28gb" | "basic" | "enhanced" | "standard" | "turbo"; export interface CreateDeploymentResponseBodyCase1ConfigResourceConfigBuildMachine { /** Machine type that was used for the build. */ purchaseType?: | CreateDeploymentResponseBodyCase1ConfigResourceConfigBuildMachinePurchaseType | null | undefined; } /** Build resource configuration snapshot for this deployment. */ export interface CreateDeploymentResponseBodyCase1ConfigResourceConfig { /** Build resource configuration snapshot for this deployment. */ buildQueue?: CreateDeploymentResponseBodyCase1ConfigResourceConfigBuildQueue | undefined; /** When elastic concurrency is used for this deployment, a value is set. The value tells the reason where the setting was coming from. - TEAM_SETTING: Inherited from team settings - PROJECT_SETTING: Inherited from project settings - SKIP_QUEUE: Manually triggered by user to skip the queues */ elasticConcurrency?: | CreateDeploymentResponseBodyCase1ConfigResourceConfigElasticConcurrency | undefined; buildMachine?: CreateDeploymentResponseBodyCase1ConfigResourceConfigBuildMachine | undefined; } /** Since February 2025 the configuration must include snapshot data at the time of deployment creation to capture properties for the /deployments/:id/config endpoint utilized for displaying Deployment Configuration on the frontend This is optional because older deployments may not have this data captured */ export interface CreateDeploymentResponseBodyCase1Config { functionMemoryType: CreateDeploymentResponseBodyCase1ConfigFunctionMemoryType; functionTimeout: number | null; functionType: CreateDeploymentResponseBodyCase1ConfigFunctionType; isUsingActiveCPU?: boolean | undefined; /** Build resource configuration snapshot for this deployment. */ resourceConfig?: CreateDeploymentResponseBodyCase1ConfigResourceConfig | undefined; secureComputeFallbackRegion: string | null; secureComputePrimaryRegion: string | null; version?: number | undefined; } /** Principal type of the deployment creator. */ export type CreateDeploymentResponseBodyCase1CreatorType = | "app" | "integration" | "project" | "system" | "user"; /** Information about the deployment creator */ export interface CreateDeploymentResponseBodyCase1Creator { /** The avatar of the user that created the deployment */ avatar?: string | undefined; /** Principal type of the deployment creator. */ type?: CreateDeploymentResponseBodyCase1CreatorType | undefined; /** Stable creator id across principal types (user id, app id, integration configuration id, or `system`). */ uid: string; /** The username of the user that created the deployment */ username?: string | undefined; } export type CreateDeploymentResponseBodyCase1CronsItem = CancelDeploymentResponseCronsItem; export type CreateDeploymentResponseBodyCase1CronsList = Array; /** The type of matching to perform */ export type CreateDeploymentResponseBodyCase1CustomEnvironmentCase0BranchMatcherType = | "endsWith" | "equals" | "startsWith"; /** Configuration for matching git branches to this environment */ export interface CreateDeploymentResponseBodyCase1CustomEnvironmentCase0BranchMatcher { /** The pattern to match against branch names */ pattern: string; /** The type of matching to perform */ type: CreateDeploymentResponseBodyCase1CustomEnvironmentCase0BranchMatcherType; } /** List of aliases for the current deployment */ export type CreateDeploymentResponseBodyCase1CustomEnvironmentCase0CurrentDeploymentAliasesList = Array; export type CreateDeploymentResponseBodyCase1CustomEnvironmentCase0DomainsItemRedirectStatusCode = | 301 | 302 | 307 | 308; /** 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 CreateDeploymentResponseBodyCase1CustomEnvironmentCase0DomainsItemVerificationItem = CancelDeploymentResponseCustomEnvironmentCase0DomainsItemVerificationItem; /** 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 CreateDeploymentResponseBodyCase1CustomEnvironmentCase0DomainsItemVerificationList = Array; /** List of domains associated with this environment */ export interface CreateDeploymentResponseBodyCase1CustomEnvironmentCase0DomainsItem { apexName: string; createdAt?: number | undefined; customEnvironmentId?: string | null | undefined; gitBranch?: string | null | undefined; name: string; projectId: string; redirect?: string | null | undefined; redirectStatusCode?: | CreateDeploymentResponseBodyCase1CustomEnvironmentCase0DomainsItemRedirectStatusCode | null | undefined; updatedAt?: number | undefined; /** 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?: | CreateDeploymentResponseBodyCase1CustomEnvironmentCase0DomainsItemVerificationList | 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; } /** List of domains associated with this environment */ export type CreateDeploymentResponseBodyCase1CustomEnvironmentCase0DomainsList = Array; /** The type of environment (production, preview, or development) */ export type CreateDeploymentResponseBodyCase1CustomEnvironmentCase0Type = | "development" | "preview" | "production"; /** If the deployment was created using a Custom Environment, then this property contains information regarding the environment used. */ export interface CreateDeploymentResponseBodyCase1CustomEnvironmentCase0 { /** Configuration for matching git branches to this environment */ branchMatcher?: CreateDeploymentResponseBodyCase1CustomEnvironmentCase0BranchMatcher | undefined; /** Timestamp when the environment was created */ createdAt: number; /** List of aliases for the current deployment */ currentDeploymentAliases?: | CreateDeploymentResponseBodyCase1CustomEnvironmentCase0CurrentDeploymentAliasesList | undefined; /** Optional description of the environment's purpose */ description?: string | undefined; /** List of domains associated with this environment */ domains?: CreateDeploymentResponseBodyCase1CustomEnvironmentCase0DomainsList | undefined; /** 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: CreateDeploymentResponseBodyCase1CustomEnvironmentCase0Type; /** Timestamp when the environment was last updated */ updatedAt: number; } /** If the deployment was created using a Custom Environment, then this property contains information regarding the environment used. */ export type CreateDeploymentResponseBodyCase1CustomEnvironmentCase1 = CancelDeploymentResponseCustomEnvironmentCase1; export type CreateDeploymentResponseBodyCase1CustomEnvironment = | CreateDeploymentResponseBodyCase1CustomEnvironmentCase0 | CancelDeploymentResponseCustomEnvironmentCase1; export type CreateDeploymentResponseBodyCase1Duration = CancelDeploymentResponseDuration; export type CreateDeploymentResponseBodyCase1EnvList = Array; export type CreateDeploymentResponseBodyCase1FlagsCase0DefinitionsValueOptionsItem = CancelDeploymentResponseFlagsCase0DefinitionsValueOptionsItem; export type CreateDeploymentResponseBodyCase1FlagsCase0DefinitionsValueOptionsList = Array; export interface CreateDeploymentResponseBodyCase1FlagsCase0DefinitionsValue { description?: string | undefined; options?: CreateDeploymentResponseBodyCase1FlagsCase0DefinitionsValueOptionsList | undefined; url?: string | undefined; } export type CreateDeploymentResponseBodyCase1FlagsCase0DefinitionsMap = { [key: string]: CreateDeploymentResponseBodyCase1FlagsCase0DefinitionsValue | undefined; }; /** Flags defined in the Build Output API, used by this deployment. Primarily used by the Toolbar to know about the used flags. */ export interface CreateDeploymentResponseBodyCase1FlagsCase0 { definitions: CreateDeploymentResponseBodyCase1FlagsCase0DefinitionsMap; } /** Flags defined in the Build Output API, used by this deployment. Primarily used by the Toolbar to know about the used flags. */ export type CreateDeploymentResponseBodyCase1FlagsCase1List = Array; export type CreateDeploymentResponseBodyCase1Flags = | CreateDeploymentResponseBodyCase1FlagsCase0 | CreateDeploymentResponseBodyCase1FlagsCase1List; export type CreateDeploymentResponseBodyCase1FunctionsValueAffinityMode = "strict"; export interface CreateDeploymentResponseBodyCase1FunctionsValueAffinity { mode: CreateDeploymentResponseBodyCase1FunctionsValueAffinityMode; } export type CreateDeploymentResponseBodyCase1FunctionsValueArchitecture = "arm64" | "x86_64"; /** Event type - must be "queue/v1beta" (REQUIRED) */ export type CreateDeploymentResponseBodyCase1FunctionsValueExperimentalTriggersItemCase0Type = "queue/v1beta"; /** Queue trigger input event for v1beta (from vercel.json config). Requires explicit consumer name. */ export interface CreateDeploymentResponseBodyCase1FunctionsValueExperimentalTriggersItemCase0 { /** Name of the consumer group for this trigger (REQUIRED) */ consumer: string; /** Initial delay in seconds before first execution attempt (OPTIONAL) Must be 0 or greater. Use 0 for no initial delay. Behavior when not specified depends on the server's default configuration. */ initialDelaySeconds?: number | undefined; /** Maximum number of concurrent executions for this consumer (OPTIONAL) Must be at least 1 if specified. Behavior when not specified depends on the server's default configuration. */ maxConcurrency?: number | undefined; /** Maximum number of delivery attempts for message processing (OPTIONAL) This represents the total number of times a message can be delivered, not the number of retries. Must be at least 1 if specified. Behavior when not specified depends on the server's default configuration. */ maxDeliveries?: number | undefined; /** Delay in seconds before retrying failed executions (OPTIONAL) Behavior when not specified depends on the server's default configuration. */ retryAfterSeconds?: number | undefined; /** Name of the queue topic to consume from (REQUIRED) */ topic: string; /** Event type - must be "queue/v1beta" (REQUIRED) */ type: CreateDeploymentResponseBodyCase1FunctionsValueExperimentalTriggersItemCase0Type; } /** Event type - must be "queue/v2beta" (REQUIRED) */ export type CreateDeploymentResponseBodyCase1FunctionsValueExperimentalTriggersItemCase1Type = "queue/v2beta"; /** Queue trigger input event for v2beta (from vercel.json config). Consumer name is implicitly derived from the function path. Only one trigger per function is allowed. */ export interface CreateDeploymentResponseBodyCase1FunctionsValueExperimentalTriggersItemCase1 { /** Initial delay in seconds before first execution attempt (OPTIONAL) Must be 0 or greater. Use 0 for no initial delay. Behavior when not specified depends on the server's default configuration. */ initialDelaySeconds?: number | undefined; /** Maximum number of concurrent executions for this consumer (OPTIONAL) Must be at least 1 if specified. Behavior when not specified depends on the server's default configuration. */ maxConcurrency?: number | undefined; /** Maximum number of delivery attempts for message processing (OPTIONAL) This represents the total number of times a message can be delivered, not the number of retries. Must be at least 1 if specified. Behavior when not specified depends on the server's default configuration. */ maxDeliveries?: number | undefined; /** Delay in seconds before retrying failed executions (OPTIONAL) Behavior when not specified depends on the server's default configuration. */ retryAfterSeconds?: number | undefined; /** Name of the queue topic to consume from (REQUIRED) */ topic: string; /** Event type - must be "queue/v2beta" (REQUIRED) */ type: CreateDeploymentResponseBodyCase1FunctionsValueExperimentalTriggersItemCase1Type; } /** Event type - must be "schedule/v1beta" (REQUIRED) */ export type CreateDeploymentResponseBodyCase1FunctionsValueExperimentalTriggersItemCase2Type = "schedule/v1beta"; export interface CreateDeploymentResponseBodyCase1FunctionsValueExperimentalTriggersItemCase2 { /** Event type - must be "schedule/v1beta" (REQUIRED) */ type: CreateDeploymentResponseBodyCase1FunctionsValueExperimentalTriggersItemCase2Type; } export type CreateDeploymentResponseBodyCase1FunctionsValueExperimentalTriggersItem = | CreateDeploymentResponseBodyCase1FunctionsValueExperimentalTriggersItemCase0 | CreateDeploymentResponseBodyCase1FunctionsValueExperimentalTriggersItemCase1 | CreateDeploymentResponseBodyCase1FunctionsValueExperimentalTriggersItemCase2; export type CreateDeploymentResponseBodyCase1FunctionsValueExperimentalTriggersList = Array; export type CreateDeploymentResponseBodyCase1FunctionsValueFunctionFailoverRegionsList = Array; export type CreateDeploymentResponseBodyCase1FunctionsValueMaxDurationCase1 = "max"; export type CreateDeploymentResponseBodyCase1FunctionsValueMaxDuration = | number | CreateDeploymentResponseBodyCase1FunctionsValueMaxDurationCase1; export type CreateDeploymentResponseBodyCase1FunctionsValueRegionsList = Array; export interface CreateDeploymentResponseBodyCase1FunctionsValue { affinity?: CreateDeploymentResponseBodyCase1FunctionsValueAffinity | undefined; architecture?: CreateDeploymentResponseBodyCase1FunctionsValueArchitecture | undefined; excludeFiles?: string | undefined; experimentalTriggers?: | CreateDeploymentResponseBodyCase1FunctionsValueExperimentalTriggersList | undefined; functionFailoverRegions?: | CreateDeploymentResponseBodyCase1FunctionsValueFunctionFailoverRegionsList | undefined; includeFiles?: string | undefined; /** Overrides how dependencies are installed for this function. An empty string skips the install. Only honored by `@vercel/node`. */ installCommand?: string | undefined; maxConcurrency?: number | undefined; maxDuration?: CreateDeploymentResponseBodyCase1FunctionsValueMaxDuration | undefined; memory?: number | undefined; regions?: CreateDeploymentResponseBodyCase1FunctionsValueRegionsList | undefined; runtime?: string | undefined; supportsCancellation?: boolean | undefined; } export type CreateDeploymentResponseBodyCase1FunctionsMap = { [key: string]: CreateDeploymentResponseBodyCase1FunctionsValue | undefined; }; export type CreateDeploymentResponseBodyCase1GitRepoCase0OwnerType = "team" | "user"; export type CreateDeploymentResponseBodyCase1GitRepoCase0Type = "gitlab"; export interface CreateDeploymentResponseBodyCase1GitRepoCase0 { defaultBranch: string; name: string; namespace: string; ownerType: CreateDeploymentResponseBodyCase1GitRepoCase0OwnerType; path: string; private: boolean; projectId: number; type: CreateDeploymentResponseBodyCase1GitRepoCase0Type; url: string; } export type CreateDeploymentResponseBodyCase1GitRepoCase1OwnerType = "team" | "user"; export type CreateDeploymentResponseBodyCase1GitRepoCase1Type = "github"; export interface CreateDeploymentResponseBodyCase1GitRepoCase1 { defaultBranch: string; name: string; org: string; ownerType: CreateDeploymentResponseBodyCase1GitRepoCase1OwnerType; path: string; private: boolean; repo: string; repoId: number; repoOwnerId: number; type: CreateDeploymentResponseBodyCase1GitRepoCase1Type; } export type CreateDeploymentResponseBodyCase1GitRepoCase2OwnerType = "team" | "user"; export type CreateDeploymentResponseBodyCase1GitRepoCase2Type = "bitbucket"; export interface CreateDeploymentResponseBodyCase1GitRepoCase2 { defaultBranch: string; name: string; owner: string; ownerType: CreateDeploymentResponseBodyCase1GitRepoCase2OwnerType; path: string; private: boolean; repoUuid: string; slug: string; type: CreateDeploymentResponseBodyCase1GitRepoCase2Type; workspaceUuid: string; } export type CreateDeploymentResponseBodyCase1GitRepoCase3OwnerType = "team" | "user"; export type CreateDeploymentResponseBodyCase1GitRepoCase3Type = "vercel"; export interface CreateDeploymentResponseBodyCase1GitRepoCase3 { defaultBranch: string; name: string; org: string; ownerType: CreateDeploymentResponseBodyCase1GitRepoCase3OwnerType; path: string; private: boolean; repo: string; type: CreateDeploymentResponseBodyCase1GitRepoCase3Type; } export type CreateDeploymentResponseBodyCase1GitRepoCase4OwnerType = "team" | "user"; export type CreateDeploymentResponseBodyCase1GitRepoCase4Type = "cursor-origin"; export interface CreateDeploymentResponseBodyCase1GitRepoCase4 { defaultBranch: string; name: string; /** Owner (namespace) slug. */ owner: string; ownerType: CreateDeploymentResponseBodyCase1GitRepoCase4OwnerType; path: string; private: boolean; repo: string; /** Origin repository id. */ repoId: string; type: CreateDeploymentResponseBodyCase1GitRepoCase4Type; } export type CreateDeploymentResponseBodyCase1GitRepo = | CreateDeploymentResponseBodyCase1GitRepoCase0 | CreateDeploymentResponseBodyCase1GitRepoCase1 | CreateDeploymentResponseBodyCase1GitRepoCase2 | CreateDeploymentResponseBodyCase1GitRepoCase3 | CreateDeploymentResponseBodyCase1GitRepoCase4; export type CreateDeploymentResponseBodyCase1GitSourceCase0RepoId = string | number; export type CreateDeploymentResponseBodyCase1GitSourceCase0Type = "github"; export interface CreateDeploymentResponseBodyCase1GitSourceCase0 { prId?: number | null | undefined; ref?: string | null | undefined; repoId: CreateDeploymentResponseBodyCase1GitSourceCase0RepoId; sha?: string | undefined; type: CreateDeploymentResponseBodyCase1GitSourceCase0Type; } export type CreateDeploymentResponseBodyCase1GitSourceCase1Type = "github"; export interface CreateDeploymentResponseBodyCase1GitSourceCase1 { org: string; prId?: number | null | undefined; ref?: string | null | undefined; repo: string; sha?: string | undefined; type: CreateDeploymentResponseBodyCase1GitSourceCase1Type; } export type CreateDeploymentResponseBodyCase1GitSourceCase2RepoId = string | number; export type CreateDeploymentResponseBodyCase1GitSourceCase2Type = "github-custom-host"; export interface CreateDeploymentResponseBodyCase1GitSourceCase2 { host: string; prId?: number | null | undefined; ref?: string | null | undefined; repoId: CreateDeploymentResponseBodyCase1GitSourceCase2RepoId; sha?: string | undefined; type: CreateDeploymentResponseBodyCase1GitSourceCase2Type; } export type CreateDeploymentResponseBodyCase1GitSourceCase3Type = "github-custom-host"; export interface CreateDeploymentResponseBodyCase1GitSourceCase3 { host: string; org: string; prId?: number | null | undefined; ref?: string | null | undefined; repo: string; sha?: string | undefined; type: CreateDeploymentResponseBodyCase1GitSourceCase3Type; } export type CreateDeploymentResponseBodyCase1GitSourceCase4RepoId = string | number; export type CreateDeploymentResponseBodyCase1GitSourceCase4Type = "github-limited"; export interface CreateDeploymentResponseBodyCase1GitSourceCase4 { prId?: number | null | undefined; ref?: string | null | undefined; repoId: CreateDeploymentResponseBodyCase1GitSourceCase4RepoId; sha?: string | undefined; type: CreateDeploymentResponseBodyCase1GitSourceCase4Type; } export type CreateDeploymentResponseBodyCase1GitSourceCase5Type = "github-limited"; export interface CreateDeploymentResponseBodyCase1GitSourceCase5 { org: string; prId?: number | null | undefined; ref?: string | null | undefined; repo: string; sha?: string | undefined; type: CreateDeploymentResponseBodyCase1GitSourceCase5Type; } export type CreateDeploymentResponseBodyCase1GitSourceCase6ProjectId = string | number; export type CreateDeploymentResponseBodyCase1GitSourceCase6Type = "gitlab"; export interface CreateDeploymentResponseBodyCase1GitSourceCase6 { prId?: number | null | undefined; projectId: CreateDeploymentResponseBodyCase1GitSourceCase6ProjectId; ref?: string | null | undefined; sha?: string | undefined; type: CreateDeploymentResponseBodyCase1GitSourceCase6Type; } export type CreateDeploymentResponseBodyCase1GitSourceCase7Type = "bitbucket"; export interface CreateDeploymentResponseBodyCase1GitSourceCase7 { prId?: number | null | undefined; ref?: string | null | undefined; repoUuid: string; sha?: string | undefined; type: CreateDeploymentResponseBodyCase1GitSourceCase7Type; workspaceUuid?: string | undefined; } export type CreateDeploymentResponseBodyCase1GitSourceCase8Type = "bitbucket"; export interface CreateDeploymentResponseBodyCase1GitSourceCase8 { owner: string; prId?: number | null | undefined; ref?: string | null | undefined; sha?: string | undefined; slug: string; type: CreateDeploymentResponseBodyCase1GitSourceCase8Type; } export type CreateDeploymentResponseBodyCase1GitSourceCase9CommitMetadataAuthor = CancelDeploymentResponseGitSourceCase9CommitMetadataAuthor; export type CreateDeploymentResponseBodyCase1GitSourceCase9CommitMetadataCommitter = CancelDeploymentResponseGitSourceCase9CommitMetadataAuthor; export type CreateDeploymentResponseBodyCase1GitSourceCase9CommitMetadata = CancelDeploymentResponseGitSourceCase9CommitMetadata; export type CreateDeploymentResponseBodyCase1GitSourceCase9Type = "vercel"; export interface CreateDeploymentResponseBodyCase1GitSourceCase9 { commitMetadata?: CancelDeploymentResponseGitSourceCase9CommitMetadata | undefined; org?: string | undefined; prId?: number | null | undefined; ref?: string | null | undefined; repo?: string | undefined; repoId: string; repoPushedAt?: number | undefined; sha: string; type: CreateDeploymentResponseBodyCase1GitSourceCase9Type; } export type CreateDeploymentResponseBodyCase1GitSourceCase10Type = "cursor-origin"; export interface CreateDeploymentResponseBodyCase1GitSourceCase10 { /** Owner (namespace) slug. */ owner?: string | undefined; prId?: number | null | undefined; ref?: string | null | undefined; repo?: string | undefined; /** Origin repository id. */ repoId: string; sha?: string | undefined; type: CreateDeploymentResponseBodyCase1GitSourceCase10Type; } export type CreateDeploymentResponseBodyCase1GitSourceCase11Type = "custom"; /** Allows custom git sources (local folder mounted to the container) in test mode */ export interface CreateDeploymentResponseBodyCase1GitSourceCase11 { gitUrl: string; ref: string; sha: string; type: CreateDeploymentResponseBodyCase1GitSourceCase11Type; } export type CreateDeploymentResponseBodyCase1GitSourceCase12Type = "github"; export interface CreateDeploymentResponseBodyCase1GitSourceCase12 { org?: string | undefined; ref: string; repo?: string | undefined; repoId: number; sha: string; type: CreateDeploymentResponseBodyCase1GitSourceCase12Type; } export type CreateDeploymentResponseBodyCase1GitSourceCase13Type = "github-custom-host"; export interface CreateDeploymentResponseBodyCase1GitSourceCase13 { host: string; org?: string | undefined; ref: string; repo?: string | undefined; repoId: number; sha: string; type: CreateDeploymentResponseBodyCase1GitSourceCase13Type; } export type CreateDeploymentResponseBodyCase1GitSourceCase14Type = "github-limited"; export interface CreateDeploymentResponseBodyCase1GitSourceCase14 { org?: string | undefined; ref: string; repo?: string | undefined; repoId: number; sha: string; type: CreateDeploymentResponseBodyCase1GitSourceCase14Type; } export type CreateDeploymentResponseBodyCase1GitSourceCase15Type = "gitlab"; export interface CreateDeploymentResponseBodyCase1GitSourceCase15 { projectId: number; ref: string; sha: string; type: CreateDeploymentResponseBodyCase1GitSourceCase15Type; } export type CreateDeploymentResponseBodyCase1GitSourceCase16Type = "bitbucket"; export interface CreateDeploymentResponseBodyCase1GitSourceCase16 { owner?: string | undefined; ref: string; repoUuid: string; sha: string; slug?: string | undefined; type: CreateDeploymentResponseBodyCase1GitSourceCase16Type; workspaceUuid: string; } export type CreateDeploymentResponseBodyCase1GitSourceCase17CommitMetadataAuthor = CancelDeploymentResponseGitSourceCase9CommitMetadataAuthor; export type CreateDeploymentResponseBodyCase1GitSourceCase17CommitMetadataCommitter = CancelDeploymentResponseGitSourceCase9CommitMetadataAuthor; export type CreateDeploymentResponseBodyCase1GitSourceCase17CommitMetadata = CancelDeploymentResponseGitSourceCase9CommitMetadata; export type CreateDeploymentResponseBodyCase1GitSourceCase17Type = "vercel"; export interface CreateDeploymentResponseBodyCase1GitSourceCase17 { commitMetadata?: CancelDeploymentResponseGitSourceCase9CommitMetadata | undefined; org: string; ref: string; repo: string; repoId?: string | undefined; repoPushedAt?: number | undefined; sha: string; type: CreateDeploymentResponseBodyCase1GitSourceCase17Type; } export type CreateDeploymentResponseBodyCase1GitSourceCase18Type = "cursor-origin"; export interface CreateDeploymentResponseBodyCase1GitSourceCase18 { owner: string; ref: string; repo: string; repoId: string; sha: string; type: CreateDeploymentResponseBodyCase1GitSourceCase18Type; } export type CreateDeploymentResponseBodyCase1GitSource = | CreateDeploymentResponseBodyCase1GitSourceCase0 | CreateDeploymentResponseBodyCase1GitSourceCase1 | CreateDeploymentResponseBodyCase1GitSourceCase2 | CreateDeploymentResponseBodyCase1GitSourceCase3 | CreateDeploymentResponseBodyCase1GitSourceCase4 | CreateDeploymentResponseBodyCase1GitSourceCase5 | CreateDeploymentResponseBodyCase1GitSourceCase6 | CreateDeploymentResponseBodyCase1GitSourceCase7 | CreateDeploymentResponseBodyCase1GitSourceCase8 | CreateDeploymentResponseBodyCase1GitSourceCase9 | CreateDeploymentResponseBodyCase1GitSourceCase10 | CreateDeploymentResponseBodyCase1GitSourceCase11 | CreateDeploymentResponseBodyCase1GitSourceCase12 | CreateDeploymentResponseBodyCase1GitSourceCase13 | CreateDeploymentResponseBodyCase1GitSourceCase14 | CreateDeploymentResponseBodyCase1GitSourceCase15 | CreateDeploymentResponseBodyCase1GitSourceCase16 | CreateDeploymentResponseBodyCase1GitSourceCase17 | CreateDeploymentResponseBodyCase1GitSourceCase18; export type CreateDeploymentResponseBodyCase1ImagesContentDispositionType = "attachment" | "inline"; export type CreateDeploymentResponseBodyCase1ImagesDomainsList = Array; export type CreateDeploymentResponseBodyCase1ImagesFormatsItem = "image/avif" | "image/webp"; export type CreateDeploymentResponseBodyCase1ImagesFormatsList = Array; export type CreateDeploymentResponseBodyCase1ImagesLocalPatternsItem = CancelDeploymentResponseImagesLocalPatternsItem; export type CreateDeploymentResponseBodyCase1ImagesLocalPatternsList = Array; export type CreateDeploymentResponseBodyCase1ImagesQualitiesList = Array; /** Must be `http` or `https`. */ export type CreateDeploymentResponseBodyCase1ImagesRemotePatternsItemProtocol = "http" | "https"; export interface CreateDeploymentResponseBodyCase1ImagesRemotePatternsItem { /** Can be literal or wildcard. Single `*` matches a single subdomain. Double `**` matches any number of subdomains. */ hostname: string; /** Can be literal or wildcard. Single `*` matches a single path segment. Double `**` matches any number of path segments. */ pathname?: string | undefined; /** Can be literal port such as `8080` or empty string meaning no port. */ port?: string | undefined; /** Must be `http` or `https`. */ protocol?: CreateDeploymentResponseBodyCase1ImagesRemotePatternsItemProtocol | undefined; /** Can be literal query string such as `?v=1` or empty string meaning no query string. */ search?: string | undefined; } export type CreateDeploymentResponseBodyCase1ImagesRemotePatternsList = Array; export type CreateDeploymentResponseBodyCase1ImagesSizesList = Array; export interface CreateDeploymentResponseBodyCase1Images { contentDispositionType?: | CreateDeploymentResponseBodyCase1ImagesContentDispositionType | undefined; contentSecurityPolicy?: string | undefined; dangerouslyAllowSVG?: boolean | undefined; domains?: CreateDeploymentResponseBodyCase1ImagesDomainsList | undefined; formats?: CreateDeploymentResponseBodyCase1ImagesFormatsList | undefined; localPatterns?: CreateDeploymentResponseBodyCase1ImagesLocalPatternsList | undefined; minimumCacheTTL?: number | undefined; qualities?: CreateDeploymentResponseBodyCase1ImagesQualitiesList | undefined; remotePatterns?: CreateDeploymentResponseBodyCase1ImagesRemotePatternsList | undefined; sizes?: CreateDeploymentResponseBodyCase1ImagesSizesList | undefined; } export type CreateDeploymentResponseBodyCase1IntegrationsStatus = | "error" | "pending" | "ready" | "skipped" | "timeout"; export interface CreateDeploymentResponseBodyCase1Integrations { claimedAt?: number | undefined; completedAt?: number | undefined; skippedAt?: number | undefined; skippedBy?: string | undefined; startedAt: number; status: CreateDeploymentResponseBodyCase1IntegrationsStatus; } export type CreateDeploymentResponseBodyCase1LambdasItemReadyState = | "BUILDING" | "ERROR" | "INITIALIZING" | "READY"; export type CreateDeploymentResponseBodyCase1LambdasItemOutputItem = CancelDeploymentResponseLambdasItemOutputItem; export type CreateDeploymentResponseBodyCase1LambdasItemOutputList = Array; /** A partial representation of a Build used by the deployment endpoint. */ export interface CreateDeploymentResponseBodyCase1LambdasItem { createdAt?: number | undefined; entrypoint?: string | null | undefined; id: string; readyState?: CreateDeploymentResponseBodyCase1LambdasItemReadyState | undefined; readyStateAt?: number | undefined; output: CreateDeploymentResponseBodyCase1LambdasItemOutputList; } export type CreateDeploymentResponseBodyCase1LambdasList = Array; /** Current provisioning state */ export type CreateDeploymentResponseBodyCase1ManualProvisioningState = | "COMPLETE" | "PENDING" | "TIMEOUT"; /** Present when deployment was created with manual provisioning enabled, either explicitly or via the experimental BYOC git flow. The deployment stays in INITIALIZING until /continue is called. */ export interface CreateDeploymentResponseBodyCase1ManualProvisioning { /** Timestamp when manual provisioning completed */ completedAt?: number | undefined; /** Current provisioning state */ state: CreateDeploymentResponseBodyCase1ManualProvisioningState; } export type CreateDeploymentResponseBodyCase1MetaMap = { [key: string]: string | undefined }; /** The group of microfrontends that this project belongs to. Each microfrontend project must belong to a microfrontends group that is the set of microfrontends that are used together. */ export type CreateDeploymentResponseBodyCase1MicrofrontendsCase0GroupIdsList = Array; export interface CreateDeploymentResponseBodyCase1MicrofrontendsCase0 { /** The project name of the default app of this deployment's microfrontends group. */ defaultAppProjectName: string; /** A path that is used to take screenshots and as the default path in preview links when a domain for this microfrontend is shown in the UI. */ defaultRoute?: string | undefined; /** The group of microfrontends that this project belongs to. Each microfrontend project must belong to a microfrontends group that is the set of microfrontends that are used together. */ groupIds: CreateDeploymentResponseBodyCase1MicrofrontendsCase0GroupIdsList; isDefaultApp?: boolean | undefined; } /** The group of microfrontends that this project belongs to. Each microfrontend project must belong to a microfrontends group that is the set of microfrontends that are used together. */ export type CreateDeploymentResponseBodyCase1MicrofrontendsCase1GroupIdsList = Array; /** The result of the microfrontends config upload during deployment creation / build. Only set for default app deployments. The config upload is attempted during deployment create, and then again during the build. If the config is not in the root directory, or the deployment is prebuilt, the config cannot be uploaded during deployment create. The upload during deployment build finds the config even if it's not in the root directory, as it has access to all files. Uploading the config during create is ideal, as then all child deployments are guaranteed to have access to the default app deployment config even if the default app has not yet started building. If the config is not uploaded, the child app will show as building until the config has been uploaded during the default app build. - `success` - The config was uploaded successfully, either when the deployment was created or during the build. - `waiting_on_build` - The config could not be uploaded during deployment create, will be attempted again during the build. - `no_config` - No config was found. Only set once the build has not found the config in any of the deployment's files. - `undefined` - Legacy deployments, or there was an error uploading the config during deployment create. */ export type CreateDeploymentResponseBodyCase1MicrofrontendsCase1MfeConfigUploadState = | "no_config" | "success" | "waiting_on_build"; export interface CreateDeploymentResponseBodyCase1MicrofrontendsCase1 { /** The project name of the default app of this deployment's microfrontends group. */ defaultAppProjectName: string; /** A path that is used to take screenshots and as the default path in preview links when a domain for this microfrontend is shown in the UI. */ defaultRoute?: string | undefined; /** The group of microfrontends that this project belongs to. Each microfrontend project must belong to a microfrontends group that is the set of microfrontends that are used together. */ groupIds: CreateDeploymentResponseBodyCase1MicrofrontendsCase1GroupIdsList; isDefaultApp: boolean; /** The result of the microfrontends config upload during deployment creation / build. Only set for default app deployments. The config upload is attempted during deployment create, and then again during the build. If the config is not in the root directory, or the deployment is prebuilt, the config cannot be uploaded during deployment create. The upload during deployment build finds the config even if it's not in the root directory, as it has access to all files. Uploading the config during create is ideal, as then all child deployments are guaranteed to have access to the default app deployment config even if the default app has not yet started building. If the config is not uploaded, the child app will show as building until the config has been uploaded during the default app build. - `success` - The config was uploaded successfully, either when the deployment was created or during the build. - `waiting_on_build` - The config could not be uploaded during deployment create, will be attempted again during the build. - `no_config` - No config was found. Only set once the build has not found the config in any of the deployment's files. - `undefined` - Legacy deployments, or there was an error uploading the config during deployment create. */ mfeConfigUploadState?: | CreateDeploymentResponseBodyCase1MicrofrontendsCase1MfeConfigUploadState | undefined; } export type CreateDeploymentResponseBodyCase1Microfrontends = | CreateDeploymentResponseBodyCase1MicrofrontendsCase0 | CreateDeploymentResponseBodyCase1MicrofrontendsCase1; /** If set it overrides the `projectSettings.nodeVersion` for this deployment. */ export type CreateDeploymentResponseBodyCase1NodeVersion = | "10.x" | "12.x" | "14.x" | "16.x" | "18.x" | "20.x" | "22.x" | "24.x" | "26.x" | "8.10.x"; export type CreateDeploymentResponseBodyCase1OidcTokenClaimsMfeGroupIdsList = Array; export interface CreateDeploymentResponseBodyCase1OidcTokenClaims { aud: string; custom_environment_id?: string | undefined; deployment_id?: string | undefined; environment: string; iss: string; mfe_group_ids?: CreateDeploymentResponseBodyCase1OidcTokenClaimsMfeGroupIdsList | undefined; owner: string; owner_id: string; plan?: string | undefined; project: string; project_id: string; scope: string; sub: string; } export type CreateDeploymentResponseBodyCase1OomReport = "out-of-memory"; /** Since November 2023 this field defines a set of regions that we will deploy the lambda to passively Lambdas will be deployed to these regions but only invoked if all of the primary `regions` are marked as out of service */ export type CreateDeploymentResponseBodyCase1PassiveRegionsList = Array; export type CreateDeploymentResponseBodyCase1Plan = "enterprise" | "hobby" | "pro"; /** The user on the external platform who triggered the deployment. */ export type CreateDeploymentResponseBodyCase1PlatformCreator = CancelDeploymentResponsePlatformCreator; /** Arbitrary key-value metadata provided by the platform. */ export type CreateDeploymentResponseBodyCase1PlatformMetaMap = { [key: string]: string | undefined; }; /** Whether the value is an opaque identifier or a URL. */ export type CreateDeploymentResponseBodyCase1PlatformOriginType = "id" | "url"; /** Reference back to the entity on the platform that initiated the deployment. */ export interface CreateDeploymentResponseBodyCase1PlatformOrigin { /** Whether the value is an opaque identifier or a URL. */ type: CreateDeploymentResponseBodyCase1PlatformOriginType; /** The identifier or URL pointing to the originating entity. */ value: string; } /** The external platform that created the deployment (e.g. its display name). */ export type CreateDeploymentResponseBodyCase1PlatformSource = CancelDeploymentResponsePlatformSource; /** Metadata about the source platform that triggered the deployment. Allows us to map a deployment back to a platform (e.g. the chat that created it) */ export interface CreateDeploymentResponseBodyCase1Platform { /** The user on the external platform who triggered the deployment. */ creator: CancelDeploymentResponsePlatformCreator; /** Arbitrary key-value metadata provided by the platform. */ meta?: CreateDeploymentResponseBodyCase1PlatformMetaMap | undefined; /** Reference back to the entity on the platform that initiated the deployment. */ origin: CreateDeploymentResponseBodyCase1PlatformOrigin; /** The external platform that created the deployment (e.g. its display name). */ source: CancelDeploymentResponsePlatformSource; } /** The public project information associated with the deployment. */ export type CreateDeploymentResponseBodyCase1Project = CancelDeploymentResponseProject; export type CreateDeploymentResponseBodyCase1ProjectSettingsFramework = | "actix-web" | "angular" | "ash" | "astro" | "axum" | "blitzjs" | "brunch" | "bun" | "container" | "create-react-app" | "django" | "docusaurus" | "docusaurus-2" | "dojo" | "eleventy" | "elysia" | "ember" | "eve" | "express" | "factory-eve" | "fastapi" | "fasthtml" | "fastify" | "flask" | "gatsby" | "go" | "gridsome" | "h3" | "hexo" | "hono" | "hugo" | "hydrogen" | "ionic-angular" | "ionic-react" | "jekyll" | "koa" | "mastra" | "middleman" | "nestjs" | "nextjs" | "nitro" | "node" | "nuxtjs" | "parcel" | "polymer" | "preact" | "python" | "react-router" | "redwoodjs" | "remix" | "ruby" | "rust" | "saber" | "sanity" | "sanity-v2" | "sapper" | "scully" | "services" | "solidstart" | "solidstart-1" | "stencil" | "storybook" | "svelte" | "sveltekit" | "sveltekit-1" | "tanstack-start" | "tanstack-start-lovable" | "umijs" | "vite" | "vitepress" | "vue" | "vuepress" | "xmcp" | "zola"; export type CreateDeploymentResponseBodyCase1ProjectSettingsNodeVersion = | "10.x" | "12.x" | "14.x" | "16.x" | "18.x" | "20.x" | "22.x" | "24.x" | "26.x" | "8.10.x"; export type CreateDeploymentResponseBodyCase1ProjectSettingsSpeedInsights = CancelDeploymentResponseProjectSettingsSpeedInsights; /** Vercel Flags activation metadata copied from the project at deployment creation. */ export type CreateDeploymentResponseBodyCase1ProjectSettingsVercelFlags = CancelDeploymentResponseProjectSettingsVercelFlags; export type CreateDeploymentResponseBodyCase1ProjectSettingsWebAnalytics = CancelDeploymentResponseProjectSettingsWebAnalytics; export interface CreateDeploymentResponseBodyCase1ProjectSettings { buildCommand?: string | null | undefined; commandForIgnoringBuildStep?: string | null | undefined; devCommand?: string | null | undefined; framework?: CreateDeploymentResponseBodyCase1ProjectSettingsFramework | null | undefined; installCommand?: string | null | undefined; nodeVersion?: CreateDeploymentResponseBodyCase1ProjectSettingsNodeVersion | undefined; outputDirectory?: string | null | undefined; speedInsights?: CancelDeploymentResponseProjectSettingsSpeedInsights | undefined; /** Vercel Flags activation metadata copied from the project at deployment creation. */ vercelFlags?: CancelDeploymentResponseProjectSettingsVercelFlags | undefined; webAnalytics?: CancelDeploymentResponseProjectSettingsWebAnalytics | undefined; } /** The state of the deployment depending on the process of deploying, or if it is ready or in an error state */ export type CreateDeploymentResponseBodyCase1ReadyState = | "BLOCKED" | "BUILDING" | "CANCELED" | "ERROR" | "INITIALIZING" | "QUEUED" | "READY"; /** Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - ROLLING: in the process of having production traffic gradually transitioned. - PROMOTED: has seen production traffic */ export type CreateDeploymentResponseBodyCase1ReadySubstate = "PROMOTED" | "ROLLING" | "STAGED"; /** The regions the deployment exists in */ export type CreateDeploymentResponseBodyCase1RegionsList = Array; /** The build ran on an elastic machine. Drives billing. */ export type CreateDeploymentResponseBodyCase1ResourceConfigBuildMachineCase0MachineSelectionType = "elastic"; /** Machine type purchased for this build. `basic` is the 2vCPU tier, recorded so the build pipeline can detect a basic build without consulting the project. */ export type CreateDeploymentResponseBodyCase1ResourceConfigBuildMachineCase0PurchaseType = | "14cpu-28gb" | "basic" | "enhanced" | "standard" | "turbo"; /** The build machine tier included with the customer's plan. For most customers this is standard; enhanced entitlements include enhanced, while `none` means every build is billed at its purchase type. */ export type CreateDeploymentResponseBodyCase1ResourceConfigBuildMachineCase0DefaultPurchaseType = | "basic" | "enhanced" | "none" | "standard"; /** The setting which selected the build machine when the deployment was created. Frozen here so later project or team changes do not rewrite its history. */ export type CreateDeploymentResponseBodyCase1ResourceConfigBuildMachineCase0SelectionSource = | "deployment-override" | "elastic-algorithm" | "plan-default" | "project-setting" | "team-entitlement" | "team-setting"; export interface CreateDeploymentResponseBodyCase1ResourceConfigBuildMachineCase0 { /** The build ran on an elastic machine. Drives billing. */ machineSelectionType: CreateDeploymentResponseBodyCase1ResourceConfigBuildMachineCase0MachineSelectionType; /** Machine type purchased for this build. `basic` is the 2vCPU tier, recorded so the build pipeline can detect a basic build without consulting the project. */ purchaseType?: | CreateDeploymentResponseBodyCase1ResourceConfigBuildMachineCase0PurchaseType | undefined; /** Build cores. Deployment creation sets the requested value; dispatch replaces it with the cores assigned by routing. */ cores?: number | undefined; /** The build machine tier included with the customer's plan. For most customers this is standard; enhanced entitlements include enhanced, while `none` means every build is billed at its purchase type. */ defaultPurchaseType?: | CreateDeploymentResponseBodyCase1ResourceConfigBuildMachineCase0DefaultPurchaseType | undefined; /** Build memory, in MiB. Deployment creation sets the requested value; dispatch replaces it with the memory assigned by routing. */ memory?: number | undefined; /** The setting which selected the build machine when the deployment was created. Frozen here so later project or team changes do not rewrite its history. */ selectionSource?: | CreateDeploymentResponseBodyCase1ResourceConfigBuildMachineCase0SelectionSource | undefined; } /** The build ran on a fixed machine. Drives billing. */ export type CreateDeploymentResponseBodyCase1ResourceConfigBuildMachineCase1MachineSelectionType = "fixed"; /** Machine type purchased for this build. */ export type CreateDeploymentResponseBodyCase1ResourceConfigBuildMachineCase1PurchaseType = | "basic" | "enhanced" | "standard" | "turbo"; /** The build machine tier included with the customer's plan. For most customers this is standard; enhanced entitlements include enhanced, while `none` means every build is billed at its purchase type. */ export type CreateDeploymentResponseBodyCase1ResourceConfigBuildMachineCase1DefaultPurchaseType = | "basic" | "enhanced" | "none" | "standard"; /** The setting which selected the build machine when the deployment was created. Frozen here so later project or team changes do not rewrite its history. */ export type CreateDeploymentResponseBodyCase1ResourceConfigBuildMachineCase1SelectionSource = | "deployment-override" | "elastic-algorithm" | "plan-default" | "project-setting" | "team-entitlement" | "team-setting"; export interface CreateDeploymentResponseBodyCase1ResourceConfigBuildMachineCase1 { /** The build ran on a fixed machine. Drives billing. */ machineSelectionType?: | CreateDeploymentResponseBodyCase1ResourceConfigBuildMachineCase1MachineSelectionType | undefined; /** Machine type purchased for this build. */ purchaseType?: | CreateDeploymentResponseBodyCase1ResourceConfigBuildMachineCase1PurchaseType | undefined; /** Build cores. Deployment creation sets the requested value; dispatch replaces it with the cores assigned by routing. */ cores?: number | undefined; /** The build machine tier included with the customer's plan. For most customers this is standard; enhanced entitlements include enhanced, while `none` means every build is billed at its purchase type. */ defaultPurchaseType?: | CreateDeploymentResponseBodyCase1ResourceConfigBuildMachineCase1DefaultPurchaseType | undefined; /** Build memory, in MiB. Deployment creation sets the requested value; dispatch replaces it with the memory assigned by routing. */ memory?: number | undefined; /** The setting which selected the build machine when the deployment was created. Frozen here so later project or team changes do not rewrite its history. */ selectionSource?: | CreateDeploymentResponseBodyCase1ResourceConfigBuildMachineCase1SelectionSource | undefined; } export type CreateDeploymentResponseBodyCase1ResourceConfigBuildMachine = | CreateDeploymentResponseBodyCase1ResourceConfigBuildMachineCase0 | CreateDeploymentResponseBodyCase1ResourceConfigBuildMachineCase1; export interface CreateDeploymentResponseBodyCase1ResourceConfig { buildMachine?: CreateDeploymentResponseBodyCase1ResourceConfigBuildMachine | undefined; } /** Optional explicit format marker. The destination is identified by the presence of `service`, so `type` is no longer required. */ export type CreateDeploymentResponseBodyCase1RoutesItemCase0DestinationCase1Type = "service"; export interface CreateDeploymentResponseBodyCase1RoutesItemCase0DestinationCase1 { /** Routing-only path used to select a route inside the target service. */ path?: string | undefined; service: string; /** Optional explicit format marker. The destination is identified by the presence of `service`, so `type` is no longer required. */ type?: CreateDeploymentResponseBodyCase1RoutesItemCase0DestinationCase1Type | undefined; } export type CreateDeploymentResponseBodyCase1RoutesItemCase0Destination = | string | CreateDeploymentResponseBodyCase1RoutesItemCase0DestinationCase1; export type CreateDeploymentResponseBodyCase1RoutesItemCase0EnvList = Array; export type CreateDeploymentResponseBodyCase1RoutesItemCase0HasItemCase0Type = "host"; export type CreateDeploymentResponseBodyCase1RoutesItemCase0HasItemCase0ValueCase1Eq = | string | number; export type CreateDeploymentResponseBodyCase1RoutesItemCase0HasItemCase0ValueCase1IncList = Array; export type CreateDeploymentResponseBodyCase1RoutesItemCase0HasItemCase0ValueCase1NincList = Array; export interface CreateDeploymentResponseBodyCase1RoutesItemCase0HasItemCase0ValueCase1 { eq?: CreateDeploymentResponseBodyCase1RoutesItemCase0HasItemCase0ValueCase1Eq | undefined; gt?: number | undefined; gte?: number | undefined; inc?: CreateDeploymentResponseBodyCase1RoutesItemCase0HasItemCase0ValueCase1IncList | undefined; lt?: number | undefined; lte?: number | undefined; neq?: string | undefined; ninc?: CreateDeploymentResponseBodyCase1RoutesItemCase0HasItemCase0ValueCase1NincList | undefined; pre?: string | undefined; re?: string | undefined; suf?: string | undefined; } export type CreateDeploymentResponseBodyCase1RoutesItemCase0HasItemCase0Value = | string | CreateDeploymentResponseBodyCase1RoutesItemCase0HasItemCase0ValueCase1; export interface CreateDeploymentResponseBodyCase1RoutesItemCase0HasItemCase0 { type: CreateDeploymentResponseBodyCase1RoutesItemCase0HasItemCase0Type; value: CreateDeploymentResponseBodyCase1RoutesItemCase0HasItemCase0Value; } export type CreateDeploymentResponseBodyCase1RoutesItemCase0HasItemCase1Type = | "cookie" | "header" | "query"; export type CreateDeploymentResponseBodyCase1RoutesItemCase0HasItemCase1ValueCase1Eq = | string | number; export type CreateDeploymentResponseBodyCase1RoutesItemCase0HasItemCase1ValueCase1IncList = Array; export type CreateDeploymentResponseBodyCase1RoutesItemCase0HasItemCase1ValueCase1NincList = Array; export interface CreateDeploymentResponseBodyCase1RoutesItemCase0HasItemCase1ValueCase1 { eq?: CreateDeploymentResponseBodyCase1RoutesItemCase0HasItemCase1ValueCase1Eq | undefined; gt?: number | undefined; gte?: number | undefined; inc?: CreateDeploymentResponseBodyCase1RoutesItemCase0HasItemCase1ValueCase1IncList | undefined; lt?: number | undefined; lte?: number | undefined; neq?: string | undefined; ninc?: CreateDeploymentResponseBodyCase1RoutesItemCase0HasItemCase1ValueCase1NincList | undefined; pre?: string | undefined; re?: string | undefined; suf?: string | undefined; } export type CreateDeploymentResponseBodyCase1RoutesItemCase0HasItemCase1Value = | string | CreateDeploymentResponseBodyCase1RoutesItemCase0HasItemCase1ValueCase1; export interface CreateDeploymentResponseBodyCase1RoutesItemCase0HasItemCase1 { key: string; type: CreateDeploymentResponseBodyCase1RoutesItemCase0HasItemCase1Type; value?: CreateDeploymentResponseBodyCase1RoutesItemCase0HasItemCase1Value | undefined; } export type CreateDeploymentResponseBodyCase1RoutesItemCase0HasItem = | CreateDeploymentResponseBodyCase1RoutesItemCase0HasItemCase0 | CreateDeploymentResponseBodyCase1RoutesItemCase0HasItemCase1; export type CreateDeploymentResponseBodyCase1RoutesItemCase0HasList = Array; export type CreateDeploymentResponseBodyCase1RoutesItemCase0HeadersMap = { [key: string]: string | undefined; }; export type CreateDeploymentResponseBodyCase1RoutesItemCase0LocaleRedirectMap = { [key: string]: string | undefined; }; export interface CreateDeploymentResponseBodyCase1RoutesItemCase0Locale { cookie?: string | undefined; redirect?: CreateDeploymentResponseBodyCase1RoutesItemCase0LocaleRedirectMap | undefined; } export type CreateDeploymentResponseBodyCase1RoutesItemCase0MethodsList = Array; /** The original middleware matchers. */ export type CreateDeploymentResponseBodyCase1RoutesItemCase0MiddlewareRawSrcList = Array; export type CreateDeploymentResponseBodyCase1RoutesItemCase0MissingItemCase0Type = "host"; export type CreateDeploymentResponseBodyCase1RoutesItemCase0MissingItemCase0ValueCase1Eq = | string | number; export type CreateDeploymentResponseBodyCase1RoutesItemCase0MissingItemCase0ValueCase1IncList = Array; export type CreateDeploymentResponseBodyCase1RoutesItemCase0MissingItemCase0ValueCase1NincList = Array; export interface CreateDeploymentResponseBodyCase1RoutesItemCase0MissingItemCase0ValueCase1 { eq?: CreateDeploymentResponseBodyCase1RoutesItemCase0MissingItemCase0ValueCase1Eq | undefined; gt?: number | undefined; gte?: number | undefined; inc?: | CreateDeploymentResponseBodyCase1RoutesItemCase0MissingItemCase0ValueCase1IncList | undefined; lt?: number | undefined; lte?: number | undefined; neq?: string | undefined; ninc?: | CreateDeploymentResponseBodyCase1RoutesItemCase0MissingItemCase0ValueCase1NincList | undefined; pre?: string | undefined; re?: string | undefined; suf?: string | undefined; } export type CreateDeploymentResponseBodyCase1RoutesItemCase0MissingItemCase0Value = | string | CreateDeploymentResponseBodyCase1RoutesItemCase0MissingItemCase0ValueCase1; export interface CreateDeploymentResponseBodyCase1RoutesItemCase0MissingItemCase0 { type: CreateDeploymentResponseBodyCase1RoutesItemCase0MissingItemCase0Type; value: CreateDeploymentResponseBodyCase1RoutesItemCase0MissingItemCase0Value; } export type CreateDeploymentResponseBodyCase1RoutesItemCase0MissingItemCase1Type = | "cookie" | "header" | "query"; export type CreateDeploymentResponseBodyCase1RoutesItemCase0MissingItemCase1ValueCase1Eq = | string | number; export type CreateDeploymentResponseBodyCase1RoutesItemCase0MissingItemCase1ValueCase1IncList = Array; export type CreateDeploymentResponseBodyCase1RoutesItemCase0MissingItemCase1ValueCase1NincList = Array; export interface CreateDeploymentResponseBodyCase1RoutesItemCase0MissingItemCase1ValueCase1 { eq?: CreateDeploymentResponseBodyCase1RoutesItemCase0MissingItemCase1ValueCase1Eq | undefined; gt?: number | undefined; gte?: number | undefined; inc?: | CreateDeploymentResponseBodyCase1RoutesItemCase0MissingItemCase1ValueCase1IncList | undefined; lt?: number | undefined; lte?: number | undefined; neq?: string | undefined; ninc?: | CreateDeploymentResponseBodyCase1RoutesItemCase0MissingItemCase1ValueCase1NincList | undefined; pre?: string | undefined; re?: string | undefined; suf?: string | undefined; } export type CreateDeploymentResponseBodyCase1RoutesItemCase0MissingItemCase1Value = | string | CreateDeploymentResponseBodyCase1RoutesItemCase0MissingItemCase1ValueCase1; export interface CreateDeploymentResponseBodyCase1RoutesItemCase0MissingItemCase1 { key: string; type: CreateDeploymentResponseBodyCase1RoutesItemCase0MissingItemCase1Type; value?: CreateDeploymentResponseBodyCase1RoutesItemCase0MissingItemCase1Value | undefined; } export type CreateDeploymentResponseBodyCase1RoutesItemCase0MissingItem = | CreateDeploymentResponseBodyCase1RoutesItemCase0MissingItemCase0 | CreateDeploymentResponseBodyCase1RoutesItemCase0MissingItemCase1; export type CreateDeploymentResponseBodyCase1RoutesItemCase0MissingList = Array; export type CreateDeploymentResponseBodyCase1RoutesItemCase0MitigateAction = "challenge" | "deny"; export interface CreateDeploymentResponseBodyCase1RoutesItemCase0Mitigate { action: CreateDeploymentResponseBodyCase1RoutesItemCase0MitigateAction; } export type CreateDeploymentResponseBodyCase1RoutesItemCase0TransformsItemCase0ArgsCase1List = Array; export type CreateDeploymentResponseBodyCase1RoutesItemCase0TransformsItemCase0Args = | string | CreateDeploymentResponseBodyCase1RoutesItemCase0TransformsItemCase0ArgsCase1List; export type CreateDeploymentResponseBodyCase1RoutesItemCase0TransformsItemCase0EnvList = Array; export type CreateDeploymentResponseBodyCase1RoutesItemCase0TransformsItemCase0Op = | "append" | "delete" | "set"; export type CreateDeploymentResponseBodyCase1RoutesItemCase0TransformsItemCase0TargetKeyCase1Eq = | string | number; export type CreateDeploymentResponseBodyCase1RoutesItemCase0TransformsItemCase0TargetKeyCase1IncList = Array; export type CreateDeploymentResponseBodyCase1RoutesItemCase0TransformsItemCase0TargetKeyCase1NincList = Array; export interface CreateDeploymentResponseBodyCase1RoutesItemCase0TransformsItemCase0TargetKeyCase1 { eq?: | CreateDeploymentResponseBodyCase1RoutesItemCase0TransformsItemCase0TargetKeyCase1Eq | undefined; gt?: number | undefined; gte?: number | undefined; inc?: | CreateDeploymentResponseBodyCase1RoutesItemCase0TransformsItemCase0TargetKeyCase1IncList | undefined; lt?: number | undefined; lte?: number | undefined; neq?: string | undefined; ninc?: | CreateDeploymentResponseBodyCase1RoutesItemCase0TransformsItemCase0TargetKeyCase1NincList | undefined; pre?: string | undefined; suf?: string | undefined; } export type CreateDeploymentResponseBodyCase1RoutesItemCase0TransformsItemCase0TargetKey = | string | CreateDeploymentResponseBodyCase1RoutesItemCase0TransformsItemCase0TargetKeyCase1; export interface CreateDeploymentResponseBodyCase1RoutesItemCase0TransformsItemCase0Target { key: CreateDeploymentResponseBodyCase1RoutesItemCase0TransformsItemCase0TargetKey; } export type CreateDeploymentResponseBodyCase1RoutesItemCase0TransformsItemCase0Type = | "request.headers" | "request.query" | "response.headers"; export interface CreateDeploymentResponseBodyCase1RoutesItemCase0TransformsItemCase0 { args?: CreateDeploymentResponseBodyCase1RoutesItemCase0TransformsItemCase0Args | undefined; env?: CreateDeploymentResponseBodyCase1RoutesItemCase0TransformsItemCase0EnvList | undefined; op: CreateDeploymentResponseBodyCase1RoutesItemCase0TransformsItemCase0Op; target: CreateDeploymentResponseBodyCase1RoutesItemCase0TransformsItemCase0Target; type: CreateDeploymentResponseBodyCase1RoutesItemCase0TransformsItemCase0Type; } export type CreateDeploymentResponseBodyCase1RoutesItemCase0TransformsItemCase1EnvList = Array; export type CreateDeploymentResponseBodyCase1RoutesItemCase0TransformsItemCase1Op = "set"; export type CreateDeploymentResponseBodyCase1RoutesItemCase0TransformsItemCase1Type = "request.path"; export interface CreateDeploymentResponseBodyCase1RoutesItemCase0TransformsItemCase1 { args: string; env?: CreateDeploymentResponseBodyCase1RoutesItemCase0TransformsItemCase1EnvList | undefined; /** Keep an earlier request.path value. Builders use this for fallback routes. */ fallback?: boolean | undefined; op: CreateDeploymentResponseBodyCase1RoutesItemCase0TransformsItemCase1Op; type: CreateDeploymentResponseBodyCase1RoutesItemCase0TransformsItemCase1Type; } export type CreateDeploymentResponseBodyCase1RoutesItemCase0TransformsItem = | CreateDeploymentResponseBodyCase1RoutesItemCase0TransformsItemCase0 | CreateDeploymentResponseBodyCase1RoutesItemCase0TransformsItemCase1; export type CreateDeploymentResponseBodyCase1RoutesItemCase0TransformsList = Array; export interface CreateDeploymentResponseBodyCase1RoutesItemCase0 { caseSensitive?: boolean | undefined; check?: boolean | undefined; continue?: boolean | undefined; dest?: string | undefined; destination?: CreateDeploymentResponseBodyCase1RoutesItemCase0Destination | undefined; env?: CreateDeploymentResponseBodyCase1RoutesItemCase0EnvList | undefined; has?: CreateDeploymentResponseBodyCase1RoutesItemCase0HasList | undefined; headers?: CreateDeploymentResponseBodyCase1RoutesItemCase0HeadersMap | undefined; important?: boolean | undefined; locale?: CreateDeploymentResponseBodyCase1RoutesItemCase0Locale | undefined; methods?: CreateDeploymentResponseBodyCase1RoutesItemCase0MethodsList | undefined; /** A middleware index in the `middleware` key under the build result */ middleware?: number | undefined; /** A middleware key within the `output` key under the build result. Overrides a `middleware` definition. */ middlewarePath?: string | undefined; /** The original middleware matchers. */ middlewareRawSrc?: | CreateDeploymentResponseBodyCase1RoutesItemCase0MiddlewareRawSrcList | undefined; missing?: CreateDeploymentResponseBodyCase1RoutesItemCase0MissingList | undefined; mitigate?: CreateDeploymentResponseBodyCase1RoutesItemCase0Mitigate | undefined; override?: boolean | undefined; respectOriginCacheControl?: boolean | undefined; /** Aliases for `src`, `dest`, and `status`. These provide consistency with the `rewrites`, `redirects`, and `headers` fields which use `source`, `destination`, and `statusCode`. During normalization, the string forms are converted to their canonical forms (`src`, `dest`, `status`) and stripped from the route object. `destination` may also be a service-targeted object, in which case routing is delegated into the named service's internal route table and the object is preserved as-is (not folded into `dest`). */ source?: string | undefined; src: string; status?: number | undefined; statusCode?: number | undefined; transforms?: CreateDeploymentResponseBodyCase1RoutesItemCase0TransformsList | undefined; } export type CreateDeploymentResponseBodyCase1RoutesItemCase1Handle = | "error" | "filesystem" | "hit" | "miss" | "resource" | "rewrite"; export interface CreateDeploymentResponseBodyCase1RoutesItemCase1 { dest?: string | undefined; handle: CreateDeploymentResponseBodyCase1RoutesItemCase1Handle; src?: string | undefined; status?: number | undefined; } export type CreateDeploymentResponseBodyCase1RoutesItemCase2Middleware = 0; export interface CreateDeploymentResponseBodyCase1RoutesItemCase2 { continue: boolean; middleware: CreateDeploymentResponseBodyCase1RoutesItemCase2Middleware; src: string; } export type CreateDeploymentResponseBodyCase1RoutesItem = | CreateDeploymentResponseBodyCase1RoutesItemCase0 | CreateDeploymentResponseBodyCase1RoutesItemCase1 | CreateDeploymentResponseBodyCase1RoutesItemCase2; export type CreateDeploymentResponseBodyCase1RoutesList = Array; /** The NSNB decision code for the seat block. TODO: We should consolidate block types. */ export type CreateDeploymentResponseBodyCase1SeatBlockBlockCode = | "COMMIT_AUTHOR_REQUIRED" | "TEAM_ACCESS_REQUIRED"; /** The git provider type associated with gitUserId. */ export type CreateDeploymentResponseBodyCase1SeatBlockGitProvider = | "bitbucket" | "github" | "gitlab"; export type CreateDeploymentResponseBodyCase1SeatBlockGitUserId = string | number; /** NSNB Blocked metadata */ export interface CreateDeploymentResponseBodyCase1SeatBlock { /** The NSNB decision code for the seat block. TODO: We should consolidate block types. */ blockCode: CreateDeploymentResponseBodyCase1SeatBlockBlockCode; /** The git provider type associated with gitUserId. */ gitProvider?: CreateDeploymentResponseBodyCase1SeatBlockGitProvider | undefined; gitUserId?: CreateDeploymentResponseBodyCase1SeatBlockGitUserId | undefined; /** Determines if the user was verified during the block. In the git integration case, the commit sender was the author. */ isVerified?: boolean | undefined; /** The blocked vercel user ID. */ userId?: string | undefined; } /** Generated value shape, must be `"url"`. */ export type CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigDaemonBindingsItemFormat = "url"; /** If present, must be `"service"` for Service-to-Service HTTP bindings. */ export type CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigDaemonBindingsItemType = "service"; /** Bindings to services in the same deployment. */ export interface CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigDaemonBindingsItem { /** Environment variable name that will store the generated value */ env: string; /** Generated value shape, must be `"url"`. */ format: CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigDaemonBindingsItemFormat; /** Target service name from `services`. */ service: string; /** If present, must be `"service"` for Service-to-Service HTTP bindings. */ type?: | CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigDaemonBindingsItemType | undefined; } /** Bindings to services in the same deployment. */ export type CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigDaemonBindingsList = Array; export type CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigDaemonCommandList = Array; /** Instance counts by region. */ export type CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigDaemonInstancesMap = { [key: string]: number | undefined; }; export type CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigDaemonLivenessProbeHttpGetHttpHeadersItem = CancelDeploymentResponseServicesItemCase0BuilderConfigDaemonLivenessProbeHttpGetHttpHeadersItem; export type CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigDaemonLivenessProbeHttpGetHttpHeadersList = Array; export type CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigDaemonLivenessProbeHttpGetScheme = | "HTTP" | "HTTPS"; export interface CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigDaemonLivenessProbeHttpGet { host?: string | undefined; httpHeaders?: | CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigDaemonLivenessProbeHttpGetHttpHeadersList | undefined; path?: string | undefined; port: number; scheme?: | CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigDaemonLivenessProbeHttpGetScheme | undefined; } /** A Kubernetes-style HTTP liveness probe. */ export interface CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigDaemonLivenessProbe { failureThreshold?: number | undefined; httpGet: CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigDaemonLivenessProbeHttpGet; initialDelaySeconds?: number | undefined; periodSeconds?: number | undefined; successThreshold?: number | undefined; timeoutSeconds?: number | undefined; } /** Instance counts by region. */ export type CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigDaemonReplicasMap = { [key: string]: number | undefined; }; export type CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigDaemonResourcesRequestsMemory = | "1Gi" | "2Gi" | "4Gi" | "8Gi"; export interface CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigDaemonResourcesRequests { memory: CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigDaemonResourcesRequestsMemory; } export interface CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigDaemonResources { requests: CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigDaemonResourcesRequests; } /** Set when this build produces the named daemon. */ export interface CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigDaemon { /** Bindings to services in the same deployment. */ bindings?: | CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigDaemonBindingsList | undefined; command?: | CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigDaemonCommandList | undefined; entrypoint: string; /** Instance counts by region. */ instances?: | CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigDaemonInstancesMap | undefined; /** A Kubernetes-style HTTP liveness probe. */ livenessProbe?: | CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigDaemonLivenessProbe | undefined; /** Instance counts by region. */ replicas?: | CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigDaemonReplicasMap | undefined; resources?: | CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigDaemonResources | undefined; root: string; terminationGracePeriodSeconds?: number | undefined; name: string; } export type CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigExcludeFilesCase1List = Array; export type CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigExcludeFiles = | string | CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigExcludeFilesCase1List; export type CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigFunctionsValueAffinityMode = "strict"; export interface CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigFunctionsValueAffinity { mode: CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigFunctionsValueAffinityMode; } export type CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigFunctionsValueArchitecture = | "arm64" | "x86_64"; /** Event type - must be "queue/v1beta" (REQUIRED) */ export type CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigFunctionsValueExperimentalTriggersItemCase0Type = "queue/v1beta"; /** Queue trigger input event for v1beta (from vercel.json config). Requires explicit consumer name. */ export interface CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigFunctionsValueExperimentalTriggersItemCase0 { /** Name of the consumer group for this trigger (REQUIRED) */ consumer: string; /** Initial delay in seconds before first execution attempt (OPTIONAL) Must be 0 or greater. Use 0 for no initial delay. Behavior when not specified depends on the server's default configuration. */ initialDelaySeconds?: number | undefined; /** Maximum number of concurrent executions for this consumer (OPTIONAL) Must be at least 1 if specified. Behavior when not specified depends on the server's default configuration. */ maxConcurrency?: number | undefined; /** Maximum number of delivery attempts for message processing (OPTIONAL) This represents the total number of times a message can be delivered, not the number of retries. Must be at least 1 if specified. Behavior when not specified depends on the server's default configuration. */ maxDeliveries?: number | undefined; /** Delay in seconds before retrying failed executions (OPTIONAL) Behavior when not specified depends on the server's default configuration. */ retryAfterSeconds?: number | undefined; /** Name of the queue topic to consume from (REQUIRED) */ topic: string; /** Event type - must be "queue/v1beta" (REQUIRED) */ type: CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigFunctionsValueExperimentalTriggersItemCase0Type; } /** Event type - must be "queue/v2beta" (REQUIRED) */ export type CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigFunctionsValueExperimentalTriggersItemCase1Type = "queue/v2beta"; /** Queue trigger input event for v2beta (from vercel.json config). Consumer name is implicitly derived from the function path. Only one trigger per function is allowed. */ export interface CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigFunctionsValueExperimentalTriggersItemCase1 { /** Initial delay in seconds before first execution attempt (OPTIONAL) Must be 0 or greater. Use 0 for no initial delay. Behavior when not specified depends on the server's default configuration. */ initialDelaySeconds?: number | undefined; /** Maximum number of concurrent executions for this consumer (OPTIONAL) Must be at least 1 if specified. Behavior when not specified depends on the server's default configuration. */ maxConcurrency?: number | undefined; /** Maximum number of delivery attempts for message processing (OPTIONAL) This represents the total number of times a message can be delivered, not the number of retries. Must be at least 1 if specified. Behavior when not specified depends on the server's default configuration. */ maxDeliveries?: number | undefined; /** Delay in seconds before retrying failed executions (OPTIONAL) Behavior when not specified depends on the server's default configuration. */ retryAfterSeconds?: number | undefined; /** Name of the queue topic to consume from (REQUIRED) */ topic: string; /** Event type - must be "queue/v2beta" (REQUIRED) */ type: CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigFunctionsValueExperimentalTriggersItemCase1Type; } /** Event type - must be "schedule/v1beta" (REQUIRED) */ export type CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigFunctionsValueExperimentalTriggersItemCase2Type = "schedule/v1beta"; export interface CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigFunctionsValueExperimentalTriggersItemCase2 { /** Event type - must be "schedule/v1beta" (REQUIRED) */ type: CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigFunctionsValueExperimentalTriggersItemCase2Type; } export type CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigFunctionsValueExperimentalTriggersItem = | CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigFunctionsValueExperimentalTriggersItemCase0 | CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigFunctionsValueExperimentalTriggersItemCase1 | CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigFunctionsValueExperimentalTriggersItemCase2; export type CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigFunctionsValueExperimentalTriggersList = Array; export type CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigFunctionsValueFunctionFailoverRegionsList = Array; export type CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigFunctionsValueMaxDurationCase1 = "max"; export type CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigFunctionsValueMaxDuration = | number | CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigFunctionsValueMaxDurationCase1; export type CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigFunctionsValueRegionsList = Array; export interface CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigFunctionsValue { affinity?: | CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigFunctionsValueAffinity | undefined; architecture?: | CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigFunctionsValueArchitecture | undefined; excludeFiles?: string | undefined; experimentalTriggers?: | CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigFunctionsValueExperimentalTriggersList | undefined; functionFailoverRegions?: | CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigFunctionsValueFunctionFailoverRegionsList | undefined; includeFiles?: string | undefined; /** Overrides how dependencies are installed for this function. An empty string skips the install. Only honored by `@vercel/node`. */ installCommand?: string | undefined; maxConcurrency?: number | undefined; maxDuration?: | CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigFunctionsValueMaxDuration | undefined; memory?: number | undefined; regions?: | CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigFunctionsValueRegionsList | undefined; runtime?: string | undefined; supportsCancellation?: boolean | undefined; } export type CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigFunctionsMap = { [key: string]: | CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigFunctionsValue | undefined; }; export type CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigImportMap = { [key: string]: string | undefined; }; export type CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigIncludeFilesCase1List = Array; export type CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigIncludeFiles = | string | CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigIncludeFilesCase1List; /** Matcher supplied outside of the middleware source module. */ export type CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigMiddlewareMatcherCase1List = Array; export type CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigMiddlewareMatcher = | string | CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigMiddlewareMatcherCase1List; /** Enforced runtime for explicitly configured Routing Middleware. */ export type CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigMiddlewareRuntime = "nodejs"; export type CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigProjectSettingsVercelFlags = CancelDeploymentResponseProjectSettingsVercelFlags; export type CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigProjectSettings = CancelDeploymentResponseServicesItemCase0BuilderConfigProjectSettings; /** Names of the schedules that dispatch to this entrypoint, in config order. */ export type CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigScheduleFunctionEntrypointsItemScheduleNamesList = Array; export interface CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigScheduleFunctionEntrypointsItem { /** Runtime-specific entrypoint locator from `vercel.json`. */ entrypoint: string; /** Names of the schedules that dispatch to this entrypoint, in config order. */ scheduleNames: CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigScheduleFunctionEntrypointsItemScheduleNamesList; /** Project-relative source file that contains the entrypoint. */ sourceFile: string; } export type CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigScheduleFunctionEntrypointsList = Array; /** Set when this build produces a function for schedule entrypoints. */ export interface CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigScheduleFunction { entrypoints: CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigScheduleFunctionEntrypointsList; /** Function output path every schedule in this build targets. */ outputPath: string; } export interface CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfig { buildCommand?: string | undefined; /** Buildpack runtime slug (e.g. "ruby"). */ buildpack?: string | undefined; bundle?: boolean | undefined; bunVersion?: string | undefined; /** Set when this build produces the named daemon. */ daemon?: CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigDaemon | undefined; debug?: boolean | undefined; devCommand?: string | undefined; excludeFiles?: | CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigExcludeFiles | undefined; framework?: string | null | undefined; functions?: | CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigFunctionsMap | undefined; helpers?: boolean | undefined; import?: CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigImportMap | undefined; includeFiles?: | CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigIncludeFiles | undefined; installCommand?: string | undefined; ldsflags?: string | undefined; maxLambdaSize?: string | undefined; middleware?: boolean | undefined; middlewareMatcher?: | CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigMiddlewareMatcher | undefined; /** Enforced runtime for explicitly configured Routing Middleware. */ middlewareRuntime?: | CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigMiddlewareRuntime | undefined; nodeVersion?: string | undefined; outputDirectory?: string | undefined; projectSettings?: | CancelDeploymentResponseServicesItemCase0BuilderConfigProjectSettings | undefined; rust?: string | undefined; /** Set when this build produces a function for schedule entrypoints. */ scheduleFunction?: | CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigScheduleFunction | undefined; /** Owning service name; scopes per-function config such as the v2beta consumer. */ serviceName?: string | undefined; zeroConfig?: boolean | undefined; } export interface CreateDeploymentResponseBodyCase1ServicesItemCase0Builder { config?: CreateDeploymentResponseBodyCase1ServicesItemCase0BuilderConfig | undefined; src?: string | undefined; use: string; } export type CreateDeploymentResponseBodyCase1ServicesItemCase0EnvValueType = "service-ref"; export interface CreateDeploymentResponseBodyCase1ServicesItemCase0EnvValue { service: string; type: CreateDeploymentResponseBodyCase1ServicesItemCase0EnvValueType; } export type CreateDeploymentResponseBodyCase1ServicesItemCase0EnvMap = { [key: string]: CreateDeploymentResponseBodyCase1ServicesItemCase0EnvValue | undefined; }; export type CreateDeploymentResponseBodyCase1ServicesItemCase0RoutePrefixSource = | "configured" | "generated"; export type CreateDeploymentResponseBodyCase1ServicesItemCase0ScheduleCase1List = Array; export type CreateDeploymentResponseBodyCase1ServicesItemCase0Schedule = | string | CreateDeploymentResponseBodyCase1ServicesItemCase0ScheduleCase1List; export type CreateDeploymentResponseBodyCase1ServicesItemCase0Schema = "experimentalServices"; export type CreateDeploymentResponseBodyCase1ServicesItemCase0TopicsCase0List = Array; export type CreateDeploymentResponseBodyCase1ServicesItemCase0TopicsCase1Item = CancelDeploymentResponseServicesItemCase0TopicsCase1Item; export type CreateDeploymentResponseBodyCase1ServicesItemCase0TopicsCase1List = Array; export type CreateDeploymentResponseBodyCase1ServicesItemCase0Topics = | CreateDeploymentResponseBodyCase1ServicesItemCase0TopicsCase0List | CreateDeploymentResponseBodyCase1ServicesItemCase0TopicsCase1List; export type CreateDeploymentResponseBodyCase1ServicesItemCase0Trigger = | "queue" | "schedule" | "workflow"; export type CreateDeploymentResponseBodyCase1ServicesItemCase0Type = | "cron" | "job" | "web" | "worker"; /** Services detected during build from vercel.json experimentalServices or auto-detected from project structure. Used to inject service URLs as environment variables at runtime. */ export interface CreateDeploymentResponseBodyCase1ServicesItemCase0 { buildCommand?: string | undefined; builder: CreateDeploymentResponseBodyCase1ServicesItemCase0Builder; entrypoint?: string | undefined; env?: CreateDeploymentResponseBodyCase1ServicesItemCase0EnvMap | undefined; framework?: string | undefined; group?: string | undefined; handlerFunction?: string | undefined; installCommand?: string | undefined; name: string; preDeployCommand?: string | undefined; routePrefix?: string | undefined; routePrefixSource?: | CreateDeploymentResponseBodyCase1ServicesItemCase0RoutePrefixSource | undefined; runtime?: string | undefined; schedule?: CreateDeploymentResponseBodyCase1ServicesItemCase0Schedule | undefined; schema: CreateDeploymentResponseBodyCase1ServicesItemCase0Schema; subdomain?: string | undefined; topics?: CreateDeploymentResponseBodyCase1ServicesItemCase0Topics | undefined; trigger?: CreateDeploymentResponseBodyCase1ServicesItemCase0Trigger | undefined; type: CreateDeploymentResponseBodyCase1ServicesItemCase0Type; workspace: string; } /** Generated value shape, must be `"url"`. */ export type CreateDeploymentResponseBodyCase1ServicesItemCase1BindingsItemFormat = "url"; /** If present, must be `"service"` for Service-to-Service HTTP bindings. */ export type CreateDeploymentResponseBodyCase1ServicesItemCase1BindingsItemType = "service"; /** Caller-side bindings to other services. */ export interface CreateDeploymentResponseBodyCase1ServicesItemCase1BindingsItem { /** Environment variable name that will store the generated value */ env: string; /** Generated value shape, must be `"url"`. */ format: CreateDeploymentResponseBodyCase1ServicesItemCase1BindingsItemFormat; /** Target service name from `services`. */ service: string; /** If present, must be `"service"` for Service-to-Service HTTP bindings. */ type?: CreateDeploymentResponseBodyCase1ServicesItemCase1BindingsItemType | undefined; } /** Caller-side bindings to other services. */ export type CreateDeploymentResponseBodyCase1ServicesItemCase1BindingsList = Array; /** Generated value shape, must be `"url"`. */ export type CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigDaemonBindingsItemFormat = "url"; /** If present, must be `"service"` for Service-to-Service HTTP bindings. */ export type CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigDaemonBindingsItemType = "service"; /** Bindings to services in the same deployment. */ export interface CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigDaemonBindingsItem { /** Environment variable name that will store the generated value */ env: string; /** Generated value shape, must be `"url"`. */ format: CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigDaemonBindingsItemFormat; /** Target service name from `services`. */ service: string; /** If present, must be `"service"` for Service-to-Service HTTP bindings. */ type?: | CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigDaemonBindingsItemType | undefined; } /** Bindings to services in the same deployment. */ export type CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigDaemonBindingsList = Array; export type CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigDaemonCommandList = Array; /** Instance counts by region. */ export type CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigDaemonInstancesMap = { [key: string]: number | undefined; }; export type CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigDaemonLivenessProbeHttpGetHttpHeadersItem = CancelDeploymentResponseServicesItemCase0BuilderConfigDaemonLivenessProbeHttpGetHttpHeadersItem; export type CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigDaemonLivenessProbeHttpGetHttpHeadersList = Array; export type CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigDaemonLivenessProbeHttpGetScheme = | "HTTP" | "HTTPS"; export interface CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigDaemonLivenessProbeHttpGet { host?: string | undefined; httpHeaders?: | CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigDaemonLivenessProbeHttpGetHttpHeadersList | undefined; path?: string | undefined; port: number; scheme?: | CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigDaemonLivenessProbeHttpGetScheme | undefined; } /** A Kubernetes-style HTTP liveness probe. */ export interface CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigDaemonLivenessProbe { failureThreshold?: number | undefined; httpGet: CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigDaemonLivenessProbeHttpGet; initialDelaySeconds?: number | undefined; periodSeconds?: number | undefined; successThreshold?: number | undefined; timeoutSeconds?: number | undefined; } /** Instance counts by region. */ export type CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigDaemonReplicasMap = { [key: string]: number | undefined; }; export type CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigDaemonResourcesRequestsMemory = | "1Gi" | "2Gi" | "4Gi" | "8Gi"; export interface CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigDaemonResourcesRequests { memory: CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigDaemonResourcesRequestsMemory; } export interface CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigDaemonResources { requests: CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigDaemonResourcesRequests; } /** Set when this build produces the named daemon. */ export interface CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigDaemon { /** Bindings to services in the same deployment. */ bindings?: | CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigDaemonBindingsList | undefined; command?: | CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigDaemonCommandList | undefined; entrypoint: string; /** Instance counts by region. */ instances?: | CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigDaemonInstancesMap | undefined; /** A Kubernetes-style HTTP liveness probe. */ livenessProbe?: | CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigDaemonLivenessProbe | undefined; /** Instance counts by region. */ replicas?: | CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigDaemonReplicasMap | undefined; resources?: | CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigDaemonResources | undefined; root: string; terminationGracePeriodSeconds?: number | undefined; name: string; } export type CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigExcludeFilesCase1List = Array; export type CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigExcludeFiles = | string | CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigExcludeFilesCase1List; export type CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigFunctionsValueAffinityMode = "strict"; export interface CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigFunctionsValueAffinity { mode: CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigFunctionsValueAffinityMode; } export type CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigFunctionsValueArchitecture = | "arm64" | "x86_64"; /** Event type - must be "queue/v1beta" (REQUIRED) */ export type CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigFunctionsValueExperimentalTriggersItemCase0Type = "queue/v1beta"; /** Queue trigger input event for v1beta (from vercel.json config). Requires explicit consumer name. */ export interface CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigFunctionsValueExperimentalTriggersItemCase0 { /** Name of the consumer group for this trigger (REQUIRED) */ consumer: string; /** Initial delay in seconds before first execution attempt (OPTIONAL) Must be 0 or greater. Use 0 for no initial delay. Behavior when not specified depends on the server's default configuration. */ initialDelaySeconds?: number | undefined; /** Maximum number of concurrent executions for this consumer (OPTIONAL) Must be at least 1 if specified. Behavior when not specified depends on the server's default configuration. */ maxConcurrency?: number | undefined; /** Maximum number of delivery attempts for message processing (OPTIONAL) This represents the total number of times a message can be delivered, not the number of retries. Must be at least 1 if specified. Behavior when not specified depends on the server's default configuration. */ maxDeliveries?: number | undefined; /** Delay in seconds before retrying failed executions (OPTIONAL) Behavior when not specified depends on the server's default configuration. */ retryAfterSeconds?: number | undefined; /** Name of the queue topic to consume from (REQUIRED) */ topic: string; /** Event type - must be "queue/v1beta" (REQUIRED) */ type: CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigFunctionsValueExperimentalTriggersItemCase0Type; } /** Event type - must be "queue/v2beta" (REQUIRED) */ export type CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigFunctionsValueExperimentalTriggersItemCase1Type = "queue/v2beta"; /** Queue trigger input event for v2beta (from vercel.json config). Consumer name is implicitly derived from the function path. Only one trigger per function is allowed. */ export interface CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigFunctionsValueExperimentalTriggersItemCase1 { /** Initial delay in seconds before first execution attempt (OPTIONAL) Must be 0 or greater. Use 0 for no initial delay. Behavior when not specified depends on the server's default configuration. */ initialDelaySeconds?: number | undefined; /** Maximum number of concurrent executions for this consumer (OPTIONAL) Must be at least 1 if specified. Behavior when not specified depends on the server's default configuration. */ maxConcurrency?: number | undefined; /** Maximum number of delivery attempts for message processing (OPTIONAL) This represents the total number of times a message can be delivered, not the number of retries. Must be at least 1 if specified. Behavior when not specified depends on the server's default configuration. */ maxDeliveries?: number | undefined; /** Delay in seconds before retrying failed executions (OPTIONAL) Behavior when not specified depends on the server's default configuration. */ retryAfterSeconds?: number | undefined; /** Name of the queue topic to consume from (REQUIRED) */ topic: string; /** Event type - must be "queue/v2beta" (REQUIRED) */ type: CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigFunctionsValueExperimentalTriggersItemCase1Type; } /** Event type - must be "schedule/v1beta" (REQUIRED) */ export type CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigFunctionsValueExperimentalTriggersItemCase2Type = "schedule/v1beta"; export interface CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigFunctionsValueExperimentalTriggersItemCase2 { /** Event type - must be "schedule/v1beta" (REQUIRED) */ type: CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigFunctionsValueExperimentalTriggersItemCase2Type; } export type CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigFunctionsValueExperimentalTriggersItem = | CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigFunctionsValueExperimentalTriggersItemCase0 | CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigFunctionsValueExperimentalTriggersItemCase1 | CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigFunctionsValueExperimentalTriggersItemCase2; export type CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigFunctionsValueExperimentalTriggersList = Array; export type CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigFunctionsValueFunctionFailoverRegionsList = Array; export type CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigFunctionsValueMaxDurationCase1 = "max"; export type CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigFunctionsValueMaxDuration = | number | CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigFunctionsValueMaxDurationCase1; export type CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigFunctionsValueRegionsList = Array; export interface CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigFunctionsValue { affinity?: | CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigFunctionsValueAffinity | undefined; architecture?: | CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigFunctionsValueArchitecture | undefined; excludeFiles?: string | undefined; experimentalTriggers?: | CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigFunctionsValueExperimentalTriggersList | undefined; functionFailoverRegions?: | CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigFunctionsValueFunctionFailoverRegionsList | undefined; includeFiles?: string | undefined; /** Overrides how dependencies are installed for this function. An empty string skips the install. Only honored by `@vercel/node`. */ installCommand?: string | undefined; maxConcurrency?: number | undefined; maxDuration?: | CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigFunctionsValueMaxDuration | undefined; memory?: number | undefined; regions?: | CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigFunctionsValueRegionsList | undefined; runtime?: string | undefined; supportsCancellation?: boolean | undefined; } export type CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigFunctionsMap = { [key: string]: | CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigFunctionsValue | undefined; }; export type CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigImportMap = { [key: string]: string | undefined; }; export type CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigIncludeFilesCase1List = Array; export type CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigIncludeFiles = | string | CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigIncludeFilesCase1List; /** Matcher supplied outside of the middleware source module. */ export type CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigMiddlewareMatcherCase1List = Array; export type CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigMiddlewareMatcher = | string | CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigMiddlewareMatcherCase1List; /** Enforced runtime for explicitly configured Routing Middleware. */ export type CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigMiddlewareRuntime = "nodejs"; export type CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigProjectSettingsVercelFlags = CancelDeploymentResponseProjectSettingsVercelFlags; export type CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigProjectSettings = CancelDeploymentResponseServicesItemCase0BuilderConfigProjectSettings; /** Names of the schedules that dispatch to this entrypoint, in config order. */ export type CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigScheduleFunctionEntrypointsItemScheduleNamesList = Array; export interface CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigScheduleFunctionEntrypointsItem { /** Runtime-specific entrypoint locator from `vercel.json`. */ entrypoint: string; /** Names of the schedules that dispatch to this entrypoint, in config order. */ scheduleNames: CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigScheduleFunctionEntrypointsItemScheduleNamesList; /** Project-relative source file that contains the entrypoint. */ sourceFile: string; } export type CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigScheduleFunctionEntrypointsList = Array; /** Set when this build produces a function for schedule entrypoints. */ export interface CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigScheduleFunction { entrypoints: CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigScheduleFunctionEntrypointsList; /** Function output path every schedule in this build targets. */ outputPath: string; } export interface CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfig { buildCommand?: string | undefined; /** Buildpack runtime slug (e.g. "ruby"). */ buildpack?: string | undefined; bundle?: boolean | undefined; bunVersion?: string | undefined; /** Set when this build produces the named daemon. */ daemon?: CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigDaemon | undefined; debug?: boolean | undefined; devCommand?: string | undefined; excludeFiles?: | CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigExcludeFiles | undefined; framework?: string | null | undefined; functions?: | CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigFunctionsMap | undefined; helpers?: boolean | undefined; import?: CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigImportMap | undefined; includeFiles?: | CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigIncludeFiles | undefined; installCommand?: string | undefined; ldsflags?: string | undefined; maxLambdaSize?: string | undefined; middleware?: boolean | undefined; middlewareMatcher?: | CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigMiddlewareMatcher | undefined; /** Enforced runtime for explicitly configured Routing Middleware. */ middlewareRuntime?: | CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigMiddlewareRuntime | undefined; nodeVersion?: string | undefined; outputDirectory?: string | undefined; projectSettings?: | CancelDeploymentResponseServicesItemCase0BuilderConfigProjectSettings | undefined; rust?: string | undefined; /** Set when this build produces a function for schedule entrypoints. */ scheduleFunction?: | CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigScheduleFunction | undefined; /** Owning service name; scopes per-function config such as the v2beta consumer. */ serviceName?: string | undefined; zeroConfig?: boolean | undefined; } /** Builder selected by the resolver. */ export interface CreateDeploymentResponseBodyCase1ServicesItemCase1Builder { config?: CreateDeploymentResponseBodyCase1ServicesItemCase1BuilderConfig | undefined; src?: string | undefined; use: string; } /** Command override for `runtime: "container"` services. */ export type CreateDeploymentResponseBodyCase1ServicesItemCase1CommandList = Array; export type CreateDeploymentResponseBodyCase1ServicesItemCase1FunctionsValueAffinityMode = "strict"; export interface CreateDeploymentResponseBodyCase1ServicesItemCase1FunctionsValueAffinity { mode: CreateDeploymentResponseBodyCase1ServicesItemCase1FunctionsValueAffinityMode; } export type CreateDeploymentResponseBodyCase1ServicesItemCase1FunctionsValueArchitecture = | "arm64" | "x86_64"; /** Event type - must be "queue/v1beta" (REQUIRED) */ export type CreateDeploymentResponseBodyCase1ServicesItemCase1FunctionsValueExperimentalTriggersItemCase0Type = "queue/v1beta"; /** Queue trigger input event for v1beta (from vercel.json config). Requires explicit consumer name. */ export interface CreateDeploymentResponseBodyCase1ServicesItemCase1FunctionsValueExperimentalTriggersItemCase0 { /** Name of the consumer group for this trigger (REQUIRED) */ consumer: string; /** Initial delay in seconds before first execution attempt (OPTIONAL) Must be 0 or greater. Use 0 for no initial delay. Behavior when not specified depends on the server's default configuration. */ initialDelaySeconds?: number | undefined; /** Maximum number of concurrent executions for this consumer (OPTIONAL) Must be at least 1 if specified. Behavior when not specified depends on the server's default configuration. */ maxConcurrency?: number | undefined; /** Maximum number of delivery attempts for message processing (OPTIONAL) This represents the total number of times a message can be delivered, not the number of retries. Must be at least 1 if specified. Behavior when not specified depends on the server's default configuration. */ maxDeliveries?: number | undefined; /** Delay in seconds before retrying failed executions (OPTIONAL) Behavior when not specified depends on the server's default configuration. */ retryAfterSeconds?: number | undefined; /** Name of the queue topic to consume from (REQUIRED) */ topic: string; /** Event type - must be "queue/v1beta" (REQUIRED) */ type: CreateDeploymentResponseBodyCase1ServicesItemCase1FunctionsValueExperimentalTriggersItemCase0Type; } /** Event type - must be "queue/v2beta" (REQUIRED) */ export type CreateDeploymentResponseBodyCase1ServicesItemCase1FunctionsValueExperimentalTriggersItemCase1Type = "queue/v2beta"; /** Queue trigger input event for v2beta (from vercel.json config). Consumer name is implicitly derived from the function path. Only one trigger per function is allowed. */ export interface CreateDeploymentResponseBodyCase1ServicesItemCase1FunctionsValueExperimentalTriggersItemCase1 { /** Initial delay in seconds before first execution attempt (OPTIONAL) Must be 0 or greater. Use 0 for no initial delay. Behavior when not specified depends on the server's default configuration. */ initialDelaySeconds?: number | undefined; /** Maximum number of concurrent executions for this consumer (OPTIONAL) Must be at least 1 if specified. Behavior when not specified depends on the server's default configuration. */ maxConcurrency?: number | undefined; /** Maximum number of delivery attempts for message processing (OPTIONAL) This represents the total number of times a message can be delivered, not the number of retries. Must be at least 1 if specified. Behavior when not specified depends on the server's default configuration. */ maxDeliveries?: number | undefined; /** Delay in seconds before retrying failed executions (OPTIONAL) Behavior when not specified depends on the server's default configuration. */ retryAfterSeconds?: number | undefined; /** Name of the queue topic to consume from (REQUIRED) */ topic: string; /** Event type - must be "queue/v2beta" (REQUIRED) */ type: CreateDeploymentResponseBodyCase1ServicesItemCase1FunctionsValueExperimentalTriggersItemCase1Type; } /** Event type - must be "schedule/v1beta" (REQUIRED) */ export type CreateDeploymentResponseBodyCase1ServicesItemCase1FunctionsValueExperimentalTriggersItemCase2Type = "schedule/v1beta"; export interface CreateDeploymentResponseBodyCase1ServicesItemCase1FunctionsValueExperimentalTriggersItemCase2 { /** Event type - must be "schedule/v1beta" (REQUIRED) */ type: CreateDeploymentResponseBodyCase1ServicesItemCase1FunctionsValueExperimentalTriggersItemCase2Type; } export type CreateDeploymentResponseBodyCase1ServicesItemCase1FunctionsValueExperimentalTriggersItem = | CreateDeploymentResponseBodyCase1ServicesItemCase1FunctionsValueExperimentalTriggersItemCase0 | CreateDeploymentResponseBodyCase1ServicesItemCase1FunctionsValueExperimentalTriggersItemCase1 | CreateDeploymentResponseBodyCase1ServicesItemCase1FunctionsValueExperimentalTriggersItemCase2; export type CreateDeploymentResponseBodyCase1ServicesItemCase1FunctionsValueExperimentalTriggersList = Array; export type CreateDeploymentResponseBodyCase1ServicesItemCase1FunctionsValueFunctionFailoverRegionsList = Array; export type CreateDeploymentResponseBodyCase1ServicesItemCase1FunctionsValueMaxDurationCase1 = "max"; export type CreateDeploymentResponseBodyCase1ServicesItemCase1FunctionsValueMaxDuration = | number | CreateDeploymentResponseBodyCase1ServicesItemCase1FunctionsValueMaxDurationCase1; export type CreateDeploymentResponseBodyCase1ServicesItemCase1FunctionsValueRegionsList = Array; /** Function configuration scoped to this service. */ export interface CreateDeploymentResponseBodyCase1ServicesItemCase1FunctionsValue { affinity?: CreateDeploymentResponseBodyCase1ServicesItemCase1FunctionsValueAffinity | undefined; architecture?: | CreateDeploymentResponseBodyCase1ServicesItemCase1FunctionsValueArchitecture | undefined; excludeFiles?: string | undefined; experimentalTriggers?: | CreateDeploymentResponseBodyCase1ServicesItemCase1FunctionsValueExperimentalTriggersList | undefined; functionFailoverRegions?: | CreateDeploymentResponseBodyCase1ServicesItemCase1FunctionsValueFunctionFailoverRegionsList | undefined; includeFiles?: string | undefined; /** Overrides how dependencies are installed for this function. An empty string skips the install. Only honored by `@vercel/node`. */ installCommand?: string | undefined; maxConcurrency?: number | undefined; maxDuration?: | CreateDeploymentResponseBodyCase1ServicesItemCase1FunctionsValueMaxDuration | undefined; memory?: number | undefined; regions?: CreateDeploymentResponseBodyCase1ServicesItemCase1FunctionsValueRegionsList | undefined; runtime?: string | undefined; supportsCancellation?: boolean | undefined; } /** Function configuration scoped to this service. */ export type CreateDeploymentResponseBodyCase1ServicesItemCase1FunctionsMap = { [key: string]: CreateDeploymentResponseBodyCase1ServicesItemCase1FunctionsValue | undefined; }; export type CreateDeploymentResponseBodyCase1ServicesItemCase1HeadersItemHasItemCase0Type = "host"; export type CreateDeploymentResponseBodyCase1ServicesItemCase1HeadersItemHasItemCase0ValueCase1Eq = | string | number; export type CreateDeploymentResponseBodyCase1ServicesItemCase1HeadersItemHasItemCase0ValueCase1IncList = Array; export type CreateDeploymentResponseBodyCase1ServicesItemCase1HeadersItemHasItemCase0ValueCase1NincList = Array; export interface CreateDeploymentResponseBodyCase1ServicesItemCase1HeadersItemHasItemCase0ValueCase1 { eq?: | CreateDeploymentResponseBodyCase1ServicesItemCase1HeadersItemHasItemCase0ValueCase1Eq | undefined; gt?: number | undefined; gte?: number | undefined; inc?: | CreateDeploymentResponseBodyCase1ServicesItemCase1HeadersItemHasItemCase0ValueCase1IncList | undefined; lt?: number | undefined; lte?: number | undefined; neq?: string | undefined; ninc?: | CreateDeploymentResponseBodyCase1ServicesItemCase1HeadersItemHasItemCase0ValueCase1NincList | undefined; pre?: string | undefined; re?: string | undefined; suf?: string | undefined; } export type CreateDeploymentResponseBodyCase1ServicesItemCase1HeadersItemHasItemCase0Value = | string | CreateDeploymentResponseBodyCase1ServicesItemCase1HeadersItemHasItemCase0ValueCase1; export interface CreateDeploymentResponseBodyCase1ServicesItemCase1HeadersItemHasItemCase0 { type: CreateDeploymentResponseBodyCase1ServicesItemCase1HeadersItemHasItemCase0Type; value: CreateDeploymentResponseBodyCase1ServicesItemCase1HeadersItemHasItemCase0Value; } export type CreateDeploymentResponseBodyCase1ServicesItemCase1HeadersItemHasItemCase1Type = | "cookie" | "header" | "query"; export type CreateDeploymentResponseBodyCase1ServicesItemCase1HeadersItemHasItemCase1ValueCase1Eq = | string | number; export type CreateDeploymentResponseBodyCase1ServicesItemCase1HeadersItemHasItemCase1ValueCase1IncList = Array; export type CreateDeploymentResponseBodyCase1ServicesItemCase1HeadersItemHasItemCase1ValueCase1NincList = Array; export interface CreateDeploymentResponseBodyCase1ServicesItemCase1HeadersItemHasItemCase1ValueCase1 { eq?: | CreateDeploymentResponseBodyCase1ServicesItemCase1HeadersItemHasItemCase1ValueCase1Eq | undefined; gt?: number | undefined; gte?: number | undefined; inc?: | CreateDeploymentResponseBodyCase1ServicesItemCase1HeadersItemHasItemCase1ValueCase1IncList | undefined; lt?: number | undefined; lte?: number | undefined; neq?: string | undefined; ninc?: | CreateDeploymentResponseBodyCase1ServicesItemCase1HeadersItemHasItemCase1ValueCase1NincList | undefined; pre?: string | undefined; re?: string | undefined; suf?: string | undefined; } export type CreateDeploymentResponseBodyCase1ServicesItemCase1HeadersItemHasItemCase1Value = | string | CreateDeploymentResponseBodyCase1ServicesItemCase1HeadersItemHasItemCase1ValueCase1; export interface CreateDeploymentResponseBodyCase1ServicesItemCase1HeadersItemHasItemCase1 { key: string; type: CreateDeploymentResponseBodyCase1ServicesItemCase1HeadersItemHasItemCase1Type; value?: | CreateDeploymentResponseBodyCase1ServicesItemCase1HeadersItemHasItemCase1Value | undefined; } export type CreateDeploymentResponseBodyCase1ServicesItemCase1HeadersItemHasItem = | CreateDeploymentResponseBodyCase1ServicesItemCase1HeadersItemHasItemCase0 | CreateDeploymentResponseBodyCase1ServicesItemCase1HeadersItemHasItemCase1; export type CreateDeploymentResponseBodyCase1ServicesItemCase1HeadersItemHasList = Array; export type CreateDeploymentResponseBodyCase1ServicesItemCase1HeadersItemHeadersItem = CancelDeploymentResponseServicesItemCase1HeadersItemHeadersItem; export type CreateDeploymentResponseBodyCase1ServicesItemCase1HeadersItemHeadersList = Array; export type CreateDeploymentResponseBodyCase1ServicesItemCase1HeadersItemMissingItemCase0Type = "host"; export type CreateDeploymentResponseBodyCase1ServicesItemCase1HeadersItemMissingItemCase0ValueCase1Eq = | string | number; export type CreateDeploymentResponseBodyCase1ServicesItemCase1HeadersItemMissingItemCase0ValueCase1IncList = Array; export type CreateDeploymentResponseBodyCase1ServicesItemCase1HeadersItemMissingItemCase0ValueCase1NincList = Array; export interface CreateDeploymentResponseBodyCase1ServicesItemCase1HeadersItemMissingItemCase0ValueCase1 { eq?: | CreateDeploymentResponseBodyCase1ServicesItemCase1HeadersItemMissingItemCase0ValueCase1Eq | undefined; gt?: number | undefined; gte?: number | undefined; inc?: | CreateDeploymentResponseBodyCase1ServicesItemCase1HeadersItemMissingItemCase0ValueCase1IncList | undefined; lt?: number | undefined; lte?: number | undefined; neq?: string | undefined; ninc?: | CreateDeploymentResponseBodyCase1ServicesItemCase1HeadersItemMissingItemCase0ValueCase1NincList | undefined; pre?: string | undefined; re?: string | undefined; suf?: string | undefined; } export type CreateDeploymentResponseBodyCase1ServicesItemCase1HeadersItemMissingItemCase0Value = | string | CreateDeploymentResponseBodyCase1ServicesItemCase1HeadersItemMissingItemCase0ValueCase1; export interface CreateDeploymentResponseBodyCase1ServicesItemCase1HeadersItemMissingItemCase0 { type: CreateDeploymentResponseBodyCase1ServicesItemCase1HeadersItemMissingItemCase0Type; value: CreateDeploymentResponseBodyCase1ServicesItemCase1HeadersItemMissingItemCase0Value; } export type CreateDeploymentResponseBodyCase1ServicesItemCase1HeadersItemMissingItemCase1Type = | "cookie" | "header" | "query"; export type CreateDeploymentResponseBodyCase1ServicesItemCase1HeadersItemMissingItemCase1ValueCase1Eq = | string | number; export type CreateDeploymentResponseBodyCase1ServicesItemCase1HeadersItemMissingItemCase1ValueCase1IncList = Array; export type CreateDeploymentResponseBodyCase1ServicesItemCase1HeadersItemMissingItemCase1ValueCase1NincList = Array; export interface CreateDeploymentResponseBodyCase1ServicesItemCase1HeadersItemMissingItemCase1ValueCase1 { eq?: | CreateDeploymentResponseBodyCase1ServicesItemCase1HeadersItemMissingItemCase1ValueCase1Eq | undefined; gt?: number | undefined; gte?: number | undefined; inc?: | CreateDeploymentResponseBodyCase1ServicesItemCase1HeadersItemMissingItemCase1ValueCase1IncList | undefined; lt?: number | undefined; lte?: number | undefined; neq?: string | undefined; ninc?: | CreateDeploymentResponseBodyCase1ServicesItemCase1HeadersItemMissingItemCase1ValueCase1NincList | undefined; pre?: string | undefined; re?: string | undefined; suf?: string | undefined; } export type CreateDeploymentResponseBodyCase1ServicesItemCase1HeadersItemMissingItemCase1Value = | string | CreateDeploymentResponseBodyCase1ServicesItemCase1HeadersItemMissingItemCase1ValueCase1; export interface CreateDeploymentResponseBodyCase1ServicesItemCase1HeadersItemMissingItemCase1 { key: string; type: CreateDeploymentResponseBodyCase1ServicesItemCase1HeadersItemMissingItemCase1Type; value?: | CreateDeploymentResponseBodyCase1ServicesItemCase1HeadersItemMissingItemCase1Value | undefined; } export type CreateDeploymentResponseBodyCase1ServicesItemCase1HeadersItemMissingItem = | CreateDeploymentResponseBodyCase1ServicesItemCase1HeadersItemMissingItemCase0 | CreateDeploymentResponseBodyCase1ServicesItemCase1HeadersItemMissingItemCase1; export type CreateDeploymentResponseBodyCase1ServicesItemCase1HeadersItemMissingList = Array; export interface CreateDeploymentResponseBodyCase1ServicesItemCase1HeadersItem { has?: CreateDeploymentResponseBodyCase1ServicesItemCase1HeadersItemHasList | undefined; headers: CreateDeploymentResponseBodyCase1ServicesItemCase1HeadersItemHeadersList; missing?: CreateDeploymentResponseBodyCase1ServicesItemCase1HeadersItemMissingList | undefined; source: string; } export type CreateDeploymentResponseBodyCase1ServicesItemCase1HeadersList = Array; export type CreateDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemEnvList = Array; export type CreateDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemHasItemCase0Type = "host"; export type CreateDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemHasItemCase0ValueCase1Eq = | string | number; export type CreateDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemHasItemCase0ValueCase1IncList = Array; export type CreateDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemHasItemCase0ValueCase1NincList = Array; export interface CreateDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemHasItemCase0ValueCase1 { eq?: | CreateDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemHasItemCase0ValueCase1Eq | undefined; gt?: number | undefined; gte?: number | undefined; inc?: | CreateDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemHasItemCase0ValueCase1IncList | undefined; lt?: number | undefined; lte?: number | undefined; neq?: string | undefined; ninc?: | CreateDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemHasItemCase0ValueCase1NincList | undefined; pre?: string | undefined; re?: string | undefined; suf?: string | undefined; } export type CreateDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemHasItemCase0Value = | string | CreateDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemHasItemCase0ValueCase1; export interface CreateDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemHasItemCase0 { type: CreateDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemHasItemCase0Type; value: CreateDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemHasItemCase0Value; } export type CreateDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemHasItemCase1Type = | "cookie" | "header" | "query"; export type CreateDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemHasItemCase1ValueCase1Eq = | string | number; export type CreateDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemHasItemCase1ValueCase1IncList = Array; export type CreateDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemHasItemCase1ValueCase1NincList = Array; export interface CreateDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemHasItemCase1ValueCase1 { eq?: | CreateDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemHasItemCase1ValueCase1Eq | undefined; gt?: number | undefined; gte?: number | undefined; inc?: | CreateDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemHasItemCase1ValueCase1IncList | undefined; lt?: number | undefined; lte?: number | undefined; neq?: string | undefined; ninc?: | CreateDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemHasItemCase1ValueCase1NincList | undefined; pre?: string | undefined; re?: string | undefined; suf?: string | undefined; } export type CreateDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemHasItemCase1Value = | string | CreateDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemHasItemCase1ValueCase1; export interface CreateDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemHasItemCase1 { key: string; type: CreateDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemHasItemCase1Type; value?: | CreateDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemHasItemCase1Value | undefined; } export type CreateDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemHasItem = | CreateDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemHasItemCase0 | CreateDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemHasItemCase1; export type CreateDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemHasList = Array; export type CreateDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemMissingItemCase0Type = "host"; export type CreateDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemMissingItemCase0ValueCase1Eq = | string | number; export type CreateDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemMissingItemCase0ValueCase1IncList = Array; export type CreateDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemMissingItemCase0ValueCase1NincList = Array; export interface CreateDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemMissingItemCase0ValueCase1 { eq?: | CreateDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemMissingItemCase0ValueCase1Eq | undefined; gt?: number | undefined; gte?: number | undefined; inc?: | CreateDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemMissingItemCase0ValueCase1IncList | undefined; lt?: number | undefined; lte?: number | undefined; neq?: string | undefined; ninc?: | CreateDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemMissingItemCase0ValueCase1NincList | undefined; pre?: string | undefined; re?: string | undefined; suf?: string | undefined; } export type CreateDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemMissingItemCase0Value = | string | CreateDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemMissingItemCase0ValueCase1; export interface CreateDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemMissingItemCase0 { type: CreateDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemMissingItemCase0Type; value: CreateDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemMissingItemCase0Value; } export type CreateDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemMissingItemCase1Type = | "cookie" | "header" | "query"; export type CreateDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemMissingItemCase1ValueCase1Eq = | string | number; export type CreateDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemMissingItemCase1ValueCase1IncList = Array; export type CreateDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemMissingItemCase1ValueCase1NincList = Array; export interface CreateDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemMissingItemCase1ValueCase1 { eq?: | CreateDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemMissingItemCase1ValueCase1Eq | undefined; gt?: number | undefined; gte?: number | undefined; inc?: | CreateDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemMissingItemCase1ValueCase1IncList | undefined; lt?: number | undefined; lte?: number | undefined; neq?: string | undefined; ninc?: | CreateDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemMissingItemCase1ValueCase1NincList | undefined; pre?: string | undefined; re?: string | undefined; suf?: string | undefined; } export type CreateDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemMissingItemCase1Value = | string | CreateDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemMissingItemCase1ValueCase1; export interface CreateDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemMissingItemCase1 { key: string; type: CreateDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemMissingItemCase1Type; value?: | CreateDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemMissingItemCase1Value | undefined; } export type CreateDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemMissingItem = | CreateDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemMissingItemCase0 | CreateDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemMissingItemCase1; export type CreateDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemMissingList = Array; export interface CreateDeploymentResponseBodyCase1ServicesItemCase1RedirectsItem { destination: string; env?: CreateDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemEnvList | undefined; has?: CreateDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemHasList | undefined; missing?: CreateDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemMissingList | undefined; permanent?: boolean | undefined; source: string; statusCode?: number | undefined; } export type CreateDeploymentResponseBodyCase1ServicesItemCase1RedirectsList = Array; /** Optional explicit format marker. The destination is identified by the presence of `service`, so `type` is no longer required. */ export type CreateDeploymentResponseBodyCase1ServicesItemCase1RewritesItemDestinationCase1Type = "service"; export interface CreateDeploymentResponseBodyCase1ServicesItemCase1RewritesItemDestinationCase1 { /** Routing-only path used to select a route inside the target service. */ path?: string | undefined; service: string; /** Optional explicit format marker. The destination is identified by the presence of `service`, so `type` is no longer required. */ type?: | CreateDeploymentResponseBodyCase1ServicesItemCase1RewritesItemDestinationCase1Type | undefined; } export type CreateDeploymentResponseBodyCase1ServicesItemCase1RewritesItemDestination = | string | CreateDeploymentResponseBodyCase1ServicesItemCase1RewritesItemDestinationCase1; export type CreateDeploymentResponseBodyCase1ServicesItemCase1RewritesItemEnvList = Array; export type CreateDeploymentResponseBodyCase1ServicesItemCase1RewritesItemHasItemCase0Type = "host"; export type CreateDeploymentResponseBodyCase1ServicesItemCase1RewritesItemHasItemCase0ValueCase1Eq = | string | number; export type CreateDeploymentResponseBodyCase1ServicesItemCase1RewritesItemHasItemCase0ValueCase1IncList = Array; export type CreateDeploymentResponseBodyCase1ServicesItemCase1RewritesItemHasItemCase0ValueCase1NincList = Array; export interface CreateDeploymentResponseBodyCase1ServicesItemCase1RewritesItemHasItemCase0ValueCase1 { eq?: | CreateDeploymentResponseBodyCase1ServicesItemCase1RewritesItemHasItemCase0ValueCase1Eq | undefined; gt?: number | undefined; gte?: number | undefined; inc?: | CreateDeploymentResponseBodyCase1ServicesItemCase1RewritesItemHasItemCase0ValueCase1IncList | undefined; lt?: number | undefined; lte?: number | undefined; neq?: string | undefined; ninc?: | CreateDeploymentResponseBodyCase1ServicesItemCase1RewritesItemHasItemCase0ValueCase1NincList | undefined; pre?: string | undefined; re?: string | undefined; suf?: string | undefined; } export type CreateDeploymentResponseBodyCase1ServicesItemCase1RewritesItemHasItemCase0Value = | string | CreateDeploymentResponseBodyCase1ServicesItemCase1RewritesItemHasItemCase0ValueCase1; export interface CreateDeploymentResponseBodyCase1ServicesItemCase1RewritesItemHasItemCase0 { type: CreateDeploymentResponseBodyCase1ServicesItemCase1RewritesItemHasItemCase0Type; value: CreateDeploymentResponseBodyCase1ServicesItemCase1RewritesItemHasItemCase0Value; } export type CreateDeploymentResponseBodyCase1ServicesItemCase1RewritesItemHasItemCase1Type = | "cookie" | "header" | "query"; export type CreateDeploymentResponseBodyCase1ServicesItemCase1RewritesItemHasItemCase1ValueCase1Eq = | string | number; export type CreateDeploymentResponseBodyCase1ServicesItemCase1RewritesItemHasItemCase1ValueCase1IncList = Array; export type CreateDeploymentResponseBodyCase1ServicesItemCase1RewritesItemHasItemCase1ValueCase1NincList = Array; export interface CreateDeploymentResponseBodyCase1ServicesItemCase1RewritesItemHasItemCase1ValueCase1 { eq?: | CreateDeploymentResponseBodyCase1ServicesItemCase1RewritesItemHasItemCase1ValueCase1Eq | undefined; gt?: number | undefined; gte?: number | undefined; inc?: | CreateDeploymentResponseBodyCase1ServicesItemCase1RewritesItemHasItemCase1ValueCase1IncList | undefined; lt?: number | undefined; lte?: number | undefined; neq?: string | undefined; ninc?: | CreateDeploymentResponseBodyCase1ServicesItemCase1RewritesItemHasItemCase1ValueCase1NincList | undefined; pre?: string | undefined; re?: string | undefined; suf?: string | undefined; } export type CreateDeploymentResponseBodyCase1ServicesItemCase1RewritesItemHasItemCase1Value = | string | CreateDeploymentResponseBodyCase1ServicesItemCase1RewritesItemHasItemCase1ValueCase1; export interface CreateDeploymentResponseBodyCase1ServicesItemCase1RewritesItemHasItemCase1 { key: string; type: CreateDeploymentResponseBodyCase1ServicesItemCase1RewritesItemHasItemCase1Type; value?: | CreateDeploymentResponseBodyCase1ServicesItemCase1RewritesItemHasItemCase1Value | undefined; } export type CreateDeploymentResponseBodyCase1ServicesItemCase1RewritesItemHasItem = | CreateDeploymentResponseBodyCase1ServicesItemCase1RewritesItemHasItemCase0 | CreateDeploymentResponseBodyCase1ServicesItemCase1RewritesItemHasItemCase1; export type CreateDeploymentResponseBodyCase1ServicesItemCase1RewritesItemHasList = Array; export type CreateDeploymentResponseBodyCase1ServicesItemCase1RewritesItemMissingItemCase0Type = "host"; export type CreateDeploymentResponseBodyCase1ServicesItemCase1RewritesItemMissingItemCase0ValueCase1Eq = | string | number; export type CreateDeploymentResponseBodyCase1ServicesItemCase1RewritesItemMissingItemCase0ValueCase1IncList = Array; export type CreateDeploymentResponseBodyCase1ServicesItemCase1RewritesItemMissingItemCase0ValueCase1NincList = Array; export interface CreateDeploymentResponseBodyCase1ServicesItemCase1RewritesItemMissingItemCase0ValueCase1 { eq?: | CreateDeploymentResponseBodyCase1ServicesItemCase1RewritesItemMissingItemCase0ValueCase1Eq | undefined; gt?: number | undefined; gte?: number | undefined; inc?: | CreateDeploymentResponseBodyCase1ServicesItemCase1RewritesItemMissingItemCase0ValueCase1IncList | undefined; lt?: number | undefined; lte?: number | undefined; neq?: string | undefined; ninc?: | CreateDeploymentResponseBodyCase1ServicesItemCase1RewritesItemMissingItemCase0ValueCase1NincList | undefined; pre?: string | undefined; re?: string | undefined; suf?: string | undefined; } export type CreateDeploymentResponseBodyCase1ServicesItemCase1RewritesItemMissingItemCase0Value = | string | CreateDeploymentResponseBodyCase1ServicesItemCase1RewritesItemMissingItemCase0ValueCase1; export interface CreateDeploymentResponseBodyCase1ServicesItemCase1RewritesItemMissingItemCase0 { type: CreateDeploymentResponseBodyCase1ServicesItemCase1RewritesItemMissingItemCase0Type; value: CreateDeploymentResponseBodyCase1ServicesItemCase1RewritesItemMissingItemCase0Value; } export type CreateDeploymentResponseBodyCase1ServicesItemCase1RewritesItemMissingItemCase1Type = | "cookie" | "header" | "query"; export type CreateDeploymentResponseBodyCase1ServicesItemCase1RewritesItemMissingItemCase1ValueCase1Eq = | string | number; export type CreateDeploymentResponseBodyCase1ServicesItemCase1RewritesItemMissingItemCase1ValueCase1IncList = Array; export type CreateDeploymentResponseBodyCase1ServicesItemCase1RewritesItemMissingItemCase1ValueCase1NincList = Array; export interface CreateDeploymentResponseBodyCase1ServicesItemCase1RewritesItemMissingItemCase1ValueCase1 { eq?: | CreateDeploymentResponseBodyCase1ServicesItemCase1RewritesItemMissingItemCase1ValueCase1Eq | undefined; gt?: number | undefined; gte?: number | undefined; inc?: | CreateDeploymentResponseBodyCase1ServicesItemCase1RewritesItemMissingItemCase1ValueCase1IncList | undefined; lt?: number | undefined; lte?: number | undefined; neq?: string | undefined; ninc?: | CreateDeploymentResponseBodyCase1ServicesItemCase1RewritesItemMissingItemCase1ValueCase1NincList | undefined; pre?: string | undefined; re?: string | undefined; suf?: string | undefined; } export type CreateDeploymentResponseBodyCase1ServicesItemCase1RewritesItemMissingItemCase1Value = | string | CreateDeploymentResponseBodyCase1ServicesItemCase1RewritesItemMissingItemCase1ValueCase1; export interface CreateDeploymentResponseBodyCase1ServicesItemCase1RewritesItemMissingItemCase1 { key: string; type: CreateDeploymentResponseBodyCase1ServicesItemCase1RewritesItemMissingItemCase1Type; value?: | CreateDeploymentResponseBodyCase1ServicesItemCase1RewritesItemMissingItemCase1Value | undefined; } export type CreateDeploymentResponseBodyCase1ServicesItemCase1RewritesItemMissingItem = | CreateDeploymentResponseBodyCase1ServicesItemCase1RewritesItemMissingItemCase0 | CreateDeploymentResponseBodyCase1ServicesItemCase1RewritesItemMissingItemCase1; export type CreateDeploymentResponseBodyCase1ServicesItemCase1RewritesItemMissingList = Array; export type CreateDeploymentResponseBodyCase1ServicesItemCase1RewritesItemTransformsItemEnvList = Array; export type CreateDeploymentResponseBodyCase1ServicesItemCase1RewritesItemTransformsItemOp = "set"; export type CreateDeploymentResponseBodyCase1ServicesItemCase1RewritesItemTransformsItemType = "request.path"; export interface CreateDeploymentResponseBodyCase1ServicesItemCase1RewritesItemTransformsItem { args: string; env?: | CreateDeploymentResponseBodyCase1ServicesItemCase1RewritesItemTransformsItemEnvList | undefined; /** Keep an earlier request.path value. Builders use this for fallback routes. */ fallback?: boolean | undefined; op: CreateDeploymentResponseBodyCase1ServicesItemCase1RewritesItemTransformsItemOp; type: CreateDeploymentResponseBodyCase1ServicesItemCase1RewritesItemTransformsItemType; } export type CreateDeploymentResponseBodyCase1ServicesItemCase1RewritesItemTransformsList = Array; export interface CreateDeploymentResponseBodyCase1ServicesItemCase1RewritesItem { destination: CreateDeploymentResponseBodyCase1ServicesItemCase1RewritesItemDestination; env?: CreateDeploymentResponseBodyCase1ServicesItemCase1RewritesItemEnvList | undefined; has?: CreateDeploymentResponseBodyCase1ServicesItemCase1RewritesItemHasList | undefined; missing?: CreateDeploymentResponseBodyCase1ServicesItemCase1RewritesItemMissingList | undefined; respectOriginCacheControl?: boolean | undefined; source: string; statusCode?: number | undefined; transforms?: | CreateDeploymentResponseBodyCase1ServicesItemCase1RewritesItemTransformsList | undefined; } export type CreateDeploymentResponseBodyCase1ServicesItemCase1RewritesList = Array; /** Optional explicit format marker. The destination is identified by the presence of `service`, so `type` is no longer required. */ export type CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0DestinationCase1Type = "service"; export interface CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0DestinationCase1 { /** Routing-only path used to select a route inside the target service. */ path?: string | undefined; service: string; /** Optional explicit format marker. The destination is identified by the presence of `service`, so `type` is no longer required. */ type?: | CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0DestinationCase1Type | undefined; } export type CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0Destination = | string | CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0DestinationCase1; export type CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0EnvList = Array; export type CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0HasItemCase0Type = "host"; export type CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0HasItemCase0ValueCase1Eq = | string | number; export type CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0HasItemCase0ValueCase1IncList = Array; export type CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0HasItemCase0ValueCase1NincList = Array; export interface CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0HasItemCase0ValueCase1 { eq?: | CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0HasItemCase0ValueCase1Eq | undefined; gt?: number | undefined; gte?: number | undefined; inc?: | CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0HasItemCase0ValueCase1IncList | undefined; lt?: number | undefined; lte?: number | undefined; neq?: string | undefined; ninc?: | CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0HasItemCase0ValueCase1NincList | undefined; pre?: string | undefined; re?: string | undefined; suf?: string | undefined; } export type CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0HasItemCase0Value = | string | CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0HasItemCase0ValueCase1; export interface CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0HasItemCase0 { type: CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0HasItemCase0Type; value: CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0HasItemCase0Value; } export type CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0HasItemCase1Type = | "cookie" | "header" | "query"; export type CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0HasItemCase1ValueCase1Eq = | string | number; export type CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0HasItemCase1ValueCase1IncList = Array; export type CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0HasItemCase1ValueCase1NincList = Array; export interface CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0HasItemCase1ValueCase1 { eq?: | CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0HasItemCase1ValueCase1Eq | undefined; gt?: number | undefined; gte?: number | undefined; inc?: | CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0HasItemCase1ValueCase1IncList | undefined; lt?: number | undefined; lte?: number | undefined; neq?: string | undefined; ninc?: | CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0HasItemCase1ValueCase1NincList | undefined; pre?: string | undefined; re?: string | undefined; suf?: string | undefined; } export type CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0HasItemCase1Value = | string | CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0HasItemCase1ValueCase1; export interface CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0HasItemCase1 { key: string; type: CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0HasItemCase1Type; value?: | CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0HasItemCase1Value | undefined; } export type CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0HasItem = | CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0HasItemCase0 | CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0HasItemCase1; export type CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0HasList = Array; export type CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0HeadersMap = { [key: string]: string | undefined; }; export type CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0LocaleRedirectMap = { [key: string]: string | undefined; }; export interface CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0Locale { cookie?: string | undefined; redirect?: | CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0LocaleRedirectMap | undefined; } export type CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0MethodsList = Array; /** The original middleware matchers. */ export type CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0MiddlewareRawSrcList = Array; export type CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0MissingItemCase0Type = "host"; export type CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0MissingItemCase0ValueCase1Eq = | string | number; export type CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0MissingItemCase0ValueCase1IncList = Array; export type CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0MissingItemCase0ValueCase1NincList = Array; export interface CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0MissingItemCase0ValueCase1 { eq?: | CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0MissingItemCase0ValueCase1Eq | undefined; gt?: number | undefined; gte?: number | undefined; inc?: | CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0MissingItemCase0ValueCase1IncList | undefined; lt?: number | undefined; lte?: number | undefined; neq?: string | undefined; ninc?: | CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0MissingItemCase0ValueCase1NincList | undefined; pre?: string | undefined; re?: string | undefined; suf?: string | undefined; } export type CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0MissingItemCase0Value = | string | CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0MissingItemCase0ValueCase1; export interface CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0MissingItemCase0 { type: CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0MissingItemCase0Type; value: CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0MissingItemCase0Value; } export type CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0MissingItemCase1Type = | "cookie" | "header" | "query"; export type CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0MissingItemCase1ValueCase1Eq = | string | number; export type CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0MissingItemCase1ValueCase1IncList = Array; export type CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0MissingItemCase1ValueCase1NincList = Array; export interface CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0MissingItemCase1ValueCase1 { eq?: | CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0MissingItemCase1ValueCase1Eq | undefined; gt?: number | undefined; gte?: number | undefined; inc?: | CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0MissingItemCase1ValueCase1IncList | undefined; lt?: number | undefined; lte?: number | undefined; neq?: string | undefined; ninc?: | CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0MissingItemCase1ValueCase1NincList | undefined; pre?: string | undefined; re?: string | undefined; suf?: string | undefined; } export type CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0MissingItemCase1Value = | string | CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0MissingItemCase1ValueCase1; export interface CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0MissingItemCase1 { key: string; type: CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0MissingItemCase1Type; value?: | CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0MissingItemCase1Value | undefined; } export type CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0MissingItem = | CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0MissingItemCase0 | CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0MissingItemCase1; export type CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0MissingList = Array; export type CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0MitigateAction = | "challenge" | "deny"; export interface CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0Mitigate { action: CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0MitigateAction; } export type CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0TransformsItemCase0ArgsCase1List = Array; export type CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0TransformsItemCase0Args = | string | CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0TransformsItemCase0ArgsCase1List; export type CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0TransformsItemCase0EnvList = Array; export type CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0TransformsItemCase0Op = | "append" | "delete" | "set"; export type CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0TransformsItemCase0TargetKeyCase1Eq = | string | number; export type CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0TransformsItemCase0TargetKeyCase1IncList = Array; export type CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0TransformsItemCase0TargetKeyCase1NincList = Array; export interface CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0TransformsItemCase0TargetKeyCase1 { eq?: | CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0TransformsItemCase0TargetKeyCase1Eq | undefined; gt?: number | undefined; gte?: number | undefined; inc?: | CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0TransformsItemCase0TargetKeyCase1IncList | undefined; lt?: number | undefined; lte?: number | undefined; neq?: string | undefined; ninc?: | CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0TransformsItemCase0TargetKeyCase1NincList | undefined; pre?: string | undefined; suf?: string | undefined; } export type CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0TransformsItemCase0TargetKey = | string | CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0TransformsItemCase0TargetKeyCase1; export interface CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0TransformsItemCase0Target { key: CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0TransformsItemCase0TargetKey; } export type CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0TransformsItemCase0Type = | "request.headers" | "request.query" | "response.headers"; export interface CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0TransformsItemCase0 { args?: | CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0TransformsItemCase0Args | undefined; env?: | CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0TransformsItemCase0EnvList | undefined; op: CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0TransformsItemCase0Op; target: CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0TransformsItemCase0Target; type: CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0TransformsItemCase0Type; } export type CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0TransformsItemCase1EnvList = Array; export type CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0TransformsItemCase1Op = "set"; export type CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0TransformsItemCase1Type = "request.path"; export interface CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0TransformsItemCase1 { args: string; env?: | CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0TransformsItemCase1EnvList | undefined; /** Keep an earlier request.path value. Builders use this for fallback routes. */ fallback?: boolean | undefined; op: CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0TransformsItemCase1Op; type: CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0TransformsItemCase1Type; } export type CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0TransformsItem = | CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0TransformsItemCase0 | CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0TransformsItemCase1; export type CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0TransformsList = Array; export interface CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0 { caseSensitive?: boolean | undefined; check?: boolean | undefined; continue?: boolean | undefined; dest?: string | undefined; destination?: | CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0Destination | undefined; env?: CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0EnvList | undefined; has?: CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0HasList | undefined; headers?: CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0HeadersMap | undefined; important?: boolean | undefined; locale?: CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0Locale | undefined; methods?: | CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0MethodsList | undefined; /** A middleware index in the `middleware` key under the build result */ middleware?: number | undefined; /** A middleware key within the `output` key under the build result. Overrides a `middleware` definition. */ middlewarePath?: string | undefined; /** The original middleware matchers. */ middlewareRawSrc?: | CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0MiddlewareRawSrcList | undefined; missing?: | CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0MissingList | undefined; mitigate?: CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0Mitigate | undefined; override?: boolean | undefined; respectOriginCacheControl?: boolean | undefined; /** Aliases for `src`, `dest`, and `status`. These provide consistency with the `rewrites`, `redirects`, and `headers` fields which use `source`, `destination`, and `statusCode`. During normalization, the string forms are converted to their canonical forms (`src`, `dest`, `status`) and stripped from the route object. `destination` may also be a service-targeted object, in which case routing is delegated into the named service's internal route table and the object is preserved as-is (not folded into `dest`). */ source?: string | undefined; src: string; status?: number | undefined; statusCode?: number | undefined; transforms?: | CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0TransformsList | undefined; } export type CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase1Handle = | "error" | "filesystem" | "hit" | "miss" | "resource" | "rewrite"; export interface CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase1 { dest?: string | undefined; handle: CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase1Handle; src?: string | undefined; status?: number | undefined; } export type CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItem = | CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0 | CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase1; export type CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesList = Array; export type CreateDeploymentResponseBodyCase1ServicesItemCase1Schema = "experimentalServicesV2"; /** Services detected during build from vercel.json experimentalServices or auto-detected from project structure. Used to inject service URLs as environment variables at runtime. */ export interface CreateDeploymentResponseBodyCase1ServicesItemCase1 { /** Caller-side bindings to other services. */ bindings?: CreateDeploymentResponseBodyCase1ServicesItemCase1BindingsList | undefined; buildCommand?: string | undefined; /** Builder selected by the resolver. */ builder: CreateDeploymentResponseBodyCase1ServicesItemCase1Builder; cleanUrls?: boolean | undefined; /** Command override for `runtime: "container"` services. */ command?: CreateDeploymentResponseBodyCase1ServicesItemCase1CommandList | undefined; devCommand?: string | undefined; /** Resolved entrypoint, relative to the service root. */ entrypoint?: string | undefined; framework?: string | undefined; /** Function configuration scoped to this service. */ functions?: CreateDeploymentResponseBodyCase1ServicesItemCase1FunctionsMap | undefined; headers?: CreateDeploymentResponseBodyCase1ServicesItemCase1HeadersList | undefined; ignoreCommand?: string | undefined; installCommand?: string | undefined; name: string; outputDirectory?: string | undefined; redirects?: CreateDeploymentResponseBodyCase1ServicesItemCase1RedirectsList | undefined; rewrites?: CreateDeploymentResponseBodyCase1ServicesItemCase1RewritesList | undefined; /** Path to the service root, relative to the project root. */ root: string; routes?: CreateDeploymentResponseBodyCase1ServicesItemCase1RoutesList | undefined; runtime?: string | undefined; schema: CreateDeploymentResponseBodyCase1ServicesItemCase1Schema; trailingSlash?: boolean | undefined; } export type CreateDeploymentResponseBodyCase1ServicesItem = | CreateDeploymentResponseBodyCase1ServicesItemCase0 | CreateDeploymentResponseBodyCase1ServicesItemCase1; /** Services detected during build from vercel.json experimentalServices or auto-detected from project structure. Used to inject service URLs as environment variables at runtime. */ export type CreateDeploymentResponseBodyCase1ServicesList = Array; /** Where was the deployment created from. Best-effort guess for metrics only -- not authoritative; do not gate behavior on it. */ export type CreateDeploymentResponseBodyCase1Source = | "api-trigger-git-deploy" | "cli" | "clone/repo" | "drop" | "git" | "git-deploy-hook" | "import" | "import/repo" | "redeploy" | "v0-web"; export type CreateDeploymentResponseBodyCase1Status = | "BLOCKED" | "BUILDING" | "CANCELED" | "ERROR" | "INITIALIZING" | "QUEUED" | "READY"; /** If defined, either `staging` if a staging alias in the format `..now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment. */ export type CreateDeploymentResponseBodyCase1Target = "production" | "staging"; /** The team that owns the deployment if any */ export type CreateDeploymentResponseBodyCase1Team = CancelDeploymentResponseTeam; export type CreateDeploymentResponseBodyCase1Type = "LAMBDAS"; /** An array of domains that were provided by the user when creating the Deployment. */ export type CreateDeploymentResponseBodyCase1UserAliasesList = Array; /** The platform version that was used to create the deployment. */ export type CreateDeploymentResponseBodyCase1Version = 2; /** Returns the newly created deployment object. Poll `readyState` to track build progress. See https://vercel.com/docs/deployments/deployment-states for possible states. */ export interface CreateDeploymentResponseBodyCase1 { /** A list of all the aliases (default aliases, staging aliases and production aliases) that were assigned upon deployment creation */ alias?: CreateDeploymentResponseBodyCase1AliasList | undefined; /** A boolean that will be true when the aliases from the alias property were assigned successfully */ aliasAssigned: boolean; aliasAssignedAt?: CreateDeploymentResponseBodyCase1AliasAssignedAt | null | undefined; /** An object that will contain a `code` and a `message` when the aliasing fails, otherwise the value will be `null` */ aliasError?: CancelDeploymentResponseAliasError | null | undefined; aliasFinal?: string | null | undefined; aliasWarning?: CancelDeploymentResponseAliasWarning | null | undefined; alwaysRefuseToBuild?: boolean | undefined; atproto?: CreateDeploymentResponseBodyCase1Atproto | undefined; /** Attribution metadata for the deployment, linking commit author to git and Vercel users. Only populated when the `enable-deployment-attribution` flag is enabled. */ attribution?: CreateDeploymentResponseBodyCase1Attribution | undefined; /** applies to custom domains only, defaults to `true` */ autoAssignCustomDomains?: boolean | undefined; automaticAliases?: CreateDeploymentResponseBodyCase1AutomaticAliasesList | undefined; bootedAt: number; build: CreateDeploymentResponseBodyCase1Build; buildArtifactUrls?: CreateDeploymentResponseBodyCase1BuildArtifactUrlsList | undefined; /** Since April 2025 it necessary for On-Demand Concurrency Minutes calculation */ buildContainerFinishedAt?: number | undefined; buildErrorAt?: number | undefined; buildingAt: number; builds?: CreateDeploymentResponseBodyCase1BuildsList | undefined; buildSkipped: boolean; canceledAt?: number | undefined; checks?: CreateDeploymentResponseBodyCase1Checks | undefined; checksConclusion?: CreateDeploymentResponseBodyCase1ChecksConclusion | undefined; checksState?: CreateDeploymentResponseBodyCase1ChecksState | undefined; /** Since February 2025 the configuration must include snapshot data at the time of deployment creation to capture properties for the /deployments/:id/config endpoint utilized for displaying Deployment Configuration on the frontend This is optional because older deployments may not have this data captured */ config?: CreateDeploymentResponseBodyCase1Config | undefined; connectBuildsEnabled?: boolean | undefined; connectConfigurationId?: string | undefined; /** A number containing the date when the deployment was created in milliseconds */ createdAt: number; createdIn: string; /** Information about the deployment creator */ creator: CreateDeploymentResponseBodyCase1Creator; crons?: CreateDeploymentResponseBodyCase1CronsList | undefined; customEnvironment?: CreateDeploymentResponseBodyCase1CustomEnvironment | undefined; /** Computed field that is only available for deployments with a microfrontend configuration. */ defaultRoute?: string | undefined; /** A number containing the date when the deployment was deleted at milliseconds */ deletedAt?: number | null | undefined; duration: CancelDeploymentResponseDuration; env: CreateDeploymentResponseBodyCase1EnvList; errorCode?: string | undefined; errorLink?: string | undefined; errorMessage?: string | null | undefined; errorStep?: string | undefined; flags?: CreateDeploymentResponseBodyCase1Flags | undefined; functions?: CreateDeploymentResponseBodyCase1FunctionsMap | null | undefined; gitRepo?: CreateDeploymentResponseBodyCase1GitRepo | null | undefined; gitSource?: CreateDeploymentResponseBodyCase1GitSource | undefined; /** A string holding the unique ID of the deployment */ id: string; images?: CreateDeploymentResponseBodyCase1Images | undefined; initReadyAt?: number | undefined; inspectorUrl: string | null; integrations?: CreateDeploymentResponseBodyCase1Integrations | undefined; isFirstBranchDeployment?: boolean | undefined; isInConcurrentBuildsQueue: boolean; /** Whether this deployment completed through the instant static fast path. */ isInstantStatic?: boolean | undefined; isInSystemBuildsQueue: boolean; lambdas?: CreateDeploymentResponseBodyCase1LambdasList | undefined; /** Present when deployment was created with manual provisioning enabled, either explicitly or via the experimental BYOC git flow. The deployment stays in INITIALIZING until /continue is called. */ manualProvisioning?: CreateDeploymentResponseBodyCase1ManualProvisioning | undefined; meta: CreateDeploymentResponseBodyCase1MetaMap; microfrontends?: CreateDeploymentResponseBodyCase1Microfrontends | undefined; monorepoManager?: string | null | undefined; /** The name of the project associated with the deployment at the time that the deployment was created */ name: string; /** If set it overrides the `projectSettings.nodeVersion` for this deployment. */ nodeVersion?: CreateDeploymentResponseBodyCase1NodeVersion | undefined; oidcTokenClaims?: CreateDeploymentResponseBodyCase1OidcTokenClaims | undefined; oomReport?: CreateDeploymentResponseBodyCase1OomReport | undefined; originCacheRegion?: string | undefined; ownerId: string; /** Since November 2023 this field defines a Secure Compute network that will only be used to deploy passive lambdas to (as in passiveRegions) */ passiveConnectConfigurationId?: string | undefined; /** Since November 2023 this field defines a set of regions that we will deploy the lambda to passively Lambdas will be deployed to these regions but only invoked if all of the primary `regions` are marked as out of service */ passiveRegions?: CreateDeploymentResponseBodyCase1PassiveRegionsList | undefined; plan: CreateDeploymentResponseBodyCase1Plan; /** Metadata about the source platform that triggered the deployment. Allows us to map a deployment back to a platform (e.g. the chat that created it) */ platform?: CreateDeploymentResponseBodyCase1Platform | undefined; prebuilt?: boolean | undefined; /** Whether or not preview comments are enabled for the deployment */ previewCommentsEnabled?: boolean | undefined; /** The public project information associated with the deployment. */ project?: CancelDeploymentResponseProject | undefined; projectId: string; projectSettings: CreateDeploymentResponseBodyCase1ProjectSettings; /** A boolean representing if the deployment is public or not. By default this is `false` */ public: boolean; ready?: number | undefined; /** The state of the deployment depending on the process of deploying, or if it is ready or in an error state */ readyState: CreateDeploymentResponseBodyCase1ReadyState; readyStateReason?: string | undefined; /** Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - ROLLING: in the process of having production traffic gradually transitioned. - PROMOTED: has seen production traffic */ readySubstate?: CreateDeploymentResponseBodyCase1ReadySubstate | undefined; /** The regions the deployment exists in */ regions: CreateDeploymentResponseBodyCase1RegionsList; resourceConfig?: CreateDeploymentResponseBodyCase1ResourceConfig | undefined; routes: CreateDeploymentResponseBodyCase1RoutesList | null; /** NSNB Blocked metadata */ seatBlock?: CreateDeploymentResponseBodyCase1SeatBlock | undefined; /** Services detected during build from vercel.json experimentalServices or auto-detected from project structure. Used to inject service URLs as environment variables at runtime. */ services?: CreateDeploymentResponseBodyCase1ServicesList | undefined; /** flag to indicate if the deployment was deleted by retention policy */ softDeletedByRetention?: boolean | undefined; /** Where was the deployment created from. Best-effort guess for metrics only -- not authoritative; do not gate behavior on it. */ source?: CreateDeploymentResponseBodyCase1Source | undefined; status: CreateDeploymentResponseBodyCase1Status; /** If defined, either `staging` if a staging alias in the format `..now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment. */ target?: CreateDeploymentResponseBodyCase1Target | null | undefined; /** The team that owns the deployment if any */ team?: CancelDeploymentResponseTeam | undefined; ttyBuildLogs?: boolean | undefined; type: CreateDeploymentResponseBodyCase1Type; /** A number containing the date when the deployment was undeleted at milliseconds */ undeletedAt?: number | undefined; /** A string with the unique URL of the deployment */ url: string; /** An array of domains that were provided by the user when creating the Deployment. */ userAliases?: CreateDeploymentResponseBodyCase1UserAliasesList | undefined; /** Since January 2025 User-configured deployment ID for skew protection with pre-built deployments. This is set when users configure a custom deploymentId in their next.config.js file. This allows Next.js to use skew protection even when deployments are pre-built outside of Vercel's build system. */ userConfiguredDeploymentId?: string | undefined; /** The platform version that was used to create the deployment. */ version: CreateDeploymentResponseBodyCase1Version; } export type CreateDeploymentResponseBody = | CreateDeploymentResponseBodyCase0 | CreateDeploymentResponseBodyCase1; export type CreateDeploymentResponse = CreateDeploymentResponseBody; export interface DeleteDeploymentRequest { /** The ID of the deployment to be deleted */ id: string; /** A Deployment or Alias URL. In case it is passed, the ID will be ignored */ url?: string | undefined; /** 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; } /** A constant with the final state of the deployment. */ export type DeleteDeploymentResponseState = "DELETED"; export interface DeleteDeploymentResponse { /** A constant with the final state of the deployment. */ state: DeleteDeploymentResponseState; /** The removed deployment ID. */ uid: string; } export interface GetDeploymentRequest { /** The unique identifier or hostname of the deployment. */ idOrUrl: string; /** When `true`, the response includes the `gitSource` object with the commit SHA, branch name, and connected repository metadata. Defaults to `false`. */ withGitRepoInfo?: string | undefined; /** The Team identifier to perform the request on behalf of. */ teamId?: string | undefined; /** The Team slug to perform the request on behalf of. */ slug?: string | undefined; } export type GetDeploymentResponseBodyCase0AliasList = Array; /** An object that will contain a `code` and a `message` when the aliasing fails, otherwise the value will be `null` */ export type GetDeploymentResponseBodyCase0AliasError = CancelDeploymentResponseAliasError; export type GetDeploymentResponseBodyCase0AliasWarning = CancelDeploymentResponseAliasWarning; export type GetDeploymentResponseBodyCase0Duration = CancelDeploymentResponseDuration; /** The state of the deployment depending on the process of deploying, or if it is ready or in an error state */ export type GetDeploymentResponseBodyCase0ReadyState = | "BLOCKED" | "BUILDING" | "CANCELED" | "ERROR" | "INITIALIZING" | "QUEUED" | "READY"; /** If defined, either `staging` if a staging alias in the format `..now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment. */ export type GetDeploymentResponseBodyCase0Target = "production" | "staging"; /** Returns the reduced deployment view for anonymous (`vcn_`) callers. Pool-team details are withheld. */ export interface GetDeploymentResponseBodyCase0 { alias?: GetDeploymentResponseBodyCase0AliasList | undefined; aliasAssigned: boolean; /** An object that will contain a `code` and a `message` when the aliasing fails, otherwise the value will be `null` */ aliasError?: CancelDeploymentResponseAliasError | null | undefined; aliasWarning?: CancelDeploymentResponseAliasWarning | null | undefined; duration: CancelDeploymentResponseDuration; errorCode?: string | undefined; errorMessage?: string | null | undefined; /** A string holding the unique ID of the deployment */ id: string; /** The state of the deployment depending on the process of deploying, or if it is ready or in an error state */ readyState: GetDeploymentResponseBodyCase0ReadyState; /** If defined, either `staging` if a staging alias in the format `..now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment. */ target?: GetDeploymentResponseBodyCase0Target | null | undefined; } /** A list of all the aliases (default aliases, staging aliases and production aliases) that were assigned upon deployment creation */ export type GetDeploymentResponseBodyCase1AliasList = Array; export type GetDeploymentResponseBodyCase1AliasAssignedAt = number | boolean; /** An object that will contain a `code` and a `message` when the aliasing fails, otherwise the value will be `null` */ export type GetDeploymentResponseBodyCase1AliasError = CancelDeploymentResponseAliasError; export type GetDeploymentResponseBodyCase1AliasWarning = CancelDeploymentResponseAliasWarning; export type GetDeploymentResponseBodyCase1AtprotoCase0 = CancelDeploymentResponseAtprotoCase0; export type GetDeploymentResponseBodyCase1AtprotoCase1SubscriptionCollectionsList = Array; export type GetDeploymentResponseBodyCase1AtprotoCase1SubscriptionDidsList = Array; export type GetDeploymentResponseBodyCase1AtprotoCase1SubscriptionKindsItem = | "account" | "commit" | "identity" | "sync"; export type GetDeploymentResponseBodyCase1AtprotoCase1SubscriptionKindsList = Array; export interface GetDeploymentResponseBodyCase1AtprotoCase1Subscription { collections: GetDeploymentResponseBodyCase1AtprotoCase1SubscriptionCollectionsList; dids?: GetDeploymentResponseBodyCase1AtprotoCase1SubscriptionDidsList | undefined; kinds?: GetDeploymentResponseBodyCase1AtprotoCase1SubscriptionKindsList | undefined; path: string; } export interface GetDeploymentResponseBodyCase1AtprotoCase1 { enabled: boolean; subscription: GetDeploymentResponseBodyCase1AtprotoCase1Subscription; } export type GetDeploymentResponseBodyCase1Atproto = | CancelDeploymentResponseAtprotoCase0 | GetDeploymentResponseBodyCase1AtprotoCase1; /** Commit metadata from the git commit author */ export type GetDeploymentResponseBodyCase1AttributionCommitMeta = CancelDeploymentResponseAttributionCommitMeta; export type GetDeploymentResponseBodyCase1AttributionGitUserId = string | number; /** Git provider user associated with the commit author email (only set if resolved) */ export interface GetDeploymentResponseBodyCase1AttributionGitUser { id: GetDeploymentResponseBodyCase1AttributionGitUserId; /** Git provider username/login */ login: string; /** The git provider (github, gitlab, bitbucket) */ provider?: string | undefined; /** User type */ type?: string | undefined; } /** Team roles at time of deployment */ export type GetDeploymentResponseBodyCase1AttributionVercelUserTeamRolesList = Array; /** Vercel user linked to the git provider account (only set if resolved) */ export interface GetDeploymentResponseBodyCase1AttributionVercelUser { /** Vercel user ID */ id: string; /** Team roles at time of deployment */ teamRoles?: GetDeploymentResponseBodyCase1AttributionVercelUserTeamRolesList | undefined; /** Vercel username */ username: string; } /** Attribution metadata for the deployment, linking commit author to git and Vercel users. Only populated when the `enable-deployment-attribution` flag is enabled. */ export interface GetDeploymentResponseBodyCase1Attribution { /** Commit metadata from the git commit author */ commitMeta?: CancelDeploymentResponseAttributionCommitMeta | undefined; /** Git provider user associated with the commit author email (only set if resolved) */ gitUser?: GetDeploymentResponseBodyCase1AttributionGitUser | undefined; /** Vercel user linked to the git provider account (only set if resolved) */ vercelUser?: GetDeploymentResponseBodyCase1AttributionVercelUser | undefined; } export type GetDeploymentResponseBodyCase1AutomaticAliasesList = Array; export type GetDeploymentResponseBodyCase1BuildEnvList = Array; export interface GetDeploymentResponseBodyCase1Build { env: GetDeploymentResponseBodyCase1BuildEnvList; } export type GetDeploymentResponseBodyCase1BuildArtifactUrlsList = Array; export type GetDeploymentResponseBodyCase1BuildsItemConfigMap = { [key: string]: unknown | undefined; }; export interface GetDeploymentResponseBodyCase1BuildsItem { config?: GetDeploymentResponseBodyCase1BuildsItemConfigMap | undefined; src?: string | undefined; use: string; } export type GetDeploymentResponseBodyCase1BuildsList = Array; export type GetDeploymentResponseBodyCase1ChecksDeploymentAliasState = | "failed" | "pending" | "succeeded"; export interface GetDeploymentResponseBodyCase1ChecksDeploymentAlias { completedAt?: number | undefined; startedAt: number; state: GetDeploymentResponseBodyCase1ChecksDeploymentAliasState; } export interface GetDeploymentResponseBodyCase1Checks { deployment_alias: GetDeploymentResponseBodyCase1ChecksDeploymentAlias; } export type GetDeploymentResponseBodyCase1ChecksConclusion = | "canceled" | "failed" | "skipped" | "succeeded"; export type GetDeploymentResponseBodyCase1ChecksState = "completed" | "registered" | "running"; export type GetDeploymentResponseBodyCase1ConfigFunctionMemoryType = | "performance" | "performance_xl" | "standard" | "standard_legacy"; export type GetDeploymentResponseBodyCase1ConfigFunctionType = "fluid" | "standard"; /** Build resource configuration snapshot for this deployment. */ export type GetDeploymentResponseBodyCase1ConfigResourceConfigBuildQueueConfiguration = | "SKIP_NAMESPACE_QUEUE" | "WAIT_FOR_NAMESPACE_QUEUE"; /** Build resource configuration snapshot for this deployment. */ export interface GetDeploymentResponseBodyCase1ConfigResourceConfigBuildQueue { /** Build resource configuration snapshot for this deployment. */ configuration?: | GetDeploymentResponseBodyCase1ConfigResourceConfigBuildQueueConfiguration | undefined; } /** When elastic concurrency is used for this deployment, a value is set. The value tells the reason where the setting was coming from. - TEAM_SETTING: Inherited from team settings - PROJECT_SETTING: Inherited from project settings - SKIP_QUEUE: Manually triggered by user to skip the queues */ export type GetDeploymentResponseBodyCase1ConfigResourceConfigElasticConcurrency = | "PROJECT_SETTING" | "SKIP_QUEUE" | "TEAM_SETTING"; /** Machine type that was used for the build. */ export type GetDeploymentResponseBodyCase1ConfigResourceConfigBuildMachinePurchaseType = | "14cpu-28gb" | "basic" | "enhanced" | "standard" | "turbo"; export interface GetDeploymentResponseBodyCase1ConfigResourceConfigBuildMachine { /** Machine type that was used for the build. */ purchaseType?: | GetDeploymentResponseBodyCase1ConfigResourceConfigBuildMachinePurchaseType | null | undefined; } /** Build resource configuration snapshot for this deployment. */ export interface GetDeploymentResponseBodyCase1ConfigResourceConfig { /** Build resource configuration snapshot for this deployment. */ buildQueue?: GetDeploymentResponseBodyCase1ConfigResourceConfigBuildQueue | undefined; /** When elastic concurrency is used for this deployment, a value is set. The value tells the reason where the setting was coming from. - TEAM_SETTING: Inherited from team settings - PROJECT_SETTING: Inherited from project settings - SKIP_QUEUE: Manually triggered by user to skip the queues */ elasticConcurrency?: | GetDeploymentResponseBodyCase1ConfigResourceConfigElasticConcurrency | undefined; buildMachine?: GetDeploymentResponseBodyCase1ConfigResourceConfigBuildMachine | undefined; } /** Since February 2025 the configuration must include snapshot data at the time of deployment creation to capture properties for the /deployments/:id/config endpoint utilized for displaying Deployment Configuration on the frontend This is optional because older deployments may not have this data captured */ export interface GetDeploymentResponseBodyCase1Config { functionMemoryType: GetDeploymentResponseBodyCase1ConfigFunctionMemoryType; functionTimeout: number | null; functionType: GetDeploymentResponseBodyCase1ConfigFunctionType; isUsingActiveCPU?: boolean | undefined; /** Build resource configuration snapshot for this deployment. */ resourceConfig?: GetDeploymentResponseBodyCase1ConfigResourceConfig | undefined; secureComputeFallbackRegion: string | null; secureComputePrimaryRegion: string | null; version?: number | undefined; } /** Principal type of the deployment creator. */ export type GetDeploymentResponseBodyCase1CreatorType = | "app" | "integration" | "project" | "system" | "user"; /** Information about the deployment creator */ export interface GetDeploymentResponseBodyCase1Creator { /** The avatar of the user that created the deployment */ avatar?: string | undefined; /** Principal type of the deployment creator. */ type?: GetDeploymentResponseBodyCase1CreatorType | undefined; /** Stable creator id across principal types (user id, app id, integration configuration id, or `system`). */ uid: string; /** The username of the user that created the deployment */ username?: string | undefined; } export type GetDeploymentResponseBodyCase1CronsItem = CancelDeploymentResponseCronsItem; export type GetDeploymentResponseBodyCase1CronsList = Array; /** The type of matching to perform */ export type GetDeploymentResponseBodyCase1CustomEnvironmentCase0BranchMatcherType = | "endsWith" | "equals" | "startsWith"; /** Configuration for matching git branches to this environment */ export interface GetDeploymentResponseBodyCase1CustomEnvironmentCase0BranchMatcher { /** The pattern to match against branch names */ pattern: string; /** The type of matching to perform */ type: GetDeploymentResponseBodyCase1CustomEnvironmentCase0BranchMatcherType; } /** List of aliases for the current deployment */ export type GetDeploymentResponseBodyCase1CustomEnvironmentCase0CurrentDeploymentAliasesList = Array; export type GetDeploymentResponseBodyCase1CustomEnvironmentCase0DomainsItemRedirectStatusCode = | 301 | 302 | 307 | 308; /** 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 GetDeploymentResponseBodyCase1CustomEnvironmentCase0DomainsItemVerificationItem = CancelDeploymentResponseCustomEnvironmentCase0DomainsItemVerificationItem; /** 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 GetDeploymentResponseBodyCase1CustomEnvironmentCase0DomainsItemVerificationList = Array; /** List of domains associated with this environment */ export interface GetDeploymentResponseBodyCase1CustomEnvironmentCase0DomainsItem { apexName: string; createdAt?: number | undefined; customEnvironmentId?: string | null | undefined; gitBranch?: string | null | undefined; name: string; projectId: string; redirect?: string | null | undefined; redirectStatusCode?: | GetDeploymentResponseBodyCase1CustomEnvironmentCase0DomainsItemRedirectStatusCode | null | undefined; updatedAt?: number | undefined; /** 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?: | GetDeploymentResponseBodyCase1CustomEnvironmentCase0DomainsItemVerificationList | 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; } /** List of domains associated with this environment */ export type GetDeploymentResponseBodyCase1CustomEnvironmentCase0DomainsList = Array; /** The type of environment (production, preview, or development) */ export type GetDeploymentResponseBodyCase1CustomEnvironmentCase0Type = | "development" | "preview" | "production"; /** If the deployment was created using a Custom Environment, then this property contains information regarding the environment used. */ export interface GetDeploymentResponseBodyCase1CustomEnvironmentCase0 { /** Configuration for matching git branches to this environment */ branchMatcher?: GetDeploymentResponseBodyCase1CustomEnvironmentCase0BranchMatcher | undefined; /** Timestamp when the environment was created */ createdAt: number; /** List of aliases for the current deployment */ currentDeploymentAliases?: | GetDeploymentResponseBodyCase1CustomEnvironmentCase0CurrentDeploymentAliasesList | undefined; /** Optional description of the environment's purpose */ description?: string | undefined; /** List of domains associated with this environment */ domains?: GetDeploymentResponseBodyCase1CustomEnvironmentCase0DomainsList | undefined; /** 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: GetDeploymentResponseBodyCase1CustomEnvironmentCase0Type; /** Timestamp when the environment was last updated */ updatedAt: number; } /** If the deployment was created using a Custom Environment, then this property contains information regarding the environment used. */ export type GetDeploymentResponseBodyCase1CustomEnvironmentCase1 = CancelDeploymentResponseCustomEnvironmentCase1; export type GetDeploymentResponseBodyCase1CustomEnvironment = | GetDeploymentResponseBodyCase1CustomEnvironmentCase0 | CancelDeploymentResponseCustomEnvironmentCase1; export type GetDeploymentResponseBodyCase1Duration = CancelDeploymentResponseDuration; export type GetDeploymentResponseBodyCase1EnvList = Array; export type GetDeploymentResponseBodyCase1FlagsCase0DefinitionsValueOptionsItem = CancelDeploymentResponseFlagsCase0DefinitionsValueOptionsItem; export type GetDeploymentResponseBodyCase1FlagsCase0DefinitionsValueOptionsList = Array; export interface GetDeploymentResponseBodyCase1FlagsCase0DefinitionsValue { description?: string | undefined; options?: GetDeploymentResponseBodyCase1FlagsCase0DefinitionsValueOptionsList | undefined; url?: string | undefined; } export type GetDeploymentResponseBodyCase1FlagsCase0DefinitionsMap = { [key: string]: GetDeploymentResponseBodyCase1FlagsCase0DefinitionsValue | undefined; }; /** Flags defined in the Build Output API, used by this deployment. Primarily used by the Toolbar to know about the used flags. */ export interface GetDeploymentResponseBodyCase1FlagsCase0 { definitions: GetDeploymentResponseBodyCase1FlagsCase0DefinitionsMap; } /** Flags defined in the Build Output API, used by this deployment. Primarily used by the Toolbar to know about the used flags. */ export type GetDeploymentResponseBodyCase1FlagsCase1List = Array; export type GetDeploymentResponseBodyCase1Flags = | GetDeploymentResponseBodyCase1FlagsCase0 | GetDeploymentResponseBodyCase1FlagsCase1List; export type GetDeploymentResponseBodyCase1FunctionsValueAffinityMode = "strict"; export interface GetDeploymentResponseBodyCase1FunctionsValueAffinity { mode: GetDeploymentResponseBodyCase1FunctionsValueAffinityMode; } export type GetDeploymentResponseBodyCase1FunctionsValueArchitecture = "arm64" | "x86_64"; /** Event type - must be "queue/v1beta" (REQUIRED) */ export type GetDeploymentResponseBodyCase1FunctionsValueExperimentalTriggersItemCase0Type = "queue/v1beta"; /** Queue trigger input event for v1beta (from vercel.json config). Requires explicit consumer name. */ export interface GetDeploymentResponseBodyCase1FunctionsValueExperimentalTriggersItemCase0 { /** Name of the consumer group for this trigger (REQUIRED) */ consumer: string; /** Initial delay in seconds before first execution attempt (OPTIONAL) Must be 0 or greater. Use 0 for no initial delay. Behavior when not specified depends on the server's default configuration. */ initialDelaySeconds?: number | undefined; /** Maximum number of concurrent executions for this consumer (OPTIONAL) Must be at least 1 if specified. Behavior when not specified depends on the server's default configuration. */ maxConcurrency?: number | undefined; /** Maximum number of delivery attempts for message processing (OPTIONAL) This represents the total number of times a message can be delivered, not the number of retries. Must be at least 1 if specified. Behavior when not specified depends on the server's default configuration. */ maxDeliveries?: number | undefined; /** Delay in seconds before retrying failed executions (OPTIONAL) Behavior when not specified depends on the server's default configuration. */ retryAfterSeconds?: number | undefined; /** Name of the queue topic to consume from (REQUIRED) */ topic: string; /** Event type - must be "queue/v1beta" (REQUIRED) */ type: GetDeploymentResponseBodyCase1FunctionsValueExperimentalTriggersItemCase0Type; } /** Event type - must be "queue/v2beta" (REQUIRED) */ export type GetDeploymentResponseBodyCase1FunctionsValueExperimentalTriggersItemCase1Type = "queue/v2beta"; /** Queue trigger input event for v2beta (from vercel.json config). Consumer name is implicitly derived from the function path. Only one trigger per function is allowed. */ export interface GetDeploymentResponseBodyCase1FunctionsValueExperimentalTriggersItemCase1 { /** Initial delay in seconds before first execution attempt (OPTIONAL) Must be 0 or greater. Use 0 for no initial delay. Behavior when not specified depends on the server's default configuration. */ initialDelaySeconds?: number | undefined; /** Maximum number of concurrent executions for this consumer (OPTIONAL) Must be at least 1 if specified. Behavior when not specified depends on the server's default configuration. */ maxConcurrency?: number | undefined; /** Maximum number of delivery attempts for message processing (OPTIONAL) This represents the total number of times a message can be delivered, not the number of retries. Must be at least 1 if specified. Behavior when not specified depends on the server's default configuration. */ maxDeliveries?: number | undefined; /** Delay in seconds before retrying failed executions (OPTIONAL) Behavior when not specified depends on the server's default configuration. */ retryAfterSeconds?: number | undefined; /** Name of the queue topic to consume from (REQUIRED) */ topic: string; /** Event type - must be "queue/v2beta" (REQUIRED) */ type: GetDeploymentResponseBodyCase1FunctionsValueExperimentalTriggersItemCase1Type; } /** Event type - must be "schedule/v1beta" (REQUIRED) */ export type GetDeploymentResponseBodyCase1FunctionsValueExperimentalTriggersItemCase2Type = "schedule/v1beta"; export interface GetDeploymentResponseBodyCase1FunctionsValueExperimentalTriggersItemCase2 { /** Event type - must be "schedule/v1beta" (REQUIRED) */ type: GetDeploymentResponseBodyCase1FunctionsValueExperimentalTriggersItemCase2Type; } export type GetDeploymentResponseBodyCase1FunctionsValueExperimentalTriggersItem = | GetDeploymentResponseBodyCase1FunctionsValueExperimentalTriggersItemCase0 | GetDeploymentResponseBodyCase1FunctionsValueExperimentalTriggersItemCase1 | GetDeploymentResponseBodyCase1FunctionsValueExperimentalTriggersItemCase2; export type GetDeploymentResponseBodyCase1FunctionsValueExperimentalTriggersList = Array; export type GetDeploymentResponseBodyCase1FunctionsValueFunctionFailoverRegionsList = Array; export type GetDeploymentResponseBodyCase1FunctionsValueMaxDurationCase1 = "max"; export type GetDeploymentResponseBodyCase1FunctionsValueMaxDuration = | number | GetDeploymentResponseBodyCase1FunctionsValueMaxDurationCase1; export type GetDeploymentResponseBodyCase1FunctionsValueRegionsList = Array; export interface GetDeploymentResponseBodyCase1FunctionsValue { affinity?: GetDeploymentResponseBodyCase1FunctionsValueAffinity | undefined; architecture?: GetDeploymentResponseBodyCase1FunctionsValueArchitecture | undefined; excludeFiles?: string | undefined; experimentalTriggers?: | GetDeploymentResponseBodyCase1FunctionsValueExperimentalTriggersList | undefined; functionFailoverRegions?: | GetDeploymentResponseBodyCase1FunctionsValueFunctionFailoverRegionsList | undefined; includeFiles?: string | undefined; /** Overrides how dependencies are installed for this function. An empty string skips the install. Only honored by `@vercel/node`. */ installCommand?: string | undefined; maxConcurrency?: number | undefined; maxDuration?: GetDeploymentResponseBodyCase1FunctionsValueMaxDuration | undefined; memory?: number | undefined; regions?: GetDeploymentResponseBodyCase1FunctionsValueRegionsList | undefined; runtime?: string | undefined; supportsCancellation?: boolean | undefined; } export type GetDeploymentResponseBodyCase1FunctionsMap = { [key: string]: GetDeploymentResponseBodyCase1FunctionsValue | undefined; }; export type GetDeploymentResponseBodyCase1GitRepoCase0OwnerType = "team" | "user"; export type GetDeploymentResponseBodyCase1GitRepoCase0Type = "gitlab"; export interface GetDeploymentResponseBodyCase1GitRepoCase0 { defaultBranch: string; name: string; namespace: string; ownerType: GetDeploymentResponseBodyCase1GitRepoCase0OwnerType; path: string; private: boolean; projectId: number; type: GetDeploymentResponseBodyCase1GitRepoCase0Type; url: string; } export type GetDeploymentResponseBodyCase1GitRepoCase1OwnerType = "team" | "user"; export type GetDeploymentResponseBodyCase1GitRepoCase1Type = "github"; export interface GetDeploymentResponseBodyCase1GitRepoCase1 { defaultBranch: string; name: string; org: string; ownerType: GetDeploymentResponseBodyCase1GitRepoCase1OwnerType; path: string; private: boolean; repo: string; repoId: number; repoOwnerId: number; type: GetDeploymentResponseBodyCase1GitRepoCase1Type; } export type GetDeploymentResponseBodyCase1GitRepoCase2OwnerType = "team" | "user"; export type GetDeploymentResponseBodyCase1GitRepoCase2Type = "bitbucket"; export interface GetDeploymentResponseBodyCase1GitRepoCase2 { defaultBranch: string; name: string; owner: string; ownerType: GetDeploymentResponseBodyCase1GitRepoCase2OwnerType; path: string; private: boolean; repoUuid: string; slug: string; type: GetDeploymentResponseBodyCase1GitRepoCase2Type; workspaceUuid: string; } export type GetDeploymentResponseBodyCase1GitRepoCase3OwnerType = "team" | "user"; export type GetDeploymentResponseBodyCase1GitRepoCase3Type = "vercel"; export interface GetDeploymentResponseBodyCase1GitRepoCase3 { defaultBranch: string; name: string; org: string; ownerType: GetDeploymentResponseBodyCase1GitRepoCase3OwnerType; path: string; private: boolean; repo: string; type: GetDeploymentResponseBodyCase1GitRepoCase3Type; } export type GetDeploymentResponseBodyCase1GitRepoCase4OwnerType = "team" | "user"; export type GetDeploymentResponseBodyCase1GitRepoCase4Type = "cursor-origin"; export interface GetDeploymentResponseBodyCase1GitRepoCase4 { defaultBranch: string; name: string; /** Owner (namespace) slug. */ owner: string; ownerType: GetDeploymentResponseBodyCase1GitRepoCase4OwnerType; path: string; private: boolean; repo: string; /** Origin repository id. */ repoId: string; type: GetDeploymentResponseBodyCase1GitRepoCase4Type; } export type GetDeploymentResponseBodyCase1GitRepo = | GetDeploymentResponseBodyCase1GitRepoCase0 | GetDeploymentResponseBodyCase1GitRepoCase1 | GetDeploymentResponseBodyCase1GitRepoCase2 | GetDeploymentResponseBodyCase1GitRepoCase3 | GetDeploymentResponseBodyCase1GitRepoCase4; export type GetDeploymentResponseBodyCase1GitSourceCase0RepoId = string | number; export type GetDeploymentResponseBodyCase1GitSourceCase0Type = "github"; export interface GetDeploymentResponseBodyCase1GitSourceCase0 { prId?: number | null | undefined; ref?: string | null | undefined; repoId: GetDeploymentResponseBodyCase1GitSourceCase0RepoId; sha?: string | undefined; type: GetDeploymentResponseBodyCase1GitSourceCase0Type; } export type GetDeploymentResponseBodyCase1GitSourceCase1Type = "github"; export interface GetDeploymentResponseBodyCase1GitSourceCase1 { org: string; prId?: number | null | undefined; ref?: string | null | undefined; repo: string; sha?: string | undefined; type: GetDeploymentResponseBodyCase1GitSourceCase1Type; } export type GetDeploymentResponseBodyCase1GitSourceCase2RepoId = string | number; export type GetDeploymentResponseBodyCase1GitSourceCase2Type = "github-custom-host"; export interface GetDeploymentResponseBodyCase1GitSourceCase2 { host: string; prId?: number | null | undefined; ref?: string | null | undefined; repoId: GetDeploymentResponseBodyCase1GitSourceCase2RepoId; sha?: string | undefined; type: GetDeploymentResponseBodyCase1GitSourceCase2Type; } export type GetDeploymentResponseBodyCase1GitSourceCase3Type = "github-custom-host"; export interface GetDeploymentResponseBodyCase1GitSourceCase3 { host: string; org: string; prId?: number | null | undefined; ref?: string | null | undefined; repo: string; sha?: string | undefined; type: GetDeploymentResponseBodyCase1GitSourceCase3Type; } export type GetDeploymentResponseBodyCase1GitSourceCase4RepoId = string | number; export type GetDeploymentResponseBodyCase1GitSourceCase4Type = "github-limited"; export interface GetDeploymentResponseBodyCase1GitSourceCase4 { prId?: number | null | undefined; ref?: string | null | undefined; repoId: GetDeploymentResponseBodyCase1GitSourceCase4RepoId; sha?: string | undefined; type: GetDeploymentResponseBodyCase1GitSourceCase4Type; } export type GetDeploymentResponseBodyCase1GitSourceCase5Type = "github-limited"; export interface GetDeploymentResponseBodyCase1GitSourceCase5 { org: string; prId?: number | null | undefined; ref?: string | null | undefined; repo: string; sha?: string | undefined; type: GetDeploymentResponseBodyCase1GitSourceCase5Type; } export type GetDeploymentResponseBodyCase1GitSourceCase6ProjectId = string | number; export type GetDeploymentResponseBodyCase1GitSourceCase6Type = "gitlab"; export interface GetDeploymentResponseBodyCase1GitSourceCase6 { prId?: number | null | undefined; projectId: GetDeploymentResponseBodyCase1GitSourceCase6ProjectId; ref?: string | null | undefined; sha?: string | undefined; type: GetDeploymentResponseBodyCase1GitSourceCase6Type; } export type GetDeploymentResponseBodyCase1GitSourceCase7Type = "bitbucket"; export interface GetDeploymentResponseBodyCase1GitSourceCase7 { prId?: number | null | undefined; ref?: string | null | undefined; repoUuid: string; sha?: string | undefined; type: GetDeploymentResponseBodyCase1GitSourceCase7Type; workspaceUuid?: string | undefined; } export type GetDeploymentResponseBodyCase1GitSourceCase8Type = "bitbucket"; export interface GetDeploymentResponseBodyCase1GitSourceCase8 { owner: string; prId?: number | null | undefined; ref?: string | null | undefined; sha?: string | undefined; slug: string; type: GetDeploymentResponseBodyCase1GitSourceCase8Type; } export type GetDeploymentResponseBodyCase1GitSourceCase9CommitMetadataAuthor = CancelDeploymentResponseGitSourceCase9CommitMetadataAuthor; export type GetDeploymentResponseBodyCase1GitSourceCase9CommitMetadataCommitter = CancelDeploymentResponseGitSourceCase9CommitMetadataAuthor; export type GetDeploymentResponseBodyCase1GitSourceCase9CommitMetadata = CancelDeploymentResponseGitSourceCase9CommitMetadata; export type GetDeploymentResponseBodyCase1GitSourceCase9Type = "vercel"; export interface GetDeploymentResponseBodyCase1GitSourceCase9 { commitMetadata?: CancelDeploymentResponseGitSourceCase9CommitMetadata | undefined; org?: string | undefined; prId?: number | null | undefined; ref?: string | null | undefined; repo?: string | undefined; repoId: string; repoPushedAt?: number | undefined; sha: string; type: GetDeploymentResponseBodyCase1GitSourceCase9Type; } export type GetDeploymentResponseBodyCase1GitSourceCase10Type = "cursor-origin"; export interface GetDeploymentResponseBodyCase1GitSourceCase10 { /** Owner (namespace) slug. */ owner?: string | undefined; prId?: number | null | undefined; ref?: string | null | undefined; repo?: string | undefined; /** Origin repository id. */ repoId: string; sha?: string | undefined; type: GetDeploymentResponseBodyCase1GitSourceCase10Type; } export type GetDeploymentResponseBodyCase1GitSourceCase11Type = "custom"; /** Allows custom git sources (local folder mounted to the container) in test mode */ export interface GetDeploymentResponseBodyCase1GitSourceCase11 { gitUrl: string; ref: string; sha: string; type: GetDeploymentResponseBodyCase1GitSourceCase11Type; } export type GetDeploymentResponseBodyCase1GitSourceCase12Type = "github"; export interface GetDeploymentResponseBodyCase1GitSourceCase12 { org?: string | undefined; ref: string; repo?: string | undefined; repoId: number; sha: string; type: GetDeploymentResponseBodyCase1GitSourceCase12Type; } export type GetDeploymentResponseBodyCase1GitSourceCase13Type = "github-custom-host"; export interface GetDeploymentResponseBodyCase1GitSourceCase13 { host: string; org?: string | undefined; ref: string; repo?: string | undefined; repoId: number; sha: string; type: GetDeploymentResponseBodyCase1GitSourceCase13Type; } export type GetDeploymentResponseBodyCase1GitSourceCase14Type = "github-limited"; export interface GetDeploymentResponseBodyCase1GitSourceCase14 { org?: string | undefined; ref: string; repo?: string | undefined; repoId: number; sha: string; type: GetDeploymentResponseBodyCase1GitSourceCase14Type; } export type GetDeploymentResponseBodyCase1GitSourceCase15Type = "gitlab"; export interface GetDeploymentResponseBodyCase1GitSourceCase15 { projectId: number; ref: string; sha: string; type: GetDeploymentResponseBodyCase1GitSourceCase15Type; } export type GetDeploymentResponseBodyCase1GitSourceCase16Type = "bitbucket"; export interface GetDeploymentResponseBodyCase1GitSourceCase16 { owner?: string | undefined; ref: string; repoUuid: string; sha: string; slug?: string | undefined; type: GetDeploymentResponseBodyCase1GitSourceCase16Type; workspaceUuid: string; } export type GetDeploymentResponseBodyCase1GitSourceCase17CommitMetadataAuthor = CancelDeploymentResponseGitSourceCase9CommitMetadataAuthor; export type GetDeploymentResponseBodyCase1GitSourceCase17CommitMetadataCommitter = CancelDeploymentResponseGitSourceCase9CommitMetadataAuthor; export type GetDeploymentResponseBodyCase1GitSourceCase17CommitMetadata = CancelDeploymentResponseGitSourceCase9CommitMetadata; export type GetDeploymentResponseBodyCase1GitSourceCase17Type = "vercel"; export interface GetDeploymentResponseBodyCase1GitSourceCase17 { commitMetadata?: CancelDeploymentResponseGitSourceCase9CommitMetadata | undefined; org: string; ref: string; repo: string; repoId?: string | undefined; repoPushedAt?: number | undefined; sha: string; type: GetDeploymentResponseBodyCase1GitSourceCase17Type; } export type GetDeploymentResponseBodyCase1GitSourceCase18Type = "cursor-origin"; export interface GetDeploymentResponseBodyCase1GitSourceCase18 { owner: string; ref: string; repo: string; repoId: string; sha: string; type: GetDeploymentResponseBodyCase1GitSourceCase18Type; } export type GetDeploymentResponseBodyCase1GitSource = | GetDeploymentResponseBodyCase1GitSourceCase0 | GetDeploymentResponseBodyCase1GitSourceCase1 | GetDeploymentResponseBodyCase1GitSourceCase2 | GetDeploymentResponseBodyCase1GitSourceCase3 | GetDeploymentResponseBodyCase1GitSourceCase4 | GetDeploymentResponseBodyCase1GitSourceCase5 | GetDeploymentResponseBodyCase1GitSourceCase6 | GetDeploymentResponseBodyCase1GitSourceCase7 | GetDeploymentResponseBodyCase1GitSourceCase8 | GetDeploymentResponseBodyCase1GitSourceCase9 | GetDeploymentResponseBodyCase1GitSourceCase10 | GetDeploymentResponseBodyCase1GitSourceCase11 | GetDeploymentResponseBodyCase1GitSourceCase12 | GetDeploymentResponseBodyCase1GitSourceCase13 | GetDeploymentResponseBodyCase1GitSourceCase14 | GetDeploymentResponseBodyCase1GitSourceCase15 | GetDeploymentResponseBodyCase1GitSourceCase16 | GetDeploymentResponseBodyCase1GitSourceCase17 | GetDeploymentResponseBodyCase1GitSourceCase18; export type GetDeploymentResponseBodyCase1ImagesContentDispositionType = "attachment" | "inline"; export type GetDeploymentResponseBodyCase1ImagesDomainsList = Array; export type GetDeploymentResponseBodyCase1ImagesFormatsItem = "image/avif" | "image/webp"; export type GetDeploymentResponseBodyCase1ImagesFormatsList = Array; export type GetDeploymentResponseBodyCase1ImagesLocalPatternsItem = CancelDeploymentResponseImagesLocalPatternsItem; export type GetDeploymentResponseBodyCase1ImagesLocalPatternsList = Array; export type GetDeploymentResponseBodyCase1ImagesQualitiesList = Array; /** Must be `http` or `https`. */ export type GetDeploymentResponseBodyCase1ImagesRemotePatternsItemProtocol = "http" | "https"; export interface GetDeploymentResponseBodyCase1ImagesRemotePatternsItem { /** Can be literal or wildcard. Single `*` matches a single subdomain. Double `**` matches any number of subdomains. */ hostname: string; /** Can be literal or wildcard. Single `*` matches a single path segment. Double `**` matches any number of path segments. */ pathname?: string | undefined; /** Can be literal port such as `8080` or empty string meaning no port. */ port?: string | undefined; /** Must be `http` or `https`. */ protocol?: GetDeploymentResponseBodyCase1ImagesRemotePatternsItemProtocol | undefined; /** Can be literal query string such as `?v=1` or empty string meaning no query string. */ search?: string | undefined; } export type GetDeploymentResponseBodyCase1ImagesRemotePatternsList = Array; export type GetDeploymentResponseBodyCase1ImagesSizesList = Array; export interface GetDeploymentResponseBodyCase1Images { contentDispositionType?: GetDeploymentResponseBodyCase1ImagesContentDispositionType | undefined; contentSecurityPolicy?: string | undefined; dangerouslyAllowSVG?: boolean | undefined; domains?: GetDeploymentResponseBodyCase1ImagesDomainsList | undefined; formats?: GetDeploymentResponseBodyCase1ImagesFormatsList | undefined; localPatterns?: GetDeploymentResponseBodyCase1ImagesLocalPatternsList | undefined; minimumCacheTTL?: number | undefined; qualities?: GetDeploymentResponseBodyCase1ImagesQualitiesList | undefined; remotePatterns?: GetDeploymentResponseBodyCase1ImagesRemotePatternsList | undefined; sizes?: GetDeploymentResponseBodyCase1ImagesSizesList | undefined; } export type GetDeploymentResponseBodyCase1IntegrationsStatus = | "error" | "pending" | "ready" | "skipped" | "timeout"; export interface GetDeploymentResponseBodyCase1Integrations { claimedAt?: number | undefined; completedAt?: number | undefined; skippedAt?: number | undefined; skippedBy?: string | undefined; startedAt: number; status: GetDeploymentResponseBodyCase1IntegrationsStatus; } export type GetDeploymentResponseBodyCase1LambdasItemReadyState = | "BUILDING" | "ERROR" | "INITIALIZING" | "READY"; export type GetDeploymentResponseBodyCase1LambdasItemOutputItem = CancelDeploymentResponseLambdasItemOutputItem; export type GetDeploymentResponseBodyCase1LambdasItemOutputList = Array; /** A partial representation of a Build used by the deployment endpoint. */ export interface GetDeploymentResponseBodyCase1LambdasItem { createdAt?: number | undefined; entrypoint?: string | null | undefined; id: string; readyState?: GetDeploymentResponseBodyCase1LambdasItemReadyState | undefined; readyStateAt?: number | undefined; output: GetDeploymentResponseBodyCase1LambdasItemOutputList; } export type GetDeploymentResponseBodyCase1LambdasList = Array; /** Current provisioning state */ export type GetDeploymentResponseBodyCase1ManualProvisioningState = | "COMPLETE" | "PENDING" | "TIMEOUT"; /** Present when deployment was created with manual provisioning enabled, either explicitly or via the experimental BYOC git flow. The deployment stays in INITIALIZING until /continue is called. */ export interface GetDeploymentResponseBodyCase1ManualProvisioning { /** Timestamp when manual provisioning completed */ completedAt?: number | undefined; /** Current provisioning state */ state: GetDeploymentResponseBodyCase1ManualProvisioningState; } export type GetDeploymentResponseBodyCase1MetaMap = { [key: string]: string | undefined }; /** The group of microfrontends that this project belongs to. Each microfrontend project must belong to a microfrontends group that is the set of microfrontends that are used together. */ export type GetDeploymentResponseBodyCase1MicrofrontendsCase0GroupIdsList = Array; export interface GetDeploymentResponseBodyCase1MicrofrontendsCase0 { /** The project name of the default app of this deployment's microfrontends group. */ defaultAppProjectName: string; /** A path that is used to take screenshots and as the default path in preview links when a domain for this microfrontend is shown in the UI. */ defaultRoute?: string | undefined; /** The group of microfrontends that this project belongs to. Each microfrontend project must belong to a microfrontends group that is the set of microfrontends that are used together. */ groupIds: GetDeploymentResponseBodyCase1MicrofrontendsCase0GroupIdsList; isDefaultApp?: boolean | undefined; } /** The group of microfrontends that this project belongs to. Each microfrontend project must belong to a microfrontends group that is the set of microfrontends that are used together. */ export type GetDeploymentResponseBodyCase1MicrofrontendsCase1GroupIdsList = Array; /** The result of the microfrontends config upload during deployment creation / build. Only set for default app deployments. The config upload is attempted during deployment create, and then again during the build. If the config is not in the root directory, or the deployment is prebuilt, the config cannot be uploaded during deployment create. The upload during deployment build finds the config even if it's not in the root directory, as it has access to all files. Uploading the config during create is ideal, as then all child deployments are guaranteed to have access to the default app deployment config even if the default app has not yet started building. If the config is not uploaded, the child app will show as building until the config has been uploaded during the default app build. - `success` - The config was uploaded successfully, either when the deployment was created or during the build. - `waiting_on_build` - The config could not be uploaded during deployment create, will be attempted again during the build. - `no_config` - No config was found. Only set once the build has not found the config in any of the deployment's files. - `undefined` - Legacy deployments, or there was an error uploading the config during deployment create. */ export type GetDeploymentResponseBodyCase1MicrofrontendsCase1MfeConfigUploadState = | "no_config" | "success" | "waiting_on_build"; export interface GetDeploymentResponseBodyCase1MicrofrontendsCase1 { /** The project name of the default app of this deployment's microfrontends group. */ defaultAppProjectName: string; /** A path that is used to take screenshots and as the default path in preview links when a domain for this microfrontend is shown in the UI. */ defaultRoute?: string | undefined; /** The group of microfrontends that this project belongs to. Each microfrontend project must belong to a microfrontends group that is the set of microfrontends that are used together. */ groupIds: GetDeploymentResponseBodyCase1MicrofrontendsCase1GroupIdsList; isDefaultApp: boolean; /** The result of the microfrontends config upload during deployment creation / build. Only set for default app deployments. The config upload is attempted during deployment create, and then again during the build. If the config is not in the root directory, or the deployment is prebuilt, the config cannot be uploaded during deployment create. The upload during deployment build finds the config even if it's not in the root directory, as it has access to all files. Uploading the config during create is ideal, as then all child deployments are guaranteed to have access to the default app deployment config even if the default app has not yet started building. If the config is not uploaded, the child app will show as building until the config has been uploaded during the default app build. - `success` - The config was uploaded successfully, either when the deployment was created or during the build. - `waiting_on_build` - The config could not be uploaded during deployment create, will be attempted again during the build. - `no_config` - No config was found. Only set once the build has not found the config in any of the deployment's files. - `undefined` - Legacy deployments, or there was an error uploading the config during deployment create. */ mfeConfigUploadState?: | GetDeploymentResponseBodyCase1MicrofrontendsCase1MfeConfigUploadState | undefined; } export type GetDeploymentResponseBodyCase1Microfrontends = | GetDeploymentResponseBodyCase1MicrofrontendsCase0 | GetDeploymentResponseBodyCase1MicrofrontendsCase1; /** If set it overrides the `projectSettings.nodeVersion` for this deployment. */ export type GetDeploymentResponseBodyCase1NodeVersion = | "10.x" | "12.x" | "14.x" | "16.x" | "18.x" | "20.x" | "22.x" | "24.x" | "26.x" | "8.10.x"; export type GetDeploymentResponseBodyCase1OidcTokenClaimsMfeGroupIdsList = Array; export interface GetDeploymentResponseBodyCase1OidcTokenClaims { aud: string; custom_environment_id?: string | undefined; deployment_id?: string | undefined; environment: string; iss: string; mfe_group_ids?: GetDeploymentResponseBodyCase1OidcTokenClaimsMfeGroupIdsList | undefined; owner: string; owner_id: string; plan?: string | undefined; project: string; project_id: string; scope: string; sub: string; } export type GetDeploymentResponseBodyCase1OomReport = "out-of-memory"; /** Since November 2023 this field defines a set of regions that we will deploy the lambda to passively Lambdas will be deployed to these regions but only invoked if all of the primary `regions` are marked as out of service */ export type GetDeploymentResponseBodyCase1PassiveRegionsList = Array; export type GetDeploymentResponseBodyCase1Plan = "enterprise" | "hobby" | "pro"; /** The user on the external platform who triggered the deployment. */ export type GetDeploymentResponseBodyCase1PlatformCreator = CancelDeploymentResponsePlatformCreator; /** Arbitrary key-value metadata provided by the platform. */ export type GetDeploymentResponseBodyCase1PlatformMetaMap = { [key: string]: string | undefined }; /** Whether the value is an opaque identifier or a URL. */ export type GetDeploymentResponseBodyCase1PlatformOriginType = "id" | "url"; /** Reference back to the entity on the platform that initiated the deployment. */ export interface GetDeploymentResponseBodyCase1PlatformOrigin { /** Whether the value is an opaque identifier or a URL. */ type: GetDeploymentResponseBodyCase1PlatformOriginType; /** The identifier or URL pointing to the originating entity. */ value: string; } /** The external platform that created the deployment (e.g. its display name). */ export type GetDeploymentResponseBodyCase1PlatformSource = CancelDeploymentResponsePlatformSource; /** Metadata about the source platform that triggered the deployment. Allows us to map a deployment back to a platform (e.g. the chat that created it) */ export interface GetDeploymentResponseBodyCase1Platform { /** The user on the external platform who triggered the deployment. */ creator: CancelDeploymentResponsePlatformCreator; /** Arbitrary key-value metadata provided by the platform. */ meta?: GetDeploymentResponseBodyCase1PlatformMetaMap | undefined; /** Reference back to the entity on the platform that initiated the deployment. */ origin: GetDeploymentResponseBodyCase1PlatformOrigin; /** The external platform that created the deployment (e.g. its display name). */ source: CancelDeploymentResponsePlatformSource; } /** The public project information associated with the deployment. */ export type GetDeploymentResponseBodyCase1Project = CancelDeploymentResponseProject; export type GetDeploymentResponseBodyCase1ProjectSettingsFramework = | "actix-web" | "angular" | "ash" | "astro" | "axum" | "blitzjs" | "brunch" | "bun" | "container" | "create-react-app" | "django" | "docusaurus" | "docusaurus-2" | "dojo" | "eleventy" | "elysia" | "ember" | "eve" | "express" | "factory-eve" | "fastapi" | "fasthtml" | "fastify" | "flask" | "gatsby" | "go" | "gridsome" | "h3" | "hexo" | "hono" | "hugo" | "hydrogen" | "ionic-angular" | "ionic-react" | "jekyll" | "koa" | "mastra" | "middleman" | "nestjs" | "nextjs" | "nitro" | "node" | "nuxtjs" | "parcel" | "polymer" | "preact" | "python" | "react-router" | "redwoodjs" | "remix" | "ruby" | "rust" | "saber" | "sanity" | "sanity-v2" | "sapper" | "scully" | "services" | "solidstart" | "solidstart-1" | "stencil" | "storybook" | "svelte" | "sveltekit" | "sveltekit-1" | "tanstack-start" | "tanstack-start-lovable" | "umijs" | "vite" | "vitepress" | "vue" | "vuepress" | "xmcp" | "zola"; export type GetDeploymentResponseBodyCase1ProjectSettingsNodeVersion = | "10.x" | "12.x" | "14.x" | "16.x" | "18.x" | "20.x" | "22.x" | "24.x" | "26.x" | "8.10.x"; export type GetDeploymentResponseBodyCase1ProjectSettingsSpeedInsights = CancelDeploymentResponseProjectSettingsSpeedInsights; /** Vercel Flags activation metadata copied from the project at deployment creation. */ export type GetDeploymentResponseBodyCase1ProjectSettingsVercelFlags = CancelDeploymentResponseProjectSettingsVercelFlags; export type GetDeploymentResponseBodyCase1ProjectSettingsWebAnalytics = CancelDeploymentResponseProjectSettingsWebAnalytics; export interface GetDeploymentResponseBodyCase1ProjectSettings { buildCommand?: string | null | undefined; commandForIgnoringBuildStep?: string | null | undefined; devCommand?: string | null | undefined; framework?: GetDeploymentResponseBodyCase1ProjectSettingsFramework | null | undefined; installCommand?: string | null | undefined; nodeVersion?: GetDeploymentResponseBodyCase1ProjectSettingsNodeVersion | undefined; outputDirectory?: string | null | undefined; speedInsights?: CancelDeploymentResponseProjectSettingsSpeedInsights | undefined; /** Vercel Flags activation metadata copied from the project at deployment creation. */ vercelFlags?: CancelDeploymentResponseProjectSettingsVercelFlags | undefined; webAnalytics?: CancelDeploymentResponseProjectSettingsWebAnalytics | undefined; } /** The state of the deployment depending on the process of deploying, or if it is ready or in an error state */ export type GetDeploymentResponseBodyCase1ReadyState = | "BLOCKED" | "BUILDING" | "CANCELED" | "ERROR" | "INITIALIZING" | "QUEUED" | "READY"; /** Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - ROLLING: in the process of having production traffic gradually transitioned. - PROMOTED: has seen production traffic */ export type GetDeploymentResponseBodyCase1ReadySubstate = "PROMOTED" | "ROLLING" | "STAGED"; /** The regions the deployment exists in */ export type GetDeploymentResponseBodyCase1RegionsList = Array; /** The build ran on an elastic machine. Drives billing. */ export type GetDeploymentResponseBodyCase1ResourceConfigBuildMachineCase0MachineSelectionType = "elastic"; /** Machine type purchased for this build. `basic` is the 2vCPU tier, recorded so the build pipeline can detect a basic build without consulting the project. */ export type GetDeploymentResponseBodyCase1ResourceConfigBuildMachineCase0PurchaseType = | "14cpu-28gb" | "basic" | "enhanced" | "standard" | "turbo"; /** The build machine tier included with the customer's plan. For most customers this is standard; enhanced entitlements include enhanced, while `none` means every build is billed at its purchase type. */ export type GetDeploymentResponseBodyCase1ResourceConfigBuildMachineCase0DefaultPurchaseType = | "basic" | "enhanced" | "none" | "standard"; /** The setting which selected the build machine when the deployment was created. Frozen here so later project or team changes do not rewrite its history. */ export type GetDeploymentResponseBodyCase1ResourceConfigBuildMachineCase0SelectionSource = | "deployment-override" | "elastic-algorithm" | "plan-default" | "project-setting" | "team-entitlement" | "team-setting"; export interface GetDeploymentResponseBodyCase1ResourceConfigBuildMachineCase0 { /** The build ran on an elastic machine. Drives billing. */ machineSelectionType: GetDeploymentResponseBodyCase1ResourceConfigBuildMachineCase0MachineSelectionType; /** Machine type purchased for this build. `basic` is the 2vCPU tier, recorded so the build pipeline can detect a basic build without consulting the project. */ purchaseType?: | GetDeploymentResponseBodyCase1ResourceConfigBuildMachineCase0PurchaseType | undefined; /** Build cores. Deployment creation sets the requested value; dispatch replaces it with the cores assigned by routing. */ cores?: number | undefined; /** The build machine tier included with the customer's plan. For most customers this is standard; enhanced entitlements include enhanced, while `none` means every build is billed at its purchase type. */ defaultPurchaseType?: | GetDeploymentResponseBodyCase1ResourceConfigBuildMachineCase0DefaultPurchaseType | undefined; /** Build memory, in MiB. Deployment creation sets the requested value; dispatch replaces it with the memory assigned by routing. */ memory?: number | undefined; /** The setting which selected the build machine when the deployment was created. Frozen here so later project or team changes do not rewrite its history. */ selectionSource?: | GetDeploymentResponseBodyCase1ResourceConfigBuildMachineCase0SelectionSource | undefined; } /** The build ran on a fixed machine. Drives billing. */ export type GetDeploymentResponseBodyCase1ResourceConfigBuildMachineCase1MachineSelectionType = "fixed"; /** Machine type purchased for this build. */ export type GetDeploymentResponseBodyCase1ResourceConfigBuildMachineCase1PurchaseType = | "basic" | "enhanced" | "standard" | "turbo"; /** The build machine tier included with the customer's plan. For most customers this is standard; enhanced entitlements include enhanced, while `none` means every build is billed at its purchase type. */ export type GetDeploymentResponseBodyCase1ResourceConfigBuildMachineCase1DefaultPurchaseType = | "basic" | "enhanced" | "none" | "standard"; /** The setting which selected the build machine when the deployment was created. Frozen here so later project or team changes do not rewrite its history. */ export type GetDeploymentResponseBodyCase1ResourceConfigBuildMachineCase1SelectionSource = | "deployment-override" | "elastic-algorithm" | "plan-default" | "project-setting" | "team-entitlement" | "team-setting"; export interface GetDeploymentResponseBodyCase1ResourceConfigBuildMachineCase1 { /** The build ran on a fixed machine. Drives billing. */ machineSelectionType?: | GetDeploymentResponseBodyCase1ResourceConfigBuildMachineCase1MachineSelectionType | undefined; /** Machine type purchased for this build. */ purchaseType?: | GetDeploymentResponseBodyCase1ResourceConfigBuildMachineCase1PurchaseType | undefined; /** Build cores. Deployment creation sets the requested value; dispatch replaces it with the cores assigned by routing. */ cores?: number | undefined; /** The build machine tier included with the customer's plan. For most customers this is standard; enhanced entitlements include enhanced, while `none` means every build is billed at its purchase type. */ defaultPurchaseType?: | GetDeploymentResponseBodyCase1ResourceConfigBuildMachineCase1DefaultPurchaseType | undefined; /** Build memory, in MiB. Deployment creation sets the requested value; dispatch replaces it with the memory assigned by routing. */ memory?: number | undefined; /** The setting which selected the build machine when the deployment was created. Frozen here so later project or team changes do not rewrite its history. */ selectionSource?: | GetDeploymentResponseBodyCase1ResourceConfigBuildMachineCase1SelectionSource | undefined; } export type GetDeploymentResponseBodyCase1ResourceConfigBuildMachine = | GetDeploymentResponseBodyCase1ResourceConfigBuildMachineCase0 | GetDeploymentResponseBodyCase1ResourceConfigBuildMachineCase1; export interface GetDeploymentResponseBodyCase1ResourceConfig { buildMachine?: GetDeploymentResponseBodyCase1ResourceConfigBuildMachine | undefined; } /** Optional explicit format marker. The destination is identified by the presence of `service`, so `type` is no longer required. */ export type GetDeploymentResponseBodyCase1RoutesItemCase0DestinationCase1Type = "service"; export interface GetDeploymentResponseBodyCase1RoutesItemCase0DestinationCase1 { /** Routing-only path used to select a route inside the target service. */ path?: string | undefined; service: string; /** Optional explicit format marker. The destination is identified by the presence of `service`, so `type` is no longer required. */ type?: GetDeploymentResponseBodyCase1RoutesItemCase0DestinationCase1Type | undefined; } export type GetDeploymentResponseBodyCase1RoutesItemCase0Destination = | string | GetDeploymentResponseBodyCase1RoutesItemCase0DestinationCase1; export type GetDeploymentResponseBodyCase1RoutesItemCase0EnvList = Array; export type GetDeploymentResponseBodyCase1RoutesItemCase0HasItemCase0Type = "host"; export type GetDeploymentResponseBodyCase1RoutesItemCase0HasItemCase0ValueCase1Eq = string | number; export type GetDeploymentResponseBodyCase1RoutesItemCase0HasItemCase0ValueCase1IncList = Array; export type GetDeploymentResponseBodyCase1RoutesItemCase0HasItemCase0ValueCase1NincList = Array; export interface GetDeploymentResponseBodyCase1RoutesItemCase0HasItemCase0ValueCase1 { eq?: GetDeploymentResponseBodyCase1RoutesItemCase0HasItemCase0ValueCase1Eq | undefined; gt?: number | undefined; gte?: number | undefined; inc?: GetDeploymentResponseBodyCase1RoutesItemCase0HasItemCase0ValueCase1IncList | undefined; lt?: number | undefined; lte?: number | undefined; neq?: string | undefined; ninc?: GetDeploymentResponseBodyCase1RoutesItemCase0HasItemCase0ValueCase1NincList | undefined; pre?: string | undefined; re?: string | undefined; suf?: string | undefined; } export type GetDeploymentResponseBodyCase1RoutesItemCase0HasItemCase0Value = | string | GetDeploymentResponseBodyCase1RoutesItemCase0HasItemCase0ValueCase1; export interface GetDeploymentResponseBodyCase1RoutesItemCase0HasItemCase0 { type: GetDeploymentResponseBodyCase1RoutesItemCase0HasItemCase0Type; value: GetDeploymentResponseBodyCase1RoutesItemCase0HasItemCase0Value; } export type GetDeploymentResponseBodyCase1RoutesItemCase0HasItemCase1Type = | "cookie" | "header" | "query"; export type GetDeploymentResponseBodyCase1RoutesItemCase0HasItemCase1ValueCase1Eq = string | number; export type GetDeploymentResponseBodyCase1RoutesItemCase0HasItemCase1ValueCase1IncList = Array; export type GetDeploymentResponseBodyCase1RoutesItemCase0HasItemCase1ValueCase1NincList = Array; export interface GetDeploymentResponseBodyCase1RoutesItemCase0HasItemCase1ValueCase1 { eq?: GetDeploymentResponseBodyCase1RoutesItemCase0HasItemCase1ValueCase1Eq | undefined; gt?: number | undefined; gte?: number | undefined; inc?: GetDeploymentResponseBodyCase1RoutesItemCase0HasItemCase1ValueCase1IncList | undefined; lt?: number | undefined; lte?: number | undefined; neq?: string | undefined; ninc?: GetDeploymentResponseBodyCase1RoutesItemCase0HasItemCase1ValueCase1NincList | undefined; pre?: string | undefined; re?: string | undefined; suf?: string | undefined; } export type GetDeploymentResponseBodyCase1RoutesItemCase0HasItemCase1Value = | string | GetDeploymentResponseBodyCase1RoutesItemCase0HasItemCase1ValueCase1; export interface GetDeploymentResponseBodyCase1RoutesItemCase0HasItemCase1 { key: string; type: GetDeploymentResponseBodyCase1RoutesItemCase0HasItemCase1Type; value?: GetDeploymentResponseBodyCase1RoutesItemCase0HasItemCase1Value | undefined; } export type GetDeploymentResponseBodyCase1RoutesItemCase0HasItem = | GetDeploymentResponseBodyCase1RoutesItemCase0HasItemCase0 | GetDeploymentResponseBodyCase1RoutesItemCase0HasItemCase1; export type GetDeploymentResponseBodyCase1RoutesItemCase0HasList = Array; export type GetDeploymentResponseBodyCase1RoutesItemCase0HeadersMap = { [key: string]: string | undefined; }; export type GetDeploymentResponseBodyCase1RoutesItemCase0LocaleRedirectMap = { [key: string]: string | undefined; }; export interface GetDeploymentResponseBodyCase1RoutesItemCase0Locale { cookie?: string | undefined; redirect?: GetDeploymentResponseBodyCase1RoutesItemCase0LocaleRedirectMap | undefined; } export type GetDeploymentResponseBodyCase1RoutesItemCase0MethodsList = Array; /** The original middleware matchers. */ export type GetDeploymentResponseBodyCase1RoutesItemCase0MiddlewareRawSrcList = Array; export type GetDeploymentResponseBodyCase1RoutesItemCase0MissingItemCase0Type = "host"; export type GetDeploymentResponseBodyCase1RoutesItemCase0MissingItemCase0ValueCase1Eq = | string | number; export type GetDeploymentResponseBodyCase1RoutesItemCase0MissingItemCase0ValueCase1IncList = Array; export type GetDeploymentResponseBodyCase1RoutesItemCase0MissingItemCase0ValueCase1NincList = Array; export interface GetDeploymentResponseBodyCase1RoutesItemCase0MissingItemCase0ValueCase1 { eq?: GetDeploymentResponseBodyCase1RoutesItemCase0MissingItemCase0ValueCase1Eq | undefined; gt?: number | undefined; gte?: number | undefined; inc?: GetDeploymentResponseBodyCase1RoutesItemCase0MissingItemCase0ValueCase1IncList | undefined; lt?: number | undefined; lte?: number | undefined; neq?: string | undefined; ninc?: | GetDeploymentResponseBodyCase1RoutesItemCase0MissingItemCase0ValueCase1NincList | undefined; pre?: string | undefined; re?: string | undefined; suf?: string | undefined; } export type GetDeploymentResponseBodyCase1RoutesItemCase0MissingItemCase0Value = | string | GetDeploymentResponseBodyCase1RoutesItemCase0MissingItemCase0ValueCase1; export interface GetDeploymentResponseBodyCase1RoutesItemCase0MissingItemCase0 { type: GetDeploymentResponseBodyCase1RoutesItemCase0MissingItemCase0Type; value: GetDeploymentResponseBodyCase1RoutesItemCase0MissingItemCase0Value; } export type GetDeploymentResponseBodyCase1RoutesItemCase0MissingItemCase1Type = | "cookie" | "header" | "query"; export type GetDeploymentResponseBodyCase1RoutesItemCase0MissingItemCase1ValueCase1Eq = | string | number; export type GetDeploymentResponseBodyCase1RoutesItemCase0MissingItemCase1ValueCase1IncList = Array; export type GetDeploymentResponseBodyCase1RoutesItemCase0MissingItemCase1ValueCase1NincList = Array; export interface GetDeploymentResponseBodyCase1RoutesItemCase0MissingItemCase1ValueCase1 { eq?: GetDeploymentResponseBodyCase1RoutesItemCase0MissingItemCase1ValueCase1Eq | undefined; gt?: number | undefined; gte?: number | undefined; inc?: GetDeploymentResponseBodyCase1RoutesItemCase0MissingItemCase1ValueCase1IncList | undefined; lt?: number | undefined; lte?: number | undefined; neq?: string | undefined; ninc?: | GetDeploymentResponseBodyCase1RoutesItemCase0MissingItemCase1ValueCase1NincList | undefined; pre?: string | undefined; re?: string | undefined; suf?: string | undefined; } export type GetDeploymentResponseBodyCase1RoutesItemCase0MissingItemCase1Value = | string | GetDeploymentResponseBodyCase1RoutesItemCase0MissingItemCase1ValueCase1; export interface GetDeploymentResponseBodyCase1RoutesItemCase0MissingItemCase1 { key: string; type: GetDeploymentResponseBodyCase1RoutesItemCase0MissingItemCase1Type; value?: GetDeploymentResponseBodyCase1RoutesItemCase0MissingItemCase1Value | undefined; } export type GetDeploymentResponseBodyCase1RoutesItemCase0MissingItem = | GetDeploymentResponseBodyCase1RoutesItemCase0MissingItemCase0 | GetDeploymentResponseBodyCase1RoutesItemCase0MissingItemCase1; export type GetDeploymentResponseBodyCase1RoutesItemCase0MissingList = Array; export type GetDeploymentResponseBodyCase1RoutesItemCase0MitigateAction = "challenge" | "deny"; export interface GetDeploymentResponseBodyCase1RoutesItemCase0Mitigate { action: GetDeploymentResponseBodyCase1RoutesItemCase0MitigateAction; } export type GetDeploymentResponseBodyCase1RoutesItemCase0TransformsItemCase0ArgsCase1List = Array; export type GetDeploymentResponseBodyCase1RoutesItemCase0TransformsItemCase0Args = | string | GetDeploymentResponseBodyCase1RoutesItemCase0TransformsItemCase0ArgsCase1List; export type GetDeploymentResponseBodyCase1RoutesItemCase0TransformsItemCase0EnvList = Array; export type GetDeploymentResponseBodyCase1RoutesItemCase0TransformsItemCase0Op = | "append" | "delete" | "set"; export type GetDeploymentResponseBodyCase1RoutesItemCase0TransformsItemCase0TargetKeyCase1Eq = | string | number; export type GetDeploymentResponseBodyCase1RoutesItemCase0TransformsItemCase0TargetKeyCase1IncList = Array; export type GetDeploymentResponseBodyCase1RoutesItemCase0TransformsItemCase0TargetKeyCase1NincList = Array; export interface GetDeploymentResponseBodyCase1RoutesItemCase0TransformsItemCase0TargetKeyCase1 { eq?: GetDeploymentResponseBodyCase1RoutesItemCase0TransformsItemCase0TargetKeyCase1Eq | undefined; gt?: number | undefined; gte?: number | undefined; inc?: | GetDeploymentResponseBodyCase1RoutesItemCase0TransformsItemCase0TargetKeyCase1IncList | undefined; lt?: number | undefined; lte?: number | undefined; neq?: string | undefined; ninc?: | GetDeploymentResponseBodyCase1RoutesItemCase0TransformsItemCase0TargetKeyCase1NincList | undefined; pre?: string | undefined; suf?: string | undefined; } export type GetDeploymentResponseBodyCase1RoutesItemCase0TransformsItemCase0TargetKey = | string | GetDeploymentResponseBodyCase1RoutesItemCase0TransformsItemCase0TargetKeyCase1; export interface GetDeploymentResponseBodyCase1RoutesItemCase0TransformsItemCase0Target { key: GetDeploymentResponseBodyCase1RoutesItemCase0TransformsItemCase0TargetKey; } export type GetDeploymentResponseBodyCase1RoutesItemCase0TransformsItemCase0Type = | "request.headers" | "request.query" | "response.headers"; export interface GetDeploymentResponseBodyCase1RoutesItemCase0TransformsItemCase0 { args?: GetDeploymentResponseBodyCase1RoutesItemCase0TransformsItemCase0Args | undefined; env?: GetDeploymentResponseBodyCase1RoutesItemCase0TransformsItemCase0EnvList | undefined; op: GetDeploymentResponseBodyCase1RoutesItemCase0TransformsItemCase0Op; target: GetDeploymentResponseBodyCase1RoutesItemCase0TransformsItemCase0Target; type: GetDeploymentResponseBodyCase1RoutesItemCase0TransformsItemCase0Type; } export type GetDeploymentResponseBodyCase1RoutesItemCase0TransformsItemCase1EnvList = Array; export type GetDeploymentResponseBodyCase1RoutesItemCase0TransformsItemCase1Op = "set"; export type GetDeploymentResponseBodyCase1RoutesItemCase0TransformsItemCase1Type = "request.path"; export interface GetDeploymentResponseBodyCase1RoutesItemCase0TransformsItemCase1 { args: string; env?: GetDeploymentResponseBodyCase1RoutesItemCase0TransformsItemCase1EnvList | undefined; /** Keep an earlier request.path value. Builders use this for fallback routes. */ fallback?: boolean | undefined; op: GetDeploymentResponseBodyCase1RoutesItemCase0TransformsItemCase1Op; type: GetDeploymentResponseBodyCase1RoutesItemCase0TransformsItemCase1Type; } export type GetDeploymentResponseBodyCase1RoutesItemCase0TransformsItem = | GetDeploymentResponseBodyCase1RoutesItemCase0TransformsItemCase0 | GetDeploymentResponseBodyCase1RoutesItemCase0TransformsItemCase1; export type GetDeploymentResponseBodyCase1RoutesItemCase0TransformsList = Array; export interface GetDeploymentResponseBodyCase1RoutesItemCase0 { caseSensitive?: boolean | undefined; check?: boolean | undefined; continue?: boolean | undefined; dest?: string | undefined; destination?: GetDeploymentResponseBodyCase1RoutesItemCase0Destination | undefined; env?: GetDeploymentResponseBodyCase1RoutesItemCase0EnvList | undefined; has?: GetDeploymentResponseBodyCase1RoutesItemCase0HasList | undefined; headers?: GetDeploymentResponseBodyCase1RoutesItemCase0HeadersMap | undefined; important?: boolean | undefined; locale?: GetDeploymentResponseBodyCase1RoutesItemCase0Locale | undefined; methods?: GetDeploymentResponseBodyCase1RoutesItemCase0MethodsList | undefined; /** A middleware index in the `middleware` key under the build result */ middleware?: number | undefined; /** A middleware key within the `output` key under the build result. Overrides a `middleware` definition. */ middlewarePath?: string | undefined; /** The original middleware matchers. */ middlewareRawSrc?: GetDeploymentResponseBodyCase1RoutesItemCase0MiddlewareRawSrcList | undefined; missing?: GetDeploymentResponseBodyCase1RoutesItemCase0MissingList | undefined; mitigate?: GetDeploymentResponseBodyCase1RoutesItemCase0Mitigate | undefined; override?: boolean | undefined; respectOriginCacheControl?: boolean | undefined; /** Aliases for `src`, `dest`, and `status`. These provide consistency with the `rewrites`, `redirects`, and `headers` fields which use `source`, `destination`, and `statusCode`. During normalization, the string forms are converted to their canonical forms (`src`, `dest`, `status`) and stripped from the route object. `destination` may also be a service-targeted object, in which case routing is delegated into the named service's internal route table and the object is preserved as-is (not folded into `dest`). */ source?: string | undefined; src: string; status?: number | undefined; statusCode?: number | undefined; transforms?: GetDeploymentResponseBodyCase1RoutesItemCase0TransformsList | undefined; } export type GetDeploymentResponseBodyCase1RoutesItemCase1Handle = | "error" | "filesystem" | "hit" | "miss" | "resource" | "rewrite"; export interface GetDeploymentResponseBodyCase1RoutesItemCase1 { dest?: string | undefined; handle: GetDeploymentResponseBodyCase1RoutesItemCase1Handle; src?: string | undefined; status?: number | undefined; } export type GetDeploymentResponseBodyCase1RoutesItemCase2Middleware = 0; export interface GetDeploymentResponseBodyCase1RoutesItemCase2 { continue: boolean; middleware: GetDeploymentResponseBodyCase1RoutesItemCase2Middleware; src: string; } export type GetDeploymentResponseBodyCase1RoutesItem = | GetDeploymentResponseBodyCase1RoutesItemCase0 | GetDeploymentResponseBodyCase1RoutesItemCase1 | GetDeploymentResponseBodyCase1RoutesItemCase2; export type GetDeploymentResponseBodyCase1RoutesList = Array; /** The NSNB decision code for the seat block. TODO: We should consolidate block types. */ export type GetDeploymentResponseBodyCase1SeatBlockBlockCode = | "COMMIT_AUTHOR_REQUIRED" | "TEAM_ACCESS_REQUIRED"; /** The git provider type associated with gitUserId. */ export type GetDeploymentResponseBodyCase1SeatBlockGitProvider = "bitbucket" | "github" | "gitlab"; export type GetDeploymentResponseBodyCase1SeatBlockGitUserId = string | number; /** NSNB Blocked metadata */ export interface GetDeploymentResponseBodyCase1SeatBlock { /** The NSNB decision code for the seat block. TODO: We should consolidate block types. */ blockCode: GetDeploymentResponseBodyCase1SeatBlockBlockCode; /** The git provider type associated with gitUserId. */ gitProvider?: GetDeploymentResponseBodyCase1SeatBlockGitProvider | undefined; gitUserId?: GetDeploymentResponseBodyCase1SeatBlockGitUserId | undefined; /** Determines if the user was verified during the block. In the git integration case, the commit sender was the author. */ isVerified?: boolean | undefined; /** The blocked vercel user ID. */ userId?: string | undefined; } /** Generated value shape, must be `"url"`. */ export type GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigDaemonBindingsItemFormat = "url"; /** If present, must be `"service"` for Service-to-Service HTTP bindings. */ export type GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigDaemonBindingsItemType = "service"; /** Bindings to services in the same deployment. */ export interface GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigDaemonBindingsItem { /** Environment variable name that will store the generated value */ env: string; /** Generated value shape, must be `"url"`. */ format: GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigDaemonBindingsItemFormat; /** Target service name from `services`. */ service: string; /** If present, must be `"service"` for Service-to-Service HTTP bindings. */ type?: | GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigDaemonBindingsItemType | undefined; } /** Bindings to services in the same deployment. */ export type GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigDaemonBindingsList = Array; export type GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigDaemonCommandList = Array; /** Instance counts by region. */ export type GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigDaemonInstancesMap = { [key: string]: number | undefined; }; export type GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigDaemonLivenessProbeHttpGetHttpHeadersItem = CancelDeploymentResponseServicesItemCase0BuilderConfigDaemonLivenessProbeHttpGetHttpHeadersItem; export type GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigDaemonLivenessProbeHttpGetHttpHeadersList = Array; export type GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigDaemonLivenessProbeHttpGetScheme = | "HTTP" | "HTTPS"; export interface GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigDaemonLivenessProbeHttpGet { host?: string | undefined; httpHeaders?: | GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigDaemonLivenessProbeHttpGetHttpHeadersList | undefined; path?: string | undefined; port: number; scheme?: | GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigDaemonLivenessProbeHttpGetScheme | undefined; } /** A Kubernetes-style HTTP liveness probe. */ export interface GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigDaemonLivenessProbe { failureThreshold?: number | undefined; httpGet: GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigDaemonLivenessProbeHttpGet; initialDelaySeconds?: number | undefined; periodSeconds?: number | undefined; successThreshold?: number | undefined; timeoutSeconds?: number | undefined; } /** Instance counts by region. */ export type GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigDaemonReplicasMap = { [key: string]: number | undefined; }; export type GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigDaemonResourcesRequestsMemory = | "1Gi" | "2Gi" | "4Gi" | "8Gi"; export interface GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigDaemonResourcesRequests { memory: GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigDaemonResourcesRequestsMemory; } export interface GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigDaemonResources { requests: GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigDaemonResourcesRequests; } /** Set when this build produces the named daemon. */ export interface GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigDaemon { /** Bindings to services in the same deployment. */ bindings?: | GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigDaemonBindingsList | undefined; command?: | GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigDaemonCommandList | undefined; entrypoint: string; /** Instance counts by region. */ instances?: | GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigDaemonInstancesMap | undefined; /** A Kubernetes-style HTTP liveness probe. */ livenessProbe?: | GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigDaemonLivenessProbe | undefined; /** Instance counts by region. */ replicas?: | GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigDaemonReplicasMap | undefined; resources?: | GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigDaemonResources | undefined; root: string; terminationGracePeriodSeconds?: number | undefined; name: string; } export type GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigExcludeFilesCase1List = Array; export type GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigExcludeFiles = | string | GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigExcludeFilesCase1List; export type GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigFunctionsValueAffinityMode = "strict"; export interface GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigFunctionsValueAffinity { mode: GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigFunctionsValueAffinityMode; } export type GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigFunctionsValueArchitecture = | "arm64" | "x86_64"; /** Event type - must be "queue/v1beta" (REQUIRED) */ export type GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigFunctionsValueExperimentalTriggersItemCase0Type = "queue/v1beta"; /** Queue trigger input event for v1beta (from vercel.json config). Requires explicit consumer name. */ export interface GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigFunctionsValueExperimentalTriggersItemCase0 { /** Name of the consumer group for this trigger (REQUIRED) */ consumer: string; /** Initial delay in seconds before first execution attempt (OPTIONAL) Must be 0 or greater. Use 0 for no initial delay. Behavior when not specified depends on the server's default configuration. */ initialDelaySeconds?: number | undefined; /** Maximum number of concurrent executions for this consumer (OPTIONAL) Must be at least 1 if specified. Behavior when not specified depends on the server's default configuration. */ maxConcurrency?: number | undefined; /** Maximum number of delivery attempts for message processing (OPTIONAL) This represents the total number of times a message can be delivered, not the number of retries. Must be at least 1 if specified. Behavior when not specified depends on the server's default configuration. */ maxDeliveries?: number | undefined; /** Delay in seconds before retrying failed executions (OPTIONAL) Behavior when not specified depends on the server's default configuration. */ retryAfterSeconds?: number | undefined; /** Name of the queue topic to consume from (REQUIRED) */ topic: string; /** Event type - must be "queue/v1beta" (REQUIRED) */ type: GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigFunctionsValueExperimentalTriggersItemCase0Type; } /** Event type - must be "queue/v2beta" (REQUIRED) */ export type GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigFunctionsValueExperimentalTriggersItemCase1Type = "queue/v2beta"; /** Queue trigger input event for v2beta (from vercel.json config). Consumer name is implicitly derived from the function path. Only one trigger per function is allowed. */ export interface GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigFunctionsValueExperimentalTriggersItemCase1 { /** Initial delay in seconds before first execution attempt (OPTIONAL) Must be 0 or greater. Use 0 for no initial delay. Behavior when not specified depends on the server's default configuration. */ initialDelaySeconds?: number | undefined; /** Maximum number of concurrent executions for this consumer (OPTIONAL) Must be at least 1 if specified. Behavior when not specified depends on the server's default configuration. */ maxConcurrency?: number | undefined; /** Maximum number of delivery attempts for message processing (OPTIONAL) This represents the total number of times a message can be delivered, not the number of retries. Must be at least 1 if specified. Behavior when not specified depends on the server's default configuration. */ maxDeliveries?: number | undefined; /** Delay in seconds before retrying failed executions (OPTIONAL) Behavior when not specified depends on the server's default configuration. */ retryAfterSeconds?: number | undefined; /** Name of the queue topic to consume from (REQUIRED) */ topic: string; /** Event type - must be "queue/v2beta" (REQUIRED) */ type: GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigFunctionsValueExperimentalTriggersItemCase1Type; } /** Event type - must be "schedule/v1beta" (REQUIRED) */ export type GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigFunctionsValueExperimentalTriggersItemCase2Type = "schedule/v1beta"; export interface GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigFunctionsValueExperimentalTriggersItemCase2 { /** Event type - must be "schedule/v1beta" (REQUIRED) */ type: GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigFunctionsValueExperimentalTriggersItemCase2Type; } export type GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigFunctionsValueExperimentalTriggersItem = | GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigFunctionsValueExperimentalTriggersItemCase0 | GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigFunctionsValueExperimentalTriggersItemCase1 | GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigFunctionsValueExperimentalTriggersItemCase2; export type GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigFunctionsValueExperimentalTriggersList = Array; export type GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigFunctionsValueFunctionFailoverRegionsList = Array; export type GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigFunctionsValueMaxDurationCase1 = "max"; export type GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigFunctionsValueMaxDuration = | number | GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigFunctionsValueMaxDurationCase1; export type GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigFunctionsValueRegionsList = Array; export interface GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigFunctionsValue { affinity?: | GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigFunctionsValueAffinity | undefined; architecture?: | GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigFunctionsValueArchitecture | undefined; excludeFiles?: string | undefined; experimentalTriggers?: | GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigFunctionsValueExperimentalTriggersList | undefined; functionFailoverRegions?: | GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigFunctionsValueFunctionFailoverRegionsList | undefined; includeFiles?: string | undefined; /** Overrides how dependencies are installed for this function. An empty string skips the install. Only honored by `@vercel/node`. */ installCommand?: string | undefined; maxConcurrency?: number | undefined; maxDuration?: | GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigFunctionsValueMaxDuration | undefined; memory?: number | undefined; regions?: | GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigFunctionsValueRegionsList | undefined; runtime?: string | undefined; supportsCancellation?: boolean | undefined; } export type GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigFunctionsMap = { [key: string]: | GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigFunctionsValue | undefined; }; export type GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigImportMap = { [key: string]: string | undefined; }; export type GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigIncludeFilesCase1List = Array; export type GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigIncludeFiles = | string | GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigIncludeFilesCase1List; /** Matcher supplied outside of the middleware source module. */ export type GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigMiddlewareMatcherCase1List = Array; export type GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigMiddlewareMatcher = | string | GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigMiddlewareMatcherCase1List; /** Enforced runtime for explicitly configured Routing Middleware. */ export type GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigMiddlewareRuntime = "nodejs"; export type GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigProjectSettingsVercelFlags = CancelDeploymentResponseProjectSettingsVercelFlags; export type GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigProjectSettings = CancelDeploymentResponseServicesItemCase0BuilderConfigProjectSettings; /** Names of the schedules that dispatch to this entrypoint, in config order. */ export type GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigScheduleFunctionEntrypointsItemScheduleNamesList = Array; export interface GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigScheduleFunctionEntrypointsItem { /** Runtime-specific entrypoint locator from `vercel.json`. */ entrypoint: string; /** Names of the schedules that dispatch to this entrypoint, in config order. */ scheduleNames: GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigScheduleFunctionEntrypointsItemScheduleNamesList; /** Project-relative source file that contains the entrypoint. */ sourceFile: string; } export type GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigScheduleFunctionEntrypointsList = Array; /** Set when this build produces a function for schedule entrypoints. */ export interface GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigScheduleFunction { entrypoints: GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigScheduleFunctionEntrypointsList; /** Function output path every schedule in this build targets. */ outputPath: string; } export interface GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfig { buildCommand?: string | undefined; /** Buildpack runtime slug (e.g. "ruby"). */ buildpack?: string | undefined; bundle?: boolean | undefined; bunVersion?: string | undefined; /** Set when this build produces the named daemon. */ daemon?: GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigDaemon | undefined; debug?: boolean | undefined; devCommand?: string | undefined; excludeFiles?: | GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigExcludeFiles | undefined; framework?: string | null | undefined; functions?: GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigFunctionsMap | undefined; helpers?: boolean | undefined; import?: GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigImportMap | undefined; includeFiles?: | GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigIncludeFiles | undefined; installCommand?: string | undefined; ldsflags?: string | undefined; maxLambdaSize?: string | undefined; middleware?: boolean | undefined; middlewareMatcher?: | GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigMiddlewareMatcher | undefined; /** Enforced runtime for explicitly configured Routing Middleware. */ middlewareRuntime?: | GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigMiddlewareRuntime | undefined; nodeVersion?: string | undefined; outputDirectory?: string | undefined; projectSettings?: | CancelDeploymentResponseServicesItemCase0BuilderConfigProjectSettings | undefined; rust?: string | undefined; /** Set when this build produces a function for schedule entrypoints. */ scheduleFunction?: | GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfigScheduleFunction | undefined; /** Owning service name; scopes per-function config such as the v2beta consumer. */ serviceName?: string | undefined; zeroConfig?: boolean | undefined; } export interface GetDeploymentResponseBodyCase1ServicesItemCase0Builder { config?: GetDeploymentResponseBodyCase1ServicesItemCase0BuilderConfig | undefined; src?: string | undefined; use: string; } export type GetDeploymentResponseBodyCase1ServicesItemCase0EnvValueType = "service-ref"; export interface GetDeploymentResponseBodyCase1ServicesItemCase0EnvValue { service: string; type: GetDeploymentResponseBodyCase1ServicesItemCase0EnvValueType; } export type GetDeploymentResponseBodyCase1ServicesItemCase0EnvMap = { [key: string]: GetDeploymentResponseBodyCase1ServicesItemCase0EnvValue | undefined; }; export type GetDeploymentResponseBodyCase1ServicesItemCase0RoutePrefixSource = | "configured" | "generated"; export type GetDeploymentResponseBodyCase1ServicesItemCase0ScheduleCase1List = Array; export type GetDeploymentResponseBodyCase1ServicesItemCase0Schedule = | string | GetDeploymentResponseBodyCase1ServicesItemCase0ScheduleCase1List; export type GetDeploymentResponseBodyCase1ServicesItemCase0Schema = "experimentalServices"; export type GetDeploymentResponseBodyCase1ServicesItemCase0TopicsCase0List = Array; export type GetDeploymentResponseBodyCase1ServicesItemCase0TopicsCase1Item = CancelDeploymentResponseServicesItemCase0TopicsCase1Item; export type GetDeploymentResponseBodyCase1ServicesItemCase0TopicsCase1List = Array; export type GetDeploymentResponseBodyCase1ServicesItemCase0Topics = | GetDeploymentResponseBodyCase1ServicesItemCase0TopicsCase0List | GetDeploymentResponseBodyCase1ServicesItemCase0TopicsCase1List; export type GetDeploymentResponseBodyCase1ServicesItemCase0Trigger = | "queue" | "schedule" | "workflow"; export type GetDeploymentResponseBodyCase1ServicesItemCase0Type = "cron" | "job" | "web" | "worker"; /** Services detected during build from vercel.json experimentalServices or auto-detected from project structure. Used to inject service URLs as environment variables at runtime. */ export interface GetDeploymentResponseBodyCase1ServicesItemCase0 { buildCommand?: string | undefined; builder: GetDeploymentResponseBodyCase1ServicesItemCase0Builder; entrypoint?: string | undefined; env?: GetDeploymentResponseBodyCase1ServicesItemCase0EnvMap | undefined; framework?: string | undefined; group?: string | undefined; handlerFunction?: string | undefined; installCommand?: string | undefined; name: string; preDeployCommand?: string | undefined; routePrefix?: string | undefined; routePrefixSource?: GetDeploymentResponseBodyCase1ServicesItemCase0RoutePrefixSource | undefined; runtime?: string | undefined; schedule?: GetDeploymentResponseBodyCase1ServicesItemCase0Schedule | undefined; schema: GetDeploymentResponseBodyCase1ServicesItemCase0Schema; subdomain?: string | undefined; topics?: GetDeploymentResponseBodyCase1ServicesItemCase0Topics | undefined; trigger?: GetDeploymentResponseBodyCase1ServicesItemCase0Trigger | undefined; type: GetDeploymentResponseBodyCase1ServicesItemCase0Type; workspace: string; } /** Generated value shape, must be `"url"`. */ export type GetDeploymentResponseBodyCase1ServicesItemCase1BindingsItemFormat = "url"; /** If present, must be `"service"` for Service-to-Service HTTP bindings. */ export type GetDeploymentResponseBodyCase1ServicesItemCase1BindingsItemType = "service"; /** Caller-side bindings to other services. */ export interface GetDeploymentResponseBodyCase1ServicesItemCase1BindingsItem { /** Environment variable name that will store the generated value */ env: string; /** Generated value shape, must be `"url"`. */ format: GetDeploymentResponseBodyCase1ServicesItemCase1BindingsItemFormat; /** Target service name from `services`. */ service: string; /** If present, must be `"service"` for Service-to-Service HTTP bindings. */ type?: GetDeploymentResponseBodyCase1ServicesItemCase1BindingsItemType | undefined; } /** Caller-side bindings to other services. */ export type GetDeploymentResponseBodyCase1ServicesItemCase1BindingsList = Array; /** Generated value shape, must be `"url"`. */ export type GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigDaemonBindingsItemFormat = "url"; /** If present, must be `"service"` for Service-to-Service HTTP bindings. */ export type GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigDaemonBindingsItemType = "service"; /** Bindings to services in the same deployment. */ export interface GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigDaemonBindingsItem { /** Environment variable name that will store the generated value */ env: string; /** Generated value shape, must be `"url"`. */ format: GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigDaemonBindingsItemFormat; /** Target service name from `services`. */ service: string; /** If present, must be `"service"` for Service-to-Service HTTP bindings. */ type?: | GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigDaemonBindingsItemType | undefined; } /** Bindings to services in the same deployment. */ export type GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigDaemonBindingsList = Array; export type GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigDaemonCommandList = Array; /** Instance counts by region. */ export type GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigDaemonInstancesMap = { [key: string]: number | undefined; }; export type GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigDaemonLivenessProbeHttpGetHttpHeadersItem = CancelDeploymentResponseServicesItemCase0BuilderConfigDaemonLivenessProbeHttpGetHttpHeadersItem; export type GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigDaemonLivenessProbeHttpGetHttpHeadersList = Array; export type GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigDaemonLivenessProbeHttpGetScheme = | "HTTP" | "HTTPS"; export interface GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigDaemonLivenessProbeHttpGet { host?: string | undefined; httpHeaders?: | GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigDaemonLivenessProbeHttpGetHttpHeadersList | undefined; path?: string | undefined; port: number; scheme?: | GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigDaemonLivenessProbeHttpGetScheme | undefined; } /** A Kubernetes-style HTTP liveness probe. */ export interface GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigDaemonLivenessProbe { failureThreshold?: number | undefined; httpGet: GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigDaemonLivenessProbeHttpGet; initialDelaySeconds?: number | undefined; periodSeconds?: number | undefined; successThreshold?: number | undefined; timeoutSeconds?: number | undefined; } /** Instance counts by region. */ export type GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigDaemonReplicasMap = { [key: string]: number | undefined; }; export type GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigDaemonResourcesRequestsMemory = | "1Gi" | "2Gi" | "4Gi" | "8Gi"; export interface GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigDaemonResourcesRequests { memory: GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigDaemonResourcesRequestsMemory; } export interface GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigDaemonResources { requests: GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigDaemonResourcesRequests; } /** Set when this build produces the named daemon. */ export interface GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigDaemon { /** Bindings to services in the same deployment. */ bindings?: | GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigDaemonBindingsList | undefined; command?: | GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigDaemonCommandList | undefined; entrypoint: string; /** Instance counts by region. */ instances?: | GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigDaemonInstancesMap | undefined; /** A Kubernetes-style HTTP liveness probe. */ livenessProbe?: | GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigDaemonLivenessProbe | undefined; /** Instance counts by region. */ replicas?: | GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigDaemonReplicasMap | undefined; resources?: | GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigDaemonResources | undefined; root: string; terminationGracePeriodSeconds?: number | undefined; name: string; } export type GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigExcludeFilesCase1List = Array; export type GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigExcludeFiles = | string | GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigExcludeFilesCase1List; export type GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigFunctionsValueAffinityMode = "strict"; export interface GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigFunctionsValueAffinity { mode: GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigFunctionsValueAffinityMode; } export type GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigFunctionsValueArchitecture = | "arm64" | "x86_64"; /** Event type - must be "queue/v1beta" (REQUIRED) */ export type GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigFunctionsValueExperimentalTriggersItemCase0Type = "queue/v1beta"; /** Queue trigger input event for v1beta (from vercel.json config). Requires explicit consumer name. */ export interface GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigFunctionsValueExperimentalTriggersItemCase0 { /** Name of the consumer group for this trigger (REQUIRED) */ consumer: string; /** Initial delay in seconds before first execution attempt (OPTIONAL) Must be 0 or greater. Use 0 for no initial delay. Behavior when not specified depends on the server's default configuration. */ initialDelaySeconds?: number | undefined; /** Maximum number of concurrent executions for this consumer (OPTIONAL) Must be at least 1 if specified. Behavior when not specified depends on the server's default configuration. */ maxConcurrency?: number | undefined; /** Maximum number of delivery attempts for message processing (OPTIONAL) This represents the total number of times a message can be delivered, not the number of retries. Must be at least 1 if specified. Behavior when not specified depends on the server's default configuration. */ maxDeliveries?: number | undefined; /** Delay in seconds before retrying failed executions (OPTIONAL) Behavior when not specified depends on the server's default configuration. */ retryAfterSeconds?: number | undefined; /** Name of the queue topic to consume from (REQUIRED) */ topic: string; /** Event type - must be "queue/v1beta" (REQUIRED) */ type: GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigFunctionsValueExperimentalTriggersItemCase0Type; } /** Event type - must be "queue/v2beta" (REQUIRED) */ export type GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigFunctionsValueExperimentalTriggersItemCase1Type = "queue/v2beta"; /** Queue trigger input event for v2beta (from vercel.json config). Consumer name is implicitly derived from the function path. Only one trigger per function is allowed. */ export interface GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigFunctionsValueExperimentalTriggersItemCase1 { /** Initial delay in seconds before first execution attempt (OPTIONAL) Must be 0 or greater. Use 0 for no initial delay. Behavior when not specified depends on the server's default configuration. */ initialDelaySeconds?: number | undefined; /** Maximum number of concurrent executions for this consumer (OPTIONAL) Must be at least 1 if specified. Behavior when not specified depends on the server's default configuration. */ maxConcurrency?: number | undefined; /** Maximum number of delivery attempts for message processing (OPTIONAL) This represents the total number of times a message can be delivered, not the number of retries. Must be at least 1 if specified. Behavior when not specified depends on the server's default configuration. */ maxDeliveries?: number | undefined; /** Delay in seconds before retrying failed executions (OPTIONAL) Behavior when not specified depends on the server's default configuration. */ retryAfterSeconds?: number | undefined; /** Name of the queue topic to consume from (REQUIRED) */ topic: string; /** Event type - must be "queue/v2beta" (REQUIRED) */ type: GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigFunctionsValueExperimentalTriggersItemCase1Type; } /** Event type - must be "schedule/v1beta" (REQUIRED) */ export type GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigFunctionsValueExperimentalTriggersItemCase2Type = "schedule/v1beta"; export interface GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigFunctionsValueExperimentalTriggersItemCase2 { /** Event type - must be "schedule/v1beta" (REQUIRED) */ type: GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigFunctionsValueExperimentalTriggersItemCase2Type; } export type GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigFunctionsValueExperimentalTriggersItem = | GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigFunctionsValueExperimentalTriggersItemCase0 | GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigFunctionsValueExperimentalTriggersItemCase1 | GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigFunctionsValueExperimentalTriggersItemCase2; export type GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigFunctionsValueExperimentalTriggersList = Array; export type GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigFunctionsValueFunctionFailoverRegionsList = Array; export type GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigFunctionsValueMaxDurationCase1 = "max"; export type GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigFunctionsValueMaxDuration = | number | GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigFunctionsValueMaxDurationCase1; export type GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigFunctionsValueRegionsList = Array; export interface GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigFunctionsValue { affinity?: | GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigFunctionsValueAffinity | undefined; architecture?: | GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigFunctionsValueArchitecture | undefined; excludeFiles?: string | undefined; experimentalTriggers?: | GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigFunctionsValueExperimentalTriggersList | undefined; functionFailoverRegions?: | GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigFunctionsValueFunctionFailoverRegionsList | undefined; includeFiles?: string | undefined; /** Overrides how dependencies are installed for this function. An empty string skips the install. Only honored by `@vercel/node`. */ installCommand?: string | undefined; maxConcurrency?: number | undefined; maxDuration?: | GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigFunctionsValueMaxDuration | undefined; memory?: number | undefined; regions?: | GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigFunctionsValueRegionsList | undefined; runtime?: string | undefined; supportsCancellation?: boolean | undefined; } export type GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigFunctionsMap = { [key: string]: | GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigFunctionsValue | undefined; }; export type GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigImportMap = { [key: string]: string | undefined; }; export type GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigIncludeFilesCase1List = Array; export type GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigIncludeFiles = | string | GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigIncludeFilesCase1List; /** Matcher supplied outside of the middleware source module. */ export type GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigMiddlewareMatcherCase1List = Array; export type GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigMiddlewareMatcher = | string | GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigMiddlewareMatcherCase1List; /** Enforced runtime for explicitly configured Routing Middleware. */ export type GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigMiddlewareRuntime = "nodejs"; export type GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigProjectSettingsVercelFlags = CancelDeploymentResponseProjectSettingsVercelFlags; export type GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigProjectSettings = CancelDeploymentResponseServicesItemCase0BuilderConfigProjectSettings; /** Names of the schedules that dispatch to this entrypoint, in config order. */ export type GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigScheduleFunctionEntrypointsItemScheduleNamesList = Array; export interface GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigScheduleFunctionEntrypointsItem { /** Runtime-specific entrypoint locator from `vercel.json`. */ entrypoint: string; /** Names of the schedules that dispatch to this entrypoint, in config order. */ scheduleNames: GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigScheduleFunctionEntrypointsItemScheduleNamesList; /** Project-relative source file that contains the entrypoint. */ sourceFile: string; } export type GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigScheduleFunctionEntrypointsList = Array; /** Set when this build produces a function for schedule entrypoints. */ export interface GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigScheduleFunction { entrypoints: GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigScheduleFunctionEntrypointsList; /** Function output path every schedule in this build targets. */ outputPath: string; } export interface GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfig { buildCommand?: string | undefined; /** Buildpack runtime slug (e.g. "ruby"). */ buildpack?: string | undefined; bundle?: boolean | undefined; bunVersion?: string | undefined; /** Set when this build produces the named daemon. */ daemon?: GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigDaemon | undefined; debug?: boolean | undefined; devCommand?: string | undefined; excludeFiles?: | GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigExcludeFiles | undefined; framework?: string | null | undefined; functions?: GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigFunctionsMap | undefined; helpers?: boolean | undefined; import?: GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigImportMap | undefined; includeFiles?: | GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigIncludeFiles | undefined; installCommand?: string | undefined; ldsflags?: string | undefined; maxLambdaSize?: string | undefined; middleware?: boolean | undefined; middlewareMatcher?: | GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigMiddlewareMatcher | undefined; /** Enforced runtime for explicitly configured Routing Middleware. */ middlewareRuntime?: | GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigMiddlewareRuntime | undefined; nodeVersion?: string | undefined; outputDirectory?: string | undefined; projectSettings?: | CancelDeploymentResponseServicesItemCase0BuilderConfigProjectSettings | undefined; rust?: string | undefined; /** Set when this build produces a function for schedule entrypoints. */ scheduleFunction?: | GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfigScheduleFunction | undefined; /** Owning service name; scopes per-function config such as the v2beta consumer. */ serviceName?: string | undefined; zeroConfig?: boolean | undefined; } /** Builder selected by the resolver. */ export interface GetDeploymentResponseBodyCase1ServicesItemCase1Builder { config?: GetDeploymentResponseBodyCase1ServicesItemCase1BuilderConfig | undefined; src?: string | undefined; use: string; } /** Command override for `runtime: "container"` services. */ export type GetDeploymentResponseBodyCase1ServicesItemCase1CommandList = Array; export type GetDeploymentResponseBodyCase1ServicesItemCase1FunctionsValueAffinityMode = "strict"; export interface GetDeploymentResponseBodyCase1ServicesItemCase1FunctionsValueAffinity { mode: GetDeploymentResponseBodyCase1ServicesItemCase1FunctionsValueAffinityMode; } export type GetDeploymentResponseBodyCase1ServicesItemCase1FunctionsValueArchitecture = | "arm64" | "x86_64"; /** Event type - must be "queue/v1beta" (REQUIRED) */ export type GetDeploymentResponseBodyCase1ServicesItemCase1FunctionsValueExperimentalTriggersItemCase0Type = "queue/v1beta"; /** Queue trigger input event for v1beta (from vercel.json config). Requires explicit consumer name. */ export interface GetDeploymentResponseBodyCase1ServicesItemCase1FunctionsValueExperimentalTriggersItemCase0 { /** Name of the consumer group for this trigger (REQUIRED) */ consumer: string; /** Initial delay in seconds before first execution attempt (OPTIONAL) Must be 0 or greater. Use 0 for no initial delay. Behavior when not specified depends on the server's default configuration. */ initialDelaySeconds?: number | undefined; /** Maximum number of concurrent executions for this consumer (OPTIONAL) Must be at least 1 if specified. Behavior when not specified depends on the server's default configuration. */ maxConcurrency?: number | undefined; /** Maximum number of delivery attempts for message processing (OPTIONAL) This represents the total number of times a message can be delivered, not the number of retries. Must be at least 1 if specified. Behavior when not specified depends on the server's default configuration. */ maxDeliveries?: number | undefined; /** Delay in seconds before retrying failed executions (OPTIONAL) Behavior when not specified depends on the server's default configuration. */ retryAfterSeconds?: number | undefined; /** Name of the queue topic to consume from (REQUIRED) */ topic: string; /** Event type - must be "queue/v1beta" (REQUIRED) */ type: GetDeploymentResponseBodyCase1ServicesItemCase1FunctionsValueExperimentalTriggersItemCase0Type; } /** Event type - must be "queue/v2beta" (REQUIRED) */ export type GetDeploymentResponseBodyCase1ServicesItemCase1FunctionsValueExperimentalTriggersItemCase1Type = "queue/v2beta"; /** Queue trigger input event for v2beta (from vercel.json config). Consumer name is implicitly derived from the function path. Only one trigger per function is allowed. */ export interface GetDeploymentResponseBodyCase1ServicesItemCase1FunctionsValueExperimentalTriggersItemCase1 { /** Initial delay in seconds before first execution attempt (OPTIONAL) Must be 0 or greater. Use 0 for no initial delay. Behavior when not specified depends on the server's default configuration. */ initialDelaySeconds?: number | undefined; /** Maximum number of concurrent executions for this consumer (OPTIONAL) Must be at least 1 if specified. Behavior when not specified depends on the server's default configuration. */ maxConcurrency?: number | undefined; /** Maximum number of delivery attempts for message processing (OPTIONAL) This represents the total number of times a message can be delivered, not the number of retries. Must be at least 1 if specified. Behavior when not specified depends on the server's default configuration. */ maxDeliveries?: number | undefined; /** Delay in seconds before retrying failed executions (OPTIONAL) Behavior when not specified depends on the server's default configuration. */ retryAfterSeconds?: number | undefined; /** Name of the queue topic to consume from (REQUIRED) */ topic: string; /** Event type - must be "queue/v2beta" (REQUIRED) */ type: GetDeploymentResponseBodyCase1ServicesItemCase1FunctionsValueExperimentalTriggersItemCase1Type; } /** Event type - must be "schedule/v1beta" (REQUIRED) */ export type GetDeploymentResponseBodyCase1ServicesItemCase1FunctionsValueExperimentalTriggersItemCase2Type = "schedule/v1beta"; export interface GetDeploymentResponseBodyCase1ServicesItemCase1FunctionsValueExperimentalTriggersItemCase2 { /** Event type - must be "schedule/v1beta" (REQUIRED) */ type: GetDeploymentResponseBodyCase1ServicesItemCase1FunctionsValueExperimentalTriggersItemCase2Type; } export type GetDeploymentResponseBodyCase1ServicesItemCase1FunctionsValueExperimentalTriggersItem = | GetDeploymentResponseBodyCase1ServicesItemCase1FunctionsValueExperimentalTriggersItemCase0 | GetDeploymentResponseBodyCase1ServicesItemCase1FunctionsValueExperimentalTriggersItemCase1 | GetDeploymentResponseBodyCase1ServicesItemCase1FunctionsValueExperimentalTriggersItemCase2; export type GetDeploymentResponseBodyCase1ServicesItemCase1FunctionsValueExperimentalTriggersList = Array; export type GetDeploymentResponseBodyCase1ServicesItemCase1FunctionsValueFunctionFailoverRegionsList = Array; export type GetDeploymentResponseBodyCase1ServicesItemCase1FunctionsValueMaxDurationCase1 = "max"; export type GetDeploymentResponseBodyCase1ServicesItemCase1FunctionsValueMaxDuration = | number | GetDeploymentResponseBodyCase1ServicesItemCase1FunctionsValueMaxDurationCase1; export type GetDeploymentResponseBodyCase1ServicesItemCase1FunctionsValueRegionsList = Array; /** Function configuration scoped to this service. */ export interface GetDeploymentResponseBodyCase1ServicesItemCase1FunctionsValue { affinity?: GetDeploymentResponseBodyCase1ServicesItemCase1FunctionsValueAffinity | undefined; architecture?: | GetDeploymentResponseBodyCase1ServicesItemCase1FunctionsValueArchitecture | undefined; excludeFiles?: string | undefined; experimentalTriggers?: | GetDeploymentResponseBodyCase1ServicesItemCase1FunctionsValueExperimentalTriggersList | undefined; functionFailoverRegions?: | GetDeploymentResponseBodyCase1ServicesItemCase1FunctionsValueFunctionFailoverRegionsList | undefined; includeFiles?: string | undefined; /** Overrides how dependencies are installed for this function. An empty string skips the install. Only honored by `@vercel/node`. */ installCommand?: string | undefined; maxConcurrency?: number | undefined; maxDuration?: | GetDeploymentResponseBodyCase1ServicesItemCase1FunctionsValueMaxDuration | undefined; memory?: number | undefined; regions?: GetDeploymentResponseBodyCase1ServicesItemCase1FunctionsValueRegionsList | undefined; runtime?: string | undefined; supportsCancellation?: boolean | undefined; } /** Function configuration scoped to this service. */ export type GetDeploymentResponseBodyCase1ServicesItemCase1FunctionsMap = { [key: string]: GetDeploymentResponseBodyCase1ServicesItemCase1FunctionsValue | undefined; }; export type GetDeploymentResponseBodyCase1ServicesItemCase1HeadersItemHasItemCase0Type = "host"; export type GetDeploymentResponseBodyCase1ServicesItemCase1HeadersItemHasItemCase0ValueCase1Eq = | string | number; export type GetDeploymentResponseBodyCase1ServicesItemCase1HeadersItemHasItemCase0ValueCase1IncList = Array; export type GetDeploymentResponseBodyCase1ServicesItemCase1HeadersItemHasItemCase0ValueCase1NincList = Array; export interface GetDeploymentResponseBodyCase1ServicesItemCase1HeadersItemHasItemCase0ValueCase1 { eq?: | GetDeploymentResponseBodyCase1ServicesItemCase1HeadersItemHasItemCase0ValueCase1Eq | undefined; gt?: number | undefined; gte?: number | undefined; inc?: | GetDeploymentResponseBodyCase1ServicesItemCase1HeadersItemHasItemCase0ValueCase1IncList | undefined; lt?: number | undefined; lte?: number | undefined; neq?: string | undefined; ninc?: | GetDeploymentResponseBodyCase1ServicesItemCase1HeadersItemHasItemCase0ValueCase1NincList | undefined; pre?: string | undefined; re?: string | undefined; suf?: string | undefined; } export type GetDeploymentResponseBodyCase1ServicesItemCase1HeadersItemHasItemCase0Value = | string | GetDeploymentResponseBodyCase1ServicesItemCase1HeadersItemHasItemCase0ValueCase1; export interface GetDeploymentResponseBodyCase1ServicesItemCase1HeadersItemHasItemCase0 { type: GetDeploymentResponseBodyCase1ServicesItemCase1HeadersItemHasItemCase0Type; value: GetDeploymentResponseBodyCase1ServicesItemCase1HeadersItemHasItemCase0Value; } export type GetDeploymentResponseBodyCase1ServicesItemCase1HeadersItemHasItemCase1Type = | "cookie" | "header" | "query"; export type GetDeploymentResponseBodyCase1ServicesItemCase1HeadersItemHasItemCase1ValueCase1Eq = | string | number; export type GetDeploymentResponseBodyCase1ServicesItemCase1HeadersItemHasItemCase1ValueCase1IncList = Array; export type GetDeploymentResponseBodyCase1ServicesItemCase1HeadersItemHasItemCase1ValueCase1NincList = Array; export interface GetDeploymentResponseBodyCase1ServicesItemCase1HeadersItemHasItemCase1ValueCase1 { eq?: | GetDeploymentResponseBodyCase1ServicesItemCase1HeadersItemHasItemCase1ValueCase1Eq | undefined; gt?: number | undefined; gte?: number | undefined; inc?: | GetDeploymentResponseBodyCase1ServicesItemCase1HeadersItemHasItemCase1ValueCase1IncList | undefined; lt?: number | undefined; lte?: number | undefined; neq?: string | undefined; ninc?: | GetDeploymentResponseBodyCase1ServicesItemCase1HeadersItemHasItemCase1ValueCase1NincList | undefined; pre?: string | undefined; re?: string | undefined; suf?: string | undefined; } export type GetDeploymentResponseBodyCase1ServicesItemCase1HeadersItemHasItemCase1Value = | string | GetDeploymentResponseBodyCase1ServicesItemCase1HeadersItemHasItemCase1ValueCase1; export interface GetDeploymentResponseBodyCase1ServicesItemCase1HeadersItemHasItemCase1 { key: string; type: GetDeploymentResponseBodyCase1ServicesItemCase1HeadersItemHasItemCase1Type; value?: GetDeploymentResponseBodyCase1ServicesItemCase1HeadersItemHasItemCase1Value | undefined; } export type GetDeploymentResponseBodyCase1ServicesItemCase1HeadersItemHasItem = | GetDeploymentResponseBodyCase1ServicesItemCase1HeadersItemHasItemCase0 | GetDeploymentResponseBodyCase1ServicesItemCase1HeadersItemHasItemCase1; export type GetDeploymentResponseBodyCase1ServicesItemCase1HeadersItemHasList = Array; export type GetDeploymentResponseBodyCase1ServicesItemCase1HeadersItemHeadersItem = CancelDeploymentResponseServicesItemCase1HeadersItemHeadersItem; export type GetDeploymentResponseBodyCase1ServicesItemCase1HeadersItemHeadersList = Array; export type GetDeploymentResponseBodyCase1ServicesItemCase1HeadersItemMissingItemCase0Type = "host"; export type GetDeploymentResponseBodyCase1ServicesItemCase1HeadersItemMissingItemCase0ValueCase1Eq = | string | number; export type GetDeploymentResponseBodyCase1ServicesItemCase1HeadersItemMissingItemCase0ValueCase1IncList = Array; export type GetDeploymentResponseBodyCase1ServicesItemCase1HeadersItemMissingItemCase0ValueCase1NincList = Array; export interface GetDeploymentResponseBodyCase1ServicesItemCase1HeadersItemMissingItemCase0ValueCase1 { eq?: | GetDeploymentResponseBodyCase1ServicesItemCase1HeadersItemMissingItemCase0ValueCase1Eq | undefined; gt?: number | undefined; gte?: number | undefined; inc?: | GetDeploymentResponseBodyCase1ServicesItemCase1HeadersItemMissingItemCase0ValueCase1IncList | undefined; lt?: number | undefined; lte?: number | undefined; neq?: string | undefined; ninc?: | GetDeploymentResponseBodyCase1ServicesItemCase1HeadersItemMissingItemCase0ValueCase1NincList | undefined; pre?: string | undefined; re?: string | undefined; suf?: string | undefined; } export type GetDeploymentResponseBodyCase1ServicesItemCase1HeadersItemMissingItemCase0Value = | string | GetDeploymentResponseBodyCase1ServicesItemCase1HeadersItemMissingItemCase0ValueCase1; export interface GetDeploymentResponseBodyCase1ServicesItemCase1HeadersItemMissingItemCase0 { type: GetDeploymentResponseBodyCase1ServicesItemCase1HeadersItemMissingItemCase0Type; value: GetDeploymentResponseBodyCase1ServicesItemCase1HeadersItemMissingItemCase0Value; } export type GetDeploymentResponseBodyCase1ServicesItemCase1HeadersItemMissingItemCase1Type = | "cookie" | "header" | "query"; export type GetDeploymentResponseBodyCase1ServicesItemCase1HeadersItemMissingItemCase1ValueCase1Eq = | string | number; export type GetDeploymentResponseBodyCase1ServicesItemCase1HeadersItemMissingItemCase1ValueCase1IncList = Array; export type GetDeploymentResponseBodyCase1ServicesItemCase1HeadersItemMissingItemCase1ValueCase1NincList = Array; export interface GetDeploymentResponseBodyCase1ServicesItemCase1HeadersItemMissingItemCase1ValueCase1 { eq?: | GetDeploymentResponseBodyCase1ServicesItemCase1HeadersItemMissingItemCase1ValueCase1Eq | undefined; gt?: number | undefined; gte?: number | undefined; inc?: | GetDeploymentResponseBodyCase1ServicesItemCase1HeadersItemMissingItemCase1ValueCase1IncList | undefined; lt?: number | undefined; lte?: number | undefined; neq?: string | undefined; ninc?: | GetDeploymentResponseBodyCase1ServicesItemCase1HeadersItemMissingItemCase1ValueCase1NincList | undefined; pre?: string | undefined; re?: string | undefined; suf?: string | undefined; } export type GetDeploymentResponseBodyCase1ServicesItemCase1HeadersItemMissingItemCase1Value = | string | GetDeploymentResponseBodyCase1ServicesItemCase1HeadersItemMissingItemCase1ValueCase1; export interface GetDeploymentResponseBodyCase1ServicesItemCase1HeadersItemMissingItemCase1 { key: string; type: GetDeploymentResponseBodyCase1ServicesItemCase1HeadersItemMissingItemCase1Type; value?: | GetDeploymentResponseBodyCase1ServicesItemCase1HeadersItemMissingItemCase1Value | undefined; } export type GetDeploymentResponseBodyCase1ServicesItemCase1HeadersItemMissingItem = | GetDeploymentResponseBodyCase1ServicesItemCase1HeadersItemMissingItemCase0 | GetDeploymentResponseBodyCase1ServicesItemCase1HeadersItemMissingItemCase1; export type GetDeploymentResponseBodyCase1ServicesItemCase1HeadersItemMissingList = Array; export interface GetDeploymentResponseBodyCase1ServicesItemCase1HeadersItem { has?: GetDeploymentResponseBodyCase1ServicesItemCase1HeadersItemHasList | undefined; headers: GetDeploymentResponseBodyCase1ServicesItemCase1HeadersItemHeadersList; missing?: GetDeploymentResponseBodyCase1ServicesItemCase1HeadersItemMissingList | undefined; source: string; } export type GetDeploymentResponseBodyCase1ServicesItemCase1HeadersList = Array; export type GetDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemEnvList = Array; export type GetDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemHasItemCase0Type = "host"; export type GetDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemHasItemCase0ValueCase1Eq = | string | number; export type GetDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemHasItemCase0ValueCase1IncList = Array; export type GetDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemHasItemCase0ValueCase1NincList = Array; export interface GetDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemHasItemCase0ValueCase1 { eq?: | GetDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemHasItemCase0ValueCase1Eq | undefined; gt?: number | undefined; gte?: number | undefined; inc?: | GetDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemHasItemCase0ValueCase1IncList | undefined; lt?: number | undefined; lte?: number | undefined; neq?: string | undefined; ninc?: | GetDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemHasItemCase0ValueCase1NincList | undefined; pre?: string | undefined; re?: string | undefined; suf?: string | undefined; } export type GetDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemHasItemCase0Value = | string | GetDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemHasItemCase0ValueCase1; export interface GetDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemHasItemCase0 { type: GetDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemHasItemCase0Type; value: GetDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemHasItemCase0Value; } export type GetDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemHasItemCase1Type = | "cookie" | "header" | "query"; export type GetDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemHasItemCase1ValueCase1Eq = | string | number; export type GetDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemHasItemCase1ValueCase1IncList = Array; export type GetDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemHasItemCase1ValueCase1NincList = Array; export interface GetDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemHasItemCase1ValueCase1 { eq?: | GetDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemHasItemCase1ValueCase1Eq | undefined; gt?: number | undefined; gte?: number | undefined; inc?: | GetDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemHasItemCase1ValueCase1IncList | undefined; lt?: number | undefined; lte?: number | undefined; neq?: string | undefined; ninc?: | GetDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemHasItemCase1ValueCase1NincList | undefined; pre?: string | undefined; re?: string | undefined; suf?: string | undefined; } export type GetDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemHasItemCase1Value = | string | GetDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemHasItemCase1ValueCase1; export interface GetDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemHasItemCase1 { key: string; type: GetDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemHasItemCase1Type; value?: GetDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemHasItemCase1Value | undefined; } export type GetDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemHasItem = | GetDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemHasItemCase0 | GetDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemHasItemCase1; export type GetDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemHasList = Array; export type GetDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemMissingItemCase0Type = "host"; export type GetDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemMissingItemCase0ValueCase1Eq = | string | number; export type GetDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemMissingItemCase0ValueCase1IncList = Array; export type GetDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemMissingItemCase0ValueCase1NincList = Array; export interface GetDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemMissingItemCase0ValueCase1 { eq?: | GetDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemMissingItemCase0ValueCase1Eq | undefined; gt?: number | undefined; gte?: number | undefined; inc?: | GetDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemMissingItemCase0ValueCase1IncList | undefined; lt?: number | undefined; lte?: number | undefined; neq?: string | undefined; ninc?: | GetDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemMissingItemCase0ValueCase1NincList | undefined; pre?: string | undefined; re?: string | undefined; suf?: string | undefined; } export type GetDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemMissingItemCase0Value = | string | GetDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemMissingItemCase0ValueCase1; export interface GetDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemMissingItemCase0 { type: GetDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemMissingItemCase0Type; value: GetDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemMissingItemCase0Value; } export type GetDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemMissingItemCase1Type = | "cookie" | "header" | "query"; export type GetDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemMissingItemCase1ValueCase1Eq = | string | number; export type GetDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemMissingItemCase1ValueCase1IncList = Array; export type GetDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemMissingItemCase1ValueCase1NincList = Array; export interface GetDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemMissingItemCase1ValueCase1 { eq?: | GetDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemMissingItemCase1ValueCase1Eq | undefined; gt?: number | undefined; gte?: number | undefined; inc?: | GetDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemMissingItemCase1ValueCase1IncList | undefined; lt?: number | undefined; lte?: number | undefined; neq?: string | undefined; ninc?: | GetDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemMissingItemCase1ValueCase1NincList | undefined; pre?: string | undefined; re?: string | undefined; suf?: string | undefined; } export type GetDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemMissingItemCase1Value = | string | GetDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemMissingItemCase1ValueCase1; export interface GetDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemMissingItemCase1 { key: string; type: GetDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemMissingItemCase1Type; value?: | GetDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemMissingItemCase1Value | undefined; } export type GetDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemMissingItem = | GetDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemMissingItemCase0 | GetDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemMissingItemCase1; export type GetDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemMissingList = Array; export interface GetDeploymentResponseBodyCase1ServicesItemCase1RedirectsItem { destination: string; env?: GetDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemEnvList | undefined; has?: GetDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemHasList | undefined; missing?: GetDeploymentResponseBodyCase1ServicesItemCase1RedirectsItemMissingList | undefined; permanent?: boolean | undefined; source: string; statusCode?: number | undefined; } export type GetDeploymentResponseBodyCase1ServicesItemCase1RedirectsList = Array; /** Optional explicit format marker. The destination is identified by the presence of `service`, so `type` is no longer required. */ export type GetDeploymentResponseBodyCase1ServicesItemCase1RewritesItemDestinationCase1Type = "service"; export interface GetDeploymentResponseBodyCase1ServicesItemCase1RewritesItemDestinationCase1 { /** Routing-only path used to select a route inside the target service. */ path?: string | undefined; service: string; /** Optional explicit format marker. The destination is identified by the presence of `service`, so `type` is no longer required. */ type?: | GetDeploymentResponseBodyCase1ServicesItemCase1RewritesItemDestinationCase1Type | undefined; } export type GetDeploymentResponseBodyCase1ServicesItemCase1RewritesItemDestination = | string | GetDeploymentResponseBodyCase1ServicesItemCase1RewritesItemDestinationCase1; export type GetDeploymentResponseBodyCase1ServicesItemCase1RewritesItemEnvList = Array; export type GetDeploymentResponseBodyCase1ServicesItemCase1RewritesItemHasItemCase0Type = "host"; export type GetDeploymentResponseBodyCase1ServicesItemCase1RewritesItemHasItemCase0ValueCase1Eq = | string | number; export type GetDeploymentResponseBodyCase1ServicesItemCase1RewritesItemHasItemCase0ValueCase1IncList = Array; export type GetDeploymentResponseBodyCase1ServicesItemCase1RewritesItemHasItemCase0ValueCase1NincList = Array; export interface GetDeploymentResponseBodyCase1ServicesItemCase1RewritesItemHasItemCase0ValueCase1 { eq?: | GetDeploymentResponseBodyCase1ServicesItemCase1RewritesItemHasItemCase0ValueCase1Eq | undefined; gt?: number | undefined; gte?: number | undefined; inc?: | GetDeploymentResponseBodyCase1ServicesItemCase1RewritesItemHasItemCase0ValueCase1IncList | undefined; lt?: number | undefined; lte?: number | undefined; neq?: string | undefined; ninc?: | GetDeploymentResponseBodyCase1ServicesItemCase1RewritesItemHasItemCase0ValueCase1NincList | undefined; pre?: string | undefined; re?: string | undefined; suf?: string | undefined; } export type GetDeploymentResponseBodyCase1ServicesItemCase1RewritesItemHasItemCase0Value = | string | GetDeploymentResponseBodyCase1ServicesItemCase1RewritesItemHasItemCase0ValueCase1; export interface GetDeploymentResponseBodyCase1ServicesItemCase1RewritesItemHasItemCase0 { type: GetDeploymentResponseBodyCase1ServicesItemCase1RewritesItemHasItemCase0Type; value: GetDeploymentResponseBodyCase1ServicesItemCase1RewritesItemHasItemCase0Value; } export type GetDeploymentResponseBodyCase1ServicesItemCase1RewritesItemHasItemCase1Type = | "cookie" | "header" | "query"; export type GetDeploymentResponseBodyCase1ServicesItemCase1RewritesItemHasItemCase1ValueCase1Eq = | string | number; export type GetDeploymentResponseBodyCase1ServicesItemCase1RewritesItemHasItemCase1ValueCase1IncList = Array; export type GetDeploymentResponseBodyCase1ServicesItemCase1RewritesItemHasItemCase1ValueCase1NincList = Array; export interface GetDeploymentResponseBodyCase1ServicesItemCase1RewritesItemHasItemCase1ValueCase1 { eq?: | GetDeploymentResponseBodyCase1ServicesItemCase1RewritesItemHasItemCase1ValueCase1Eq | undefined; gt?: number | undefined; gte?: number | undefined; inc?: | GetDeploymentResponseBodyCase1ServicesItemCase1RewritesItemHasItemCase1ValueCase1IncList | undefined; lt?: number | undefined; lte?: number | undefined; neq?: string | undefined; ninc?: | GetDeploymentResponseBodyCase1ServicesItemCase1RewritesItemHasItemCase1ValueCase1NincList | undefined; pre?: string | undefined; re?: string | undefined; suf?: string | undefined; } export type GetDeploymentResponseBodyCase1ServicesItemCase1RewritesItemHasItemCase1Value = | string | GetDeploymentResponseBodyCase1ServicesItemCase1RewritesItemHasItemCase1ValueCase1; export interface GetDeploymentResponseBodyCase1ServicesItemCase1RewritesItemHasItemCase1 { key: string; type: GetDeploymentResponseBodyCase1ServicesItemCase1RewritesItemHasItemCase1Type; value?: GetDeploymentResponseBodyCase1ServicesItemCase1RewritesItemHasItemCase1Value | undefined; } export type GetDeploymentResponseBodyCase1ServicesItemCase1RewritesItemHasItem = | GetDeploymentResponseBodyCase1ServicesItemCase1RewritesItemHasItemCase0 | GetDeploymentResponseBodyCase1ServicesItemCase1RewritesItemHasItemCase1; export type GetDeploymentResponseBodyCase1ServicesItemCase1RewritesItemHasList = Array; export type GetDeploymentResponseBodyCase1ServicesItemCase1RewritesItemMissingItemCase0Type = "host"; export type GetDeploymentResponseBodyCase1ServicesItemCase1RewritesItemMissingItemCase0ValueCase1Eq = | string | number; export type GetDeploymentResponseBodyCase1ServicesItemCase1RewritesItemMissingItemCase0ValueCase1IncList = Array; export type GetDeploymentResponseBodyCase1ServicesItemCase1RewritesItemMissingItemCase0ValueCase1NincList = Array; export interface GetDeploymentResponseBodyCase1ServicesItemCase1RewritesItemMissingItemCase0ValueCase1 { eq?: | GetDeploymentResponseBodyCase1ServicesItemCase1RewritesItemMissingItemCase0ValueCase1Eq | undefined; gt?: number | undefined; gte?: number | undefined; inc?: | GetDeploymentResponseBodyCase1ServicesItemCase1RewritesItemMissingItemCase0ValueCase1IncList | undefined; lt?: number | undefined; lte?: number | undefined; neq?: string | undefined; ninc?: | GetDeploymentResponseBodyCase1ServicesItemCase1RewritesItemMissingItemCase0ValueCase1NincList | undefined; pre?: string | undefined; re?: string | undefined; suf?: string | undefined; } export type GetDeploymentResponseBodyCase1ServicesItemCase1RewritesItemMissingItemCase0Value = | string | GetDeploymentResponseBodyCase1ServicesItemCase1RewritesItemMissingItemCase0ValueCase1; export interface GetDeploymentResponseBodyCase1ServicesItemCase1RewritesItemMissingItemCase0 { type: GetDeploymentResponseBodyCase1ServicesItemCase1RewritesItemMissingItemCase0Type; value: GetDeploymentResponseBodyCase1ServicesItemCase1RewritesItemMissingItemCase0Value; } export type GetDeploymentResponseBodyCase1ServicesItemCase1RewritesItemMissingItemCase1Type = | "cookie" | "header" | "query"; export type GetDeploymentResponseBodyCase1ServicesItemCase1RewritesItemMissingItemCase1ValueCase1Eq = | string | number; export type GetDeploymentResponseBodyCase1ServicesItemCase1RewritesItemMissingItemCase1ValueCase1IncList = Array; export type GetDeploymentResponseBodyCase1ServicesItemCase1RewritesItemMissingItemCase1ValueCase1NincList = Array; export interface GetDeploymentResponseBodyCase1ServicesItemCase1RewritesItemMissingItemCase1ValueCase1 { eq?: | GetDeploymentResponseBodyCase1ServicesItemCase1RewritesItemMissingItemCase1ValueCase1Eq | undefined; gt?: number | undefined; gte?: number | undefined; inc?: | GetDeploymentResponseBodyCase1ServicesItemCase1RewritesItemMissingItemCase1ValueCase1IncList | undefined; lt?: number | undefined; lte?: number | undefined; neq?: string | undefined; ninc?: | GetDeploymentResponseBodyCase1ServicesItemCase1RewritesItemMissingItemCase1ValueCase1NincList | undefined; pre?: string | undefined; re?: string | undefined; suf?: string | undefined; } export type GetDeploymentResponseBodyCase1ServicesItemCase1RewritesItemMissingItemCase1Value = | string | GetDeploymentResponseBodyCase1ServicesItemCase1RewritesItemMissingItemCase1ValueCase1; export interface GetDeploymentResponseBodyCase1ServicesItemCase1RewritesItemMissingItemCase1 { key: string; type: GetDeploymentResponseBodyCase1ServicesItemCase1RewritesItemMissingItemCase1Type; value?: | GetDeploymentResponseBodyCase1ServicesItemCase1RewritesItemMissingItemCase1Value | undefined; } export type GetDeploymentResponseBodyCase1ServicesItemCase1RewritesItemMissingItem = | GetDeploymentResponseBodyCase1ServicesItemCase1RewritesItemMissingItemCase0 | GetDeploymentResponseBodyCase1ServicesItemCase1RewritesItemMissingItemCase1; export type GetDeploymentResponseBodyCase1ServicesItemCase1RewritesItemMissingList = Array; export type GetDeploymentResponseBodyCase1ServicesItemCase1RewritesItemTransformsItemEnvList = Array; export type GetDeploymentResponseBodyCase1ServicesItemCase1RewritesItemTransformsItemOp = "set"; export type GetDeploymentResponseBodyCase1ServicesItemCase1RewritesItemTransformsItemType = "request.path"; export interface GetDeploymentResponseBodyCase1ServicesItemCase1RewritesItemTransformsItem { args: string; env?: | GetDeploymentResponseBodyCase1ServicesItemCase1RewritesItemTransformsItemEnvList | undefined; /** Keep an earlier request.path value. Builders use this for fallback routes. */ fallback?: boolean | undefined; op: GetDeploymentResponseBodyCase1ServicesItemCase1RewritesItemTransformsItemOp; type: GetDeploymentResponseBodyCase1ServicesItemCase1RewritesItemTransformsItemType; } export type GetDeploymentResponseBodyCase1ServicesItemCase1RewritesItemTransformsList = Array; export interface GetDeploymentResponseBodyCase1ServicesItemCase1RewritesItem { destination: GetDeploymentResponseBodyCase1ServicesItemCase1RewritesItemDestination; env?: GetDeploymentResponseBodyCase1ServicesItemCase1RewritesItemEnvList | undefined; has?: GetDeploymentResponseBodyCase1ServicesItemCase1RewritesItemHasList | undefined; missing?: GetDeploymentResponseBodyCase1ServicesItemCase1RewritesItemMissingList | undefined; respectOriginCacheControl?: boolean | undefined; source: string; statusCode?: number | undefined; transforms?: | GetDeploymentResponseBodyCase1ServicesItemCase1RewritesItemTransformsList | undefined; } export type GetDeploymentResponseBodyCase1ServicesItemCase1RewritesList = Array; /** Optional explicit format marker. The destination is identified by the presence of `service`, so `type` is no longer required. */ export type GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0DestinationCase1Type = "service"; export interface GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0DestinationCase1 { /** Routing-only path used to select a route inside the target service. */ path?: string | undefined; service: string; /** Optional explicit format marker. The destination is identified by the presence of `service`, so `type` is no longer required. */ type?: | GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0DestinationCase1Type | undefined; } export type GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0Destination = | string | GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0DestinationCase1; export type GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0EnvList = Array; export type GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0HasItemCase0Type = "host"; export type GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0HasItemCase0ValueCase1Eq = | string | number; export type GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0HasItemCase0ValueCase1IncList = Array; export type GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0HasItemCase0ValueCase1NincList = Array; export interface GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0HasItemCase0ValueCase1 { eq?: | GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0HasItemCase0ValueCase1Eq | undefined; gt?: number | undefined; gte?: number | undefined; inc?: | GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0HasItemCase0ValueCase1IncList | undefined; lt?: number | undefined; lte?: number | undefined; neq?: string | undefined; ninc?: | GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0HasItemCase0ValueCase1NincList | undefined; pre?: string | undefined; re?: string | undefined; suf?: string | undefined; } export type GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0HasItemCase0Value = | string | GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0HasItemCase0ValueCase1; export interface GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0HasItemCase0 { type: GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0HasItemCase0Type; value: GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0HasItemCase0Value; } export type GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0HasItemCase1Type = | "cookie" | "header" | "query"; export type GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0HasItemCase1ValueCase1Eq = | string | number; export type GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0HasItemCase1ValueCase1IncList = Array; export type GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0HasItemCase1ValueCase1NincList = Array; export interface GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0HasItemCase1ValueCase1 { eq?: | GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0HasItemCase1ValueCase1Eq | undefined; gt?: number | undefined; gte?: number | undefined; inc?: | GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0HasItemCase1ValueCase1IncList | undefined; lt?: number | undefined; lte?: number | undefined; neq?: string | undefined; ninc?: | GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0HasItemCase1ValueCase1NincList | undefined; pre?: string | undefined; re?: string | undefined; suf?: string | undefined; } export type GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0HasItemCase1Value = | string | GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0HasItemCase1ValueCase1; export interface GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0HasItemCase1 { key: string; type: GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0HasItemCase1Type; value?: | GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0HasItemCase1Value | undefined; } export type GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0HasItem = | GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0HasItemCase0 | GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0HasItemCase1; export type GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0HasList = Array; export type GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0HeadersMap = { [key: string]: string | undefined; }; export type GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0LocaleRedirectMap = { [key: string]: string | undefined; }; export interface GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0Locale { cookie?: string | undefined; redirect?: | GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0LocaleRedirectMap | undefined; } export type GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0MethodsList = Array; /** The original middleware matchers. */ export type GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0MiddlewareRawSrcList = Array; export type GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0MissingItemCase0Type = "host"; export type GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0MissingItemCase0ValueCase1Eq = | string | number; export type GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0MissingItemCase0ValueCase1IncList = Array; export type GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0MissingItemCase0ValueCase1NincList = Array; export interface GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0MissingItemCase0ValueCase1 { eq?: | GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0MissingItemCase0ValueCase1Eq | undefined; gt?: number | undefined; gte?: number | undefined; inc?: | GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0MissingItemCase0ValueCase1IncList | undefined; lt?: number | undefined; lte?: number | undefined; neq?: string | undefined; ninc?: | GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0MissingItemCase0ValueCase1NincList | undefined; pre?: string | undefined; re?: string | undefined; suf?: string | undefined; } export type GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0MissingItemCase0Value = | string | GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0MissingItemCase0ValueCase1; export interface GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0MissingItemCase0 { type: GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0MissingItemCase0Type; value: GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0MissingItemCase0Value; } export type GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0MissingItemCase1Type = | "cookie" | "header" | "query"; export type GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0MissingItemCase1ValueCase1Eq = | string | number; export type GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0MissingItemCase1ValueCase1IncList = Array; export type GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0MissingItemCase1ValueCase1NincList = Array; export interface GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0MissingItemCase1ValueCase1 { eq?: | GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0MissingItemCase1ValueCase1Eq | undefined; gt?: number | undefined; gte?: number | undefined; inc?: | GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0MissingItemCase1ValueCase1IncList | undefined; lt?: number | undefined; lte?: number | undefined; neq?: string | undefined; ninc?: | GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0MissingItemCase1ValueCase1NincList | undefined; pre?: string | undefined; re?: string | undefined; suf?: string | undefined; } export type GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0MissingItemCase1Value = | string | GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0MissingItemCase1ValueCase1; export interface GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0MissingItemCase1 { key: string; type: GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0MissingItemCase1Type; value?: | GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0MissingItemCase1Value | undefined; } export type GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0MissingItem = | GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0MissingItemCase0 | GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0MissingItemCase1; export type GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0MissingList = Array; export type GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0MitigateAction = | "challenge" | "deny"; export interface GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0Mitigate { action: GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0MitigateAction; } export type GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0TransformsItemCase0ArgsCase1List = Array; export type GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0TransformsItemCase0Args = | string | GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0TransformsItemCase0ArgsCase1List; export type GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0TransformsItemCase0EnvList = Array; export type GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0TransformsItemCase0Op = | "append" | "delete" | "set"; export type GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0TransformsItemCase0TargetKeyCase1Eq = | string | number; export type GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0TransformsItemCase0TargetKeyCase1IncList = Array; export type GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0TransformsItemCase0TargetKeyCase1NincList = Array; export interface GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0TransformsItemCase0TargetKeyCase1 { eq?: | GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0TransformsItemCase0TargetKeyCase1Eq | undefined; gt?: number | undefined; gte?: number | undefined; inc?: | GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0TransformsItemCase0TargetKeyCase1IncList | undefined; lt?: number | undefined; lte?: number | undefined; neq?: string | undefined; ninc?: | GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0TransformsItemCase0TargetKeyCase1NincList | undefined; pre?: string | undefined; suf?: string | undefined; } export type GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0TransformsItemCase0TargetKey = | string | GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0TransformsItemCase0TargetKeyCase1; export interface GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0TransformsItemCase0Target { key: GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0TransformsItemCase0TargetKey; } export type GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0TransformsItemCase0Type = | "request.headers" | "request.query" | "response.headers"; export interface GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0TransformsItemCase0 { args?: | GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0TransformsItemCase0Args | undefined; env?: | GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0TransformsItemCase0EnvList | undefined; op: GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0TransformsItemCase0Op; target: GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0TransformsItemCase0Target; type: GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0TransformsItemCase0Type; } export type GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0TransformsItemCase1EnvList = Array; export type GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0TransformsItemCase1Op = "set"; export type GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0TransformsItemCase1Type = "request.path"; export interface GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0TransformsItemCase1 { args: string; env?: | GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0TransformsItemCase1EnvList | undefined; /** Keep an earlier request.path value. Builders use this for fallback routes. */ fallback?: boolean | undefined; op: GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0TransformsItemCase1Op; type: GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0TransformsItemCase1Type; } export type GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0TransformsItem = | GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0TransformsItemCase0 | GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0TransformsItemCase1; export type GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0TransformsList = Array; export interface GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0 { caseSensitive?: boolean | undefined; check?: boolean | undefined; continue?: boolean | undefined; dest?: string | undefined; destination?: | GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0Destination | undefined; env?: GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0EnvList | undefined; has?: GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0HasList | undefined; headers?: GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0HeadersMap | undefined; important?: boolean | undefined; locale?: GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0Locale | undefined; methods?: GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0MethodsList | undefined; /** A middleware index in the `middleware` key under the build result */ middleware?: number | undefined; /** A middleware key within the `output` key under the build result. Overrides a `middleware` definition. */ middlewarePath?: string | undefined; /** The original middleware matchers. */ middlewareRawSrc?: | GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0MiddlewareRawSrcList | undefined; missing?: GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0MissingList | undefined; mitigate?: GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0Mitigate | undefined; override?: boolean | undefined; respectOriginCacheControl?: boolean | undefined; /** Aliases for `src`, `dest`, and `status`. These provide consistency with the `rewrites`, `redirects`, and `headers` fields which use `source`, `destination`, and `statusCode`. During normalization, the string forms are converted to their canonical forms (`src`, `dest`, `status`) and stripped from the route object. `destination` may also be a service-targeted object, in which case routing is delegated into the named service's internal route table and the object is preserved as-is (not folded into `dest`). */ source?: string | undefined; src: string; status?: number | undefined; statusCode?: number | undefined; transforms?: | GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0TransformsList | undefined; } export type GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase1Handle = | "error" | "filesystem" | "hit" | "miss" | "resource" | "rewrite"; export interface GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase1 { dest?: string | undefined; handle: GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase1Handle; src?: string | undefined; status?: number | undefined; } export type GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItem = | GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase0 | GetDeploymentResponseBodyCase1ServicesItemCase1RoutesItemCase1; export type GetDeploymentResponseBodyCase1ServicesItemCase1RoutesList = Array; export type GetDeploymentResponseBodyCase1ServicesItemCase1Schema = "experimentalServicesV2"; /** Services detected during build from vercel.json experimentalServices or auto-detected from project structure. Used to inject service URLs as environment variables at runtime. */ export interface GetDeploymentResponseBodyCase1ServicesItemCase1 { /** Caller-side bindings to other services. */ bindings?: GetDeploymentResponseBodyCase1ServicesItemCase1BindingsList | undefined; buildCommand?: string | undefined; /** Builder selected by the resolver. */ builder: GetDeploymentResponseBodyCase1ServicesItemCase1Builder; cleanUrls?: boolean | undefined; /** Command override for `runtime: "container"` services. */ command?: GetDeploymentResponseBodyCase1ServicesItemCase1CommandList | undefined; devCommand?: string | undefined; /** Resolved entrypoint, relative to the service root. */ entrypoint?: string | undefined; framework?: string | undefined; /** Function configuration scoped to this service. */ functions?: GetDeploymentResponseBodyCase1ServicesItemCase1FunctionsMap | undefined; headers?: GetDeploymentResponseBodyCase1ServicesItemCase1HeadersList | undefined; ignoreCommand?: string | undefined; installCommand?: string | undefined; name: string; outputDirectory?: string | undefined; redirects?: GetDeploymentResponseBodyCase1ServicesItemCase1RedirectsList | undefined; rewrites?: GetDeploymentResponseBodyCase1ServicesItemCase1RewritesList | undefined; /** Path to the service root, relative to the project root. */ root: string; routes?: GetDeploymentResponseBodyCase1ServicesItemCase1RoutesList | undefined; runtime?: string | undefined; schema: GetDeploymentResponseBodyCase1ServicesItemCase1Schema; trailingSlash?: boolean | undefined; } export type GetDeploymentResponseBodyCase1ServicesItem = | GetDeploymentResponseBodyCase1ServicesItemCase0 | GetDeploymentResponseBodyCase1ServicesItemCase1; /** Services detected during build from vercel.json experimentalServices or auto-detected from project structure. Used to inject service URLs as environment variables at runtime. */ export type GetDeploymentResponseBodyCase1ServicesList = Array; /** Where was the deployment created from. Best-effort guess for metrics only -- not authoritative; do not gate behavior on it. */ export type GetDeploymentResponseBodyCase1Source = | "api-trigger-git-deploy" | "cli" | "clone/repo" | "drop" | "git" | "git-deploy-hook" | "import" | "import/repo" | "redeploy" | "v0-web"; export type GetDeploymentResponseBodyCase1Status = | "BLOCKED" | "BUILDING" | "CANCELED" | "ERROR" | "INITIALIZING" | "QUEUED" | "READY"; /** If defined, either `staging` if a staging alias in the format `..now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment. */ export type GetDeploymentResponseBodyCase1Target = "production" | "staging"; /** The team that owns the deployment if any */ export type GetDeploymentResponseBodyCase1Team = CancelDeploymentResponseTeam; export type GetDeploymentResponseBodyCase1Type = "LAMBDAS"; /** An array of domains that were provided by the user when creating the Deployment. */ export type GetDeploymentResponseBodyCase1UserAliasesList = Array; /** The platform version that was used to create the deployment. */ export type GetDeploymentResponseBodyCase1Version = 2; export interface GetDeploymentResponseBodyCase1 { /** A list of all the aliases (default aliases, staging aliases and production aliases) that were assigned upon deployment creation */ alias?: GetDeploymentResponseBodyCase1AliasList | undefined; /** A boolean that will be true when the aliases from the alias property were assigned successfully */ aliasAssigned: boolean; aliasAssignedAt?: GetDeploymentResponseBodyCase1AliasAssignedAt | null | undefined; /** An object that will contain a `code` and a `message` when the aliasing fails, otherwise the value will be `null` */ aliasError?: CancelDeploymentResponseAliasError | null | undefined; aliasFinal?: string | null | undefined; aliasWarning?: CancelDeploymentResponseAliasWarning | null | undefined; alwaysRefuseToBuild?: boolean | undefined; atproto?: GetDeploymentResponseBodyCase1Atproto | undefined; /** Attribution metadata for the deployment, linking commit author to git and Vercel users. Only populated when the `enable-deployment-attribution` flag is enabled. */ attribution?: GetDeploymentResponseBodyCase1Attribution | undefined; /** applies to custom domains only, defaults to `true` */ autoAssignCustomDomains?: boolean | undefined; automaticAliases?: GetDeploymentResponseBodyCase1AutomaticAliasesList | undefined; bootedAt: number; build: GetDeploymentResponseBodyCase1Build; buildArtifactUrls?: GetDeploymentResponseBodyCase1BuildArtifactUrlsList | undefined; /** Since April 2025 it necessary for On-Demand Concurrency Minutes calculation */ buildContainerFinishedAt?: number | undefined; buildErrorAt?: number | undefined; buildingAt: number; builds?: GetDeploymentResponseBodyCase1BuildsList | undefined; buildSkipped: boolean; canceledAt?: number | undefined; checks?: GetDeploymentResponseBodyCase1Checks | undefined; checksConclusion?: GetDeploymentResponseBodyCase1ChecksConclusion | undefined; checksState?: GetDeploymentResponseBodyCase1ChecksState | undefined; /** Since February 2025 the configuration must include snapshot data at the time of deployment creation to capture properties for the /deployments/:id/config endpoint utilized for displaying Deployment Configuration on the frontend This is optional because older deployments may not have this data captured */ config?: GetDeploymentResponseBodyCase1Config | undefined; connectBuildsEnabled?: boolean | undefined; connectConfigurationId?: string | undefined; /** A number containing the date when the deployment was created in milliseconds */ createdAt: number; createdIn: string; /** Information about the deployment creator */ creator: GetDeploymentResponseBodyCase1Creator; crons?: GetDeploymentResponseBodyCase1CronsList | undefined; customEnvironment?: GetDeploymentResponseBodyCase1CustomEnvironment | undefined; /** Computed field that is only available for deployments with a microfrontend configuration. */ defaultRoute?: string | undefined; /** A number containing the date when the deployment was deleted at milliseconds */ deletedAt?: number | null | undefined; duration: CancelDeploymentResponseDuration; env: GetDeploymentResponseBodyCase1EnvList; errorCode?: string | undefined; errorLink?: string | undefined; errorMessage?: string | null | undefined; errorStep?: string | undefined; flags?: GetDeploymentResponseBodyCase1Flags | undefined; functions?: GetDeploymentResponseBodyCase1FunctionsMap | null | undefined; gitRepo?: GetDeploymentResponseBodyCase1GitRepo | null | undefined; gitSource?: GetDeploymentResponseBodyCase1GitSource | undefined; /** A string holding the unique ID of the deployment */ id: string; images?: GetDeploymentResponseBodyCase1Images | undefined; initReadyAt?: number | undefined; inspectorUrl: string | null; integrations?: GetDeploymentResponseBodyCase1Integrations | undefined; isFirstBranchDeployment?: boolean | undefined; isInConcurrentBuildsQueue: boolean; /** Whether this deployment completed through the instant static fast path. */ isInstantStatic?: boolean | undefined; isInSystemBuildsQueue: boolean; lambdas?: GetDeploymentResponseBodyCase1LambdasList | undefined; /** Present when deployment was created with manual provisioning enabled, either explicitly or via the experimental BYOC git flow. The deployment stays in INITIALIZING until /continue is called. */ manualProvisioning?: GetDeploymentResponseBodyCase1ManualProvisioning | undefined; meta: GetDeploymentResponseBodyCase1MetaMap; microfrontends?: GetDeploymentResponseBodyCase1Microfrontends | undefined; monorepoManager?: string | null | undefined; /** The name of the project associated with the deployment at the time that the deployment was created */ name: string; /** If set it overrides the `projectSettings.nodeVersion` for this deployment. */ nodeVersion?: GetDeploymentResponseBodyCase1NodeVersion | undefined; oidcTokenClaims?: GetDeploymentResponseBodyCase1OidcTokenClaims | undefined; oomReport?: GetDeploymentResponseBodyCase1OomReport | undefined; originCacheRegion?: string | undefined; ownerId: string; /** Since November 2023 this field defines a Secure Compute network that will only be used to deploy passive lambdas to (as in passiveRegions) */ passiveConnectConfigurationId?: string | undefined; /** Since November 2023 this field defines a set of regions that we will deploy the lambda to passively Lambdas will be deployed to these regions but only invoked if all of the primary `regions` are marked as out of service */ passiveRegions?: GetDeploymentResponseBodyCase1PassiveRegionsList | undefined; plan: GetDeploymentResponseBodyCase1Plan; /** Metadata about the source platform that triggered the deployment. Allows us to map a deployment back to a platform (e.g. the chat that created it) */ platform?: GetDeploymentResponseBodyCase1Platform | undefined; prebuilt?: boolean | undefined; /** Whether or not preview comments are enabled for the deployment */ previewCommentsEnabled?: boolean | undefined; /** The public project information associated with the deployment. */ project?: CancelDeploymentResponseProject | undefined; projectId: string; projectSettings: GetDeploymentResponseBodyCase1ProjectSettings; /** A boolean representing if the deployment is public or not. By default this is `false` */ public: boolean; ready?: number | undefined; /** The state of the deployment depending on the process of deploying, or if it is ready or in an error state */ readyState: GetDeploymentResponseBodyCase1ReadyState; readyStateReason?: string | undefined; /** Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - ROLLING: in the process of having production traffic gradually transitioned. - PROMOTED: has seen production traffic */ readySubstate?: GetDeploymentResponseBodyCase1ReadySubstate | undefined; /** The regions the deployment exists in */ regions: GetDeploymentResponseBodyCase1RegionsList; resourceConfig?: GetDeploymentResponseBodyCase1ResourceConfig | undefined; routes: GetDeploymentResponseBodyCase1RoutesList | null; /** NSNB Blocked metadata */ seatBlock?: GetDeploymentResponseBodyCase1SeatBlock | undefined; /** Services detected during build from vercel.json experimentalServices or auto-detected from project structure. Used to inject service URLs as environment variables at runtime. */ services?: GetDeploymentResponseBodyCase1ServicesList | undefined; /** flag to indicate if the deployment was deleted by retention policy */ softDeletedByRetention?: boolean | undefined; /** Where was the deployment created from. Best-effort guess for metrics only -- not authoritative; do not gate behavior on it. */ source?: GetDeploymentResponseBodyCase1Source | undefined; status: GetDeploymentResponseBodyCase1Status; /** If defined, either `staging` if a staging alias in the format `..now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment. */ target?: GetDeploymentResponseBodyCase1Target | null | undefined; /** The team that owns the deployment if any */ team?: CancelDeploymentResponseTeam | undefined; ttyBuildLogs?: boolean | undefined; type: GetDeploymentResponseBodyCase1Type; /** A number containing the date when the deployment was undeleted at milliseconds */ undeletedAt?: number | undefined; /** A string with the unique URL of the deployment */ url: string; /** An array of domains that were provided by the user when creating the Deployment. */ userAliases?: GetDeploymentResponseBodyCase1UserAliasesList | undefined; /** Since January 2025 User-configured deployment ID for skew protection with pre-built deployments. This is set when users configure a custom deploymentId in their next.config.js file. This allows Next.js to use skew protection even when deployments are pre-built outside of Vercel's build system. */ userConfiguredDeploymentId?: string | undefined; /** The platform version that was used to create the deployment. */ version: GetDeploymentResponseBodyCase1Version; } /** A list of all the aliases (default aliases, staging aliases and production aliases) that were assigned upon deployment creation */ export type GetDeploymentResponseBodyCase2AliasList = Array; /** An object that will contain a `code` and a `message` when the aliasing fails, otherwise the value will be `null` */ export type GetDeploymentResponseBodyCase2AliasError = CancelDeploymentResponseAliasError; export type GetDeploymentResponseBodyCase2AliasWarning = CancelDeploymentResponseAliasWarning; export type GetDeploymentResponseBodyCase2AutomaticAliasesList = Array; export type GetDeploymentResponseBodyCase2ChecksConclusion = | "canceled" | "failed" | "skipped" | "succeeded"; export type GetDeploymentResponseBodyCase2ChecksState = "completed" | "registered" | "running"; /** Principal type of the deployment creator. */ export type GetDeploymentResponseBodyCase2CreatorType = | "app" | "integration" | "project" | "system" | "user"; /** Information about the deployment creator */ export interface GetDeploymentResponseBodyCase2Creator { /** The avatar of the user that created the deployment */ avatar?: string | undefined; /** Principal type of the deployment creator. */ type?: GetDeploymentResponseBodyCase2CreatorType | undefined; /** Stable creator id across principal types (user id, app id, integration configuration id, or `system`). */ uid: string; /** The username of the user that created the deployment */ username?: string | undefined; } /** The type of matching to perform */ export type GetDeploymentResponseBodyCase2CustomEnvironmentCase0BranchMatcherType = | "endsWith" | "equals" | "startsWith"; /** Configuration for matching git branches to this environment */ export interface GetDeploymentResponseBodyCase2CustomEnvironmentCase0BranchMatcher { /** The pattern to match against branch names */ pattern: string; /** The type of matching to perform */ type: GetDeploymentResponseBodyCase2CustomEnvironmentCase0BranchMatcherType; } /** List of aliases for the current deployment */ export type GetDeploymentResponseBodyCase2CustomEnvironmentCase0CurrentDeploymentAliasesList = Array; export type GetDeploymentResponseBodyCase2CustomEnvironmentCase0DomainsItemRedirectStatusCode = | 301 | 302 | 307 | 308; /** 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 GetDeploymentResponseBodyCase2CustomEnvironmentCase0DomainsItemVerificationItem = CancelDeploymentResponseCustomEnvironmentCase0DomainsItemVerificationItem; /** 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 GetDeploymentResponseBodyCase2CustomEnvironmentCase0DomainsItemVerificationList = Array; /** List of domains associated with this environment */ export interface GetDeploymentResponseBodyCase2CustomEnvironmentCase0DomainsItem { apexName: string; createdAt?: number | undefined; customEnvironmentId?: string | null | undefined; gitBranch?: string | null | undefined; name: string; projectId: string; redirect?: string | null | undefined; redirectStatusCode?: | GetDeploymentResponseBodyCase2CustomEnvironmentCase0DomainsItemRedirectStatusCode | null | undefined; updatedAt?: number | undefined; /** 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?: | GetDeploymentResponseBodyCase2CustomEnvironmentCase0DomainsItemVerificationList | 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; } /** List of domains associated with this environment */ export type GetDeploymentResponseBodyCase2CustomEnvironmentCase0DomainsList = Array; /** The type of environment (production, preview, or development) */ export type GetDeploymentResponseBodyCase2CustomEnvironmentCase0Type = | "development" | "preview" | "production"; /** If the deployment was created using a Custom Environment, then this property contains information regarding the environment used. */ export interface GetDeploymentResponseBodyCase2CustomEnvironmentCase0 { /** Configuration for matching git branches to this environment */ branchMatcher?: GetDeploymentResponseBodyCase2CustomEnvironmentCase0BranchMatcher | undefined; /** Timestamp when the environment was created */ createdAt: number; /** List of aliases for the current deployment */ currentDeploymentAliases?: | GetDeploymentResponseBodyCase2CustomEnvironmentCase0CurrentDeploymentAliasesList | undefined; /** Optional description of the environment's purpose */ description?: string | undefined; /** List of domains associated with this environment */ domains?: GetDeploymentResponseBodyCase2CustomEnvironmentCase0DomainsList | undefined; /** 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: GetDeploymentResponseBodyCase2CustomEnvironmentCase0Type; /** Timestamp when the environment was last updated */ updatedAt: number; } /** If the deployment was created using a Custom Environment, then this property contains information regarding the environment used. */ export type GetDeploymentResponseBodyCase2CustomEnvironmentCase1 = CancelDeploymentResponseCustomEnvironmentCase1; export type GetDeploymentResponseBodyCase2CustomEnvironment = | GetDeploymentResponseBodyCase2CustomEnvironmentCase0 | CancelDeploymentResponseCustomEnvironmentCase1; /** Build timestamps, elapsed durations, and billing measurements. The object is always present, but fields are omitted when their source timestamps are unavailable, such as for running or legacy deployments. */ export type GetDeploymentResponseBodyCase2Duration = CancelDeploymentResponseDuration; export type GetDeploymentResponseBodyCase2GitSourceCase0RepoId = string | number; export type GetDeploymentResponseBodyCase2GitSourceCase0Type = "github"; export interface GetDeploymentResponseBodyCase2GitSourceCase0 { prId?: number | null | undefined; ref?: string | null | undefined; repoId: GetDeploymentResponseBodyCase2GitSourceCase0RepoId; sha?: string | undefined; type: GetDeploymentResponseBodyCase2GitSourceCase0Type; } export type GetDeploymentResponseBodyCase2GitSourceCase1Type = "github"; export interface GetDeploymentResponseBodyCase2GitSourceCase1 { org: string; prId?: number | null | undefined; ref?: string | null | undefined; repo: string; sha?: string | undefined; type: GetDeploymentResponseBodyCase2GitSourceCase1Type; } export type GetDeploymentResponseBodyCase2GitSourceCase2RepoId = string | number; export type GetDeploymentResponseBodyCase2GitSourceCase2Type = "github-custom-host"; export interface GetDeploymentResponseBodyCase2GitSourceCase2 { host: string; prId?: number | null | undefined; ref?: string | null | undefined; repoId: GetDeploymentResponseBodyCase2GitSourceCase2RepoId; sha?: string | undefined; type: GetDeploymentResponseBodyCase2GitSourceCase2Type; } export type GetDeploymentResponseBodyCase2GitSourceCase3Type = "github-custom-host"; export interface GetDeploymentResponseBodyCase2GitSourceCase3 { host: string; org: string; prId?: number | null | undefined; ref?: string | null | undefined; repo: string; sha?: string | undefined; type: GetDeploymentResponseBodyCase2GitSourceCase3Type; } export type GetDeploymentResponseBodyCase2GitSourceCase4RepoId = string | number; export type GetDeploymentResponseBodyCase2GitSourceCase4Type = "github-limited"; export interface GetDeploymentResponseBodyCase2GitSourceCase4 { prId?: number | null | undefined; ref?: string | null | undefined; repoId: GetDeploymentResponseBodyCase2GitSourceCase4RepoId; sha?: string | undefined; type: GetDeploymentResponseBodyCase2GitSourceCase4Type; } export type GetDeploymentResponseBodyCase2GitSourceCase5Type = "github-limited"; export interface GetDeploymentResponseBodyCase2GitSourceCase5 { org: string; prId?: number | null | undefined; ref?: string | null | undefined; repo: string; sha?: string | undefined; type: GetDeploymentResponseBodyCase2GitSourceCase5Type; } export type GetDeploymentResponseBodyCase2GitSourceCase6ProjectId = string | number; export type GetDeploymentResponseBodyCase2GitSourceCase6Type = "gitlab"; export interface GetDeploymentResponseBodyCase2GitSourceCase6 { prId?: number | null | undefined; projectId: GetDeploymentResponseBodyCase2GitSourceCase6ProjectId; ref?: string | null | undefined; sha?: string | undefined; type: GetDeploymentResponseBodyCase2GitSourceCase6Type; } export type GetDeploymentResponseBodyCase2GitSourceCase7Type = "bitbucket"; export interface GetDeploymentResponseBodyCase2GitSourceCase7 { prId?: number | null | undefined; ref?: string | null | undefined; repoUuid: string; sha?: string | undefined; type: GetDeploymentResponseBodyCase2GitSourceCase7Type; workspaceUuid?: string | undefined; } export type GetDeploymentResponseBodyCase2GitSourceCase8Type = "bitbucket"; export interface GetDeploymentResponseBodyCase2GitSourceCase8 { owner: string; prId?: number | null | undefined; ref?: string | null | undefined; sha?: string | undefined; slug: string; type: GetDeploymentResponseBodyCase2GitSourceCase8Type; } export type GetDeploymentResponseBodyCase2GitSourceCase9CommitMetadataAuthor = CancelDeploymentResponseGitSourceCase9CommitMetadataAuthor; export type GetDeploymentResponseBodyCase2GitSourceCase9CommitMetadataCommitter = CancelDeploymentResponseGitSourceCase9CommitMetadataAuthor; export type GetDeploymentResponseBodyCase2GitSourceCase9CommitMetadata = CancelDeploymentResponseGitSourceCase9CommitMetadata; export type GetDeploymentResponseBodyCase2GitSourceCase9Type = "vercel"; export interface GetDeploymentResponseBodyCase2GitSourceCase9 { commitMetadata?: CancelDeploymentResponseGitSourceCase9CommitMetadata | undefined; org?: string | undefined; prId?: number | null | undefined; ref?: string | null | undefined; repo?: string | undefined; repoId: string; repoPushedAt?: number | undefined; sha: string; type: GetDeploymentResponseBodyCase2GitSourceCase9Type; } export type GetDeploymentResponseBodyCase2GitSourceCase10Type = "cursor-origin"; export interface GetDeploymentResponseBodyCase2GitSourceCase10 { /** Owner (namespace) slug. */ owner?: string | undefined; prId?: number | null | undefined; ref?: string | null | undefined; repo?: string | undefined; /** Origin repository id. */ repoId: string; sha?: string | undefined; type: GetDeploymentResponseBodyCase2GitSourceCase10Type; } export type GetDeploymentResponseBodyCase2GitSourceCase11Type = "custom"; /** Allows custom git sources (local folder mounted to the container) in test mode */ export interface GetDeploymentResponseBodyCase2GitSourceCase11 { gitUrl: string; ref: string; sha: string; type: GetDeploymentResponseBodyCase2GitSourceCase11Type; } export type GetDeploymentResponseBodyCase2GitSourceCase12Type = "github"; export interface GetDeploymentResponseBodyCase2GitSourceCase12 { org?: string | undefined; ref: string; repo?: string | undefined; repoId: number; sha: string; type: GetDeploymentResponseBodyCase2GitSourceCase12Type; } export type GetDeploymentResponseBodyCase2GitSourceCase13Type = "github-custom-host"; export interface GetDeploymentResponseBodyCase2GitSourceCase13 { host: string; org?: string | undefined; ref: string; repo?: string | undefined; repoId: number; sha: string; type: GetDeploymentResponseBodyCase2GitSourceCase13Type; } export type GetDeploymentResponseBodyCase2GitSourceCase14Type = "github-limited"; export interface GetDeploymentResponseBodyCase2GitSourceCase14 { org?: string | undefined; ref: string; repo?: string | undefined; repoId: number; sha: string; type: GetDeploymentResponseBodyCase2GitSourceCase14Type; } export type GetDeploymentResponseBodyCase2GitSourceCase15Type = "gitlab"; export interface GetDeploymentResponseBodyCase2GitSourceCase15 { projectId: number; ref: string; sha: string; type: GetDeploymentResponseBodyCase2GitSourceCase15Type; } export type GetDeploymentResponseBodyCase2GitSourceCase16Type = "bitbucket"; export interface GetDeploymentResponseBodyCase2GitSourceCase16 { owner?: string | undefined; ref: string; repoUuid: string; sha: string; slug?: string | undefined; type: GetDeploymentResponseBodyCase2GitSourceCase16Type; workspaceUuid: string; } export type GetDeploymentResponseBodyCase2GitSourceCase17CommitMetadataAuthor = CancelDeploymentResponseGitSourceCase9CommitMetadataAuthor; export type GetDeploymentResponseBodyCase2GitSourceCase17CommitMetadataCommitter = CancelDeploymentResponseGitSourceCase9CommitMetadataAuthor; export type GetDeploymentResponseBodyCase2GitSourceCase17CommitMetadata = CancelDeploymentResponseGitSourceCase9CommitMetadata; export type GetDeploymentResponseBodyCase2GitSourceCase17Type = "vercel"; export interface GetDeploymentResponseBodyCase2GitSourceCase17 { commitMetadata?: CancelDeploymentResponseGitSourceCase9CommitMetadata | undefined; org: string; ref: string; repo: string; repoId?: string | undefined; repoPushedAt?: number | undefined; sha: string; type: GetDeploymentResponseBodyCase2GitSourceCase17Type; } export type GetDeploymentResponseBodyCase2GitSourceCase18Type = "cursor-origin"; export interface GetDeploymentResponseBodyCase2GitSourceCase18 { owner: string; ref: string; repo: string; repoId: string; sha: string; type: GetDeploymentResponseBodyCase2GitSourceCase18Type; } export type GetDeploymentResponseBodyCase2GitSource = | GetDeploymentResponseBodyCase2GitSourceCase0 | GetDeploymentResponseBodyCase2GitSourceCase1 | GetDeploymentResponseBodyCase2GitSourceCase2 | GetDeploymentResponseBodyCase2GitSourceCase3 | GetDeploymentResponseBodyCase2GitSourceCase4 | GetDeploymentResponseBodyCase2GitSourceCase5 | GetDeploymentResponseBodyCase2GitSourceCase6 | GetDeploymentResponseBodyCase2GitSourceCase7 | GetDeploymentResponseBodyCase2GitSourceCase8 | GetDeploymentResponseBodyCase2GitSourceCase9 | GetDeploymentResponseBodyCase2GitSourceCase10 | GetDeploymentResponseBodyCase2GitSourceCase11 | GetDeploymentResponseBodyCase2GitSourceCase12 | GetDeploymentResponseBodyCase2GitSourceCase13 | GetDeploymentResponseBodyCase2GitSourceCase14 | GetDeploymentResponseBodyCase2GitSourceCase15 | GetDeploymentResponseBodyCase2GitSourceCase16 | GetDeploymentResponseBodyCase2GitSourceCase17 | GetDeploymentResponseBodyCase2GitSourceCase18; export type GetDeploymentResponseBodyCase2LambdasItemReadyState = | "BUILDING" | "ERROR" | "INITIALIZING" | "READY"; export type GetDeploymentResponseBodyCase2LambdasItemOutputItem = CancelDeploymentResponseLambdasItemOutputItem; export type GetDeploymentResponseBodyCase2LambdasItemOutputList = Array; /** A partial representation of a Build used by the deployment endpoint. */ export interface GetDeploymentResponseBodyCase2LambdasItem { createdAt?: number | undefined; entrypoint?: string | null | undefined; id: string; readyState?: GetDeploymentResponseBodyCase2LambdasItemReadyState | undefined; readyStateAt?: number | undefined; output: GetDeploymentResponseBodyCase2LambdasItemOutputList; } export type GetDeploymentResponseBodyCase2LambdasList = Array; /** Current provisioning state */ export type GetDeploymentResponseBodyCase2ManualProvisioningState = | "COMPLETE" | "PENDING" | "TIMEOUT"; /** Present when deployment was created with manual provisioning enabled, either explicitly or via the experimental BYOC git flow. The deployment stays in INITIALIZING until /continue is called. */ export interface GetDeploymentResponseBodyCase2ManualProvisioning { /** Timestamp when manual provisioning completed */ completedAt?: number | undefined; /** Current provisioning state */ state: GetDeploymentResponseBodyCase2ManualProvisioningState; } export type GetDeploymentResponseBodyCase2MetaMap = { [key: string]: string | undefined }; /** If set it overrides the `projectSettings.nodeVersion` for this deployment. */ export type GetDeploymentResponseBodyCase2NodeVersion = | "10.x" | "12.x" | "14.x" | "16.x" | "18.x" | "20.x" | "22.x" | "24.x" | "26.x" | "8.10.x"; export type GetDeploymentResponseBodyCase2OidcTokenClaimsMfeGroupIdsList = Array; export interface GetDeploymentResponseBodyCase2OidcTokenClaims { aud: string; custom_environment_id?: string | undefined; deployment_id?: string | undefined; environment: string; iss: string; mfe_group_ids?: GetDeploymentResponseBodyCase2OidcTokenClaimsMfeGroupIdsList | undefined; owner: string; owner_id: string; plan?: string | undefined; project: string; project_id: string; scope: string; sub: string; } export type GetDeploymentResponseBodyCase2OomReport = "out-of-memory"; /** Since November 2023 this field defines a set of regions that we will deploy the lambda to passively Lambdas will be deployed to these regions but only invoked if all of the primary `regions` are marked as out of service */ export type GetDeploymentResponseBodyCase2PassiveRegionsList = Array; /** The public project information associated with the deployment. */ export type GetDeploymentResponseBodyCase2Project = CancelDeploymentResponseProject; /** The state of the deployment depending on the process of deploying, or if it is ready or in an error state */ export type GetDeploymentResponseBodyCase2ReadyState = | "BLOCKED" | "BUILDING" | "CANCELED" | "ERROR" | "INITIALIZING" | "QUEUED" | "READY"; /** Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - ROLLING: in the process of having production traffic gradually transitioned. - PROMOTED: has seen production traffic */ export type GetDeploymentResponseBodyCase2ReadySubstate = "PROMOTED" | "ROLLING" | "STAGED"; /** The regions the deployment exists in */ export type GetDeploymentResponseBodyCase2RegionsList = Array; /** Where was the deployment created from. Best-effort guess for metrics only -- not authoritative; do not gate behavior on it. */ export type GetDeploymentResponseBodyCase2Source = | "api-trigger-git-deploy" | "cli" | "clone/repo" | "drop" | "git" | "git-deploy-hook" | "import" | "import/repo" | "redeploy" | "v0-web"; export type GetDeploymentResponseBodyCase2Status = | "BLOCKED" | "BUILDING" | "CANCELED" | "ERROR" | "INITIALIZING" | "QUEUED" | "READY"; /** If defined, either `staging` if a staging alias in the format `..now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment. */ export type GetDeploymentResponseBodyCase2Target = "production" | "staging"; /** The team that owns the deployment if any */ export type GetDeploymentResponseBodyCase2Team = CancelDeploymentResponseTeam; export type GetDeploymentResponseBodyCase2Type = "LAMBDAS"; /** An array of domains that were provided by the user when creating the Deployment. */ export type GetDeploymentResponseBodyCase2UserAliasesList = Array; /** The platform version that was used to create the deployment. */ export type GetDeploymentResponseBodyCase2Version = 2; /** Returns a reduced view of the deployment with public information only. Private fields are omitted when the requester is not the deployment owner. */ export interface GetDeploymentResponseBodyCase2 { /** A list of all the aliases (default aliases, staging aliases and production aliases) that were assigned upon deployment creation */ alias?: GetDeploymentResponseBodyCase2AliasList | undefined; /** A boolean that will be true when the aliases from the alias property were assigned successfully */ aliasAssigned: boolean; /** An object that will contain a `code` and a `message` when the aliasing fails, otherwise the value will be `null` */ aliasError?: CancelDeploymentResponseAliasError | null | undefined; aliasFinal?: string | null | undefined; aliasWarning?: CancelDeploymentResponseAliasWarning | null | undefined; /** applies to custom domains only, defaults to `true` */ autoAssignCustomDomains?: boolean | undefined; automaticAliases?: GetDeploymentResponseBodyCase2AutomaticAliasesList | undefined; bootedAt: number; /** Since April 2025 it necessary for On-Demand Concurrency Minutes calculation */ buildContainerFinishedAt?: number | undefined; buildErrorAt?: number | undefined; buildingAt: number; buildSkipped: boolean; canceledAt?: number | undefined; checksConclusion?: GetDeploymentResponseBodyCase2ChecksConclusion | undefined; checksState?: GetDeploymentResponseBodyCase2ChecksState | undefined; /** A number containing the date when the deployment was created in milliseconds */ createdAt: number; /** Information about the deployment creator */ creator: GetDeploymentResponseBodyCase2Creator; customEnvironment?: GetDeploymentResponseBodyCase2CustomEnvironment | undefined; /** Computed field that is only available for deployments with a microfrontend configuration. */ defaultRoute?: string | undefined; /** A number containing the date when the deployment was deleted at milliseconds */ deletedAt?: number | null | undefined; /** Build timestamps, elapsed durations, and billing measurements. The object is always present, but fields are omitted when their source timestamps are unavailable, such as for running or legacy deployments. */ duration: CancelDeploymentResponseDuration; errorCode?: string | undefined; errorLink?: string | undefined; errorMessage?: string | null | undefined; errorStep?: string | undefined; gitSource?: GetDeploymentResponseBodyCase2GitSource | undefined; /** A string holding the unique ID of the deployment */ id: string; initReadyAt?: number | undefined; isFirstBranchDeployment?: boolean | undefined; lambdas?: GetDeploymentResponseBodyCase2LambdasList | undefined; /** Present when deployment was created with manual provisioning enabled, either explicitly or via the experimental BYOC git flow. The deployment stays in INITIALIZING until /continue is called. */ manualProvisioning?: GetDeploymentResponseBodyCase2ManualProvisioning | undefined; meta: GetDeploymentResponseBodyCase2MetaMap; /** The name of the project associated with the deployment at the time that the deployment was created */ name: string; /** If set it overrides the `projectSettings.nodeVersion` for this deployment. */ nodeVersion?: GetDeploymentResponseBodyCase2NodeVersion | undefined; oidcTokenClaims?: GetDeploymentResponseBodyCase2OidcTokenClaims | undefined; oomReport?: GetDeploymentResponseBodyCase2OomReport | undefined; originCacheRegion?: string | undefined; /** Since November 2023 this field defines a set of regions that we will deploy the lambda to passively Lambdas will be deployed to these regions but only invoked if all of the primary `regions` are marked as out of service */ passiveRegions?: GetDeploymentResponseBodyCase2PassiveRegionsList | undefined; prebuilt?: boolean | undefined; /** Whether or not preview comments are enabled for the deployment */ previewCommentsEnabled?: boolean | undefined; /** The public project information associated with the deployment. */ project?: CancelDeploymentResponseProject | undefined; /** A boolean representing if the deployment is public or not. By default this is `false` */ public: boolean; ready?: number | undefined; /** The state of the deployment depending on the process of deploying, or if it is ready or in an error state */ readyState: GetDeploymentResponseBodyCase2ReadyState; readyStateReason?: string | undefined; /** Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - ROLLING: in the process of having production traffic gradually transitioned. - PROMOTED: has seen production traffic */ readySubstate?: GetDeploymentResponseBodyCase2ReadySubstate | undefined; /** The regions the deployment exists in */ regions: GetDeploymentResponseBodyCase2RegionsList; /** flag to indicate if the deployment was deleted by retention policy */ softDeletedByRetention?: boolean | undefined; /** Where was the deployment created from. Best-effort guess for metrics only -- not authoritative; do not gate behavior on it. */ source?: GetDeploymentResponseBodyCase2Source | undefined; status: GetDeploymentResponseBodyCase2Status; /** If defined, either `staging` if a staging alias in the format `..now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment. */ target?: GetDeploymentResponseBodyCase2Target | null | undefined; /** The team that owns the deployment if any */ team?: CancelDeploymentResponseTeam | undefined; ttyBuildLogs?: boolean | undefined; type: GetDeploymentResponseBodyCase2Type; /** A number containing the date when the deployment was undeleted at milliseconds */ undeletedAt?: number | undefined; /** A string with the unique URL of the deployment */ url: string; /** An array of domains that were provided by the user when creating the Deployment. */ userAliases?: GetDeploymentResponseBodyCase2UserAliasesList | undefined; /** Since January 2025 User-configured deployment ID for skew protection with pre-built deployments. This is set when users configure a custom deploymentId in their next.config.js file. This allows Next.js to use skew protection even when deployments are pre-built outside of Vercel's build system. */ userConfiguredDeploymentId?: string | undefined; /** The platform version that was used to create the deployment. */ version: GetDeploymentResponseBodyCase2Version; } export type GetDeploymentResponseBody = | GetDeploymentResponseBodyCase0 | GetDeploymentResponseBodyCase1 | GetDeploymentResponseBodyCase2; export type GetDeploymentResponse = GetDeploymentResponseBody; /** Order of the returned events based on the timestamp. */ export type GetDeploymentEventsRequestDirection = "backward" | "forward"; /** When enabled, this endpoint will return live events as they happen. */ export type GetDeploymentEventsRequestFollow = 0 | 1; /** HTTP status code range to filter events by. */ export type GetDeploymentEventsRequestStatusCode = number | string; export type GetDeploymentEventsRequestDelimiter = 0 | 1; export type GetDeploymentEventsRequestBuilds = 0 | 1; export interface GetDeploymentEventsRequest { /** The unique identifier or hostname of the deployment. */ idOrUrl: string; /** Order of the returned events based on the timestamp. */ direction?: GetDeploymentEventsRequestDirection | (string & {}) | undefined; /** When enabled, this endpoint will return live events as they happen. */ follow?: GetDeploymentEventsRequestFollow | (number & {}) | undefined; /** Maximum number of events to return. Provide `-1` to return all available logs. */ limit?: number | undefined; /** Deployment build ID. */ name?: string | undefined; /** Timestamp for when build logs should be pulled from. */ since?: number | undefined; /** Timestamp for when the build logs should be pulled up until. */ until?: number | undefined; /** HTTP status code range to filter events by. */ statusCode?: GetDeploymentEventsRequestStatusCode | undefined; delimiter?: GetDeploymentEventsRequestDelimiter | (number & {}) | undefined; builds?: GetDeploymentEventsRequestBuilds | (number & {}) | undefined; /** The Team identifier to perform the request on behalf of. */ teamId?: string | undefined; /** The Team slug to perform the request on behalf of. */ slug?: string | undefined; } export interface GetDeploymentEventsResponseBodyItemCase0PayloadInfo { entrypoint?: string | undefined; name: string; path?: string | undefined; readyState?: string | undefined; serviceName?: string | undefined; step?: string | undefined; type: string; } export type GetDeploymentEventsResponseBodyItemCase0PayloadProxyUserAgentList = Array; export type GetDeploymentEventsResponseBodyItemCase0PayloadProxyVercelCache = | "BYPASS" | "HIT" | "MISS" | "PRERENDER" | "REVALIDATED" | "STALE"; export type GetDeploymentEventsResponseBodyItemCase0PayloadProxyWafAction = | "bypass" | "challenge" | "deny" | "log" | "rate_limit"; export interface GetDeploymentEventsResponseBodyItemCase0PayloadProxy { cacheId?: string | undefined; clientIp?: string | undefined; host: string; lambdaRegion?: string | undefined; method: string; path?: string | undefined; pathType?: string | undefined; pathTypeVariant?: string | undefined; referer?: string | undefined; region?: string | undefined; responseByteSize?: number | undefined; scheme?: string | undefined; statusCode?: number | undefined; timestamp: number; userAgent?: GetDeploymentEventsResponseBodyItemCase0PayloadProxyUserAgentList | undefined; vercelCache?: GetDeploymentEventsResponseBodyItemCase0PayloadProxyVercelCache | undefined; vercelId?: string | undefined; wafAction?: GetDeploymentEventsResponseBodyItemCase0PayloadProxyWafAction | undefined; wafRuleId?: string | undefined; } export interface GetDeploymentEventsResponseBodyItemCase0Payload { created?: number | undefined; date: number; deploymentId: string; id: string; info?: GetDeploymentEventsResponseBodyItemCase0PayloadInfo | undefined; proxy?: GetDeploymentEventsResponseBodyItemCase0PayloadProxy | undefined; requestId?: string | undefined; serial: string; statusCode?: number | undefined; text?: string | undefined; } export type GetDeploymentEventsResponseBodyItemCase0Type = | "command" | "delimiter" | "deployment-state" | "edge-function-invocation" | "exit" | "fatal" | "metric" | "middleware" | "middleware-invocation" | "report" | "stderr" | "stdout"; export interface GetDeploymentEventsResponseBodyItemCase0 { created: number; payload: GetDeploymentEventsResponseBodyItemCase0Payload; type: GetDeploymentEventsResponseBodyItemCase0Type; } export type GetDeploymentEventsResponseBodyItemCase1Info = GetDeploymentEventsResponseBodyItemCase0PayloadInfo; export type GetDeploymentEventsResponseBodyItemCase1Level = "error" | "warning"; export type GetDeploymentEventsResponseBodyItemCase1Type = | "command" | "delimiter" | "deployment-state" | "edge-function-invocation" | "exit" | "fatal" | "metric" | "middleware" | "middleware-invocation" | "report" | "stderr" | "stdout"; export interface GetDeploymentEventsResponseBodyItemCase1 { created: number; date: number; deploymentId: string; id: string; info: GetDeploymentEventsResponseBodyItemCase0PayloadInfo; level?: GetDeploymentEventsResponseBodyItemCase1Level | undefined; serial: string; text?: string | undefined; type: GetDeploymentEventsResponseBodyItemCase1Type; } export type GetDeploymentEventsResponseBodyItemCase2Case0PayloadInfo = GetDeploymentEventsResponseBodyItemCase0PayloadInfo; export type GetDeploymentEventsResponseBodyItemCase2Case0PayloadProxyUserAgentList = Array; export type GetDeploymentEventsResponseBodyItemCase2Case0PayloadProxyVercelCache = | "BYPASS" | "HIT" | "MISS" | "PRERENDER" | "REVALIDATED" | "STALE"; export type GetDeploymentEventsResponseBodyItemCase2Case0PayloadProxyWafAction = | "bypass" | "challenge" | "deny" | "log" | "rate_limit"; export interface GetDeploymentEventsResponseBodyItemCase2Case0PayloadProxy { cacheId?: string | undefined; clientIp?: string | undefined; host: string; lambdaRegion?: string | undefined; method: string; path?: string | undefined; pathType?: string | undefined; pathTypeVariant?: string | undefined; referer?: string | undefined; region?: string | undefined; responseByteSize?: number | undefined; scheme?: string | undefined; statusCode?: number | undefined; timestamp: number; userAgent?: GetDeploymentEventsResponseBodyItemCase2Case0PayloadProxyUserAgentList | undefined; vercelCache?: GetDeploymentEventsResponseBodyItemCase2Case0PayloadProxyVercelCache | undefined; vercelId?: string | undefined; wafAction?: GetDeploymentEventsResponseBodyItemCase2Case0PayloadProxyWafAction | undefined; wafRuleId?: string | undefined; } export interface GetDeploymentEventsResponseBodyItemCase2Case0Payload { created?: number | undefined; date: number; deploymentId: string; id: string; info?: GetDeploymentEventsResponseBodyItemCase0PayloadInfo | undefined; proxy?: GetDeploymentEventsResponseBodyItemCase2Case0PayloadProxy | undefined; requestId?: string | undefined; serial: string; statusCode?: number | undefined; text?: string | undefined; } export type GetDeploymentEventsResponseBodyItemCase2Case0Type = | "command" | "delimiter" | "deployment-state" | "edge-function-invocation" | "exit" | "fatal" | "metric" | "middleware" | "middleware-invocation" | "report" | "stderr" | "stdout"; export interface GetDeploymentEventsResponseBodyItemCase2Case0 { created: number; payload: GetDeploymentEventsResponseBodyItemCase2Case0Payload; type: GetDeploymentEventsResponseBodyItemCase2Case0Type; } export type GetDeploymentEventsResponseBodyItemCase2Case1Info = GetDeploymentEventsResponseBodyItemCase0PayloadInfo; export type GetDeploymentEventsResponseBodyItemCase2Case1Level = "error" | "warning"; export type GetDeploymentEventsResponseBodyItemCase2Case1Type = | "command" | "delimiter" | "deployment-state" | "edge-function-invocation" | "exit" | "fatal" | "metric" | "middleware" | "middleware-invocation" | "report" | "stderr" | "stdout"; export interface GetDeploymentEventsResponseBodyItemCase2Case1 { created: number; date: number; deploymentId: string; id: string; info: GetDeploymentEventsResponseBodyItemCase0PayloadInfo; level?: GetDeploymentEventsResponseBodyItemCase2Case1Level | undefined; serial: string; text?: string | undefined; type: GetDeploymentEventsResponseBodyItemCase2Case1Type; } export type GetDeploymentEventsResponseBodyItemCase2Case2Type = "alias-assigned"; export type GetDeploymentEventsResponseBodyItemCase2Case2AliasList = Array; export type GetDeploymentEventsResponseBodyItemCase2Case2AliasError = CancelDeploymentResponseAliasError; export type GetDeploymentEventsResponseBodyItemCase2Case2AliasWarning = CancelDeploymentResponseAliasWarning; export interface GetDeploymentEventsResponseBodyItemCase2Case2 { date: number; deploymentId: string; type: GetDeploymentEventsResponseBodyItemCase2Case2Type; alias: GetDeploymentEventsResponseBodyItemCase2Case2AliasList; aliasError: CancelDeploymentResponseAliasError | null; aliasWarning: CancelDeploymentResponseAliasWarning | null; } export type GetDeploymentEventsResponseBodyItemCase2 = | GetDeploymentEventsResponseBodyItemCase2Case0 | GetDeploymentEventsResponseBodyItemCase2Case1 | GetDeploymentEventsResponseBodyItemCase2Case2; export type GetDeploymentEventsResponseBodyItem = | GetDeploymentEventsResponseBodyItemCase0 | GetDeploymentEventsResponseBodyItemCase1 | GetDeploymentEventsResponseBodyItemCase2; export type GetDeploymentEventsResponseBodyList = Array; export type GetDeploymentEventsResponse = GetDeploymentEventsResponseBodyList | null; export interface GetDeploymentFileContentsRequest { /** The unique deployment identifier */ id: string; /** The unique file identifier */ fileId: string; /** Path to the file to fetch (only for Git deployments) */ path?: string | undefined; /** The Team identifier to perform the request on behalf of. */ teamId?: string | undefined; /** The Team slug to perform the request on behalf of. */ slug?: string | undefined; } export interface GetDeploymentFileContentsResponse {} /** Filter deployments from the given project IDs. Cannot be used when projectId is specified. */ export type GetDeploymentsRequestProjectIdsList = Array; export interface GetDeploymentsRequest { /** Name of the deployment. */ app?: string | undefined; /** Gets the deployment created after this Date timestamp. (default: current time) */ from?: number | undefined; /** Maximum number of deployments to list from a request. */ limit?: number | undefined; /** Filter deployments from the given ID or name. */ projectId?: string | undefined; /** Filter deployments from the given project IDs. Cannot be used when projectId is specified. */ projectIds?: GetDeploymentsRequestProjectIdsList | undefined; /** Filter deployments based on the environment. */ target?: string | undefined; /** Gets the deployment created before this Date timestamp. (default: current time) */ to?: number | undefined; /** Filter out deployments based on users who have created the deployment. */ users?: string | undefined; /** Get Deployments created after this JavaScript timestamp. */ since?: number | undefined; /** Get Deployments created before this JavaScript timestamp. */ until?: number | undefined; /** Filter deployments based on their state (`BUILDING`, `ERROR`, `INITIALIZING`, `QUEUED`, `READY`, `CANCELED`, `BLOCKED`) */ state?: string | undefined; /** Filter deployments based on their rollback candidacy */ rollbackCandidate?: boolean | undefined; /** Filter deployments based on the branch name */ branch?: string | undefined; /** Filter deployments based on the SHA */ sha?: string | undefined; /** The Team identifier to perform the request on behalf of. */ teamId?: string | undefined; /** The Team slug to perform the request on behalf of. */ slug?: string | undefined; } export type GetDeploymentsResponseDeploymentsItemAliasAssigned = number | boolean; /** An error object in case aliasing of the deployment failed. */ export type GetDeploymentsResponseDeploymentsItemAliasError = CancelDeploymentResponseAliasError; /** Commit metadata from the git commit author */ export type GetDeploymentsResponseDeploymentsItemAttributionCommitMeta = CancelDeploymentResponseAttributionCommitMeta; export type GetDeploymentsResponseDeploymentsItemAttributionGitUserId = string | number; /** Git provider user associated with the commit author email (only set if resolved) */ export interface GetDeploymentsResponseDeploymentsItemAttributionGitUser { id: GetDeploymentsResponseDeploymentsItemAttributionGitUserId; /** Git provider username/login */ login: string; /** The git provider (github, gitlab, bitbucket) */ provider?: string | undefined; /** User type */ type?: string | undefined; } /** Team roles at time of deployment */ export type GetDeploymentsResponseDeploymentsItemAttributionVercelUserTeamRolesList = Array; /** Vercel user linked to the git provider account (only set if resolved) */ export interface GetDeploymentsResponseDeploymentsItemAttributionVercelUser { /** Vercel user ID */ id: string; /** Team roles at time of deployment */ teamRoles?: GetDeploymentsResponseDeploymentsItemAttributionVercelUserTeamRolesList | undefined; /** Vercel username */ username: string; } /** Commit attribution metadata */ export interface GetDeploymentsResponseDeploymentsItemAttribution { /** Commit metadata from the git commit author */ commitMeta?: CancelDeploymentResponseAttributionCommitMeta | undefined; /** Git provider user associated with the commit author email (only set if resolved) */ gitUser?: GetDeploymentsResponseDeploymentsItemAttributionGitUser | undefined; /** Vercel user linked to the git provider account (only set if resolved) */ vercelUser?: GetDeploymentsResponseDeploymentsItemAttributionVercelUser | undefined; } export type GetDeploymentsResponseDeploymentsItemChecksDeploymentAliasState = | "failed" | "pending" | "succeeded"; export interface GetDeploymentsResponseDeploymentsItemChecksDeploymentAlias { completedAt?: number | undefined; startedAt: number; state: GetDeploymentsResponseDeploymentsItemChecksDeploymentAliasState; } /** Detailed information about v2 deployment checks. Includes information about blocked workflows in the deployment lifecycle. */ export interface GetDeploymentsResponseDeploymentsItemChecks { deployment_alias: GetDeploymentsResponseDeploymentsItemChecksDeploymentAlias; } /** Conclusion for checks */ export type GetDeploymentsResponseDeploymentsItemChecksConclusion = | "canceled" | "failed" | "skipped" | "succeeded"; /** State of all registered checks */ export type GetDeploymentsResponseDeploymentsItemChecksState = | "completed" | "registered" | "running"; /** Principal type of the deployment creator. Defaults to `"user"` if absent (legacy deployments created before principal attribution was recorded). */ export type GetDeploymentsResponseDeploymentsItemCreatorType = | "app" | "integration" | "project" | "system" | "user"; /** Metadata information of the deployment creator. */ export interface GetDeploymentsResponseDeploymentsItemCreator { /** The email address of the user. */ email?: string | undefined; /** The GitHub login of the user. */ githubLogin?: string | undefined; /** The GitLab login of the user. */ gitlabLogin?: string | undefined; /** Principal type of the deployment creator. Defaults to `"user"` if absent (legacy deployments created before principal attribution was recorded). */ type?: GetDeploymentsResponseDeploymentsItemCreatorType | undefined; /** Stable creator id across principal types. This may be a user ID, an app ID, an integration configuration ID, or `system`. */ uid: string; /** The username of the user. */ username?: string | undefined; } /** The custom environment used for this deployment, if any */ export interface GetDeploymentsResponseDeploymentsItemCustomEnvironment { id: string; slug?: string | undefined; } /** Current provisioning state */ export type GetDeploymentsResponseDeploymentsItemManualProvisioningState = | "COMPLETE" | "PENDING" | "TIMEOUT"; export interface GetDeploymentsResponseDeploymentsItemManualProvisioning { /** Timestamp when manual provisioning completed */ completedAt?: number | undefined; /** Current provisioning state */ state: GetDeploymentsResponseDeploymentsItemManualProvisioningState; } /** Metadata information from the Git provider. */ export type GetDeploymentsResponseDeploymentsItemMetaMap = { [key: string]: string | undefined }; /** Indicates if the deployment encountered an out-of-memory error. */ export type GetDeploymentsResponseDeploymentsItemOomReport = "out-of-memory"; /** The user on the external platform who triggered the deployment. */ export type GetDeploymentsResponseDeploymentsItemPlatformCreator = CancelDeploymentResponsePlatformCreator; /** Arbitrary key-value metadata provided by the platform. */ export type GetDeploymentsResponseDeploymentsItemPlatformMetaMap = { [key: string]: string | undefined; }; /** Whether the value is an opaque identifier or a URL. */ export type GetDeploymentsResponseDeploymentsItemPlatformOriginType = "id" | "url"; /** Reference back to the entity on the platform that initiated the deployment. */ export interface GetDeploymentsResponseDeploymentsItemPlatformOrigin { /** Whether the value is an opaque identifier or a URL. */ type: GetDeploymentsResponseDeploymentsItemPlatformOriginType; /** The identifier or URL pointing to the originating entity. */ value: string; } /** The external platform that created the deployment (e.g. its display name). */ export type GetDeploymentsResponseDeploymentsItemPlatformSource = CancelDeploymentResponsePlatformSource; /** Metadata about the source platform that triggered the deployment. */ export interface GetDeploymentsResponseDeploymentsItemPlatform { /** The user on the external platform who triggered the deployment. */ creator: CancelDeploymentResponsePlatformCreator; /** Arbitrary key-value metadata provided by the platform. */ meta?: GetDeploymentsResponseDeploymentsItemPlatformMetaMap | undefined; /** Reference back to the entity on the platform that initiated the deployment. */ origin: GetDeploymentsResponseDeploymentsItemPlatformOrigin; /** The external platform that created the deployment (e.g. its display name). */ source: CancelDeploymentResponsePlatformSource; } export type GetDeploymentsResponseDeploymentsItemProjectSettingsFramework = | "actix-web" | "angular" | "ash" | "astro" | "axum" | "blitzjs" | "brunch" | "bun" | "container" | "create-react-app" | "django" | "docusaurus" | "docusaurus-2" | "dojo" | "eleventy" | "elysia" | "ember" | "eve" | "express" | "factory-eve" | "fastapi" | "fasthtml" | "fastify" | "flask" | "gatsby" | "go" | "gridsome" | "h3" | "hexo" | "hono" | "hugo" | "hydrogen" | "ionic-angular" | "ionic-react" | "jekyll" | "koa" | "mastra" | "middleman" | "nestjs" | "nextjs" | "nitro" | "node" | "nuxtjs" | "parcel" | "polymer" | "preact" | "python" | "react-router" | "redwoodjs" | "remix" | "ruby" | "rust" | "saber" | "sanity" | "sanity-v2" | "sapper" | "scully" | "services" | "solidstart" | "solidstart-1" | "stencil" | "storybook" | "svelte" | "sveltekit" | "sveltekit-1" | "tanstack-start" | "tanstack-start-lovable" | "umijs" | "vite" | "vitepress" | "vue" | "vuepress" | "xmcp" | "zola"; /** Since June '23 */ export interface GetDeploymentsResponseDeploymentsItemProjectSettingsGitComments { /** Whether the Vercel bot should comment on commits */ onCommit: boolean; /** Whether the Vercel bot should comment on PRs */ onPullRequest: boolean; } export type GetDeploymentsResponseDeploymentsItemProjectSettingsNodeVersion = | "10.x" | "12.x" | "14.x" | "16.x" | "18.x" | "20.x" | "22.x" | "24.x" | "26.x" | "8.10.x"; export type GetDeploymentsResponseDeploymentsItemProjectSettingsSpeedInsights = CancelDeploymentResponseProjectSettingsSpeedInsights; /** Vercel Flags activation metadata copied from the project at deployment creation. */ export type GetDeploymentsResponseDeploymentsItemProjectSettingsVercelFlags = CancelDeploymentResponseProjectSettingsVercelFlags; export type GetDeploymentsResponseDeploymentsItemProjectSettingsWebAnalytics = CancelDeploymentResponseProjectSettingsWebAnalytics; /** The project settings which was used for this deployment */ export interface GetDeploymentsResponseDeploymentsItemProjectSettings { buildCommand?: string | null | undefined; commandForIgnoringBuildStep?: string | null | undefined; createdAt?: number | undefined; customerSupportCodeVisibility?: boolean | undefined; devCommand?: string | null | undefined; framework?: GetDeploymentsResponseDeploymentsItemProjectSettingsFramework | null | undefined; /** Since June '23 */ gitComments?: GetDeploymentsResponseDeploymentsItemProjectSettingsGitComments | undefined; gitForkProtection?: boolean | undefined; gitLFS?: boolean | undefined; installCommand?: string | null | undefined; nodeVersion?: GetDeploymentsResponseDeploymentsItemProjectSettingsNodeVersion | undefined; outputDirectory?: string | null | undefined; rootDirectory?: string | null | undefined; skipGitConnectDuringLink?: boolean | undefined; sourceFilesOutsideRootDirectory?: boolean | undefined; speedInsights?: CancelDeploymentResponseProjectSettingsSpeedInsights | undefined; /** Vercel Flags activation metadata copied from the project at deployment creation. */ vercelFlags?: CancelDeploymentResponseProjectSettingsVercelFlags | undefined; webAnalytics?: CancelDeploymentResponseProjectSettingsWebAnalytics | undefined; } export type GetDeploymentsResponseDeploymentsItemReadyState = | "BLOCKED" | "BUILDING" | "CANCELED" | "DELETED" | "ERROR" | "INITIALIZING" | "QUEUED" | "READY"; /** Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - ROLLING: in the process of gradually transitioning production traffic - PROMOTED: has seen production traffic */ export type GetDeploymentsResponseDeploymentsItemReadySubstate = "PROMOTED" | "ROLLING" | "STAGED"; /** The NSNB decision code for the seat block. TODO: We should consolidate block types. */ export type GetDeploymentsResponseDeploymentsItemSeatBlockBlockCode = | "COMMIT_AUTHOR_REQUIRED" | "TEAM_ACCESS_REQUIRED"; /** The git provider type associated with gitUserId. */ export type GetDeploymentsResponseDeploymentsItemSeatBlockGitProvider = | "bitbucket" | "github" | "gitlab"; export type GetDeploymentsResponseDeploymentsItemSeatBlockGitUserId = string | number; /** NSNB Blocked metadata */ export interface GetDeploymentsResponseDeploymentsItemSeatBlock { /** The NSNB decision code for the seat block. TODO: We should consolidate block types. */ blockCode: GetDeploymentsResponseDeploymentsItemSeatBlockBlockCode; /** The git provider type associated with gitUserId. */ gitProvider?: GetDeploymentsResponseDeploymentsItemSeatBlockGitProvider | undefined; gitUserId?: GetDeploymentsResponseDeploymentsItemSeatBlockGitUserId | undefined; /** Determines if the user was verified during the block. In the git integration case, the commit sender was the author. */ isVerified?: boolean | undefined; /** The blocked vercel user ID. */ userId?: string | undefined; } /** The source of the deployment. */ export type GetDeploymentsResponseDeploymentsItemSource = | "api-trigger-git-deploy" | "cli" | "clone/repo" | "drop" | "git" | "git-deploy-hook" | "import" | "import/repo" | "redeploy" | "v0-web"; /** In which state is the deployment. */ export type GetDeploymentsResponseDeploymentsItemState = | "BLOCKED" | "BUILDING" | "CANCELED" | "DELETED" | "ERROR" | "INITIALIZING" | "QUEUED" | "READY"; /** On which environment has the deployment been deployed to. */ export type GetDeploymentsResponseDeploymentsItemTarget = "production" | "staging"; /** The type of the deployment. */ export type GetDeploymentsResponseDeploymentsItemType = "LAMBDAS"; export interface GetDeploymentsResponseDeploymentsItem { aliasAssigned?: GetDeploymentsResponseDeploymentsItemAliasAssigned | null | undefined; /** An error object in case aliasing of the deployment failed. */ aliasError?: CancelDeploymentResponseAliasError | null | undefined; /** Commit attribution metadata */ attribution?: GetDeploymentsResponseDeploymentsItemAttribution | undefined; /** Timestamp of when the deployment started building at. */ buildingAt?: number | undefined; /** Detailed information about v2 deployment checks. Includes information about blocked workflows in the deployment lifecycle. */ checks?: GetDeploymentsResponseDeploymentsItemChecks | undefined; /** Conclusion for checks */ checksConclusion?: GetDeploymentsResponseDeploymentsItemChecksConclusion | undefined; /** State of all registered checks */ checksState?: GetDeploymentsResponseDeploymentsItemChecksState | undefined; /** The flag saying if Secure Compute network is used for builds */ connectBuildsEnabled?: boolean | undefined; /** The ID of Secure Compute network used for this deployment */ connectConfigurationId?: string | undefined; /** Timestamp of when the deployment got created. */ created: number; createdAt: number; /** Metadata information of the deployment creator. */ creator: GetDeploymentsResponseDeploymentsItemCreator; /** The custom environment used for this deployment, if any */ customEnvironment?: GetDeploymentsResponseDeploymentsItemCustomEnvironment | undefined; /** The default route that should be used for screenshots and links if configured with microfrontends. */ defaultRoute?: string | undefined; /** Timestamp of when the deployment got deleted. */ deleted?: number | undefined; /** Error code when the deployment is in an error state. */ errorCode?: string | undefined; /** Error message when the deployment is in an canceled or error state. */ errorMessage?: string | null | undefined; /** The expiration configured by the project retention policy */ expiration?: number | undefined; /** Vercel URL to inspect the deployment. */ inspectorUrl: string | null; /** Deployment can be used for instant rollback */ isRollbackCandidate?: boolean | null | undefined; manualProvisioning?: GetDeploymentsResponseDeploymentsItemManualProvisioning | undefined; /** Metadata information from the Git provider. */ meta?: GetDeploymentsResponseDeploymentsItemMetaMap | undefined; /** The name of the deployment. */ name: string; /** Indicates if the deployment encountered an out-of-memory error. */ oomReport?: GetDeploymentsResponseDeploymentsItemOomReport | undefined; /** The ID of Secure Compute network used for this deployment's passive functions */ passiveConnectConfigurationId?: string | undefined; /** Metadata about the source platform that triggered the deployment. */ platform?: GetDeploymentsResponseDeploymentsItemPlatform | undefined; prebuilt?: boolean | undefined; /** The project ID of the deployment */ projectId: string; /** The project settings which was used for this deployment */ projectSettings?: GetDeploymentsResponseDeploymentsItemProjectSettings | undefined; /** The expiration proposed to replace the existing expiration */ proposedExpiration?: number | undefined; /** Timestamp of when the deployment got ready. */ ready?: number | undefined; readyState: GetDeploymentsResponseDeploymentsItemReadyState; /** Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - ROLLING: in the process of gradually transitioning production traffic - PROMOTED: has seen production traffic */ readySubstate?: GetDeploymentsResponseDeploymentsItemReadySubstate | undefined; /** NSNB Blocked metadata */ seatBlock?: GetDeploymentsResponseDeploymentsItemSeatBlock | undefined; /** Optional flag to indicate if the deployment was soft deleted by retention policy. */ softDeletedByRetention?: boolean | undefined; /** The source of the deployment. */ source?: GetDeploymentsResponseDeploymentsItemSource | undefined; /** In which state is the deployment. */ state?: GetDeploymentsResponseDeploymentsItemState | undefined; /** On which environment has the deployment been deployed to. */ target?: GetDeploymentsResponseDeploymentsItemTarget | null | undefined; /** The type of the deployment. */ type: GetDeploymentsResponseDeploymentsItemType; /** The unique identifier of the deployment. */ uid: string; /** Timestamp of when the deployment was undeleted. */ undeleted?: number | undefined; /** The URL of the deployment. */ url: string; } export type GetDeploymentsResponseDeploymentsList = Array; /** This object contains information related to the pagination of the current request, including the necessary parameters to get the next or previous page of data. */ export interface Pagination { /** Amount of items in the current page. */ count: number; /** Timestamp that must be used to request the next page. */ next: number | null; /** Timestamp that must be used to request the previous page. */ prev: number | null; } export interface GetDeploymentsResponse { deployments: GetDeploymentsResponseDeploymentsList; pagination: Pagination; } export interface ListDeploymentFilesRequest { /** The unique deployment identifier */ id: string; /** The Team identifier to perform the request on behalf of. */ teamId?: string | undefined; /** The Team slug to perform the request on behalf of. */ slug?: string | undefined; } /** The list of children files of the directory (only valid for the `directory` type) */ export type FileTreeChildrenList = Array; /** String indicating the type of file tree entry. */ export type FileTreeType = "directory" | "file" | "invalid" | "lambda" | "middleware" | "symlink"; /** A deployment file tree entry */ export interface FileTree { /** The list of children files of the directory (only valid for the `directory` type) */ children?: FileTreeChildrenList | undefined; /** The content-type of the file (only valid for the `file` type) */ contentType?: string | undefined; /** The file "mode" indicating file type and permissions. */ mode: number; /** The name of the file tree entry */ name: string; /** String indicating the type of file tree entry. */ type: FileTreeType; /** The unique identifier of the file (only valid for the `file` type) */ uid?: string | undefined; } export type ListDeploymentFilesResponseBodyList = Array; export type ListDeploymentFilesResponse = ListDeploymentFilesResponseBodyList; export type UpdateIntegrationDeploymentActionRequestStatus = "running" | "succeeded" | "failed"; export interface UpdateIntegrationDeploymentActionRequestOutcomesItemCase0SecretsItem { name: string; value: string | Redacted.Redacted; } export type UpdateIntegrationDeploymentActionRequestOutcomesItemCase0SecretsList = Array; export interface UpdateIntegrationDeploymentActionRequestOutcomesItemCase0 { kind: string; secrets: UpdateIntegrationDeploymentActionRequestOutcomesItemCase0SecretsList; } /** Applies only when the token is minted for one of these roles. */ export type UpdateIntegrationDeploymentActionRequestOutcomesItemCase1ClaimRulesItemWhenRoleList = Array; /** Applies only when the token is minted for one of these environments: `production`, `preview`, `development`, or a custom environment slug. A custom environment also matches `preview`. */ export type UpdateIntegrationDeploymentActionRequestOutcomesItemCase1ClaimRulesItemWhenEnvironmentList = Array; export interface UpdateIntegrationDeploymentActionRequestOutcomesItemCase1ClaimRulesItemWhen { /** Applies only when the token is minted for one of these roles. */ role?: | UpdateIntegrationDeploymentActionRequestOutcomesItemCase1ClaimRulesItemWhenRoleList | undefined; /** Applies only when the token is minted for one of these environments: `production`, `preview`, `development`, or a custom environment slug. A custom environment also matches `preview`. */ environment?: | UpdateIntegrationDeploymentActionRequestOutcomesItemCase1ClaimRulesItemWhenEnvironmentList | undefined; } export type UpdateIntegrationDeploymentActionRequestOutcomesItemCase1ClaimRulesItemClaimsValueCase0 = | string | number | boolean; export type UpdateIntegrationDeploymentActionRequestOutcomesItemCase1ClaimRulesItemClaimsValueCase1List = Array; export type UpdateIntegrationDeploymentActionRequestOutcomesItemCase1ClaimRulesItemClaimsValue = | UpdateIntegrationDeploymentActionRequestOutcomesItemCase1ClaimRulesItemClaimsValueCase0 | UpdateIntegrationDeploymentActionRequestOutcomesItemCase1ClaimRulesItemClaimsValueCase1List; /** Claims to set (string, number, boolean, or array of strings), shallow-merged over earlier rules and over the default claims. `null` removes a claim. Reserved claims cannot be set; `aud` and `sub` can be overridden with a string but not removed. */ export type UpdateIntegrationDeploymentActionRequestOutcomesItemCase1ClaimRulesItemClaimsMap = { [key: string]: | UpdateIntegrationDeploymentActionRequestOutcomesItemCase1ClaimRulesItemClaimsValue | undefined; }; export interface UpdateIntegrationDeploymentActionRequestOutcomesItemCase1ClaimRulesItem { when?: UpdateIntegrationDeploymentActionRequestOutcomesItemCase1ClaimRulesItemWhen | undefined; /** Claims to set (string, number, boolean, or array of strings), shallow-merged over earlier rules and over the default claims. `null` removes a claim. Reserved claims cannot be set; `aud` and `sub` can be overridden with a string but not removed. */ claims: UpdateIntegrationDeploymentActionRequestOutcomesItemCase1ClaimRulesItemClaimsMap; } /** Ordered rules resolved at mint time. Later rules win and shallow-merge over earlier ones. */ export type UpdateIntegrationDeploymentActionRequestOutcomesItemCase1ClaimRulesList = Array; /** Claim rules applied after the resource's own rules when this deployment mints a resource token. Reserved claims cannot be set. */ export interface UpdateIntegrationDeploymentActionRequestOutcomesItemCase1 { kind: string; /** Ordered rules resolved at mint time. Later rules win and shallow-merge over earlier ones. */ claimRules: UpdateIntegrationDeploymentActionRequestOutcomesItemCase1ClaimRulesList; } export type UpdateIntegrationDeploymentActionRequestOutcomesItem = | UpdateIntegrationDeploymentActionRequestOutcomesItemCase0 | UpdateIntegrationDeploymentActionRequestOutcomesItemCase1; export type UpdateIntegrationDeploymentActionRequestOutcomesList = Array; export interface UpdateIntegrationDeploymentActionRequest { deploymentId: string; integrationConfigurationId: string; resourceId: string; action: string; status?: UpdateIntegrationDeploymentActionRequestStatus | (string & {}) | undefined; statusText?: string | undefined; statusUrl?: string | undefined; outcomes?: UpdateIntegrationDeploymentActionRequestOutcomesList | undefined; } export interface UpdateIntegrationDeploymentActionResponse {} export interface UploadFileRequest { /** 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 file size in bytes */ contentLength?: number | undefined; /** The file SHA1 used to check the integrity */ xVercelDigest?: string | undefined; /** The file SHA1 used to check the integrity */ xNowDigest?: string | undefined; /** The file size as an alternative to `Content-Length` */ xNowSize?: number | undefined; } /** Array of URLs where the file was updated */ export type UploadFileResponseBodyCase0UrlsList = Array; export interface UploadFileResponseBodyCase0 { /** Array of URLs where the file was updated */ urls: UploadFileResponseBodyCase0UrlsList; } export type UploadFileResponseBody = UploadFileResponseBodyCase0 | unknown; export type UploadFileResponse = UploadFileResponseBody; export type CancelDeploymentError = BadRequest | Forbidden | NotFound | VercelOpError; /** Cancel a deployment Cancels a deployment that is currently in progress, stopping the build before it completes. Use this to recover quickly from accidental deploys, wrong-branch pushes, or builds with known errors -- without waiting for them to finish. Returns 400 if the deployment is no longer cancelable (already `READY`, `ERROR`, or `CANCELED`). Returns the updated deployment object with `readyState: 'CANCELED'` on success. */ export const cancelDeployment: API.OperationMethod< CancelDeploymentRequest, CancelDeploymentResponse, CancelDeploymentError, VercelOpContext > = /*@__PURE__*/ API.make(() => ({ input: __S(224, __c7, 0) as any as S.Schema, output: __S(264, __c8, 8) as any as S.Schema, errors: [BadRequest, Forbidden, NotFound], serviceErrors: VercelServiceErrors, protocol: VercelProtocol, retry: Retry.Retry, telemetry: TELEMETRY, span: "CancelDeployment", })); export type CreateDeploymentError = | BadRequest | PaymentRequired | Forbidden | NotFound | Conflict | VercelOpError; /** Create a new deployment Creates a new deployment for the authenticated team or user. For non-git deployments, upload files first via the file upload API, then reference them here by SHA -- or inline small files directly in the request body. To redeploy an existing deployment, provide its `deploymentId`; all settings are inherited unless explicitly overridden. The deployment begins building immediately and transitions through `QUEUED` -> `INITIALIZING` -> `BUILDING` before reaching `READY` or `ERROR`. */ export const createDeployment: API.OperationMethod< CreateDeploymentRequest, CreateDeploymentResponse, CreateDeploymentError, VercelOpContext > = /*@__PURE__*/ API.make(() => ({ input: __S(355, __c11, 3) as any as S.Schema, output: __S(356, __c11, 4) as any as S.Schema, errors: [BadRequest, PaymentRequired, Forbidden, NotFound, Conflict], serviceErrors: VercelServiceErrors, protocol: VercelProtocol, retry: Retry.Retry, telemetry: TELEMETRY, span: "CreateDeployment", })); export type DeleteDeploymentError = BadRequest | Forbidden | NotFound | Conflict | VercelOpError; /** Delete a Deployment This API allows you to delete a deployment, either by supplying its `id` in the URL or the `url` of the deployment as a query parameter. You can obtain the ID, for example, by listing all deployments. */ export const deleteDeployment: API.OperationMethod< DeleteDeploymentRequest, DeleteDeploymentResponse, DeleteDeploymentError, VercelOpContext > = /*@__PURE__*/ API.make(() => ({ input: __S(384, __c12, 0) as any as S.Schema, output: __S(385, __c12, 1) as any as S.Schema, errors: [BadRequest, Forbidden, NotFound, Conflict], serviceErrors: VercelServiceErrors, protocol: VercelProtocol, retry: Retry.Retry, telemetry: TELEMETRY, span: "DeleteDeployment", })); export type GetDeploymentError = BadRequest | Forbidden | NotFound | VercelOpError; /** Get a deployment by ID or URL Retrieves information for a deployment either by supplying its ID (`id` property) or Hostname (`url` property). Additional details will be included when the authenticated user or team is an owner of the deployment. */ export const getDeployment: API.OperationMethod< GetDeploymentRequest, GetDeploymentResponse, GetDeploymentError, VercelOpContext > = /*@__PURE__*/ API.make(() => ({ input: __S(416, __c13, 0) as any as S.Schema, output: __S(417, __c13, 1) as any as S.Schema, errors: [BadRequest, Forbidden, NotFound], serviceErrors: VercelServiceErrors, protocol: VercelProtocol, retry: Retry.Retry, telemetry: TELEMETRY, span: "GetDeployment", })); export type GetDeploymentEventsError = BadRequest | Forbidden | NotFound | VercelOpError; /** Get deployment events Get the build logs of a deployment by deployment ID and build ID. It can work as an infinite stream of logs or as a JSON endpoint depending on the input parameters. */ export const getDeploymentEvents: API.OperationMethod< GetDeploymentEventsRequest, GetDeploymentEventsResponse, GetDeploymentEventsError, VercelOpContext > = /*@__PURE__*/ API.make(() => ({ input: __S(0, __c0, 0) as any as S.Schema, output: __S(2, __c0, 2) as any as S.Schema, errors: [BadRequest, Forbidden, NotFound], serviceErrors: VercelServiceErrors, protocol: VercelProtocol, retry: Retry.Retry, telemetry: TELEMETRY, span: "GetDeploymentEvents", })); export type GetDeploymentFileContentsError = BadRequest | Forbidden | NotFound | VercelOpError; /** Get Deployment File Contents Allows to retrieve the content of a file by supplying the file identifier and the deployment unique identifier. The response body will contain a JSON response containing the contents of the file encoded as base64. */ export const getDeploymentFileContents: API.OperationMethod< GetDeploymentFileContentsRequest, GetDeploymentFileContentsResponse, GetDeploymentFileContentsError, VercelOpContext > = /*@__PURE__*/ API.make(() => ({ input: __S(32, __c1, 0) as any as S.Schema, output: __S(64, __c2, 0) as any as S.Schema, errors: [BadRequest, Forbidden, NotFound], serviceErrors: VercelServiceErrors, protocol: VercelProtocol, retry: Retry.Retry, telemetry: TELEMETRY, span: "GetDeploymentFileContents", })); export type GetDeploymentsError = | BadRequest | Forbidden | NotFound | UnprocessableEntity | VercelOpError; /** List deployments List deployments under the authenticated user or team. If a deployment hasn't finished uploading (is incomplete), the `url` property will have a value of `null`. */ export const getDeployments: API.OperationMethod< GetDeploymentsRequest, GetDeploymentsResponse, GetDeploymentsError, VercelOpContext > = /*@__PURE__*/ API.make(() => ({ input: __S(96, __c3, 0) as any as S.Schema, output: __S(107, __c3, 11) as any as S.Schema, errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity], serviceErrors: VercelServiceErrors, protocol: VercelProtocol, retry: Retry.Retry, telemetry: TELEMETRY, span: "GetDeployments", })); export type ListDeploymentFilesError = BadRequest | Forbidden | NotFound | VercelOpError; /** List Deployment Files Allows to retrieve the file structure of the source code of a deployment by supplying the deployment unique identifier. If the deployment was created with the Vercel CLI or the API directly with the `files` key, it will have a file tree that can be retrievable. */ export const listDeploymentFiles: API.OperationMethod< ListDeploymentFilesRequest, ListDeploymentFilesResponse, ListDeploymentFilesError, VercelOpContext > = /*@__PURE__*/ API.make(() => ({ input: __S(128, __c4, 0) as any as S.Schema, output: __S(132, __c4, 4) as any as S.Schema, errors: [BadRequest, Forbidden, NotFound], serviceErrors: VercelServiceErrors, protocol: VercelProtocol, retry: Retry.Retry, telemetry: TELEMETRY, span: "ListDeploymentFiles", })); export type UpdateIntegrationDeploymentActionError = | BadRequest | Forbidden | NotFound | VercelOpError; /** Update deployment integration action Updates the deployment integration action for the specified integration installation */ export const updateIntegrationDeploymentAction: API.OperationMethod< UpdateIntegrationDeploymentActionRequest, UpdateIntegrationDeploymentActionResponse, UpdateIntegrationDeploymentActionError, VercelOpContext > = /*@__PURE__*/ API.make(() => ({ input: __S(161, __c5, 1) as any as S.Schema, output: __S(64, __c2, 0) as any as S.Schema, errors: [BadRequest, Forbidden, NotFound], serviceErrors: VercelServiceErrors, protocol: VercelProtocol, retry: Retry.Retry, telemetry: TELEMETRY, span: "UpdateIntegrationDeploymentAction", })); export type UploadFileError = BadRequest | Forbidden | NotFound | VercelOpError; /** Upload Deployment Files Before you create a deployment you need to upload the required files for that deployment. To do it, you need to first upload each file to this endpoint. Once that's completed, you can create a new deployment with the uploaded files. The file content must be placed inside the body of the request. In the case of a successful response you'll receive a status code 200 with an empty body. */ export const uploadFile: API.OperationMethod< UploadFileRequest, UploadFileResponse, UploadFileError, VercelOpContext > = /*@__PURE__*/ API.make(() => ({ input: __S(192, __c6, 0) as any as S.Schema, output: __S(193, __c6, 1) as any as S.Schema, errors: [BadRequest, Forbidden, NotFound], serviceErrors: VercelServiceErrors, protocol: VercelProtocol, retry: Retry.Retry, telemetry: TELEMETRY, span: "UploadFile", })); // Schema builders: each runs one schema initializer, on that schema's first use. function __c0(j: number): any { switch (j) { case 0: return S.suspend(() => S.Struct({ idOrUrl: S.String.pipe(T.Label()), direction: S.optional(S.String.pipe(T.Query())), follow: S.optional(S.Number.pipe(T.Query())), limit: S.optional(S.Number.pipe(T.Query())), name: S.optional(S.String.pipe(T.Query())), since: S.optional(S.Number.pipe(T.Query())), until: S.optional(S.Number.pipe(T.Query())), statusCode: S.optional(S.Unknown.pipe(T.Query())), delimiter: S.optional(S.Number.pipe(T.Query())), builds: S.optional(S.Number.pipe(T.Query())), teamId: S.optional(S.String.pipe(T.Query())), slug: S.optional(S.String.pipe(T.Query())), }).pipe(T.Http({ method: "GET", uri: "/v3/deployments/{idOrUrl}/events", code: 200 })), ).annotate({ identifier: "GetDeploymentEventsRequest" }); case 1: return S.Array(/*@__PURE__*/ S.NullOr(S.Unknown)); case 2: return S.suspend(() => S.NullOr(__S(1, __c0, 1)).pipe(T.RawResponseRoot())).annotate({ identifier: "GetDeploymentEventsResponse", }); } } function __c1(j: number): any { switch (j) { case 0: return S.suspend(() => S.Struct({ id: S.String.pipe(T.Label()), fileId: S.String.pipe(T.Label()), path: S.optional(S.String.pipe(T.Query())), teamId: S.optional(S.String.pipe(T.Query())), slug: S.optional(S.String.pipe(T.Query())), }).pipe(T.Http({ method: "GET", uri: "/v8/deployments/{id}/files/{fileId}", code: 200 })), ).annotate({ identifier: "GetDeploymentFileContentsRequest" }); } } function __c2(j: number): any { switch (j) { case 0: return S.suspend(() => S.Struct({})).annotate({ identifier: "GetDeploymentFileContentsResponse", }); } } function __c3(j: number): any { switch (j) { case 0: return S.suspend(() => S.Struct({ app: S.optional(S.String.pipe(T.Query())), from: S.optional(S.Number.pipe(T.Query())), limit: S.optional(S.Number.pipe(T.Query())), projectId: S.optional(S.String.pipe(T.Query())), projectIds: S.optional(__S(288, __c9, 0).pipe(T.Query())), target: S.optional(S.String.pipe(T.Query())), to: S.optional(S.Number.pipe(T.Query())), users: S.optional(S.String.pipe(T.Query())), since: S.optional(S.Number.pipe(T.Query())), until: S.optional(S.Number.pipe(T.Query())), state: S.optional(S.String.pipe(T.Query())), rollbackCandidate: S.optional(S.Boolean.pipe(T.Query())), branch: S.optional(S.String.pipe(T.Query())), sha: S.optional(S.String.pipe(T.Query())), teamId: S.optional(S.String.pipe(T.Query())), slug: S.optional(S.String.pipe(T.Query())), }).pipe(T.Http({ method: "GET", uri: "/v7/deployments", code: 200 })), ).annotate({ identifier: "GetDeploymentsRequest" }); case 1: return S.suspend(() => S.Struct({ id: S.Unknown, login: S.String, provider: S.optional(S.String), type: S.optional(S.String), }), ).annotate({ identifier: "GetDeploymentsResponseDeploymentsItemAttributionGitUser" }); case 2: return S.suspend(() => S.Struct({ commitMeta: S.optional(__S(290, __c9, 2)), gitUser: S.optional(__S(97, __c3, 1)), vercelUser: S.optional(__S(291, __c9, 3)), }), ).annotate({ identifier: "GetDeploymentsResponseDeploymentsItemAttribution" }); case 3: return S.suspend(() => S.Struct({ email: S.optional(S.String), githubLogin: S.optional(S.String), gitlabLogin: S.optional(S.String), type: S.optional(S.String), uid: S.String, username: S.optional(S.String), }), ).annotate({ identifier: "GetDeploymentsResponseDeploymentsItemCreator" }); case 4: return S.suspend(() => S.Struct({ id: S.String, slug: S.optional(S.String), }), ).annotate({ identifier: "GetDeploymentsResponseDeploymentsItemCustomEnvironment" }); case 5: return S.suspend(() => S.Struct({ onCommit: S.Boolean, onPullRequest: S.Boolean, }), ).annotate({ identifier: "GetDeploymentsResponseDeploymentsItemProjectSettingsGitComments" }); case 6: return S.suspend(() => S.Struct({ buildCommand: S.optional(S.NullOr(S.String)), commandForIgnoringBuildStep: S.optional(S.NullOr(S.String)), createdAt: S.optional(S.Number), customerSupportCodeVisibility: S.optional(S.Boolean), devCommand: S.optional(S.NullOr(S.String)), framework: S.optional(S.NullOr(S.String)), gitComments: S.optional(__S(101, __c3, 5)), gitForkProtection: S.optional(S.Boolean), gitLFS: S.optional(S.Boolean), installCommand: S.optional(S.NullOr(S.String)), nodeVersion: S.optional(S.String), outputDirectory: S.optional(S.NullOr(S.String)), rootDirectory: S.optional(S.NullOr(S.String)), skipGitConnectDuringLink: S.optional(S.Boolean), sourceFilesOutsideRootDirectory: S.optional(S.Boolean), speedInsights: S.optional(__S(299, __c9, 11)), vercelFlags: S.optional(__S(300, __c9, 12)), webAnalytics: S.optional(__S(301, __c9, 13)), }), ).annotate({ identifier: "GetDeploymentsResponseDeploymentsItemProjectSettings" }); case 7: return S.suspend(() => S.Struct({ blockCode: S.String, gitProvider: S.optional(S.String), gitUserId: S.optional(S.Unknown), isVerified: S.optional(S.Boolean), userId: S.optional(S.String), }), ).annotate({ identifier: "GetDeploymentsResponseDeploymentsItemSeatBlock" }); case 8: return S.suspend(() => S.Struct({ aliasAssigned: S.optional(S.NullOr(S.Unknown)), aliasError: S.optional(S.NullOr(__S(289, __c9, 1))), attribution: S.optional(__S(98, __c3, 2)), buildingAt: S.optional(S.Number), checks: S.optional(__S(293, __c9, 5)), checksConclusion: S.optional(S.String), checksState: S.optional(S.String), connectBuildsEnabled: S.optional(S.Boolean), connectConfigurationId: S.optional(S.String), created: S.Number, createdAt: S.Number, creator: __S(99, __c3, 3), customEnvironment: S.optional(__S(100, __c3, 4)), defaultRoute: S.optional(S.String), deleted: S.optional(S.Number), errorCode: S.optional(S.String), errorMessage: S.optional(S.NullOr(S.String)), expiration: S.optional(S.Number), inspectorUrl: S.NullOr(S.String), isRollbackCandidate: S.optional(S.NullOr(S.Boolean)), manualProvisioning: S.optional(__S(294, __c9, 6)), meta: S.optional(__S(320, __c10, 0)), name: S.String, oomReport: S.optional(S.String), passiveConnectConfigurationId: S.optional(S.String), platform: S.optional(__S(298, __c9, 10)), prebuilt: S.optional(S.Boolean), projectId: S.String, projectSettings: S.optional(__S(102, __c3, 6)), proposedExpiration: S.optional(S.Number), ready: S.optional(S.Number), readyState: S.String, readySubstate: S.optional(S.String), seatBlock: S.optional(__S(103, __c3, 7)), softDeletedByRetention: S.optional(S.Boolean), source: S.optional(S.String), state: S.optional(S.String), target: S.optional(S.NullOr(S.String)), type: S.String, uid: S.String, undeleted: S.optional(S.Number), url: S.String, }), ).annotate({ identifier: "GetDeploymentsResponseDeploymentsItem" }); case 9: return S.Array(__S(104, __c3, 8)); case 10: return S.suspend(() => S.Struct({ count: S.Number, next: S.NullOr(S.Number), prev: S.NullOr(S.Number), }), ).annotate({ identifier: "Pagination" }); case 11: return S.suspend(() => S.Struct({ deployments: __S(105, __c3, 9), pagination: __S(106, __c3, 10), }), ).annotate({ identifier: "GetDeploymentsResponse" }); } } function __c4(j: number): any { switch (j) { case 0: return S.suspend(() => S.Struct({ id: S.String.pipe(T.Label()), teamId: S.optional(S.String.pipe(T.Query())), slug: S.optional(S.String.pipe(T.Query())), }).pipe(T.Http({ method: "GET", uri: "/v6/deployments/{id}/files", code: 200 })), ).annotate({ identifier: "ListDeploymentFilesRequest" }); case 1: return S.Array(/*@__PURE__*/ S.suspend(() => __S(130, __c4, 2))); case 2: return S.suspend(() => S.Struct({ children: S.optional(__S(129, __c4, 1)), contentType: S.optional(S.String), mode: S.Number, name: S.String, type: S.String, uid: S.optional(S.String), }), ).annotate({ identifier: "FileTree" }); case 3: return S.Array(__S(130, __c4, 2)); case 4: return S.suspend(() => __S(131, __c4, 3).pipe(T.RawResponseRoot())).annotate({ identifier: "ListDeploymentFilesResponse", }); } } function __c5(j: number): any { switch (j) { case 0: return S.Array(S.Unknown); case 1: return S.suspend(() => S.Struct({ deploymentId: S.String.pipe(T.Label()), integrationConfigurationId: S.String.pipe(T.Label()), resourceId: S.String.pipe(T.Label()), action: S.String.pipe(T.Label()), status: S.optional(S.String), statusText: S.optional(S.String), statusUrl: S.optional(S.String), outcomes: S.optional(__S(160, __c5, 0)), }).pipe( T.Http({ method: "PATCH", uri: "/v1/deployments/{deploymentId}/integrations/{integrationConfigurationId}/resources/{resourceId}/actions/{action}", code: 200, }), ), ).annotate({ identifier: "UpdateIntegrationDeploymentActionRequest" }); } } function __c6(j: number): any { switch (j) { case 0: return S.suspend(() => S.Struct({ teamId: S.optional(S.String.pipe(T.Query())), slug: S.optional(S.String.pipe(T.Query())), contentLength: S.optional(S.Number.pipe(T.Header("Content-Length"))), xVercelDigest: S.optional(S.String.pipe(T.Header("x-vercel-digest"))), xNowDigest: S.optional(S.String.pipe(T.Header("x-now-digest"))), xNowSize: S.optional(S.Number.pipe(T.Header("x-now-size"))), }).pipe(T.Http({ method: "POST", uri: "/v2/files", code: 200 })), ).annotate({ identifier: "UploadFileRequest" }); case 1: return S.suspend(() => S.Unknown.pipe(T.RawResponseRoot())).annotate({ identifier: "UploadFileResponse", }); } } function __c7(j: number): any { switch (j) { case 0: return S.suspend(() => S.Struct({ id: S.String.pipe(T.Label()), teamId: S.optional(S.String.pipe(T.Query())), slug: S.optional(S.String.pipe(T.Query())), }).pipe(T.Http({ method: "PATCH", uri: "/v12/deployments/{id}/cancel", code: 200 })), ).annotate({ identifier: "CancelDeploymentRequest" }); case 1: return S.suspend(() => S.Struct({ action: S.optional(S.String), code: S.String, link: S.optional(S.String), message: S.String, }), ).annotate({ identifier: "CancelDeploymentResponseAliasWarning" }); case 2: return S.Array(S.String); case 3: return S.suspend(() => S.Struct({ id: S.Unknown, login: S.String, provider: S.optional(S.String), type: S.optional(S.String), }), ).annotate({ identifier: "CancelDeploymentResponseAttributionGitUser" }); case 4: return S.suspend(() => S.Struct({ commitMeta: S.optional(__S(290, __c9, 2)), gitUser: S.optional(__S(227, __c7, 3)), vercelUser: S.optional(__S(291, __c9, 3)), }), ).annotate({ identifier: "CancelDeploymentResponseAttribution" }); case 5: return S.suspend(() => S.Struct({ env: __S(288, __c9, 0), }), ).annotate({ identifier: "CancelDeploymentResponseBuild" }); case 6: return S.Record(S.String, S.Unknown); case 7: return S.suspend(() => S.Struct({ config: S.optional(__S(230, __c7, 6)), src: S.optional(S.String), use: S.String, }), ).annotate({ identifier: "CancelDeploymentResponseBuildsItem" }); case 8: return S.Array(__S(231, __c7, 7)); case 9: return S.suspend(() => S.Struct({ configuration: S.optional(S.String), }), ).annotate({ identifier: "CancelDeploymentResponseConfigResourceConfigBuildQueue" }); case 10: return S.suspend(() => S.Struct({ purchaseType: S.optional(S.NullOr(S.String)), }), ).annotate({ identifier: "CancelDeploymentResponseConfigResourceConfigBuildMachine" }); case 11: return S.suspend(() => S.Struct({ buildQueue: S.optional(__S(233, __c7, 9)), elasticConcurrency: S.optional(S.String), buildMachine: S.optional(__S(234, __c7, 10)), }), ).annotate({ identifier: "CancelDeploymentResponseConfigResourceConfig" }); case 12: return S.suspend(() => S.Struct({ functionMemoryType: S.String, functionTimeout: S.NullOr(S.Number), functionType: S.String, isUsingActiveCPU: S.optional(S.Boolean), resourceConfig: S.optional(__S(235, __c7, 11)), secureComputeFallbackRegion: S.NullOr(S.String), secureComputePrimaryRegion: S.NullOr(S.String), version: S.optional(S.Number), }), ).annotate({ identifier: "CancelDeploymentResponseConfig" }); case 13: return S.suspend(() => S.Struct({ avatar: S.optional(S.String), type: S.optional(S.String), uid: S.String, username: S.optional(S.String), }), ).annotate({ identifier: "CancelDeploymentResponseCreator" }); case 14: return S.suspend(() => S.Struct({ path: S.String, schedule: S.String, }), ).annotate({ identifier: "CancelDeploymentResponseCronsItem" }); case 15: return S.Array(__S(238, __c7, 14)); case 16: return S.suspend(() => S.Struct({ endTime: S.optional(S.Number), endTimeCapped: S.optional(S.Number), startTime: S.optional(S.Number), timeForBilling: S.optional(S.Number), timeToContainerExit: S.optional(S.Number), timeToContainerExitCapped: S.optional(S.Number), timeToReady: S.optional(S.Number), }), ).annotate({ identifier: "CancelDeploymentResponseDuration" }); case 17: return S.suspend(() => S.Struct({ mode: S.String, }), ).annotate({ identifier: "CancelDeploymentResponseFunctionsValueAffinity" }); case 18: return S.Array(S.Unknown); case 19: return S.suspend(() => S.Struct({ affinity: S.optional(__S(241, __c7, 17)), architecture: S.optional(S.String), excludeFiles: S.optional(S.String), experimentalTriggers: S.optional(__S(242, __c7, 18)), functionFailoverRegions: S.optional(__S(288, __c9, 0)), includeFiles: S.optional(S.String), installCommand: S.optional(S.String), maxConcurrency: S.optional(S.Number), maxDuration: S.optional(S.Unknown), memory: S.optional(S.Number), regions: S.optional(__S(288, __c9, 0)), runtime: S.optional(S.String), supportsCancellation: S.optional(S.Boolean), }), ).annotate({ identifier: "CancelDeploymentResponseFunctionsValue" }); case 20: return S.Record(S.String, __S(243, __c7, 19)); case 21: return S.suspend(() => S.Struct({ pathname: S.optional(S.String), search: S.optional(S.String), }), ).annotate({ identifier: "CancelDeploymentResponseImagesLocalPatternsItem" }); case 22: return S.Array(__S(245, __c7, 21)); case 23: return S.Array(S.Number); case 24: return S.suspend(() => S.Struct({ hostname: S.String, pathname: S.optional(S.String), port: S.optional(S.String), protocol: S.optional(S.String), search: S.optional(S.String), }), ).annotate({ identifier: "CancelDeploymentResponseImagesRemotePatternsItem" }); case 25: return S.Array(__S(248, __c7, 24)); case 26: return S.suspend(() => S.Struct({ contentDispositionType: S.optional(S.String), contentSecurityPolicy: S.optional(S.String), dangerouslyAllowSVG: S.optional(S.Boolean), domains: S.optional(__S(288, __c9, 0)), formats: S.optional(__S(226, __c7, 2)), localPatterns: S.optional(__S(246, __c7, 22)), minimumCacheTTL: S.optional(S.Number), qualities: S.optional(__S(247, __c7, 23)), remotePatterns: S.optional(__S(249, __c7, 25)), sizes: S.optional(__S(247, __c7, 23)), }), ).annotate({ identifier: "CancelDeploymentResponseImages" }); case 27: return S.suspend(() => S.Struct({ claimedAt: S.optional(S.Number), completedAt: S.optional(S.Number), skippedAt: S.optional(S.Number), skippedBy: S.optional(S.String), startedAt: S.Number, status: S.String, }), ).annotate({ identifier: "CancelDeploymentResponseIntegrations" }); case 28: return S.suspend(() => S.Struct({ functionName: S.String, path: S.String, }), ).annotate({ identifier: "CancelDeploymentResponseLambdasItemOutputItem" }); case 29: return S.Array(__S(252, __c7, 28)); case 30: return S.suspend(() => S.Struct({ createdAt: S.optional(S.Number), entrypoint: S.optional(S.NullOr(S.String)), id: S.String, readyState: S.optional(S.String), readyStateAt: S.optional(S.Number), output: __S(253, __c7, 29), }), ).annotate({ identifier: "CancelDeploymentResponseLambdasItem" }); case 31: return S.Array(__S(254, __c7, 30)); } } function __c8(j: number): any { switch (j) { case 0: return S.suspend(() => S.Struct({ aud: S.String, custom_environment_id: S.optional(S.String), deployment_id: S.optional(S.String), environment: S.String, iss: S.String, mfe_group_ids: S.optional(__S(288, __c9, 0)), owner: S.String, owner_id: S.String, plan: S.optional(S.String), project: S.String, project_id: S.String, scope: S.String, sub: S.String, }), ).annotate({ identifier: "CancelDeploymentResponseOidcTokenClaims" }); case 1: return S.suspend(() => S.Struct({ framework: S.optional(S.NullOr(S.String)), id: S.String, name: S.String, }), ).annotate({ identifier: "CancelDeploymentResponseProject" }); case 2: return S.suspend(() => S.Struct({ buildCommand: S.optional(S.NullOr(S.String)), commandForIgnoringBuildStep: S.optional(S.NullOr(S.String)), devCommand: S.optional(S.NullOr(S.String)), framework: S.optional(S.NullOr(S.String)), installCommand: S.optional(S.NullOr(S.String)), nodeVersion: S.optional(S.String), outputDirectory: S.optional(S.NullOr(S.String)), speedInsights: S.optional(__S(299, __c9, 11)), vercelFlags: S.optional(__S(300, __c9, 12)), webAnalytics: S.optional(__S(301, __c9, 13)), }), ).annotate({ identifier: "CancelDeploymentResponseProjectSettings" }); case 3: return S.suspend(() => S.Struct({ buildMachine: S.optional(S.Unknown), }), ).annotate({ identifier: "CancelDeploymentResponseResourceConfig" }); case 4: return S.Array(S.Unknown); case 5: return S.suspend(() => S.Struct({ blockCode: S.String, gitProvider: S.optional(S.String), gitUserId: S.optional(S.Unknown), isVerified: S.optional(S.Boolean), userId: S.optional(S.String), }), ).annotate({ identifier: "CancelDeploymentResponseSeatBlock" }); case 6: return S.Array(S.Unknown); case 7: return S.suspend(() => S.Struct({ avatar: S.optional(S.String), id: S.String, name: S.String, slug: S.String, }), ).annotate({ identifier: "CancelDeploymentResponseTeam" }); case 8: return S.suspend(() => S.Struct({ alias: S.optional(__S(288, __c9, 0)), aliasAssigned: S.Boolean, aliasAssignedAt: S.optional(S.NullOr(S.Unknown)), aliasError: S.optional(S.NullOr(__S(289, __c9, 1))), aliasFinal: S.optional(S.NullOr(S.String)), aliasWarning: S.optional(S.NullOr(__S(225, __c7, 1))), alwaysRefuseToBuild: S.optional(S.Boolean), atproto: S.optional(S.Unknown), attribution: S.optional(__S(228, __c7, 4)), autoAssignCustomDomains: S.optional(S.Boolean), automaticAliases: S.optional(__S(288, __c9, 0)), bootedAt: S.Number, build: __S(229, __c7, 5), buildArtifactUrls: S.optional(__S(288, __c9, 0)), buildContainerFinishedAt: S.optional(S.Number), buildErrorAt: S.optional(S.Number), buildingAt: S.Number, builds: S.optional(__S(232, __c7, 8)), buildSkipped: S.Boolean, canceledAt: S.optional(S.Number), checks: S.optional(__S(293, __c9, 5)), checksConclusion: S.optional(S.String), checksState: S.optional(S.String), config: S.optional(__S(236, __c7, 12)), connectBuildsEnabled: S.optional(S.Boolean), connectConfigurationId: S.optional(S.String), createdAt: S.Number, createdIn: S.String, creator: __S(237, __c7, 13), crons: S.optional(__S(239, __c7, 15)), customEnvironment: S.optional(S.Unknown), defaultRoute: S.optional(S.String), deletedAt: S.optional(S.NullOr(S.Number)), duration: __S(240, __c7, 16), env: __S(288, __c9, 0), errorCode: S.optional(S.String), errorLink: S.optional(S.String), errorMessage: S.optional(S.NullOr(S.String)), errorStep: S.optional(S.String), flags: S.optional(S.Unknown), functions: S.optional(S.NullOr(__S(244, __c7, 20))), gitRepo: S.optional(S.NullOr(S.Unknown)), gitSource: S.optional(S.Unknown), id: S.String, images: S.optional(__S(250, __c7, 26)), initReadyAt: S.optional(S.Number), inspectorUrl: S.NullOr(S.String), integrations: S.optional(__S(251, __c7, 27)), isFirstBranchDeployment: S.optional(S.Boolean), isInConcurrentBuildsQueue: S.Boolean, isInstantStatic: S.optional(S.Boolean), isInSystemBuildsQueue: S.Boolean, lambdas: S.optional(__S(255, __c7, 31)), manualProvisioning: S.optional(__S(294, __c9, 6)), meta: __S(320, __c10, 0), microfrontends: S.optional(S.Unknown), monorepoManager: S.optional(S.NullOr(S.String)), name: S.String, nodeVersion: S.optional(S.String), oidcTokenClaims: S.optional(__S(256, __c8, 0)), oomReport: S.optional(S.String), originCacheRegion: S.optional(S.String), ownerId: S.String, passiveConnectConfigurationId: S.optional(S.String), passiveRegions: S.optional(__S(288, __c9, 0)), plan: S.String, platform: S.optional(__S(298, __c9, 10)), prebuilt: S.optional(S.Boolean), previewCommentsEnabled: S.optional(S.Boolean), project: S.optional(__S(257, __c8, 1)), projectId: S.String, projectSettings: __S(258, __c8, 2), public: S.Boolean, ready: S.optional(S.Number), readyState: S.String, readyStateReason: S.optional(S.String), readySubstate: S.optional(S.String), regions: __S(288, __c9, 0), resourceConfig: S.optional(__S(259, __c8, 3)), routes: S.NullOr(__S(260, __c8, 4)), seatBlock: S.optional(__S(261, __c8, 5)), services: S.optional(__S(262, __c8, 6)), softDeletedByRetention: S.optional(S.Boolean), source: S.optional(S.String), status: S.String, target: S.optional(S.NullOr(S.String)), team: S.optional(__S(263, __c8, 7)), ttyBuildLogs: S.optional(S.Boolean), type: S.String, undeletedAt: S.optional(S.Number), url: S.String, userAliases: S.optional(__S(288, __c9, 0)), userConfiguredDeploymentId: S.optional(S.String), version: S.Number, }), ).annotate({ identifier: "CancelDeploymentResponse" }); } } function __c9(j: number): any { switch (j) { case 0: return S.Array(S.String); case 1: return S.suspend(() => S.Struct({ code: S.String, message: S.String, }), ).annotate({ identifier: "CancelDeploymentResponseAliasError" }); case 2: return S.suspend(() => S.Struct({ email: S.optional(S.String), isVerified: S.optional(S.Boolean), name: S.optional(S.String), }), ).annotate({ identifier: "CancelDeploymentResponseAttributionCommitMeta" }); case 3: return S.suspend(() => S.Struct({ id: S.String, teamRoles: S.optional(__S(288, __c9, 0)), username: S.String, }), ).annotate({ identifier: "CancelDeploymentResponseAttributionVercelUser" }); case 4: return S.suspend(() => S.Struct({ completedAt: S.optional(S.Number), startedAt: S.Number, state: S.String, }), ).annotate({ identifier: "CancelDeploymentResponseChecksDeploymentAlias" }); case 5: return S.suspend(() => S.Struct({ deployment_alias: __S(292, __c9, 4).pipe(T.Body("deployment-alias")), }), ).annotate({ identifier: "CancelDeploymentResponseChecks" }); case 6: return S.suspend(() => S.Struct({ completedAt: S.optional(S.Number), state: S.String, }), ).annotate({ identifier: "CancelDeploymentResponseManualProvisioning" }); case 7: return S.suspend(() => S.Struct({ avatar: S.optional(S.String), name: S.String, }), ).annotate({ identifier: "CancelDeploymentResponsePlatformCreator" }); case 8: return S.suspend(() => S.Struct({ type: S.String, value: S.String, }), ).annotate({ identifier: "CancelDeploymentResponsePlatformOrigin" }); case 9: return S.suspend(() => S.Struct({ name: S.String, }), ).annotate({ identifier: "CancelDeploymentResponsePlatformSource" }); case 10: return S.suspend(() => S.Struct({ creator: __S(295, __c9, 7), meta: S.optional(__S(320, __c10, 0)), origin: __S(296, __c9, 8), source: __S(297, __c9, 9), }), ).annotate({ identifier: "CancelDeploymentResponsePlatform" }); case 11: return S.suspend(() => S.Struct({ canceledAt: S.optional(S.Number), dataReceivedAt: S.optional(S.Number), disabledAt: S.optional(S.Number), enabledAt: S.optional(S.Number), hasData: S.optional(S.Boolean), id: S.String, paidAt: S.optional(S.Number), }), ).annotate({ identifier: "CancelDeploymentResponseProjectSettingsSpeedInsights" }); case 12: return S.suspend(() => S.Struct({ enabledAt: S.optional(S.Number), }), ).annotate({ identifier: "CancelDeploymentResponseProjectSettingsVercelFlags" }); case 13: return S.suspend(() => S.Struct({ canceledAt: S.optional(S.Number), disabledAt: S.optional(S.Number), enabledAt: S.optional(S.Number), hasData: S.optional(S.Boolean), id: S.String, }), ).annotate({ identifier: "CancelDeploymentResponseProjectSettingsWebAnalytics" }); } } function __c10(j: number): any { switch (j) { case 0: return S.Record(S.String, S.String); } } function __c11(j: number): any { switch (j) { case 0: return S.Array(S.Unknown); case 1: return S.suspend(() => S.Struct({ remoteUrl: S.optional(S.String), commitAuthorName: S.optional(S.String), commitAuthorEmail: S.optional(S.String), commitMessage: S.optional(S.String), commitRef: S.optional(S.String), commitSha: S.optional(S.String), dirty: S.optional(S.Boolean), ci: S.optional(S.Boolean), ciType: S.optional(S.String), ciGitProviderUsername: S.optional(S.String), ciGitRepoVisibility: S.optional(S.String), rootDirectory: S.optional(S.String), }), ).annotate({ identifier: "CreateDeploymentRequestGitMetadata" }); case 2: return S.suspend(() => S.Struct({ buildCommand: S.optional(S.NullOr(S.String)), commandForIgnoringBuildStep: S.optional(S.NullOr(S.String)), devCommand: S.optional(S.NullOr(S.String)), framework: S.optional(S.NullOr(S.String)), installCommand: S.optional(S.NullOr(S.String)), nodeVersion: S.optional(S.String), outputDirectory: S.optional(S.NullOr(S.String)), rootDirectory: S.optional(S.NullOr(S.String)), serverlessFunctionRegion: S.optional(S.NullOr(S.String)), skipGitConnectDuringLink: S.optional(S.Boolean), sourceFilesOutsideRootDirectory: S.optional(S.Boolean), }), ).annotate({ identifier: "CreateDeploymentRequestProjectSettings" }); case 3: return S.suspend(() => S.Struct({ forceNew: S.optional(S.String.pipe(T.Query())), skipAutoDetectionConfirmation: S.optional(S.String.pipe(T.Query())), teamId: S.optional(S.String.pipe(T.Query())), slug: S.optional(S.String.pipe(T.Query())), buildMachine: S.optional(S.String), customEnvironmentSlugOrId: S.optional(S.String), deploymentId: S.optional(S.String), files: S.optional(__S(352, __c11, 0)), gitAccessToken: S.optional(S.String.pipe(T.SensitiveValue({}))), gitMetadata: S.optional(__S(353, __c11, 1)), gitSource: S.optional(S.Unknown), meta: S.optional(__S(320, __c10, 0)), monorepoManager: S.optional(S.NullOr(S.String)), name: S.String, project: S.optional(S.String), projectSettings: S.optional(__S(354, __c11, 2)), target: S.optional(S.String), withLatestCommit: S.optional(S.Boolean), }).pipe(T.Http({ method: "POST", uri: "/v13/deployments", code: 200 })), ).annotate({ identifier: "CreateDeploymentRequest" }); case 4: return S.suspend(() => S.Unknown.pipe(T.RawResponseRoot())).annotate({ identifier: "CreateDeploymentResponse", }); } } function __c12(j: number): any { switch (j) { case 0: return S.suspend(() => S.Struct({ id: S.String.pipe(T.Label()), url: S.optional(S.String.pipe(T.Query())), teamId: S.optional(S.String.pipe(T.Query())), slug: S.optional(S.String.pipe(T.Query())), }).pipe(T.Http({ method: "DELETE", uri: "/v13/deployments/{id}", code: 200 })), ).annotate({ identifier: "DeleteDeploymentRequest" }); case 1: return S.suspend(() => S.Struct({ state: S.String, uid: S.String, }), ).annotate({ identifier: "DeleteDeploymentResponse" }); } } function __c13(j: number): any { switch (j) { case 0: return S.suspend(() => S.Struct({ idOrUrl: S.String.pipe(T.Label()), withGitRepoInfo: S.optional(S.String.pipe(T.Query())), teamId: S.optional(S.String.pipe(T.Query())), slug: S.optional(S.String.pipe(T.Query())), }).pipe(T.Http({ method: "GET", uri: "/v13/deployments/{idOrUrl}", code: 200 })), ).annotate({ identifier: "GetDeploymentRequest" }); case 1: return S.suspend(() => S.Unknown.pipe(T.RawResponseRoot())).annotate({ identifier: "GetDeploymentResponse", }); } } // Schema table: entry i is schema j of builder f, made on first reach. function __S(i: number, f: (j: number) => unknown, j: number): any { return (__s[i] ??= __L.at(f, j)); }