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>

912 lines 34.5 kB
import * as z from "zod/v3"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { Pagination } from "./pagination.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; export type 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?: Array<string> | 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 declare const GetDeploymentsReadyState: { readonly Blocked: "BLOCKED"; readonly Building: "BUILDING"; readonly Canceled: "CANCELED"; readonly Deleted: "DELETED"; readonly Error: "ERROR"; readonly Initializing: "INITIALIZING"; readonly Queued: "QUEUED"; readonly Ready: "READY"; }; export type GetDeploymentsReadyState = ClosedEnum<typeof GetDeploymentsReadyState>; /** * The source of the deployment. */ export declare const GetDeploymentsSource: { readonly ApiTriggerGitDeploy: "api-trigger-git-deploy"; readonly Cli: "cli"; readonly CloneRepo: "clone/repo"; readonly Drop: "drop"; readonly Git: "git"; readonly GitDeployHook: "git-deploy-hook"; readonly Import: "import"; readonly ImportRepo: "import/repo"; readonly Redeploy: "redeploy"; readonly V0Web: "v0-web"; }; /** * The source of the deployment. */ export type GetDeploymentsSource = ClosedEnum<typeof GetDeploymentsSource>; /** * In which state is the deployment. */ export declare const GetDeploymentsState: { readonly Blocked: "BLOCKED"; readonly Building: "BUILDING"; readonly Canceled: "CANCELED"; readonly Deleted: "DELETED"; readonly Error: "ERROR"; readonly Initializing: "INITIALIZING"; readonly Queued: "QUEUED"; readonly Ready: "READY"; }; /** * In which state is the deployment. */ export type GetDeploymentsState = ClosedEnum<typeof GetDeploymentsState>; /** * The type of the deployment. */ export declare const GetDeploymentsType: { readonly Lambdas: "LAMBDAS"; }; /** * The type of the deployment. */ export type GetDeploymentsType = ClosedEnum<typeof GetDeploymentsType>; /** * Principal type of the deployment creator. Defaults to `"user"` if absent (legacy deployments created before principal attribution was recorded). */ export declare const GetDeploymentsDeploymentsType: { readonly App: "app"; readonly Integration: "integration"; readonly System: "system"; readonly User: "user"; }; /** * Principal type of the deployment creator. Defaults to `"user"` if absent (legacy deployments created before principal attribution was recorded). */ export type GetDeploymentsDeploymentsType = ClosedEnum<typeof GetDeploymentsDeploymentsType>; /** * Metadata information of the deployment creator. */ export type GetDeploymentsCreator = { /** * Stable creator id across principal types. This may be a user ID, an app ID, an integration configuration ID, or `system`. */ uid: string; /** * Principal type of the deployment creator. Defaults to `"user"` if absent (legacy deployments created before principal attribution was recorded). */ type?: GetDeploymentsDeploymentsType | undefined; /** * The email address of the user. */ email?: string | undefined; /** * The username of the user. */ username?: string | undefined; /** * The GitHub login of the user. */ githubLogin?: string | undefined; /** * The GitLab login of the user. */ gitlabLogin?: string | undefined; }; /** * On which environment has the deployment been deployed to. */ export declare const GetDeploymentsTarget: { readonly Production: "production"; readonly Staging: "staging"; }; /** * On which environment has the deployment been deployed to. */ export type GetDeploymentsTarget = ClosedEnum<typeof GetDeploymentsTarget>; /** * An error object in case aliasing of the deployment failed. */ export type GetDeploymentsAliasError = { code: string; message: string; }; export type GetDeploymentsAliasAssigned = number | boolean; /** * 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 declare const GetDeploymentsReadySubstate: { 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 gradually transitioning production traffic - PROMOTED: has seen production traffic */ export type GetDeploymentsReadySubstate = ClosedEnum<typeof GetDeploymentsReadySubstate>; /** * State of all registered checks */ export declare const GetDeploymentsChecksState: { readonly Completed: "completed"; readonly Registered: "registered"; readonly Running: "running"; }; /** * State of all registered checks */ export type GetDeploymentsChecksState = ClosedEnum<typeof GetDeploymentsChecksState>; /** * Conclusion for checks */ export declare const GetDeploymentsChecksConclusion: { readonly Canceled: "canceled"; readonly Failed: "failed"; readonly Skipped: "skipped"; readonly Succeeded: "succeeded"; }; /** * Conclusion for checks */ export type GetDeploymentsChecksConclusion = ClosedEnum<typeof GetDeploymentsChecksConclusion>; export declare const GetDeploymentsDeploymentsResponseState: { readonly Failed: "failed"; readonly Pending: "pending"; readonly Succeeded: "succeeded"; }; export type GetDeploymentsDeploymentsResponseState = ClosedEnum<typeof GetDeploymentsDeploymentsResponseState>; /** * Detailed information about v2 deployment checks. Includes information about blocked workflows in the deployment lifecycle. */ export type GetDeploymentsDeploymentAlias = { state: GetDeploymentsDeploymentsResponseState; startedAt: number; completedAt?: number | undefined; }; /** * Detailed information about v2 deployment checks. Includes information about blocked workflows in the deployment lifecycle. */ export type GetDeploymentsChecks = { /** * Detailed information about v2 deployment checks. Includes information about blocked workflows in the deployment lifecycle. */ deploymentAlias: GetDeploymentsDeploymentAlias; }; /** * Indicates if the deployment encountered an out-of-memory error. */ export declare const GetDeploymentsOomReport: { readonly OutOfMemory: "out-of-memory"; }; /** * Indicates if the deployment encountered an out-of-memory error. */ export type GetDeploymentsOomReport = ClosedEnum<typeof GetDeploymentsOomReport>; /** * Current provisioning state */ export declare const GetDeploymentsDeploymentsState: { readonly Complete: "COMPLETE"; readonly Pending: "PENDING"; readonly Timeout: "TIMEOUT"; }; /** * Current provisioning state */ export type GetDeploymentsDeploymentsState = ClosedEnum<typeof GetDeploymentsDeploymentsState>; export type GetDeploymentsManualProvisioning = { /** * Current provisioning state */ state: GetDeploymentsDeploymentsState; /** * Timestamp when manual provisioning completed */ completedAt?: number | undefined; }; export declare const GetDeploymentsFramework: { readonly ActixWeb: "actix-web"; readonly Angular: "angular"; readonly Ash: "ash"; readonly Astro: "astro"; readonly Axum: "axum"; readonly Blitzjs: "blitzjs"; readonly Brunch: "brunch"; readonly Bun: "bun"; readonly Container: "container"; readonly CreateReactApp: "create-react-app"; readonly Django: "django"; readonly Docusaurus: "docusaurus"; readonly Docusaurus2: "docusaurus-2"; readonly Dojo: "dojo"; readonly Eleventy: "eleventy"; readonly Elysia: "elysia"; readonly Ember: "ember"; readonly Eve: "eve"; readonly Express: "express"; readonly FactoryEve: "factory-eve"; readonly Fastapi: "fastapi"; readonly Fasthtml: "fasthtml"; readonly Fastify: "fastify"; readonly Flask: "flask"; readonly Gatsby: "gatsby"; readonly Go: "go"; readonly Gridsome: "gridsome"; readonly H3: "h3"; readonly Hexo: "hexo"; readonly Hono: "hono"; readonly Hugo: "hugo"; readonly Hydrogen: "hydrogen"; readonly IonicAngular: "ionic-angular"; readonly IonicReact: "ionic-react"; readonly Jekyll: "jekyll"; readonly Koa: "koa"; readonly Mastra: "mastra"; readonly Middleman: "middleman"; readonly Nestjs: "nestjs"; readonly Nextjs: "nextjs"; readonly Nitro: "nitro"; readonly Node: "node"; readonly Nuxtjs: "nuxtjs"; readonly Parcel: "parcel"; readonly Polymer: "polymer"; readonly Preact: "preact"; readonly Python: "python"; readonly ReactRouter: "react-router"; readonly Redwoodjs: "redwoodjs"; readonly Remix: "remix"; readonly Ruby: "ruby"; readonly Rust: "rust"; readonly Saber: "saber"; readonly Sanity: "sanity"; readonly SanityV2: "sanity-v2"; readonly Sapper: "sapper"; readonly Scully: "scully"; readonly Services: "services"; readonly Solidstart: "solidstart"; readonly Solidstart1: "solidstart-1"; readonly Stencil: "stencil"; readonly Storybook: "storybook"; readonly Svelte: "svelte"; readonly Sveltekit: "sveltekit"; readonly Sveltekit1: "sveltekit-1"; readonly TanstackStart: "tanstack-start"; readonly TanstackStartLovable: "tanstack-start-lovable"; readonly Umijs: "umijs"; readonly Vite: "vite"; readonly Vitepress: "vitepress"; readonly Vue: "vue"; readonly Vuepress: "vuepress"; readonly Xmcp: "xmcp"; readonly Zola: "zola"; }; export type GetDeploymentsFramework = ClosedEnum<typeof GetDeploymentsFramework>; export declare const GetDeploymentsNodeVersion: { readonly TenDotX: "10.x"; readonly TwelveDotX: "12.x"; readonly FourteenDotX: "14.x"; readonly SixteenDotX: "16.x"; readonly EighteenDotX: "18.x"; readonly TwentyDotX: "20.x"; readonly TwentyTwoDotX: "22.x"; readonly TwentyFourDotX: "24.x"; readonly EightDot10DotX: "8.10.x"; }; export type GetDeploymentsNodeVersion = ClosedEnum<typeof GetDeploymentsNodeVersion>; export type GetDeploymentsSpeedInsights = { id: string; enabledAt?: number | undefined; disabledAt?: number | undefined; canceledAt?: number | undefined; hasData?: boolean | undefined; /** * When the first free (not Speed Insights Plus) production data point was observed, in ms. Set once by subscriber-analytics-events; projects that already had data before this field shipped get it backfilled on their next batch, so it reads "first free data point observed", not necessarily "first ever". */ dataReceivedAt?: number | undefined; paidAt?: number | undefined; }; export type GetDeploymentsWebAnalytics = { id: string; disabledAt?: number | undefined; canceledAt?: number | undefined; enabledAt?: number | undefined; hasData?: true | undefined; }; /** * Since June '23 */ export type GetDeploymentsGitComments = { /** * Whether the Vercel bot should comment on PRs */ onPullRequest: boolean; /** * Whether the Vercel bot should comment on commits */ onCommit: boolean; }; /** * The project settings which was used for this deployment */ export type GetDeploymentsProjectSettings = { framework?: GetDeploymentsFramework | null | undefined; gitForkProtection?: boolean | undefined; customerSupportCodeVisibility?: boolean | undefined; gitLFS?: boolean | undefined; devCommand?: string | null | undefined; installCommand?: string | null | undefined; buildCommand?: string | null | undefined; nodeVersion?: GetDeploymentsNodeVersion | undefined; outputDirectory?: string | null | undefined; rootDirectory?: string | null | undefined; sourceFilesOutsideRootDirectory?: boolean | undefined; commandForIgnoringBuildStep?: string | null | undefined; createdAt?: number | undefined; speedInsights?: GetDeploymentsSpeedInsights | undefined; webAnalytics?: GetDeploymentsWebAnalytics | undefined; skipGitConnectDuringLink?: boolean | undefined; /** * Since June '23 */ gitComments?: GetDeploymentsGitComments | undefined; }; /** * The external platform that created the deployment (e.g. its display name). */ export type GetDeploymentsDeploymentsSource = { /** * Display name of the platform. */ name: string; }; /** * Whether the value is an opaque identifier or a URL. */ export declare const GetDeploymentsDeploymentsResponseType: { readonly Id: "id"; readonly Url: "url"; }; /** * Whether the value is an opaque identifier or a URL. */ export type GetDeploymentsDeploymentsResponseType = ClosedEnum<typeof GetDeploymentsDeploymentsResponseType>; /** * Reference back to the entity on the platform that initiated the deployment. */ export type GetDeploymentsOrigin = { /** * Whether the value is an opaque identifier or a URL. */ type: GetDeploymentsDeploymentsResponseType; /** * The identifier or URL pointing to the originating entity. */ value: string; }; /** * The user on the external platform who triggered the deployment. */ export type GetDeploymentsDeploymentsCreator = { /** * 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. */ export type GetDeploymentsPlatform = { /** * The external platform that created the deployment (e.g. its display name). */ source: GetDeploymentsDeploymentsSource; /** * Reference back to the entity on the platform that initiated the deployment. */ origin: GetDeploymentsOrigin; /** * The user on the external platform who triggered the deployment. */ creator: GetDeploymentsDeploymentsCreator; /** * Arbitrary key-value metadata provided by the platform. */ meta?: { [k: string]: string; } | undefined; }; /** * The custom environment used for this deployment, if any */ export type GetDeploymentsCustomEnvironment = { id: string; slug?: string | undefined; }; /** * The NSNB decision code for the seat block. TODO: We should consolidate block types. */ export declare const GetDeploymentsBlockCode: { 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 GetDeploymentsBlockCode = ClosedEnum<typeof GetDeploymentsBlockCode>; export type GetDeploymentsGitUserId = string | number; /** * The git provider type associated with gitUserId. */ export declare const GetDeploymentsGitProvider: { readonly Bitbucket: "bitbucket"; readonly Github: "github"; readonly Gitlab: "gitlab"; }; /** * The git provider type associated with gitUserId. */ export type GetDeploymentsGitProvider = ClosedEnum<typeof GetDeploymentsGitProvider>; /** * NSNB Blocked metadata */ export type GetDeploymentsSeatBlock = { /** * The NSNB decision code for the seat block. TODO: We should consolidate block types. */ blockCode: GetDeploymentsBlockCode; /** * 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?: GetDeploymentsGitProvider | undefined; }; /** * Commit metadata from the git commit author */ export type GetDeploymentsCommitMeta = { /** * 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 GetDeploymentsId = string | number; /** * Git provider user associated with the commit author email (only set if resolved) */ export type GetDeploymentsGitUser = { 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 GetDeploymentsVercelUser = { /** * Vercel user ID */ id: string; /** * Vercel username */ username: string; /** * Team roles at time of deployment */ teamRoles?: Array<string> | undefined; }; /** * Commit attribution metadata */ export type GetDeploymentsAttribution = { /** * Commit metadata from the git commit author */ commitMeta?: GetDeploymentsCommitMeta | undefined; /** * Git provider user associated with the commit author email (only set if resolved) */ gitUser?: GetDeploymentsGitUser | undefined; /** * Vercel user linked to the git provider account (only set if resolved) */ vercelUser?: GetDeploymentsVercelUser | undefined; }; export type Deployments = { createdAt: number; readyState: GetDeploymentsReadyState; /** * The unique identifier of the deployment. */ uid: string; /** * The name of the deployment. */ name: string; /** * The project ID of the deployment */ projectId: string; /** * The URL of the deployment. */ url: string; /** * Timestamp of when the deployment got created. */ created: number; /** * 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; /** * Timestamp of when the deployment was undeleted. */ undeleted?: number | undefined; /** * Optional flag to indicate if the deployment was soft deleted by retention policy. */ softDeletedByRetention?: boolean | undefined; /** * The source of the deployment. */ source?: GetDeploymentsSource | undefined; /** * In which state is the deployment. */ state?: GetDeploymentsState | undefined; /** * The type of the deployment. */ type: GetDeploymentsType; /** * Metadata information of the deployment creator. */ creator: GetDeploymentsCreator; /** * Metadata information from the Git provider. */ meta?: { [k: string]: string; } | undefined; /** * On which environment has the deployment been deployed to. */ target?: GetDeploymentsTarget | null | undefined; /** * An error object in case aliasing of the deployment failed. */ aliasError?: GetDeploymentsAliasError | null | undefined; aliasAssigned?: number | boolean | null | undefined; /** * Timestamp of when the deployment started building at. */ buildingAt?: number | undefined; /** * Timestamp of when the deployment got ready. */ ready?: number | 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 gradually transitioning production traffic - PROMOTED: has seen production traffic */ readySubstate?: GetDeploymentsReadySubstate | undefined; /** * State of all registered checks */ checksState?: GetDeploymentsChecksState | undefined; /** * Conclusion for checks */ checksConclusion?: GetDeploymentsChecksConclusion | undefined; /** * Detailed information about v2 deployment checks. Includes information about blocked workflows in the deployment lifecycle. */ checks?: GetDeploymentsChecks | undefined; /** * Vercel URL to inspect the deployment. */ inspectorUrl: string | null; /** * 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; /** * Indicates if the deployment encountered an out-of-memory error. */ oomReport?: GetDeploymentsOomReport | undefined; /** * Deployment can be used for instant rollback */ isRollbackCandidate?: boolean | null | undefined; prebuilt?: boolean | undefined; manualProvisioning?: GetDeploymentsManualProvisioning | undefined; /** * The project settings which was used for this deployment */ projectSettings?: GetDeploymentsProjectSettings | 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; /** * The ID of Secure Compute network used for this deployment's passive functions */ passiveConnectConfigurationId?: string | undefined; /** * The expiration configured by the project retention policy */ expiration?: number | undefined; /** * The expiration proposed to replace the existing expiration */ proposedExpiration?: number | undefined; /** * Metadata about the source platform that triggered the deployment. */ platform?: GetDeploymentsPlatform | undefined; /** * The custom environment used for this deployment, if any */ customEnvironment?: GetDeploymentsCustomEnvironment | undefined; /** * NSNB Blocked metadata */ seatBlock?: GetDeploymentsSeatBlock | undefined; /** * Commit attribution metadata */ attribution?: GetDeploymentsAttribution | undefined; }; export type GetDeploymentsResponseBody = { /** * 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. */ pagination: Pagination; deployments: Array<Deployments>; }; /** @internal */ export type GetDeploymentsRequest$Outbound = { app?: string | undefined; from?: number | undefined; limit?: number | undefined; projectId?: string | undefined; projectIds?: Array<string> | undefined; target?: string | undefined; to?: number | undefined; users?: string | undefined; since?: number | undefined; until?: number | undefined; state?: string | undefined; rollbackCandidate?: boolean | undefined; branch?: string | undefined; sha?: string | undefined; teamId?: string | undefined; slug?: string | undefined; }; /** @internal */ export declare const GetDeploymentsRequest$outboundSchema: z.ZodType<GetDeploymentsRequest$Outbound, z.ZodTypeDef, GetDeploymentsRequest>; export declare function getDeploymentsRequestToJSON(getDeploymentsRequest: GetDeploymentsRequest): string; /** @internal */ export declare const GetDeploymentsReadyState$inboundSchema: z.ZodNativeEnum<typeof GetDeploymentsReadyState>; /** @internal */ export declare const GetDeploymentsSource$inboundSchema: z.ZodNativeEnum<typeof GetDeploymentsSource>; /** @internal */ export declare const GetDeploymentsState$inboundSchema: z.ZodNativeEnum<typeof GetDeploymentsState>; /** @internal */ export declare const GetDeploymentsType$inboundSchema: z.ZodNativeEnum<typeof GetDeploymentsType>; /** @internal */ export declare const GetDeploymentsDeploymentsType$inboundSchema: z.ZodNativeEnum<typeof GetDeploymentsDeploymentsType>; /** @internal */ export declare const GetDeploymentsCreator$inboundSchema: z.ZodType<GetDeploymentsCreator, z.ZodTypeDef, unknown>; export declare function getDeploymentsCreatorFromJSON(jsonString: string): SafeParseResult<GetDeploymentsCreator, SDKValidationError>; /** @internal */ export declare const GetDeploymentsTarget$inboundSchema: z.ZodNativeEnum<typeof GetDeploymentsTarget>; /** @internal */ export declare const GetDeploymentsAliasError$inboundSchema: z.ZodType<GetDeploymentsAliasError, z.ZodTypeDef, unknown>; export declare function getDeploymentsAliasErrorFromJSON(jsonString: string): SafeParseResult<GetDeploymentsAliasError, SDKValidationError>; /** @internal */ export declare const GetDeploymentsAliasAssigned$inboundSchema: z.ZodType<GetDeploymentsAliasAssigned, z.ZodTypeDef, unknown>; export declare function getDeploymentsAliasAssignedFromJSON(jsonString: string): SafeParseResult<GetDeploymentsAliasAssigned, SDKValidationError>; /** @internal */ export declare const GetDeploymentsReadySubstate$inboundSchema: z.ZodNativeEnum<typeof GetDeploymentsReadySubstate>; /** @internal */ export declare const GetDeploymentsChecksState$inboundSchema: z.ZodNativeEnum<typeof GetDeploymentsChecksState>; /** @internal */ export declare const GetDeploymentsChecksConclusion$inboundSchema: z.ZodNativeEnum<typeof GetDeploymentsChecksConclusion>; /** @internal */ export declare const GetDeploymentsDeploymentsResponseState$inboundSchema: z.ZodNativeEnum<typeof GetDeploymentsDeploymentsResponseState>; /** @internal */ export declare const GetDeploymentsDeploymentAlias$inboundSchema: z.ZodType<GetDeploymentsDeploymentAlias, z.ZodTypeDef, unknown>; export declare function getDeploymentsDeploymentAliasFromJSON(jsonString: string): SafeParseResult<GetDeploymentsDeploymentAlias, SDKValidationError>; /** @internal */ export declare const GetDeploymentsChecks$inboundSchema: z.ZodType<GetDeploymentsChecks, z.ZodTypeDef, unknown>; export declare function getDeploymentsChecksFromJSON(jsonString: string): SafeParseResult<GetDeploymentsChecks, SDKValidationError>; /** @internal */ export declare const GetDeploymentsOomReport$inboundSchema: z.ZodNativeEnum<typeof GetDeploymentsOomReport>; /** @internal */ export declare const GetDeploymentsDeploymentsState$inboundSchema: z.ZodNativeEnum<typeof GetDeploymentsDeploymentsState>; /** @internal */ export declare const GetDeploymentsManualProvisioning$inboundSchema: z.ZodType<GetDeploymentsManualProvisioning, z.ZodTypeDef, unknown>; export declare function getDeploymentsManualProvisioningFromJSON(jsonString: string): SafeParseResult<GetDeploymentsManualProvisioning, SDKValidationError>; /** @internal */ export declare const GetDeploymentsFramework$inboundSchema: z.ZodNativeEnum<typeof GetDeploymentsFramework>; /** @internal */ export declare const GetDeploymentsNodeVersion$inboundSchema: z.ZodNativeEnum<typeof GetDeploymentsNodeVersion>; /** @internal */ export declare const GetDeploymentsSpeedInsights$inboundSchema: z.ZodType<GetDeploymentsSpeedInsights, z.ZodTypeDef, unknown>; export declare function getDeploymentsSpeedInsightsFromJSON(jsonString: string): SafeParseResult<GetDeploymentsSpeedInsights, SDKValidationError>; /** @internal */ export declare const GetDeploymentsWebAnalytics$inboundSchema: z.ZodType<GetDeploymentsWebAnalytics, z.ZodTypeDef, unknown>; export declare function getDeploymentsWebAnalyticsFromJSON(jsonString: string): SafeParseResult<GetDeploymentsWebAnalytics, SDKValidationError>; /** @internal */ export declare const GetDeploymentsGitComments$inboundSchema: z.ZodType<GetDeploymentsGitComments, z.ZodTypeDef, unknown>; export declare function getDeploymentsGitCommentsFromJSON(jsonString: string): SafeParseResult<GetDeploymentsGitComments, SDKValidationError>; /** @internal */ export declare const GetDeploymentsProjectSettings$inboundSchema: z.ZodType<GetDeploymentsProjectSettings, z.ZodTypeDef, unknown>; export declare function getDeploymentsProjectSettingsFromJSON(jsonString: string): SafeParseResult<GetDeploymentsProjectSettings, SDKValidationError>; /** @internal */ export declare const GetDeploymentsDeploymentsSource$inboundSchema: z.ZodType<GetDeploymentsDeploymentsSource, z.ZodTypeDef, unknown>; export declare function getDeploymentsDeploymentsSourceFromJSON(jsonString: string): SafeParseResult<GetDeploymentsDeploymentsSource, SDKValidationError>; /** @internal */ export declare const GetDeploymentsDeploymentsResponseType$inboundSchema: z.ZodNativeEnum<typeof GetDeploymentsDeploymentsResponseType>; /** @internal */ export declare const GetDeploymentsOrigin$inboundSchema: z.ZodType<GetDeploymentsOrigin, z.ZodTypeDef, unknown>; export declare function getDeploymentsOriginFromJSON(jsonString: string): SafeParseResult<GetDeploymentsOrigin, SDKValidationError>; /** @internal */ export declare const GetDeploymentsDeploymentsCreator$inboundSchema: z.ZodType<GetDeploymentsDeploymentsCreator, z.ZodTypeDef, unknown>; export declare function getDeploymentsDeploymentsCreatorFromJSON(jsonString: string): SafeParseResult<GetDeploymentsDeploymentsCreator, SDKValidationError>; /** @internal */ export declare const GetDeploymentsPlatform$inboundSchema: z.ZodType<GetDeploymentsPlatform, z.ZodTypeDef, unknown>; export declare function getDeploymentsPlatformFromJSON(jsonString: string): SafeParseResult<GetDeploymentsPlatform, SDKValidationError>; /** @internal */ export declare const GetDeploymentsCustomEnvironment$inboundSchema: z.ZodType<GetDeploymentsCustomEnvironment, z.ZodTypeDef, unknown>; export declare function getDeploymentsCustomEnvironmentFromJSON(jsonString: string): SafeParseResult<GetDeploymentsCustomEnvironment, SDKValidationError>; /** @internal */ export declare const GetDeploymentsBlockCode$inboundSchema: z.ZodNativeEnum<typeof GetDeploymentsBlockCode>; /** @internal */ export declare const GetDeploymentsGitUserId$inboundSchema: z.ZodType<GetDeploymentsGitUserId, z.ZodTypeDef, unknown>; export declare function getDeploymentsGitUserIdFromJSON(jsonString: string): SafeParseResult<GetDeploymentsGitUserId, SDKValidationError>; /** @internal */ export declare const GetDeploymentsGitProvider$inboundSchema: z.ZodNativeEnum<typeof GetDeploymentsGitProvider>; /** @internal */ export declare const GetDeploymentsSeatBlock$inboundSchema: z.ZodType<GetDeploymentsSeatBlock, z.ZodTypeDef, unknown>; export declare function getDeploymentsSeatBlockFromJSON(jsonString: string): SafeParseResult<GetDeploymentsSeatBlock, SDKValidationError>; /** @internal */ export declare const GetDeploymentsCommitMeta$inboundSchema: z.ZodType<GetDeploymentsCommitMeta, z.ZodTypeDef, unknown>; export declare function getDeploymentsCommitMetaFromJSON(jsonString: string): SafeParseResult<GetDeploymentsCommitMeta, SDKValidationError>; /** @internal */ export declare const GetDeploymentsId$inboundSchema: z.ZodType<GetDeploymentsId, z.ZodTypeDef, unknown>; export declare function getDeploymentsIdFromJSON(jsonString: string): SafeParseResult<GetDeploymentsId, SDKValidationError>; /** @internal */ export declare const GetDeploymentsGitUser$inboundSchema: z.ZodType<GetDeploymentsGitUser, z.ZodTypeDef, unknown>; export declare function getDeploymentsGitUserFromJSON(jsonString: string): SafeParseResult<GetDeploymentsGitUser, SDKValidationError>; /** @internal */ export declare const GetDeploymentsVercelUser$inboundSchema: z.ZodType<GetDeploymentsVercelUser, z.ZodTypeDef, unknown>; export declare function getDeploymentsVercelUserFromJSON(jsonString: string): SafeParseResult<GetDeploymentsVercelUser, SDKValidationError>; /** @internal */ export declare const GetDeploymentsAttribution$inboundSchema: z.ZodType<GetDeploymentsAttribution, z.ZodTypeDef, unknown>; export declare function getDeploymentsAttributionFromJSON(jsonString: string): SafeParseResult<GetDeploymentsAttribution, SDKValidationError>; /** @internal */ export declare const Deployments$inboundSchema: z.ZodType<Deployments, z.ZodTypeDef, unknown>; export declare function deploymentsFromJSON(jsonString: string): SafeParseResult<Deployments, SDKValidationError>; /** @internal */ export declare const GetDeploymentsResponseBody$inboundSchema: z.ZodType<GetDeploymentsResponseBody, z.ZodTypeDef, unknown>; export declare function getDeploymentsResponseBodyFromJSON(jsonString: string): SafeParseResult<GetDeploymentsResponseBody, SDKValidationError>; //# sourceMappingURL=getdeploymentsop.d.ts.map