UNPKG

@vercel/sdk

Version:

<p align="center"> <a href="https://vercel.com"> <img src="https://assets.vercel.com/image/upload/v1588805858/repositories/vercel/logo.png" height="96"> <h3 align="center">Vercel</h3> </a> <p align="center">Develop. Preview. Ship.</p> </p>

1,302 lines 69.1 kB
import * as z from "zod/v3";
import { ClosedEnum } from "../types/enums.js";
import { Result as SafeParseResult } from "../types/fp.js";
import { FlagJSONValue } from "./flagjsonvalue.js";
import { GetDeploymentResponseBody2, GetDeploymentResponseBodyAliasError, GetDeploymentResponseBodyAliasWarning, GetDeploymentResponseBodyChecksConclusion, GetDeploymentResponseBodyChecksState, GetDeploymentResponseBodyCreator, GetDeploymentResponseBodyCustomEnvironment, GetDeploymentResponseBodyGitSource, GetDeploymentResponseBodyLambdas, GetDeploymentResponseBodyManualProvisioning, GetDeploymentResponseBodyNodeVersion, GetDeploymentResponseBodyOomReport, GetDeploymentResponseBodyReadyState, GetDeploymentResponseBodyStatus, GetDeploymentResponseBodyTeam, GetDeploymentResponseBodyType, ResponseBodyAliasAssignedAt, ResponseBodyBuild, ResponseBodyBuilds, ResponseBodyImages, ResponseBodyIntegrations, ResponseBodyProject, ResponseBodyProjectSettings } from "./responsebodyproject.js";
import { SDKValidationError } from "./sdkvalidationerror.js";
/**
 * Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - ROLLING: in the process of having production traffic gradually transitioned. - PROMOTED: has seen production traffic
 */
export declare const GetDeploymentResponseBodyReadySubstate: {
    readonly Promoted: "PROMOTED";
    readonly Rolling: "ROLLING";
    readonly Staged: "STAGED";
};
/**
 * Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - ROLLING: in the process of having production traffic gradually transitioned. - PROMOTED: has seen production traffic
 */
export type GetDeploymentResponseBodyReadySubstate = ClosedEnum<typeof GetDeploymentResponseBodyReadySubstate>;
/**
 * Where was the deployment created from. Best-effort guess for metrics only — not authoritative; do not gate behavior on it.
 */
export declare const GetDeploymentResponseBodySource: {
    readonly ApiTriggerGitDeploy: "api-trigger-git-deploy";
    readonly Cli: "cli";
    readonly CloneRepo: "clone/repo";
    readonly Drop: "drop";
    readonly Git: "git";
    readonly Import: "import";
    readonly ImportRepo: "import/repo";
    readonly Redeploy: "redeploy";
    readonly V0Web: "v0-web";
};
/**
 * Where was the deployment created from. Best-effort guess for metrics only — not authoritative; do not gate behavior on it.
 */
export type GetDeploymentResponseBodySource = ClosedEnum<typeof GetDeploymentResponseBodySource>;
/**
 * If defined, either `staging` if a staging alias in the format `<project>.<team>.now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment.
 */
export declare const GetDeploymentResponseBodyTarget: {
    readonly Production: "production";
    readonly Staging: "staging";
};
/**
 * If defined, either `staging` if a staging alias in the format `<project>.<team>.now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment.
 */
export type GetDeploymentResponseBodyTarget = ClosedEnum<typeof GetDeploymentResponseBodyTarget>;
export type GetDeploymentResponseBodyOidcTokenClaims = {
    iss: string;
    sub: string;
    scope: string;
    aud: string;
    owner: string;
    ownerId: string;
    project: string;
    projectId: string;
    environment: string;
    customEnvironmentId?: string | undefined;
    plan?: string | undefined;
};
export declare const ResponseBodyPlan: {
    readonly Enterprise: "enterprise";
    readonly Hobby: "hobby";
    readonly Pro: "pro";
};
export type ResponseBodyPlan = ClosedEnum<typeof ResponseBodyPlan>;
/**
 * The external platform that created the deployment (e.g. its display name).
 */
export type GetDeploymentResponseBodyDeploymentsResponseSource = {
    /**
     * Display name of the platform.
     */
    name: string;
};
/**
 * Whether the value is an opaque identifier or a URL.
 */
export declare const GetDeploymentResponseBodyDeploymentsResponseType: {
    readonly Id: "id";
    readonly Url: "url";
};
/**
 * Whether the value is an opaque identifier or a URL.
 */
export type GetDeploymentResponseBodyDeploymentsResponseType = ClosedEnum<typeof GetDeploymentResponseBodyDeploymentsResponseType>;
/**
 * Reference back to the entity on the platform that initiated the deployment.
 */
export type ResponseBodyOrigin = {
    /**
     * Whether the value is an opaque identifier or a URL.
     */
    type: GetDeploymentResponseBodyDeploymentsResponseType;
    /**
     * The identifier or URL pointing to the originating entity.
     */
    value: string;
};
/**
 * The user on the external platform who triggered the deployment.
 */
export type GetDeploymentResponseBodyDeploymentsCreator = {
    /**
     * Display name of the platform user.
     */
    name: string;
    /**
     * URL of the platform user's avatar image.
     */
    avatar?: string | undefined;
};
/**
 * Metadata about the source platform that triggered the deployment. Allows us to map a deployment back to a platform (e.g. the chat that created it)
 */
export type ResponseBodyPlatform = {
    /**
     * The external platform that created the deployment (e.g. its display name).
     */
    source: GetDeploymentResponseBodyDeploymentsResponseSource;
    /**
     * Reference back to the entity on the platform that initiated the deployment.
     */
    origin: ResponseBodyOrigin;
    /**
     * The user on the external platform who triggered the deployment.
     */
    creator: GetDeploymentResponseBodyDeploymentsCreator;
    /**
     * Arbitrary key-value metadata provided by the platform.
     */
    meta?: {
        [k: string]: string;
    } | undefined;
};
export type ResponseBodyCrons = {
    schedule: string;
    path: string;
};
export declare const ResponseBodyArchitecture: {
    readonly Arm64: "arm64";
    readonly X8664: "x86_64";
};
export type ResponseBodyArchitecture = ClosedEnum<typeof ResponseBodyArchitecture>;
export declare const GetDeploymentMaxDuration2: {
    readonly Max: "max";
};
export type GetDeploymentMaxDuration2 = ClosedEnum<typeof GetDeploymentMaxDuration2>;
export type ResponseBodyMaxDuration = number | GetDeploymentMaxDuration2;
/**
 * Queue trigger input event for v2beta (from vercel.json config). Consumer name is implicitly derived from the function path. Only one trigger per function is allowed.
 */
export type GetDeploymentExperimentalTriggers2 = {
    /**
     * Event type - must be "queue/v2beta" (REQUIRED)
     */
    type: "queue/v2beta";
    /**
     * Name of the queue topic to consume from (REQUIRED)
     */
    topic: string;
    /**
     * Maximum number of delivery attempts for message processing (OPTIONAL) This represents the total number of times a message can be delivered, not the number of retries. Must be at least 1 if specified. Behavior when not specified depends on the server's default configuration.
     */
    maxDeliveries?: number | undefined;
    /**
     * Delay in seconds before retrying failed executions (OPTIONAL) Behavior when not specified depends on the server's default configuration.
     */
    retryAfterSeconds?: number | undefined;
    /**
     * Initial delay in seconds before first execution attempt (OPTIONAL) Must be 0 or greater. Use 0 for no initial delay. Behavior when not specified depends on the server's default configuration.
     */
    initialDelaySeconds?: number | undefined;
    /**
     * Maximum number of concurrent executions for this consumer (OPTIONAL) Must be at least 1 if specified. Behavior when not specified depends on the server's default configuration.
     */
    maxConcurrency?: number | undefined;
};
/**
 * Queue trigger input event for v1beta (from vercel.json config). Requires explicit consumer name.
 */
