import { z } from 'zod'; export declare const projectSettingsSchema: z.ZodObject<{ buildCommand: z.ZodOptional>; outputDirectory: z.ZodOptional>; installCommand: z.ZodOptional>; devCommand: z.ZodOptional>; rootDirectory: z.ZodOptional>; }, "strip", z.ZodTypeAny, { buildCommand?: string | null | undefined; outputDirectory?: string | null | undefined; installCommand?: string | null | undefined; devCommand?: string | null | undefined; rootDirectory?: string | null | undefined; }, { buildCommand?: string | null | undefined; outputDirectory?: string | null | undefined; installCommand?: string | null | undefined; devCommand?: string | null | undefined; rootDirectory?: string | null | undefined; }>; export declare const envVarSchema: z.ZodObject<{ key: z.ZodString; value: z.ZodString; }, "strip", z.ZodTypeAny, { value: string; key: string; }, { value: string; key: string; }>; /** * Relative file path used by direct deployment uploads. */ export declare const deploymentFilePathSchema: z.ZodEffects, string, string>, string, string>, string, string>; export declare const deploymentManifestFileEntrySchema: z.ZodObject<{ path: z.ZodEffects, string, string>, string, string>, string, string>; sha: z.ZodString; size: z.ZodNumber; }, "strip", z.ZodTypeAny, { path: string; sha: string; size: number; }, { path: string; sha: string; size: number; }>; export declare const deploymentManifestFileSchema: z.ZodObject<{ path: z.ZodEffects, string, string>, string, string>, string, string>; sha: z.ZodString; size: z.ZodNumber; } & { fileId: z.ZodString; uploadedAt: z.ZodNullable; }, "strip", z.ZodTypeAny, { path: string; sha: string; size: number; fileId: string; uploadedAt: string | null; }, { path: string; sha: string; size: number; fileId: string; uploadedAt: string | null; }>; /** * Response from creating a legacy deployment session. * Includes presigned upload info for source zip upload. */ export declare const createDeploymentResponseSchema: z.ZodObject<{ id: z.ZodString; uploadUrl: z.ZodString; uploadFields: z.ZodRecord; }, "strip", z.ZodTypeAny, { id: string; uploadUrl: string; uploadFields: Record; }, { id: string; uploadUrl: string; uploadFields: Record; }>; /** * Request to create a direct-upload deployment with its file manifest. */ export declare const createDirectDeploymentRequestSchema: z.ZodEffects, string, string>, string, string>, string, string>; sha: z.ZodString; size: z.ZodNumber; }, "strip", z.ZodTypeAny, { path: string; sha: string; size: number; }, { path: string; sha: string; size: number; }>, "many">; }, "strip", z.ZodTypeAny, { files: { path: string; sha: string; size: number; }[]; }, { files: { path: string; sha: string; size: number; }[]; }>, { files: { path: string; sha: string; size: number; }[]; }, { files: { path: string; sha: string; size: number; }[]; }>; /** * Response from creating a direct-upload deployment session. */ export declare const createDirectDeploymentResponseSchema: z.ZodObject<{ id: z.ZodString; status: z.ZodEnum<["WAITING", "UPLOADING", "QUEUED", "BUILDING", "READY", "ERROR", "CANCELED"]>; files: z.ZodArray, string, string>, string, string>, string, string>; sha: z.ZodString; size: z.ZodNumber; } & { fileId: z.ZodString; uploadedAt: z.ZodNullable; }, "strip", z.ZodTypeAny, { path: string; sha: string; size: number; fileId: string; uploadedAt: string | null; }, { path: string; sha: string; size: number; fileId: string; uploadedAt: string | null; }>, "many">; }, "strip", z.ZodTypeAny, { status: "WAITING" | "UPLOADING" | "QUEUED" | "BUILDING" | "READY" | "ERROR" | "CANCELED"; id: string; files: { path: string; sha: string; size: number; fileId: string; uploadedAt: string | null; }[]; }, { status: "WAITING" | "UPLOADING" | "QUEUED" | "BUILDING" | "READY" | "ERROR" | "CANCELED"; id: string; files: { path: string; sha: string; size: number; fileId: string; uploadedAt: string | null; }[]; }>; /** * Response from uploading a direct deployment file through the proxy. */ export declare const uploadDeploymentFileResponseSchema: z.ZodObject<{ path: z.ZodEffects, string, string>, string, string>, string, string>; sha: z.ZodString; size: z.ZodNumber; fileId: z.ZodString; } & { uploadedAt: z.ZodString; }, "strip", z.ZodTypeAny, { path: string; sha: string; size: number; fileId: string; uploadedAt: string; }, { path: string; sha: string; size: number; fileId: string; uploadedAt: string; }>; /** * Request to start a deployment after either legacy zip upload or direct file uploads. * Creates the actual Vercel deployment after source files are available. */ export declare const startDeploymentRequestSchema: z.ZodObject<{ projectSettings: z.ZodOptional>; outputDirectory: z.ZodOptional>; installCommand: z.ZodOptional>; devCommand: z.ZodOptional>; rootDirectory: z.ZodOptional>; }, "strip", z.ZodTypeAny, { buildCommand?: string | null | undefined; outputDirectory?: string | null | undefined; installCommand?: string | null | undefined; devCommand?: string | null | undefined; rootDirectory?: string | null | undefined; }, { buildCommand?: string | null | undefined; outputDirectory?: string | null | undefined; installCommand?: string | null | undefined; devCommand?: string | null | undefined; rootDirectory?: string | null | undefined; }>>; envVars: z.ZodOptional, "many">>; meta: z.ZodOptional>; }, "strip", z.ZodTypeAny, { envVars?: { value: string; key: string; }[] | undefined; projectSettings?: { buildCommand?: string | null | undefined; outputDirectory?: string | null | undefined; installCommand?: string | null | undefined; devCommand?: string | null | undefined; rootDirectory?: string | null | undefined; } | undefined; meta?: Record | undefined; }, { envVars?: { value: string; key: string; }[] | undefined; projectSettings?: { buildCommand?: string | null | undefined; outputDirectory?: string | null | undefined; installCommand?: string | null | undefined; devCommand?: string | null | undefined; rootDirectory?: string | null | undefined; } | undefined; meta?: Record | undefined; }>; /** * Response from starting a deployment */ export declare const startDeploymentResponseSchema: z.ZodObject<{ id: z.ZodString; providerDeploymentId: z.ZodNullable; provider: z.ZodString; status: z.ZodEnum<["WAITING", "UPLOADING", "QUEUED", "BUILDING", "READY", "ERROR", "CANCELED"]>; url: z.ZodNullable; metadata: z.ZodNullable>; createdAt: z.ZodString; updatedAt: z.ZodString; }, "strip", z.ZodTypeAny, { status: "WAITING" | "UPLOADING" | "QUEUED" | "BUILDING" | "READY" | "ERROR" | "CANCELED"; url: string | null; id: string; metadata: Record | null; provider: string; createdAt: string; updatedAt: string; providerDeploymentId: string | null; }, { status: "WAITING" | "UPLOADING" | "QUEUED" | "BUILDING" | "READY" | "ERROR" | "CANCELED"; url: string | null; id: string; metadata: Record | null; provider: string; createdAt: string; updatedAt: string; providerDeploymentId: string | null; }>; export declare const listDeploymentsResponseSchema: z.ZodObject<{ data: z.ZodArray; provider: z.ZodString; status: z.ZodEnum<["WAITING", "UPLOADING", "QUEUED", "BUILDING", "READY", "ERROR", "CANCELED"]>; url: z.ZodNullable; metadata: z.ZodNullable>; createdAt: z.ZodString; updatedAt: z.ZodString; }, "strip", z.ZodTypeAny, { status: "WAITING" | "UPLOADING" | "QUEUED" | "BUILDING" | "READY" | "ERROR" | "CANCELED"; url: string | null; id: string; metadata: Record | null; provider: string; createdAt: string; updatedAt: string; providerDeploymentId: string | null; }, { status: "WAITING" | "UPLOADING" | "QUEUED" | "BUILDING" | "READY" | "ERROR" | "CANCELED"; url: string | null; id: string; metadata: Record | null; provider: string; createdAt: string; updatedAt: string; providerDeploymentId: string | null; }>, "many">; pagination: z.ZodObject<{ limit: z.ZodNumber; offset: z.ZodNumber; total: z.ZodNumber; }, "strip", z.ZodTypeAny, { limit: number; offset: number; total: number; }, { limit: number; offset: number; total: number; }>; }, "strip", z.ZodTypeAny, { data: { status: "WAITING" | "UPLOADING" | "QUEUED" | "BUILDING" | "READY" | "ERROR" | "CANCELED"; url: string | null; id: string; metadata: Record | null; provider: string; createdAt: string; updatedAt: string; providerDeploymentId: string | null; }[]; pagination: { limit: number; offset: number; total: number; }; }, { data: { status: "WAITING" | "UPLOADING" | "QUEUED" | "BUILDING" | "READY" | "ERROR" | "CANCELED"; url: string | null; id: string; metadata: Record | null; provider: string; createdAt: string; updatedAt: string; providerDeploymentId: string | null; }[]; pagination: { limit: number; offset: number; total: number; }; }>; /** * Environment variable schema for list response (without value for security) */ export declare const deploymentEnvVarSchema: z.ZodObject<{ id: z.ZodString; key: z.ZodString; type: z.ZodEnum<["plain", "encrypted", "secret", "sensitive", "system"]>; updatedAt: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "system" | "plain" | "encrypted" | "secret" | "sensitive"; id: string; key: string; updatedAt?: number | undefined; }, { type: "system" | "plain" | "encrypted" | "secret" | "sensitive"; id: string; key: string; updatedAt?: number | undefined; }>; /** * Environment variable schema with decrypted value (for single env var fetch) */ export declare const deploymentEnvVarWithValueSchema: z.ZodObject<{ id: z.ZodString; key: z.ZodString; value: z.ZodString; type: z.ZodEnum<["plain", "encrypted", "secret", "sensitive", "system"]>; updatedAt: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string; type: "system" | "plain" | "encrypted" | "secret" | "sensitive"; id: string; key: string; updatedAt?: number | undefined; }, { value: string; type: "system" | "plain" | "encrypted" | "secret" | "sensitive"; id: string; key: string; updatedAt?: number | undefined; }>; /** * Response from listing environment variables */ export declare const listEnvVarsResponseSchema: z.ZodObject<{ envVars: z.ZodArray; updatedAt: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "system" | "plain" | "encrypted" | "secret" | "sensitive"; id: string; key: string; updatedAt?: number | undefined; }, { type: "system" | "plain" | "encrypted" | "secret" | "sensitive"; id: string; key: string; updatedAt?: number | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { envVars: { type: "system" | "plain" | "encrypted" | "secret" | "sensitive"; id: string; key: string; updatedAt?: number | undefined; }[]; }, { envVars: { type: "system" | "plain" | "encrypted" | "secret" | "sensitive"; id: string; key: string; updatedAt?: number | undefined; }[]; }>; /** * Response from getting a single environment variable with value */ export declare const getEnvVarResponseSchema: z.ZodObject<{ envVar: z.ZodObject<{ id: z.ZodString; key: z.ZodString; value: z.ZodString; type: z.ZodEnum<["plain", "encrypted", "secret", "sensitive", "system"]>; updatedAt: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string; type: "system" | "plain" | "encrypted" | "secret" | "sensitive"; id: string; key: string; updatedAt?: number | undefined; }, { value: string; type: "system" | "plain" | "encrypted" | "secret" | "sensitive"; id: string; key: string; updatedAt?: number | undefined; }>; }, "strip", z.ZodTypeAny, { envVar: { value: string; type: "system" | "plain" | "encrypted" | "secret" | "sensitive"; id: string; key: string; updatedAt?: number | undefined; }; }, { envVar: { value: string; type: "system" | "plain" | "encrypted" | "secret" | "sensitive"; id: string; key: string; updatedAt?: number | undefined; }; }>; /** * Request to create or update an environment variable */ export declare const upsertEnvVarRequestSchema: z.ZodObject<{ key: z.ZodString; value: z.ZodString; }, "strip", z.ZodTypeAny, { value: string; key: string; }, { value: string; key: string; }>; /** * Request to create or update multiple environment variables */ export declare const upsertEnvVarsRequestSchema: z.ZodEffects, "many">; }, "strip", z.ZodTypeAny, { envVars: { value: string; key: string; }[]; }, { envVars: { value: string; key: string; }[]; }>, { envVars: { value: string; key: string; }[]; }, { envVars: { value: string; key: string; }[]; }>; /** * Response from upserting an environment variable */ export declare const upsertEnvVarResponseSchema: z.ZodObject<{ success: z.ZodLiteral; message: z.ZodString; }, "strip", z.ZodTypeAny, { message: string; success: true; }, { message: string; success: true; }>; /** * Response from upserting multiple environment variables */ export declare const upsertEnvVarsResponseSchema: z.ZodObject<{ success: z.ZodLiteral; message: z.ZodString; count: z.ZodNumber; }, "strip", z.ZodTypeAny, { message: string; count: number; success: true; }, { message: string; count: number; success: true; }>; /** * Response from deleting an environment variable */ export declare const deleteEnvVarResponseSchema: z.ZodObject<{ success: z.ZodLiteral; message: z.ZodString; }, "strip", z.ZodTypeAny, { message: string; success: true; }, { message: string; success: true; }>; /** * Request to update the custom slug */ export declare const updateSlugRequestSchema: z.ZodObject<{ slug: z.ZodNullable; }, "strip", z.ZodTypeAny, { slug: string | null; }, { slug: string | null; }>; /** * Response from updating the custom slug */ export declare const updateSlugResponseSchema: z.ZodObject<{ success: z.ZodBoolean; slug: z.ZodNullable; domain: z.ZodNullable; }, "strip", z.ZodTypeAny, { success: boolean; slug: string | null; domain: string | null; }, { success: boolean; slug: string | null; domain: string | null; }>; /** * Response from getting deployment metadata */ export declare const deploymentMetadataResponseSchema: z.ZodObject<{ currentDeploymentId: z.ZodNullable; defaultDomainUrl: z.ZodNullable; customDomainUrl: z.ZodNullable; }, "strip", z.ZodTypeAny, { currentDeploymentId: string | null; defaultDomainUrl: string | null; customDomainUrl: string | null; }, { currentDeploymentId: string | null; defaultDomainUrl: string | null; customDomainUrl: string | null; }>; export type ProjectSettings = z.infer; export type EnvVar = z.infer; export type DeploymentManifestFileEntry = z.infer; export type DeploymentManifestFile = z.infer; export type CreateDeploymentResponse = z.infer; export type CreateDirectDeploymentRequest = z.infer; export type CreateDirectDeploymentResponse = z.infer; export type UploadDeploymentFileResponse = z.infer; export type StartDeploymentRequest = z.infer; export type StartDeploymentResponse = z.infer; export type ListDeploymentsResponse = z.infer; export type DeploymentEnvVar = z.infer; export type DeploymentEnvVarWithValue = z.infer; export type ListEnvVarsResponse = z.infer; export type GetEnvVarResponse = z.infer; export type UpsertEnvVarRequest = z.infer; export type UpsertEnvVarResponse = z.infer; export type UpsertEnvVarsRequest = z.infer; export type UpsertEnvVarsResponse = z.infer; export type DeleteEnvVarResponse = z.infer; export type UpdateSlugRequest = z.infer; export type UpdateSlugResponse = z.infer; export type DeploymentMetadataResponse = z.infer; /** * Verification record returned by Vercel for a domain */ export declare const domainVerificationRecordSchema: z.ZodObject<{ type: z.ZodString; domain: z.ZodString; value: z.ZodString; }, "strip", z.ZodTypeAny, { value: string; type: string; domain: string; }, { value: string; type: string; domain: string; }>; /** * A custom domain entry returned by Vercel project domain endpoints */ export declare const customDomainSchema: z.ZodObject<{ domain: z.ZodString; apexDomain: z.ZodString; verified: z.ZodBoolean; misconfigured: z.ZodBoolean; verification: z.ZodArray, "many">; cnameTarget: z.ZodNullable; aRecordValue: z.ZodNullable; }, "strip", z.ZodTypeAny, { domain: string; apexDomain: string; verified: boolean; misconfigured: boolean; verification: { value: string; type: string; domain: string; }[]; cnameTarget: string | null; aRecordValue: string | null; }, { domain: string; apexDomain: string; verified: boolean; misconfigured: boolean; verification: { value: string; type: string; domain: string; }[]; cnameTarget: string | null; aRecordValue: string | null; }>; /** * Request to add a custom domain */ export declare const addCustomDomainRequestSchema: z.ZodObject<{ domain: z.ZodEffects; }, "strip", z.ZodTypeAny, { domain: string; }, { domain: string; }>; /** * Response from adding a custom domain */ export declare const addCustomDomainResponseSchema: z.ZodObject<{ domain: z.ZodString; apexDomain: z.ZodString; verified: z.ZodBoolean; misconfigured: z.ZodBoolean; verification: z.ZodArray, "many">; cnameTarget: z.ZodNullable; aRecordValue: z.ZodNullable; }, "strip", z.ZodTypeAny, { domain: string; apexDomain: string; verified: boolean; misconfigured: boolean; verification: { value: string; type: string; domain: string; }[]; cnameTarget: string | null; aRecordValue: string | null; }, { domain: string; apexDomain: string; verified: boolean; misconfigured: boolean; verification: { value: string; type: string; domain: string; }[]; cnameTarget: string | null; aRecordValue: string | null; }>; /** * Response from listing custom domains */ export declare const listCustomDomainsResponseSchema: z.ZodObject<{ domains: z.ZodArray, "many">; cnameTarget: z.ZodNullable; aRecordValue: z.ZodNullable; }, "strip", z.ZodTypeAny, { domain: string; apexDomain: string; verified: boolean; misconfigured: boolean; verification: { value: string; type: string; domain: string; }[]; cnameTarget: string | null; aRecordValue: string | null; }, { domain: string; apexDomain: string; verified: boolean; misconfigured: boolean; verification: { value: string; type: string; domain: string; }[]; cnameTarget: string | null; aRecordValue: string | null; }>, "many">; }, "strip", z.ZodTypeAny, { domains: { domain: string; apexDomain: string; verified: boolean; misconfigured: boolean; verification: { value: string; type: string; domain: string; }[]; cnameTarget: string | null; aRecordValue: string | null; }[]; }, { domains: { domain: string; apexDomain: string; verified: boolean; misconfigured: boolean; verification: { value: string; type: string; domain: string; }[]; cnameTarget: string | null; aRecordValue: string | null; }[]; }>; /** * Response from verifying a custom domain */ export declare const verifyCustomDomainResponseSchema: z.ZodObject<{ domain: z.ZodString; apexDomain: z.ZodString; verified: z.ZodBoolean; misconfigured: z.ZodBoolean; verification: z.ZodArray, "many">; cnameTarget: z.ZodNullable; aRecordValue: z.ZodNullable; }, "strip", z.ZodTypeAny, { domain: string; apexDomain: string; verified: boolean; misconfigured: boolean; verification: { value: string; type: string; domain: string; }[]; cnameTarget: string | null; aRecordValue: string | null; }, { domain: string; apexDomain: string; verified: boolean; misconfigured: boolean; verification: { value: string; type: string; domain: string; }[]; cnameTarget: string | null; aRecordValue: string | null; }>; export type DomainVerificationRecord = z.infer; export type CustomDomain = z.infer; export type AddCustomDomainRequest = z.infer; export type AddCustomDomainResponse = z.infer; export type ListCustomDomainsResponse = z.infer; export type VerifyCustomDomainResponse = z.infer; //# sourceMappingURL=deployments-api.schema.d.ts.map