export type GetDeploymentExperimentalTriggers1 = {
    /**
     * Event type - must be "queue/v1beta" (REQUIRED)
     */
    type: "queue/v1beta";
    /**
     * Name of the consumer group for this trigger (REQUIRED)
     */
    consumer: string;
    /**
     * Name of the queue topic to consume from (REQUIRED)
     */
    topic: string;
    /**
     * Maximum number of delivery attempts for message processing (OPTIONAL) This represents the total number of times a message can be delivered, not the number of retries. Must be at least 1 if specified. Behavior when not specified depends on the server's default configuration.
     */
    maxDeliveries?: number | undefined;
    /**
     * Delay in seconds before retrying failed executions (OPTIONAL) Behavior when not specified depends on the server's default configuration.
     */
    retryAfterSeconds?: number | undefined;
    /**
     * Initial delay in seconds before first execution attempt (OPTIONAL) Must be 0 or greater. Use 0 for no initial delay. Behavior when not specified depends on the server's default configuration.
     */
    initialDelaySeconds?: number | undefined;
    /**
     * Maximum number of concurrent executions for this consumer (OPTIONAL) Must be at least 1 if specified. Behavior when not specified depends on the server's default configuration.
     */
    maxConcurrency?: number | undefined;
};
export type ResponseBodyExperimentalTriggers = GetDeploymentExperimentalTriggers1 | GetDeploymentExperimentalTriggers2;
export type ResponseBodyFunctions = {
    architecture?: ResponseBodyArchitecture | undefined;
    memory?: number | undefined;
    maxDuration?: number | GetDeploymentMaxDuration2 | undefined;
    regions?: Array<string> | undefined;
    functionFailoverRegions?: Array<string> | undefined;
    runtime?: string | undefined;
    includeFiles?: string | undefined;
    excludeFiles?: string | undefined;
    experimentalTriggers?: Array<GetDeploymentExperimentalTriggers1 | GetDeploymentExperimentalTriggers2> | undefined;
    supportsCancellation?: boolean | undefined;
};
export type GetDeploymentRoutes3 = {
    src: string;
    continue: boolean;
    middleware: number;
};
export declare const GetDeploymentRoutesHandle: {
    readonly Error: "error";
    readonly Filesystem: "filesystem";
    readonly Hit: "hit";
    readonly Miss: "miss";
    readonly Resource: "resource";
    readonly Rewrite: "rewrite";
};
export type GetDeploymentRoutesHandle = ClosedEnum<typeof GetDeploymentRoutesHandle>;
export type GetDeploymentRoutes2 = {
    handle: GetDeploymentRoutesHandle;
    src?: string | undefined;
    dest?: string | undefined;
    status?: number | undefined;
};
export declare const GetDeploymentHasType: {
    readonly Cookie: "cookie";
    readonly Header: "header";
    readonly Query: "query";
};
export type GetDeploymentHasType = ClosedEnum<typeof GetDeploymentHasType>;
export type GetDeploymentValueDeploymentsResponse200Eq = string | number;
export type GetDeploymentValue2 = {
    eq?: string | number | undefined;
    neq?: string | undefined;
    inc?: Array<string> | undefined;
    ninc?: Array<string> | undefined;
    pre?: string | undefined;
    suf?: string | undefined;
    re?: string | undefined;
    gt?: number | undefined;
    gte?: number | undefined;
    lt?: number | undefined;
    lte?: number | undefined;
};
export type GetDeploymentHasDeploymentsValue = string | GetDeploymentValue2;
export type GetDeploymentHas2 = {
    type: GetDeploymentHasType;
    key: string;
    value?: string | GetDeploymentValue2 | undefined;
};
export type GetDeploymentValueDeploymentsResponseEq = string | number;
export type GetDeploymentValueDeploymentsResponse2002 = {
    eq?: string | number | undefined;
    neq?: string | undefined;
    inc?: Array<string> | undefined;
    ninc?: Array<string> | undefined;
    pre?: string | undefined;
    suf?: string | undefined;
    re?: string | undefined;
    gt?: number | undefined;
    gte?: number | undefined;
    lt?: number | undefined;
    lte?: number | undefined;
};
export type GetDeploymentHasValue = string | GetDeploymentValueDeploymentsResponse2002;
export type GetDeploymentHas1 = {
    type: "host";
    value: string | GetDeploymentValueDeploymentsResponse2002;
};
export type GetDeploymentRoutesHas = GetDeploymentHas1 | (GetDeploymentHas2 & {
    type: "cookie";
}) | (GetDeploymentHas2 & {
    type: "header";
}) | (GetDeploymentHas2 & {
    type: "query";
});
export declare const GetDeploymentMissingType: {
    readonly Cookie: "cookie";
    readonly Header: "header";
    readonly Query: "query";
};
export type GetDeploymentMissingType = ClosedEnum<typeof GetDeploymentMissingType>;
export type GetDeploymentValueDeploymentsEq = string | number;
export type GetDeploymentValueDeploymentsResponse2 = {
    eq?: string | number | undefined;
    neq?: string | undefined;
    inc?: Array<string> | undefined;
    ninc?: Array<string> | undefined;
    pre?: string | undefined;
    suf?: string | undefined;
    re?: string | undefined;
    gt?: number | undefined;
    gte?: number | undefined;
    lt?: number | undefined;
    lte?: number | undefined;
};
export type GetDeploymentMissingValue = string | GetDeploymentValueDeploymentsResponse2;
export type GetDeploymentMissing2 = {
    type: GetDeploymentMissingType;
    key: string;
    value?: string | GetDeploymentValueDeploymentsResponse2 | undefined;
};
export type GetDeploymentValueEq = string | number;
export type GetDeploymentValueDeployments2 = {
    eq?: string | number | undefined;
    neq?: string | undefined;
    inc?: Array<string> | undefined;
    ninc?: Array<string> | undefined;
    pre?: string | undefined;
    suf?: string | undefined;
    re?: string | undefined;
    gt?: number | undefined;
    gte?: number | undefined;
    lt?: number | undefined;
    lte?: number | undefined;
};
export type GetDeploymentMissingDeploymentsValue = string | GetDeploymentValueDeployments2;
export type GetDeploymentMissing1 = {
    type: "host";
    value: string | GetDeploymentValueDeployments2;
};
export type GetDeploymentRoutesMissing = GetDeploymentMissing1 | (GetDeploymentMissing2 & {
    type: "cookie";
}) | (GetDeploymentMissing2 & {
    type: "header";
}) | (GetDeploymentMissing2 & {
    type: "query";
});
export declare const GetDeploymentRoutesAction: {
    readonly Challenge: "challenge";
    readonly Deny: "deny";
};
export type GetDeploymentRoutesAction = ClosedEnum<typeof GetDeploymentRoutesAction>;
export type GetDeploymentRoutesMitigate = {
    action: GetDeploymentRoutesAction;
};
export declare const GetDeploymentRoutesType: {
    readonly RequestHeaders: "request.headers";
    readonly RequestQuery: "request.query";
    readonly ResponseHeaders: "response.headers";
};
export type GetDeploymentRoutesType = ClosedEnum<typeof GetDeploymentRoutesType>;
export declare const GetDeploymentRoutesOp: {
    readonly Append: "append";
    readonly Delete: "delete";
    readonly Set: "set";
};
export type GetDeploymentRoutesOp = ClosedEnum<typeof GetDeploymentRoutesOp>;
export type GetDeploymentKeyEq = string | number;
export type GetDeploymentKey2 = {
    eq?: string | number | undefined;
    neq?: string | undefined;
    inc?: Array<string> | undefined;
    ninc?: Array<string> | undefined;
    pre?: string | undefined;
    suf?: string | undefined;
    gt?: number | undefined;
    gte?: number | undefined;
    lt?: number | undefined;
    lte?: number | undefined;
};
export type GetDeploymentRoutesKey = string | GetDeploymentKey2;
export type GetDeploymentRoutesTarget = {
    key: string | GetDeploymentKey2;
};
export type GetDeploymentRoutesArgs = string | Array<string>;
export type GetDeploymentRoutesTransforms = {
    type: GetDeploymentRoutesType;
    op: GetDeploymentRoutesOp;
    target: GetDeploymentRoutesTarget;
    args?: string | Array<string> | undefined;
    env?: Array<string> | undefined;
};
export type GetDeploymentRoutesLocale = {
    redirect?: {
        [k: string]: string;
    } | undefined;
    cookie?: string | undefined;
};
export declare const GetDeploymentDestinationType: {
    readonly Service: "service";
};
export type GetDeploymentDestinationType = ClosedEnum<typeof GetDeploymentDestinationType>;
export type GetDeploymentDestination2 = {
    type: GetDeploymentDestinationType;
    service: string;
    /**
     * Routing-only path used to select a route inside the target service.
     */
    path?: string | undefined;
};
export type GetDeploymentRoutesDestination = GetDeploymentDestination2 | string;
export type GetDeploymentRoutes1 = {
    src: string;
    dest?: string | undefined;
    headers?: {
        [k: string]: string;
    } | undefined;
    methods?: Array<string> | undefined;
    continue?: boolean | undefined;
    override?: boolean | undefined;
    caseSensitive?: boolean | undefined;
    check?: boolean | undefined;
    important?: boolean | undefined;
    status?: number | undefined;
    has?: Array<GetDeploymentHas1 | (GetDeploymentHas2 & {
        type: "cookie";
    }) | (GetDeploymentHas2 & {
        type: "header";
    }) | (GetDeploymentHas2 & {
        type: "query";
    })> | undefined;
    missing?: Array<GetDeploymentMissing1 | (GetDeploymentMissing2 & {
        type: "cookie";
    }) | (GetDeploymentMissing2 & {
        type: "header";
    }) | (GetDeploymentMissing2 & {
        type: "query";
    })> | undefined;
    mitigate?: GetDeploymentRoutesMitigate | undefined;
    transforms?: Array<GetDeploymentRoutesTransforms> | undefined;
    env?: Array<string> | undefined;
    locale?: GetDeploymentRoutesLocale | undefined;
    /**
     * Aliases for `src`, `dest`, and `status`. These provide consistency with the `rewrites`, `redirects`, and `headers` fields which use `source`, `destination`, and `statusCode`. During normalization, the string forms are converted to their canonical forms (`src`, `dest`, `status`) and stripped from the route object. `destination` may also be a service-targeted object, in which case routing is delegated into the named service's internal route table and the object is preserved as-is (not folded into `dest`).
     */
    source?: string | undefined;
    destination?: GetDeploymentDestination2 | string | undefined;
    statusCode?: number | undefined;
    /**
     * A middleware key within the `output` key under the build result. Overrides a `middleware` definition.
     */
    middlewarePath?: string | undefined;
    /**
     * The original middleware matchers.
     */
    middlewareRawSrc?: Array<string> | undefined;
    /**
     * A middleware index in the `middleware` key under the build result
     */
    middleware?: number | undefined;
    respectOriginCacheControl?: boolean | undefined;
};
export type ResponseBodyRoutes = GetDeploymentRoutes3 | GetDeploymentRoutes1 | GetDeploymentRoutes2;
export declare const GetDeploymentGitRepoDeploymentsOwnerType: {
    readonly Team: "team";
    readonly User: "user";
};
export type GetDeploymentGitRepoDeploymentsOwnerType = ClosedEnum<typeof GetDeploymentGitRepoDeploymentsOwnerType>;
export type GetDeploymentGitRepo4 = {
    org: string;
    repo: string;
    type: "vercel";
    path: string;
    defaultBranch: string;
    name: string;
    private: boolean;
    ownerType: GetDeploymentGitRepoDeploymentsOwnerType;
};
export declare const GetDeploymentGitRepoOwnerType: {
    readonly Team: "team";
    readonly User: "user";
};
export type GetDeploymentGitRepoOwnerType = ClosedEnum<typeof GetDeploymentGitRepoOwnerType>;
export type GetDeploymentGitRepo3 = {
    owner: string;
    repoUuid: string;
    slug: string;
    type: "bitbucket";
    workspaceUuid: string;
    path: string;
    defaultBranch: string;
    name: string;
    private: boolean;
    ownerType: GetDeploymentGitRepoOwnerType;
};
export declare const GetDeploymentGitRepoDeploymentsResponse200OwnerType: {
    readonly Team: "team";
    readonly User: "user";
};
export type GetDeploymentGitRepoDeploymentsResponse200OwnerType = ClosedEnum<typeof GetDeploymentGitRepoDeploymentsResponse200OwnerType>;
export type GetDeploymentGitRepo2 = {
    org: string;
    repo: string;
    repoId: number;
    type: "github";
    repoOwnerId: number;
    path: string;
    defaultBranch: string;
    name: string;
    private: boolean;
    ownerType: GetDeploymentGitRepoDeploymentsResponse200OwnerType;
};
export declare const GetDeploymentGitRepoDeploymentsResponseOwnerType: {
    readonly Team: "team";
    readonly User: "user";
};
export type GetDeploymentGitRepoDeploymentsResponseOwnerType = ClosedEnum<typeof GetDeploymentGitRepoDeploymentsResponseOwnerType>;
export type GetDeploymentGitRepo1 = {
    namespace: string;
    projectId: number;
    type: "gitlab";
    url: string;
    path: string;
    defaultBranch: string;
    name: string;
    private: boolean;
    ownerType: GetDeploymentGitRepoDeploymentsResponseOwnerType;
};
export type ResponseBodyGitRepo = GetDeploymentGitRepo1 | GetDeploymentGitRepo2 | GetDeploymentGitRepo3 | GetDeploymentGitRepo4;
/**
 * Flags defined in the Build Output API, used by this deployment. Primarily used by the Toolbar to know about the used flags.
 */
export type GetDeploymentFlags2 = {};
export type GetDeploymentFlagsOptions = {
    value: FlagJSONValue | null;
    label?: string | undefined;
};
export type GetDeploymentFlagsDefinitions = {
    options?: Array<GetDeploymentFlagsOptions> | undefined;
    url?: string | undefined;
    description?: string | undefined;
};
/**
 * Flags defined in the Build Output API, used by this deployment. Primarily used by the Toolbar to know about the used flags.
 */
export type GetDeploymentFlags1 = {
    definitions: {
        [k: string]: GetDeploymentFlagsDefinitions;
    };
};
export type ResponseBodyFlags = GetDeploymentFlags1 | Array<GetDeploymentFlags2>;
/**
 * The result of the microfrontends config upload during deployment creation / build. Only set for default app deployments. The config upload is attempted during deployment create, and then again during the build. If the config is not in the root directory, or the deployment is prebuilt, the config cannot be uploaded during deployment create. The upload during deployment build finds the config even if it's not in the root directory, as it has access to all files. Uploading the config during create is ideal, as then all child deployments are guaranteed to have access to the default app deployment config even if the default app has not yet started building. If the config is not uploaded, the child app will show as building until the config has been uploaded during the default app build. - `success` - The config was uploaded successfully, either when the deployment was created or during the build. - `waiting_on_build` - The config could not be uploaded during deployment create, will be attempted again during the build. - `no_config` - No config was found. Only set once the build has not found the config in any of the deployment's files. - `undefined` - Legacy deployments, or there was an error uploading the config during deployment create.
 */
export declare const GetDeploymentMicrofrontendsMfeConfigUploadState: {
    readonly NoConfig: "no_config";
    readonly Success: "success";
    readonly WaitingOnBuild: "waiting_on_build";
};
/**
 * The result of the microfrontends config upload during deployment creation / build. Only set for default app deployments. The config upload is attempted during deployment create, and then again during the build. If the config is not in the root directory, or the deployment is prebuilt, the config cannot be uploaded during deployment create. The upload during deployment build finds the config even if it's not in the root directory, as it has access to all files. Uploading the config during create is ideal, as then all child deployments are guaranteed to have access to the default app deployment config even if the default app has not yet started building. If the config is not uploaded, the child app will show as building until the config has been uploaded during the default app build. - `success` - The config was uploaded successfully, either when the deployment was created or during the build. - `waiting_on_build` - The config could not be uploaded during deployment create, will be attempted again during the build. - `no_config` - No config was found. Only set once the build has not found the config in any of the deployment's files. - `undefined` - Legacy deployments, or there was an error uploading the config during deployment create.
 */
export type GetDeploymentMicrofrontendsMfeConfigUploadState = ClosedEnum<typeof GetDeploymentMicrofrontendsMfeConfigUploadState>;
export type GetDeploymentMicrofrontends2 = {
    isDefaultApp: true;
    /**
     * The result of the microfrontends config upload during deployment creation / build. Only set for default app deployments. The config upload is attempted during deployment create, and then again during the build. If the config is not in the root directory, or the deployment is prebuilt, the config cannot be uploaded during deployment create. The upload during deployment build finds the config even if it's not in the root directory, as it has access to all files. Uploading the config during create is ideal, as then all child deployments are guaranteed to have access to the default app deployment config even if the default app has not yet started building. If the config is not uploaded, the child app will show as building until the config has been uploaded during the default app build. - `success` - The config was uploaded successfully, either when the deployment was created or during the build. - `waiting_on_build` - The config could not be uploaded during deployment create, will be attempted again during the build. - `no_config` - No config was found. Only set once the build has not found the config in any of the deployment's files. - `undefined` - Legacy deployments, or there was an error uploading the config during deployment create.
     */
    mfeConfigUploadState?: GetDeploymentMicrofrontendsMfeConfigUploadState | undefined;
    /**
     * The project name of the default app of this deployment's microfrontends group.
     */
    defaultAppProjectName: string;
    /**
     * A path that is used to take screenshots and as the default path in preview links when a domain for this microfrontend is shown in the UI.
     */
    defaultRoute?: string | undefined;
    /**
     * The group of microfrontends that this project belongs to. Each microfrontend project must belong to a microfrontends group that is the set of microfrontends that are used together.
     */
    groupIds: Array<string>;
};
export type GetDeploymentMicrofrontends1 = {
    isDefaultApp?: false | undefined;
    /**
     * The project name of the default app of this deployment's microfrontends group.
     */
    defaultAppProjectName: string;
    /**
     * A path that is used to take screenshots and as the default path in preview links when a domain for this microfrontend is shown in the UI.
     */
    defaultRoute?: string | undefined;
    /**
     * The group of microfrontends that this project belongs to. Each microfrontend project must belong to a microfrontends group that is the set of microfrontends that are used together.
     */
    groupIds: Array<string>;
};
export type ResponseBodyMicrofrontends = GetDeploymentMicrofrontends2 | GetDeploymentMicrofrontends1;
export declare const ResponseBodyFunctionType: {
    readonly Fluid: "fluid";
    readonly Standard: "standard";
};
export type ResponseBodyFunctionType = ClosedEnum<typeof ResponseBodyFunctionType>;
export declare const ResponseBodyFunctionMemoryType: {
    readonly Performance: "performance";
    readonly PerformanceXl: "performance_xl";
    readonly Standard: "standard";
    readonly StandardLegacy: "standard_legacy";
};
export type ResponseBodyFunctionMemoryType = ClosedEnum<typeof ResponseBodyFunctionMemoryType>;
/**
 * Build resource configuration snapshot for this deployment.
 */
export declare const GetDeploymentResponseBodyConfiguration: {
    readonly SkipNamespaceQueue: "SKIP_NAMESPACE_QUEUE";
    readonly WaitForNamespaceQueue: "WAIT_FOR_NAMESPACE_QUEUE";
};
/**
 * Build resource configuration snapshot for this deployment.
 */
export type GetDeploymentResponseBodyConfiguration = ClosedEnum<typeof GetDeploymentResponseBodyConfiguration>;
/**
 * Build resource configuration snapshot for this deployment.
 */
export type GetDeploymentResponseBodyBuildQueue = {
    /**
     * Build resource configuration snapshot for this deployment.
     */
    configuration?: GetDeploymentResponseBodyConfiguration | undefined;
};
/**
 * When elastic concurrency is used for this deployment, a value is set. The value tells the reason where the setting was coming from. - TEAM_SETTING: Inherited from team settings - PROJECT_SETTING: Inherited from project settings - SKIP_QUEUE: Manually triggered by user to skip the queues
 */
export declare const ResponseBodyElasticConcurrency: {
    readonly ProjectSetting: "PROJECT_SETTING";
    readonly SkipQueue: "SKIP_QUEUE";
    readonly TeamSetting: "TEAM_SETTING";
};
/**
 * When elastic concurrency is used for this deployment, a value is set. The value tells the reason where the setting was coming from. - TEAM_SETTING: Inherited from team settings - PROJECT_SETTING: Inherited from project settings - SKIP_QUEUE: Manually triggered by user to skip the queues
 */
export type ResponseBodyElasticConcurrency = ClosedEnum<typeof ResponseBodyElasticConcurrency>;
/**
 * Machine type that was used for the build.
 */
export declare const ResponseBodyPurchaseType: {
    readonly Enhanced: "enhanced";
    readonly Standard: "standard";
    readonly Turbo: "turbo";
};
/**
 * Machine type that was used for the build.
 */
export type ResponseBodyPurchaseType = ClosedEnum<typeof ResponseBodyPurchaseType>;
export type ResponseBodyBuildMachine = {
    /**
     * Machine type that was used for the build.
     */
    purchaseType?: ResponseBodyPurchaseType | null | undefined;
};
/**
 * Build resource configuration snapshot for this deployment.
 */
export type GetDeploymentResponseBodyResourceConfig = {
    /**
     * Build resource configuration snapshot for this deployment.
     */
    buildQueue?: GetDeploymentResponseBodyBuildQueue | 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?: ResponseBodyElasticConcurrency | undefined;
    buildMachine?: ResponseBodyBuildMachine | undefined;
};
/**
 * Since February 2025 the configuration must include snapshot data at the time of deployment creation to capture properties for the /deployments/:id/config endpoint utilized for displaying Deployment Configuration on the frontend This is optional because older deployments may not have this data captured
 */
export type ResponseBodyConfig = {
    version?: number | undefined;
    functionType: ResponseBodyFunctionType;
    functionMemoryType: ResponseBodyFunctionMemoryType;
    functionTimeout: number | null;
    secureComputePrimaryRegion: string | null;
    secureComputeFallbackRegion: string | null;
    isUsingActiveCPU?: boolean | undefined;
    /**
     * Build resource configuration snapshot for this deployment.
     */
    resourceConfig?: GetDeploymentResponseBodyResourceConfig | undefined;
};
export declare const GetDeploymentResponseBodyDeploymentsResponseState: {
    readonly Failed: "failed";
    readonly Pending: "pending";
    readonly Succeeded: "succeeded";
};
export type GetDeploymentResponseBodyDeploymentsResponseState = ClosedEnum<typeof GetDeploymentResponseBodyDeploymentsResponseState>;
/**
 * Condensed check data. Retrieve individual check and check run data using api-checks v2 routes.
 */
export type ResponseBodyDeploymentAlias = {
    state: GetDeploymentResponseBodyDeploymentsResponseState;
    startedAt: number;
    completedAt?: number | undefined;
};
export type ResponseBodyChecks = {
    /**
     * Condensed check data. Retrieve individual check and check run data using api-checks v2 routes.
     */
    deploymentAlias: ResponseBodyDeploymentAlias;
};
/**
 * The NSNB decision code for the seat block. TODO: We should consolidate block types.
 */
export declare const ResponseBodyBlockCode: {
    readonly CommitAuthorRequired: "COMMIT_AUTHOR_REQUIRED";
    readonly TeamAccessRequired: "TEAM_ACCESS_REQUIRED";
};
/**
 * The NSNB decision code for the seat block. TODO: We should consolidate block types.
 */
export type ResponseBodyBlockCode = ClosedEnum<typeof ResponseBodyBlockCode>;
export type ResponseBodyGitUserId = string | number;
/**
 * The git provider type associated with gitUserId.
 */
export declare const ResponseBodyGitProvider: {
    readonly Bitbucket: "bitbucket";
    readonly Github: "github";
    readonly Gitlab: "gitlab";
};
/**
 * The git provider type associated with gitUserId.
 */
export type ResponseBodyGitProvider = ClosedEnum<typeof ResponseBodyGitProvider>;
/**
 * NSNB Blocked metadata
 */
export type ResponseBodySeatBlock = {
    /**
     * The NSNB decision code for the seat block. TODO: We should consolidate block types.
     */
    blockCode: ResponseBodyBlockCode;
    /**
     * The blocked vercel user ID.
     */
    userId?: string | undefined;
    /**
     * Determines if the user was verified during the block. In the git integration case, the commit sender was the author.
     */
    isVerified?: boolean | undefined;
    gitUserId?: string | number | undefined;
    /**
     * The git provider type associated with gitUserId.
     */
    gitProvider?: ResponseBodyGitProvider | undefined;
};
/**
 * Commit metadata from the git commit author
 */
export type ResponseBodyCommitMeta = {
    /**
     * Email from git commit author
     */
    email?: string | undefined;
    /**
     * Name from git commit author
     */
    name?: string | undefined;
    /**
     * Whether the commit was signed/verified (GitHub only, others return undefined)
     */
    isVerified?: boolean | undefined;
};
export type GetDeploymentResponseBodyId = string | number;
/**
 * Git provider user associated with the commit author email (only set if resolved)
 */
export type ResponseBodyGitUser = {
    id: string | number;
    /**
     * Git provider username/login
     */
    login: string;
    /**
     * User type
     */
    type?: string | undefined;
    /**
     * The git provider (github, gitlab, bitbucket)
     */
    provider?: string | undefined;
};
/**
 * Vercel user linked to the git provider account (only set if resolved)
 */
export type ResponseBodyVercelUser = {
    /**
     * Vercel user ID
     */
    id: string;
    /**
     * Vercel username
     */
    username: string;
    /**
     * Team roles at time of deployment
     */
    teamRoles?: Array<string> | undefined;
};
/**
 * Attribution metadata for the deployment, linking commit author to git and Vercel users. Only populated when the `enable-deployment-attribution` flag is enabled.
 */
export type ResponseBodyAttribution = {
    /**
     * Commit metadata from the git commit author
     */
    commitMeta?: ResponseBodyCommitMeta | undefined;
    /**
     * Git provider user associated with the commit author email (only set if resolved)
     */
    gitUser?: ResponseBodyGitUser | undefined;
    /**
     * Vercel user linked to the git provider account (only set if resolved)
     */
    vercelUser?: ResponseBodyVercelUser | undefined;
};
/**
 * The deployment including both public and private information
 */
export type GetDeploymentResponseBody1 = {
    aliasAssignedAt?: ResponseBodyAliasAssignedAt | null | undefined;
    alwaysRefuseToBuild?: boolean | undefined;
    build: ResponseBodyBuild;
    buildArtifactUrls?: Array<string> | undefined;
    builds?: Array<ResponseBodyBuilds> | undefined;
    env: Array<string>;
    inspectorUrl: string | null;
    isInConcurrentBuildsQueue: boolean;
    isInSystemBuildsQueue: boolean;
    projectSettings: ResponseBodyProjectSettings;
    integrations?: ResponseBodyIntegrations | undefined;
    images?: ResponseBodyImages | undefined;
    /**
     * A list of all the aliases (default aliases, staging aliases and production aliases) that were assigned upon deployment creation
     */
    alias?: Array<string> | undefined;
    /**
     * A boolean that will be true when the aliases from the alias property were assigned successfully
     */
    aliasAssigned: boolean;
    bootedAt: number;
    buildingAt: number;
    /**
     * Since April 2025 it necessary for On-Demand Concurrency Minutes calculation
     */
    buildContainerFinishedAt?: number | undefined;
    buildSkipped: boolean;
    /**
     * Information about the deployment creator
     */
    creator: GetDeploymentResponseBodyCreator;
    initReadyAt?: number | undefined;
    isFirstBranchDeployment?: boolean | undefined;
    lambdas?: Array<GetDeploymentResponseBodyLambdas> | undefined;
    /**
     * A boolean representing if the deployment is public or not. By default this is `false`
     */
    public: boolean;
    ready?: number | undefined;
    status: GetDeploymentResponseBodyStatus;
    /**
     * The team that owns the deployment if any
     */
    team?: GetDeploymentResponseBodyTeam | undefined;
    /**
     * An array of domains that were provided by the user when creating the Deployment.
     */
    userAliases?: Array<string> | undefined;
    /**
     * Whether or not preview comments are enabled for the deployment
     */
    previewCommentsEnabled?: boolean | undefined;
    ttyBuildLogs?: boolean | undefined;
    customEnvironment?: GetDeploymentResponseBodyCustomEnvironment | undefined;
    oomReport?: GetDeploymentResponseBodyOomReport | undefined;
    readyStateReason?: string | undefined;
    aliasWarning?: GetDeploymentResponseBodyAliasWarning | null | undefined;
    /**
     * A string holding the unique ID of the deployment
     */
    id: string;
    /**
     * A number containing the date when the deployment was created in milliseconds
     */
    createdAt: number;
    /**
     * The state of the deployment depending on the process of deploying, or if it is ready or in an error state
     */
    readyState: GetDeploymentResponseBodyReadyState;
    /**
     * The name of the project associated with the deployment at the time that the deployment was created
     */
    name: string;
    type: GetDeploymentResponseBodyType;
    errorMessage?: string | null | undefined;
    /**
     * An object that will contain a `code` and a `message` when the aliasing fails, otherwise the value will be `null`
     */
    aliasError?: GetDeploymentResponseBodyAliasError | null | undefined;
    aliasFinal?: string | null | undefined;
    /**
     * applies to custom domains only, defaults to `true`
     */
    autoAssignCustomDomains?: boolean | undefined;
    automaticAliases?: Array<string> | undefined;
    buildErrorAt?: number | undefined;
    checksState?: GetDeploymentResponseBodyChecksState | undefined;
    checksConclusion?: GetDeploymentResponseBodyChecksConclusion | undefined;
    /**
     * A number containing the date when the deployment was deleted at milliseconds
     */
    deletedAt?: number | null | undefined;
    /**
     * Computed field that is only available for deployments with a microfrontend configuration.
     */
    defaultRoute?: string | undefined;
    canceledAt?: number | undefined;
    errorCode?: string | undefined;
    errorLink?: string | undefined;
    errorStep?: string | undefined;
    /**
     * Since November 2023 this field defines a set of regions that we will deploy the lambda to passively Lambdas will be deployed to these regions but only invoked if all of the primary `regions` are marked as out of service
     */
    passiveRegions?: Array<string> | undefined;
    gitSource?: GetDeploymentResponseBodyGitSource | 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?: GetDeploymentResponseBodyManualProvisioning | undefined;
    meta: {
        [k: string]: string;
    };
    originCacheRegion?: string | undefined;
    /**
     * If set it overrides the `projectSettings.nodeVersion` for this deployment.
     */
    nodeVersion?: GetDeploymentResponseBodyNodeVersion | undefined;
    /**
     * The public project information associated with the deployment.
     */
    project?: ResponseBodyProject | undefined;
    prebuilt?: boolean | undefined;
    /**
     * Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - ROLLING: in the process of having production traffic gradually transitioned. - PROMOTED: has seen production traffic
     */
    readySubstate?: GetDeploymentResponseBodyReadySubstate | undefined;
    /**
     * The regions the deployment exists in
     */
    regions: Array<string>;
    /**
     * flag to indicate if the deployment was deleted by retention policy
     */
    softDeletedByRetention?: boolean | undefined;
    /**
     * Where was the deployment created from. Best-effort guess for metrics only — not authoritative; do not gate behavior on it.
     */
    source?: GetDeploymentResponseBodySource | undefined;
    /**
     * If defined, either `staging` if a staging alias in the format `<project>.<team>.now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment.
     */
    target?: GetDeploymentResponseBodyTarget | null | undefined;
    /**
     * A number containing the date when the deployment was undeleted at milliseconds
     */
    undeletedAt?: number | undefined;
    /**
     * A string with the unique URL of the deployment
     */
    url: string;
    /**
     * Since January 2025 User-configured deployment ID for skew protection with pre-built deployments. This is set when users configure a custom deploymentId in their next.config.js file. This allows Next.js to use skew protection even when deployments are pre-built outside of Vercel's build system.
     */
    userConfiguredDeploymentId?: string | undefined;
    /**
     * The platform version that was used to create the deployment.
     */
    version: number;
    oidcTokenClaims?: GetDeploymentResponseBodyOidcTokenClaims | undefined;
    projectId: string;
    plan: ResponseBodyPlan;
    /**
     * 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?: ResponseBodyPlatform | undefined;
    connectBuildsEnabled?: boolean | undefined;
    connectConfigurationId?: string | undefined;
    createdIn: string;
    crons?: Array<ResponseBodyCrons> | undefined;
    functions?: {
        [k: string]: ResponseBodyFunctions;
    } | null | undefined;
    monorepoManager?: string | null | undefined;
    ownerId: string;
    /**
     * Since November 2023 this field defines a Secure Compute network that will only be used to deploy passive lambdas to (as in passiveRegions)
     */
    passiveConnectConfigurationId?: string | undefined;
    routes: Array<GetDeploymentRoutes3 | GetDeploymentRoutes1 | GetDeploymentRoutes2> | null;
    gitRepo?: GetDeploymentGitRepo1 | GetDeploymentGitRepo2 | GetDeploymentGitRepo3 | GetDeploymentGitRepo4 | null | undefined;
    flags?: GetDeploymentFlags1 | Array<GetDeploymentFlags2> | undefined;
    microfrontends?: GetDeploymentMicrofrontends2 | GetDeploymentMicrofrontends1 | 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?: ResponseBodyConfig | undefined;
    checks?: ResponseBodyChecks | undefined;
    /**
     * NSNB Blocked metadata
     */
    seatBlock?: ResponseBodySeatBlock | 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?: ResponseBodyAttribution | undefined;
};
/**
 * The deployment including only public information
 *
 * @remarks
 * The deployment including both public and private information
 */
export type GetDeploymentResponseBody = GetDeploymentResponseBody1 | GetDeploymentResponseBody2;
/** @internal */
export declare const GetDeploymentResponseBodyReadySubstate$inboundSchema: z.ZodNativeEnum<typeof GetDeploymentResponseBodyReadySubstate>;
/** @internal */
export declare const GetDeploymentResponseBodySource$inboundSchema: z.ZodNativeEnum<typeof GetDeploymentResponseBodySource>;
/** @internal */
export declare const GetDeploymentResponseBodyTarget$inboundSchema: z.ZodNativeEnum<typeof GetDeploymentResponseBodyTarget>;
/** @internal */
export declare const GetDeploymentResponseBodyOidcTokenClaims$inboundSchema: z.ZodType<GetDeploymentResponseBodyOidcTokenClaims, z.ZodTypeDef, unknown>;
export declare function getDeploymentResponseBodyOidcTokenClaimsFromJSON(jsonString: string): SafeParseResult<GetDeploymentResponseBodyOidcTokenClaims, SDKValidationError>;
/** @internal */
export declare const ResponseBodyPlan$inboundSchema: z.ZodNativeEnum<typeof ResponseBodyPlan>;
/** @internal */
export declare const GetDeploymentResponseBodyDeploymentsResponseSource$inboundSchema: z.ZodType<GetDeploymentResponseBodyDeploymentsResponseSource, z.ZodTypeDef, unknown>;
export declare function getDeploymentResponseBodyDeploymentsResponseSourceFromJSON(jsonString: string): SafeParseResult<GetDeploymentResponseBodyDeploymentsResponseSource, SDKValidationError>;
/** @internal */
export declare const GetDeploymentResponseBodyDeploymentsResponseType$inboundSchema: z.ZodNativeEnum<typeof GetDeploymentResponseBodyDeploymentsResponseType>;
/** @internal */
export declare const ResponseBodyOrigin$inboundSchema: z.ZodType<ResponseBodyOrigin, z.ZodTypeDef, unknown>;
export declare function responseBodyOriginFromJSON(jsonString: string): SafeParseResult<ResponseBodyOrigin, SDKValidationError>;
/** @internal */
export declare const GetDeploymentResponseBodyDeploymentsCreator$inboundSchema: z.ZodType<GetDeploymentResponseBodyDeploymentsCreator, z.ZodTypeDef, unknown>;
export declare function getDeploymentResponseBodyDeploymentsCreatorFromJSON(jsonString: string): SafeParseResult<GetDeploymentResponseBodyDeploymentsCreator, SDKValidationError>;
/** @internal */
export declare const ResponseBodyPlatform$inboundSchema: z.ZodType<ResponseBodyPlatform, z.ZodTypeDef, unknown>;
export declare function responseBodyPlatformFromJSON(jsonString: string): SafeParseResult<ResponseBodyPlatform, SDKValidationError>;
/** @internal */
export declare const ResponseBodyCrons$inboundSchema: z.ZodType<ResponseBodyCrons, z.ZodTypeDef, unknown>;
export declare function responseBodyCronsFromJSON(jsonString: string): SafeParseResult<ResponseBodyCrons, SDKValidationError>;
/** @internal */
export declare const ResponseBodyArchitecture$inboundSchema: z.ZodNativeEnum<typeof ResponseBodyArchitecture>;
/** @internal */
export declare const GetDeploymentMaxDuration2$inboundSchema: z.ZodNativeEnum<typeof GetDeploymentMaxDuration2>;
/** @internal */
export declare const ResponseBodyMaxDuration$inboundSchema: z.ZodType<ResponseBodyMaxDuration, z.ZodTypeDef, unknown>;
export declare function responseBodyMaxDurationFromJSON(jsonString: string): SafeParseResult<ResponseBodyMaxDuration, SDKValidationError>;
/** @internal */
export declare const GetDeploymentExperimentalTriggers2$inboundSchema: z.ZodType<GetDeploymentExperimentalTriggers2, z.ZodTypeDef, unknown>;
export declare function getDeploymentExperimentalTriggers2FromJSON(jsonString: string): SafeParseResult<GetDeploymentExperimentalTriggers2, SDKValidationError>;
/** @internal */
export declare const GetDeploymentExperimentalTriggers1$inboundSchema: z.ZodType<GetDeploymentExperimentalTriggers1, z.ZodTypeDef, unknown>;
export declare function getDeploymentExperimentalTriggers1FromJSON(jsonString: string): SafeParseResult<GetDeploymentExperimentalTriggers1, SDKValidationError>;
/** @internal */
export declare const ResponseBodyExperimentalTriggers$inboundSchema: z.ZodType<ResponseBodyExperimentalTriggers, z.ZodTypeDef, unknown>;
export declare function responseBodyExperimentalTriggersFromJSON(jsonString: string): SafeParseResult<ResponseBodyExperimentalTriggers, SDKValidationError>;
/** @internal */
export declare const ResponseBodyFunctions$inboundSchema: z.ZodType<ResponseBodyFunctions, z.ZodTypeDef, unknown>;
export declare function responseBodyFunctionsFromJSON(jsonString: string): SafeParseResult<ResponseBodyFunctions, SDKValidationError>;
/** @internal */
export declare const GetDeploymentRoutes3$inboundSchema: z.ZodType<GetDeploymentRoutes3, z.ZodTypeDef, unknown>;
export declare function getDeploymentRoutes3FromJSON(jsonString: string): SafeParseResult<GetDeploymentRoutes3, SDKValidationError>;
/** @internal */
export declare const GetDeploymentRoutesHandle$inboundSchema: z.ZodNativeEnum<typeof GetDeploymentRoutesHandle>;
/** @internal */
export declare const GetDeploymentRoutes2$inboundSchema: z.ZodType<GetDeploymentRoutes2, z.ZodTypeDef, unknown>;
export declare function getDeploymentRoutes2FromJSON(jsonString: string): SafeParseResult<GetDeploymentRoutes2, SDKValidationError>;
/** @internal */
export declare const GetDeploymentHasType$inboundSchema: z.ZodNativeEnum<typeof GetDeploymentHasType>;
/** @internal */
export declare const GetDeploymentValueDeploymentsResponse200Eq$inboundSchema: z.ZodType<GetDeploymentValueDeploymentsResponse200Eq, z.ZodTypeDef, unknown>;
export declare function getDeploymentValueDeploymentsResponse200EqFromJSON(jsonString: string): SafeParseResult<GetDeploymentValueDeploymentsResponse200Eq, SDKValidationError>;
/** @internal */
export declare const GetDeploymentValue2$inboundSchema: z.ZodType<GetDeploymentValue2, z.ZodTypeDef, unknown>;
export declare function getDeploymentValue2FromJSON(jsonString: string): SafeParseResult<GetDeploymentValue2, SDKValidationError>;
/** @internal */
export declare const GetDeploymentHasDeploymentsValue$inboundSchema: z.ZodType<GetDeploymentHasDeploymentsValue, z.ZodTypeDef, unknown>;
export declare function getDeploymentHasDeploymentsValueFromJSON(jsonString: string): SafeParseResult<GetDeploymentHasDeploymentsValue, SDKValidationError>;
/** @internal */
export declare const GetDeploymentHas2$inboundSchema: z.ZodType<GetDeploymentHas2, z.ZodTypeDef, unknown>;
export declare function getDeploymentHas2FromJSON(jsonString: string): SafeParseResult<GetDeploymentHas2, SDKValidationError>;
/** @internal */
export declare const GetDeploymentValueDeploymentsResponseEq$inboundSchema: z.ZodType<GetDeploymentValueDeploymentsResponseEq, z.ZodTypeDef, unknown>;
export declare function getDeploymentValueDeploymentsResponseEqFromJSON(jsonString: string): SafeParseResult<GetDeploymentValueDeploymentsResponseEq, SDKValidationError>;
/** @internal */
export declare const GetDeploymentValueDeploymentsResponse2002$inboundSchema: z.ZodType<GetDeploymentValueDeploymentsResponse2002, z.ZodTypeDef, unknown>;
export declare function getDeploymentValueDeploymentsResponse2002FromJSON(jsonString: string): SafeParseResult<GetDeploymentValueDeploymentsResponse2002, SDKValidationError>;
/** @internal */
export declare const GetDeploymentHasValue$inboundSchema: z.ZodType<GetDeploymentHasValue, z.ZodTypeDef, unknown>;
export declare function getDeploymentHasValueFromJSON(jsonString: string): SafeParseResult<GetDeploymentHasValue, SDKValidationError>;
/** @internal */
export declare const GetDeploymentHas1$inboundSchema: z.ZodType<GetDeploymentHas1, z.ZodTypeDef, unknown>;
export declare function getDeploymentHas1FromJSON(jsonString: string): SafeParseResult<GetDeploymentHas1, SDKValidationError>;
/** @internal */
export declare const GetDeploymentRoutesHas$inboundSchema: z.ZodType<GetDeploymentRoutesHas, z.ZodTypeDef, unknown>;
export declare function getDeploymentRoutesHasFromJSON(jsonString: string): SafeParseResult<GetDeploymentRoutesHas, SDKValidationError>;
/** @internal */
export declare const GetDeploymentMissingType$inboundSchema: z.ZodNativeEnum<typeof GetDeploymentMissingType>;
/** @internal */
export declare const GetDeploymentValueDeploymentsEq$inboundSchema: z.ZodType<GetDeploymentValueDeploymentsEq, z.ZodTypeDef, unknown>;
export declare function getDeploymentValueDeploymentsEqFromJSON(jsonString: string): SafeParseResult<GetDeploymentValueDeploymentsEq, SDKValidationError>;
/** @internal */
export declare const GetDeploymentValueDeploymentsResponse2$inboundSchema: z.ZodType<GetDeploymentValueDeploymentsResponse2, z.ZodTypeDef, unknown>;
export declare function getDeploymentValueDeploymentsResponse2FromJSON(jsonString: string): SafeParseResult<GetDeploymentValueDeploymentsResponse2, SDKValidationError>;
/** @internal */
export declare const GetDeploymentMissingValue$inboundSchema: z.ZodType<GetDeploymentMissingValue, z.ZodTypeDef, unknown>;
export declare function getDeploymentMissingValueFromJSON(jsonString: string): SafeParseResult<GetDeploymentMissingValue, SDKValidationError>;
/** @internal */
export declare const GetDeploymentMissing2$inboundSchema: z.ZodType<GetDeploymentMissing2, z.ZodTypeDef, unknown>;
export declare function getDeploymentMissing2FromJSON(jsonString: string): SafeParseResult<GetDeploymentMissing2, SDKValidationError>;
/** @internal */
export declare const GetDeploymentValueEq$inboundSchema: z.ZodType<GetDeploymentValueEq, z.ZodTypeDef, unknown>;
export declare function getDeploymentValueEqFromJSON(jsonString: string): SafeParseResult<GetDeploymentValueEq, SDKValidationError>;
/** @internal */
export declare const GetDeploymentValueDeployments2$inboundSchema: z.ZodType<GetDeploymentValueDeployments2, z.ZodTypeDef, unknown>;
export declare function getDeploymentValueDeployments2FromJSON(jsonString: string): SafeParseResult<GetDeploymentValueDeployments2, SDKValidationError>;
/** @internal */
export declare const GetDeploymentMissingDeploymentsValue$inboundSchema: z.ZodType<GetDeploymentMissingDeploymentsValue, z.ZodTypeDef, unknown>;
export declare function getDeploymentMissingDeploymentsValueFromJSON(jsonString: string): SafeParseResult<GetDeploymentMissingDeploymentsValue, SDKValidationError>;
/** @internal */
export declare const GetDeploymentMissing1$inboundSchema: z.ZodType<GetDeploymentMissing1, z.ZodTypeDef, unknown>;
export declare function getDeploymentMissing1FromJSON(jsonString: string): SafeParseResult<GetDeploymentMissing1, SDKValidationError>;
/** @internal */
export declare const GetDeploymentRoutesMissing$inboundSchema: z.ZodType<GetDeploymentRoutesMissing, z.ZodTypeDef, unknown>;
export declare function getDeploymentRoutesMissingFromJSON(jsonString: string): SafeParseResult<GetDeploymentRoutesMissing, SDKValidationError>;
/** @internal */
export declare const GetDeploymentRoutesAction$inboundSchema: z.ZodNativeEnum<typeof GetDeploymentRoutesAction>;
/** @internal */
export declare const GetDeploymentRoutesMitigate$inboundSchema: z.ZodType<GetDeploymentRoutesMitigate, z.ZodTypeDef, unknown>;
export declare function getDeploymentRoutesMitigateFromJSON(jsonString: string): SafeParseResult<GetDeploymentRoutesMitigate, SDKValidationError>;
/** @internal */
export declare const GetDeploymentRoutesType$inboundSchema: z.ZodNativeEnum<typeof GetDeploymentRoutesType>;
/** @internal */
export declare const GetDeploymentRoutesOp$inboundSchema: z.ZodNativeEnum<typeof GetDeploymentRoutesOp>;
/** @internal */
export declare const GetDeploymentKeyEq$inboundSchema: z.ZodType<GetDeploymentKeyEq, z.ZodTypeDef, unknown>;
export declare function getDeploymentKeyEqFromJSON(jsonString: string): SafeParseResult<GetDeploymentKeyEq, SDKValidationError>;
/** @internal */
export declare const GetDeploymentKey2$inboundSchema: z.ZodType<GetDeploymentKey2, z.ZodTypeDef, unknown>;
export declare function getDeploymentKey2FromJSON(jsonString: string): SafeParseResult<GetDeploymentKey2, SDKValidationError>;
/** @internal */
export declare const GetDeploymentRoutesKey$inboundSchema: z.ZodType<GetDeploymentRoutesKey, z.ZodTypeDef, unknown>;
export declare function getDeploymentRoutesKeyFromJSON(jsonString: string): SafeParseResult<GetDeploymentRoutesKey, SDKValidationError>;
/** @internal */
export declare const GetDeploymentRoutesTarget$inboundSchema: z.ZodType<GetDeploymentRoutesTarget, z.ZodTypeDef, unknown>;
export declare function getDeploymentRoutesTargetFromJSON(jsonString: string): SafeParseResult<GetDeploymentRoutesTarget, SDKValidationError>;
/** @internal */
export declare const GetDeploymentRoutesArgs$inboundSchema: z.ZodType<GetDeploymentRoutesArgs, z.ZodTypeDef, unknown>;
export declare function getDeploymentRoutesArgsFromJSON(jsonString: string): SafeParseResult<GetDeploymentRoutesArgs, SDKValidationError>;
/** @internal */
export declare const GetDeploymentRoutesTransforms$inboundSchema: z.ZodType<GetDeploymentRoutesTransforms, z.ZodTypeDef, unknown>;
export declare function getDeploymentRoutesTransformsFromJSON(jsonString: string): SafeParseResult<GetDeploymentRoutesTransforms, SDKValidationError>;
/** @internal */
export declare const GetDeploymentRoutesLocale$inboundSchema: z.ZodType<GetDeploymentRoutesLocale, z.ZodTypeDef, unknown>;
export declare function getDeploymentRoutesLocaleFromJSON(jsonString: string): SafeParseResult<GetDeploymentRoutesLocale, SDKValidationError>;
/** @internal */
export declare const GetDeploymentDestinationType$inboundSchema: z.ZodNativeEnum<typeof GetDeploymentDestinationType>;
/** @internal */
export declare const GetDeploymentDestination2$inboundSchema: z.ZodType<GetDeploymentDestination2, z.ZodTypeDef, unknown>;
export declare function getDeploymentDestination2FromJSON(jsonString: string): SafeParseResult<GetDeploymentDestination2, SDKValidationError>;
/** @internal */
export declare const GetDeploymentRoutesDestination$inboundSchema: z.ZodType<GetDeploymentRoutesDestination, z.ZodTypeDef, unknown>;
export declare function getDeploymentRoutesDestinationFromJSON(jsonString: string): SafeParseResult<GetDeploymentRoutesDestination, SDKValidationError>;
/** @internal */
export declare const GetDeploymentRoutes1$inboundSchema: z.ZodType<GetDeploymentRoutes1, z.ZodTypeDef, unknown>;
export declare function getDeploymentRoutes1FromJSON(jsonString: string): SafeParseResult<GetDeploymentRoutes1, SDKValidationError>;
/** @internal */
export declare const ResponseBodyRoutes$inboundSchema: z.ZodType<ResponseBodyRoutes, z.ZodTypeDef, unknown>;
export declare function responseBodyRoutesFromJSON(jsonString: string): SafeParseResult<ResponseBodyRoutes, SDKValidationError>;
/** @internal */
export declare const GetDeploymentGitRepoDeploymentsOwnerType$inboundSchema: z.ZodNativeEnum<typeof GetDeploymentGitRepoDeploymentsOwnerType>;
/** @internal */
export declare const GetDeploymentGitRepo4$inboundSchema: z.ZodType<GetDeploymentGitRepo4, z.ZodTypeDef, unknown>;
export declare function getDeploymentGitRepo4FromJSON(jsonString: string): SafeParseResult<GetDeploymentGitRepo4, SDKValidationError>;
/** @internal */
export declare const GetDeploymentGitRepoOwnerType$inboundSchema: z.ZodNativeEnum<typeof GetDeploymentGitRepoOwnerType>;
/** @internal */
export declare const GetDeploymentGitRepo3$inboundSchema: z.ZodType<GetDeploymentGitRepo3, z.ZodTypeDef, unknown>;
export declare function getDeploymentGitRepo3FromJSON(jsonString: string): SafeParseResult<GetDeploymentGitRepo3, SDKValidationError>;
/** @internal */
export declare const GetDeploymentGitRepoDeploymentsResponse200OwnerType$inboundSchema: z.ZodNativeEnum<typeof GetDeploymentGitRepoDeploymentsResponse200OwnerType>;
/** @internal */
export declare const GetDeploymentGitRepo2$inboundSchema: z.ZodType<GetDeploymentGitRepo2, z.ZodTypeDef, unknown>;
export declare function getDeploymentGitRepo2FromJSON(jsonString: string): SafeParseResult<GetDeploymentGitRepo2, SDKValidationError>;
/** @internal */
export declare const GetDeploymentGitRepoDeploymentsResponseOwnerType$inboundSchema: z.ZodNativeEnum<typeof GetDeploymentGitRepoDeploymentsResponseOwnerType>;
/** @internal */
export declare const GetDeploymentGitRepo1$inboundSchema: z.ZodType<GetDeploymentGitRepo1, z.ZodTypeDef, unknown>;
export declare function getDeploymentGitRepo1FromJSON(jsonString: string): SafeParseResult<GetDeploymentGitRepo1, SDKValidationError>;
/** @internal */
export declare const ResponseBodyGitRepo$inboundSchema: z.ZodType<ResponseBodyGitRepo, z.ZodTypeDef, unknown>;
export declare function responseBodyGitRepoFromJSON(jsonString: string): SafeParseResult<ResponseBodyGitRepo, SDKValidationError>;
/** @internal */
export declare const GetDeploymentFlags2$inboundSchema: z.ZodType<GetDeploymentFlags2, z.ZodTypeDef, unknown>;
export declare function getDeploymentFlags2FromJSON(jsonString: string): SafeParseResult<GetDeploymentFlags2, SDKValidationError>;
/** @internal */
export declare const GetDeploymentFlagsOptions$inboundSchema: z.ZodType<GetDeploymentFlagsOptions, z.ZodTypeDef, unknown>;
export declare function getDeploymentFlagsOptionsFromJSON(jsonString: string): SafeParseResult<GetDeploymentFlagsOptions, SDKValidationError>;
/** @internal */
export declare const GetDeploymentFlagsDefinitions$inboundSchema: z.ZodType<GetDeploymentFlagsDefinitions, z.ZodTypeDef, unknown>;
export declare function getDeploymentFlagsDefinitionsFromJSON(jsonString: string): SafeParseResult<GetDeploymentFlagsDefinitions, SDKValidationError>;
/** @internal */
export declare const GetDeploymentFlags1$inboundSchema: z.ZodType<GetDeploymentFlags1, z.ZodTypeDef, unknown>;
export declare function getDeploymentFlags1FromJSON(jsonString: string): SafeParseResult<GetDeploymentFlags1, SDKValidationError>;
/** @internal */
export declare const ResponseBodyFlags$inboundSchema: z.ZodType<ResponseBodyFlags, z.ZodTypeDef, unknown>;
export declare function responseBodyFlagsFromJSON(jsonString: string): SafeParseResult<ResponseBodyFlags, SDKValidationError>;
/** @internal */
export declare const GetDeploymentMicrofrontendsMfeConfigUploadState$inboundSchema: z.ZodNativeEnum<typeof GetDeploymentMicrofrontendsMfeConfigUploadState>;
/** @internal */
export declare const GetDeploymentMicrofrontends2$inboundSchema: z.ZodType<GetDeploymentMicrofrontends2, z.ZodTypeDef, unknown>;
export declare function getDeploymentMicrofrontends2FromJSON(jsonString: string): SafeParseResult<GetDeploymentMicrofrontends2, SDKValidationError>;
/** @internal */
export declare const GetDeploymentMicrofrontends1$inboundSchema: z.ZodType<GetDeploymentMicrofrontends1, z.ZodTypeDef, unknown>;
export declare function getDeploymentMicrofrontends1FromJSON(jsonString: string): SafeParseResult<GetDeploymentMicrofrontends1, SDKValidationError>;
/** @internal */
export declare const ResponseBodyMicrofrontends$inboundSchema: z.ZodType<ResponseBodyMicrofrontends, z.ZodTypeDef, unknown>;
export declare function responseBodyMicrofrontendsFromJSON(jsonString: string): SafeParseResult<ResponseBodyMicrofrontends, SDKValidationError>;
/** @internal */
export declare const ResponseBodyFunctionType$inboundSchema: z.ZodNativeEnum<typeof ResponseBodyFunctionType>;
/** @internal */
export declare const ResponseBodyFunctionMemoryType$inboundSchema: z.ZodNativeEnum<typeof ResponseBodyFunctionMemoryType>;
/** @internal */
export declare const GetDeploymentResponseBodyConfiguration$inboundSchema: z.ZodNativeEnum<typeof GetDeploymentResponseBodyConfiguration>;
/** @internal */
export declare const GetDeploymentResponseBodyBuildQueue$inboundSchema: z.ZodType<GetDeploymentResponseBodyBuildQueue, z.ZodTypeDef, unknown>;
export declare function getDeploymentResponseBodyBuildQueueFromJSON(jsonString: string): SafeParseResult<GetDeploymentResponseBodyBuildQueue, SDKValidationError>;
/** @internal */
export declare const ResponseBodyElasticConcurrency$inboundSchema: z.ZodNativeEnum<typeof ResponseBodyElasticConcurrency>;
/** @internal */
export declare const ResponseBodyPurchaseType$inboundSchema: z.ZodNativeEnum<typeof ResponseBodyPurchaseType>;
/** @internal */
export declare const ResponseBodyBuildMachine$inboundSchema: z.ZodType<ResponseBodyBuildMachine, z.ZodTypeDef, unknown>;
export declare function responseBodyBuildMachineFromJSON(jsonString: string): SafeParseResult<ResponseBodyBuildMachine, SDKValidationError>;
/** @internal */
export declare const GetDeploymentResponseBodyResourceConfig$inboundSchema: z.ZodType<GetDeploymentResponseBodyResourceConfig, z.ZodTypeDef, unknown>;
export declare function getDeploymentResponseBodyResourceConfigFromJSON(jsonString: string): SafeParseResult<GetDeploymentResponseBodyResourceConfig, SDKValidationError>;
/** @internal */
export declare const ResponseBodyConfig$inboundSchema: z.ZodType<ResponseBodyConfig, z.ZodTypeDef, unknown>;
export declare function responseBodyConfigFromJSON(jsonString: string): SafeParseResult<ResponseBodyConfig, SDKValidationError>;
/** @internal */
export declare const GetDeploymentResponseBodyDeploymentsResponseState$inboundSchema: z.ZodNativeEnum<typeof GetDeploymentResponseBodyDeploymentsResponseState>;
/** @internal */
export declare const ResponseBodyDeploymentAlias$inboundSchema: z.ZodType<ResponseBodyDeploymentAlias, z.ZodTypeDef, unknown>;
export declare function responseBodyDeploymentAliasFromJSON(jsonString: string): SafeParseResult<ResponseBodyDeploymentAlias, SDKValidationError>;
/** @internal */
export declare const ResponseBodyChecks$inboundSchema: z.ZodType<ResponseBodyChecks, z.ZodTypeDef, unknown>;
export declare function responseBodyChecksFromJSON(jsonString: string): SafeParseResult<ResponseBodyChecks, SDKValidationError>;
/** @internal */
export declare const ResponseBodyBlockCode$inboundSchema: z.ZodNativeEnum<typeof ResponseBodyBlockCode>;
/** @internal */
export declare const ResponseBodyGitUserId$inboundSchema: z.ZodType<ResponseBodyGitUserId, z.ZodTypeDef, unknown>;
export declare function responseBodyGitUserIdFromJSON(jsonString: string): SafeParseResult<ResponseBodyGitUserId, SDKValidationError>;
/** @internal */
export declare const ResponseBodyGitProvider$inboundSchema: z.ZodNativeEnum<typeof ResponseBodyGitProvider>;
/** @internal */
export declare const ResponseBodySeatBlock$inboundSchema: z.ZodType<ResponseBodySeatBlock, z.ZodTypeDef, unknown>;
export declare function responseBodySeatBlockFromJSON(jsonString: string): SafeParseResult<ResponseBodySeatBlock, SDKValidationError>;
/** @internal */
export declare const ResponseBodyCommitMeta$inboundSchema: z.ZodType<ResponseBodyCommitMeta, z.ZodTypeDef, unknown>;
export declare function responseBodyCommitMetaFromJSON(jsonString: string): SafeParseResult<ResponseBodyCommitMeta, SDKValidationError>;
/** @internal */
export declare const GetDeploymentResponseBodyId$inboundSchema: z.ZodType<GetDeploymentResponseBodyId, z.ZodTypeDef, unknown>;
export declare function getDeploymentResponseBodyIdFromJSON(jsonString: string): SafeParseResult<GetDeploymentResponseBodyId, SDKValidationError>;
/** @internal */
export declare const ResponseBodyGitUser$inboundSchema: z.ZodType<ResponseBodyGitUser, z.ZodTypeDef, unknown>;
export declare function responseBodyGitUserFromJSON(jsonString: string): SafeParseResult<ResponseBodyGitUser, SDKValidationError>;
/** @internal */
export declare const ResponseBodyVercelUser$inboundSchema: z.ZodType<ResponseBodyVercelUser, z.ZodTypeDef, unknown>;
export declare function responseBodyVercelUserFromJSON(jsonString: string): SafeParseResult<ResponseBodyVercelUser, SDKValidationError>;
/** @internal */
export declare const ResponseBodyAttribution$inboundSchema: z.ZodType<ResponseBodyAttribution, z.ZodTypeDef, unknown>;
export declare function responseBodyAttributionFromJSON(jsonString: string): SafeParseResult<ResponseBodyAttribution, SDKValidationError>;
/** @internal */
export declare const GetDeploymentResponseBody1$inboundSchema: z.ZodType<GetDeploymentResponseBody1, z.ZodTypeDef, unknown>;
export declare function getDeploymentResponseBody1FromJSON(jsonString: string): SafeParseResult<GetDeploymentResponseBody1, SDKValidationError>;
/** @internal */
export declare const GetDeploymentResponseBody$inboundSchema: z.ZodType<GetDeploymentResponseBody, z.ZodTypeDef, unknown>;
export declare function getDeploymentResponseBodyFromJSON(jsonString: string): SafeParseResult<GetDeploymentResponseBody, SDKValidationError>;
//# sourceMappingURL=getdeploymentresponsebody.d.ts.map