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>

280 lines 13.1 kB
import * as z from "zod/v3"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; export declare const CreateStorageStoresBlobRegion: { readonly Arn1: "arn1"; readonly Bom1: "bom1"; readonly Cdg1: "cdg1"; readonly Cle1: "cle1"; readonly Cpt1: "cpt1"; readonly Dub1: "dub1"; readonly Dxb1: "dxb1"; readonly Fra1: "fra1"; readonly Gru1: "gru1"; readonly Hkg1: "hkg1"; readonly Hnd1: "hnd1"; readonly Iad1: "iad1"; readonly Icn1: "icn1"; readonly Kix1: "kix1"; readonly Lhr1: "lhr1"; readonly Pdx1: "pdx1"; readonly Sfo1: "sfo1"; readonly Sin1: "sin1"; readonly Syd1: "syd1"; readonly Yul1: "yul1"; }; export type CreateStorageStoresBlobRegion = ClosedEnum<typeof CreateStorageStoresBlobRegion>; export declare const CreateStorageStoresBlobAccess: { readonly Public: "public"; readonly Private: "private"; }; export type CreateStorageStoresBlobAccess = ClosedEnum<typeof CreateStorageStoresBlobAccess>; export type CreateStorageStoresBlobRequestBody = { name: string; region?: CreateStorageStoresBlobRegion | undefined; access?: CreateStorageStoresBlobAccess | undefined; projectId?: string | undefined; }; export declare const CreateStorageStoresBlobFramework: { 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 CreateStorageStoresBlobFramework = ClosedEnum<typeof CreateStorageStoresBlobFramework>; export type CreateStorageStoresBlobActions = { slug: string; environments: Array<string>; }; export type CreateStorageStoresBlobDeployments = { required: boolean; actions: Array<CreateStorageStoresBlobActions>; }; export type CreateStorageStoresBlobProjectsMetadata = { id: string; projectId: string; name: string; framework?: CreateStorageStoresBlobFramework | null | undefined; latestDeployment?: string | undefined; environments: Array<string>; envVarPrefix: string | null; environmentVariables: Array<string>; deployments?: CreateStorageStoresBlobDeployments | undefined; makeEnvVarsSensitive?: boolean | undefined; }; export declare const CreateStorageStoresBlobProviders2: { readonly Wildcard: "*"; }; export type CreateStorageStoresBlobProviders2 = ClosedEnum<typeof CreateStorageStoresBlobProviders2>; export declare const CreateStorageStoresBlobProviders1: { readonly Bitbucket: "bitbucket"; readonly Github: "github"; readonly Gitlab: "gitlab"; }; export type CreateStorageStoresBlobProviders1 = ClosedEnum<typeof CreateStorageStoresBlobProviders1>; export type CreateStorageStoresBlobProviders = Array<CreateStorageStoresBlobProviders1> | CreateStorageStoresBlobProviders2; export type CreateStorageStoresBlobGit = { providers: Array<CreateStorageStoresBlobProviders1> | CreateStorageStoresBlobProviders2; owners?: Array<string> | undefined; repos?: Array<string> | undefined; }; export type CreateStorageStoresBlobProjectFilter = { git?: CreateStorageStoresBlobGit | undefined; }; export declare const CreateStorageStoresBlobStatus: { readonly Available: "available"; readonly Error: "error"; readonly Initializing: "initializing"; readonly LimitsExceededSuspended: "limits-exceeded-suspended"; readonly LimitsExceededSuspendedStoreCount: "limits-exceeded-suspended-store-count"; readonly Onboarding: "onboarding"; readonly Suspended: "suspended"; readonly Uninstalled: "uninstalled"; }; export type CreateStorageStoresBlobStatus = ClosedEnum<typeof CreateStorageStoresBlobStatus>; export declare const CreateStorageStoresBlobStorageAccess: { readonly Private: "private"; readonly Public: "public"; }; export type CreateStorageStoresBlobStorageAccess = ClosedEnum<typeof CreateStorageStoresBlobStorageAccess>; /** * A project-default store is a private blob store that is lazily created per-project, uses OIDC auth instead of read-write tokens, and cannot be modified through standard store mutation APIs. Undefined for legacy stores. */ export declare const CreateStorageStoresBlobKind: { readonly ProjectDefault: "project-default"; readonly UserCreated: "user-created"; }; /** * A project-default store is a private blob store that is lazily created per-project, uses OIDC auth instead of read-write tokens, and cannot be modified through standard store mutation APIs. Undefined for legacy stores. */ export type CreateStorageStoresBlobKind = ClosedEnum<typeof CreateStorageStoresBlobKind>; export declare const CreateStorageStoresBlobStorageRegion: { readonly Arn1: "arn1"; readonly Bom1: "bom1"; readonly Cdg1: "cdg1"; readonly Cle1: "cle1"; readonly Cpt1: "cpt1"; readonly Dub1: "dub1"; readonly Dxb1: "dxb1"; readonly Fra1: "fra1"; readonly Gru1: "gru1"; readonly Hkg1: "hkg1"; readonly Hnd1: "hnd1"; readonly Iad1: "iad1"; readonly Icn1: "icn1"; readonly Kix1: "kix1"; readonly Lhr1: "lhr1"; readonly Pdx1: "pdx1"; readonly Sfo1: "sfo1"; readonly Sin1: "sin1"; readonly Syd1: "syd1"; readonly Yul1: "yul1"; }; export type CreateStorageStoresBlobStorageRegion = ClosedEnum<typeof CreateStorageStoresBlobStorageRegion>; export type CreateStorageStoresBlobStore = { projectsMetadata: Array<CreateStorageStoresBlobProjectsMetadata>; projectFilter?: CreateStorageStoresBlobProjectFilter | undefined; totalConnectedProjects?: number | undefined; usageQuotaExceeded: boolean; status: CreateStorageStoresBlobStatus | null; access?: CreateStorageStoresBlobStorageAccess | undefined; /** * A project-default store is a private blob store that is lazily created per-project, uses OIDC auth instead of read-write tokens, and cannot be modified through standard store mutation APIs. Undefined for legacy stores. */ kind?: CreateStorageStoresBlobKind | undefined; /** * The project this store is scoped to. Set for project-default stores and user-created stores with enforced project association. */ projectId?: string | undefined; size: number; count: number; region: CreateStorageStoresBlobStorageRegion; isTokenExpired: boolean; }; export type CreateStorageStoresBlobResponseBody = { store: CreateStorageStoresBlobStore | null; }; /** @internal */ export declare const CreateStorageStoresBlobRegion$outboundSchema: z.ZodNativeEnum<typeof CreateStorageStoresBlobRegion>; /** @internal */ export declare const CreateStorageStoresBlobAccess$outboundSchema: z.ZodNativeEnum<typeof CreateStorageStoresBlobAccess>; /** @internal */ export type CreateStorageStoresBlobRequestBody$Outbound = { name: string; region?: string | undefined; access: string; projectId?: string | undefined; }; /** @internal */ export declare const CreateStorageStoresBlobRequestBody$outboundSchema: z.ZodType<CreateStorageStoresBlobRequestBody$Outbound, z.ZodTypeDef, CreateStorageStoresBlobRequestBody>; export declare function createStorageStoresBlobRequestBodyToJSON(createStorageStoresBlobRequestBody: CreateStorageStoresBlobRequestBody): string; /** @internal */ export declare const CreateStorageStoresBlobFramework$inboundSchema: z.ZodNativeEnum<typeof CreateStorageStoresBlobFramework>; /** @internal */ export declare const CreateStorageStoresBlobActions$inboundSchema: z.ZodType<CreateStorageStoresBlobActions, z.ZodTypeDef, unknown>; export declare function createStorageStoresBlobActionsFromJSON(jsonString: string): SafeParseResult<CreateStorageStoresBlobActions, SDKValidationError>; /** @internal */ export declare const CreateStorageStoresBlobDeployments$inboundSchema: z.ZodType<CreateStorageStoresBlobDeployments, z.ZodTypeDef, unknown>; export declare function createStorageStoresBlobDeploymentsFromJSON(jsonString: string): SafeParseResult<CreateStorageStoresBlobDeployments, SDKValidationError>; /** @internal */ export declare const CreateStorageStoresBlobProjectsMetadata$inboundSchema: z.ZodType<CreateStorageStoresBlobProjectsMetadata, z.ZodTypeDef, unknown>; export declare function createStorageStoresBlobProjectsMetadataFromJSON(jsonString: string): SafeParseResult<CreateStorageStoresBlobProjectsMetadata, SDKValidationError>; /** @internal */ export declare const CreateStorageStoresBlobProviders2$inboundSchema: z.ZodNativeEnum<typeof CreateStorageStoresBlobProviders2>; /** @internal */ export declare const CreateStorageStoresBlobProviders1$inboundSchema: z.ZodNativeEnum<typeof CreateStorageStoresBlobProviders1>; /** @internal */ export declare const CreateStorageStoresBlobProviders$inboundSchema: z.ZodType<CreateStorageStoresBlobProviders, z.ZodTypeDef, unknown>; export declare function createStorageStoresBlobProvidersFromJSON(jsonString: string): SafeParseResult<CreateStorageStoresBlobProviders, SDKValidationError>; /** @internal */ export declare const CreateStorageStoresBlobGit$inboundSchema: z.ZodType<CreateStorageStoresBlobGit, z.ZodTypeDef, unknown>; export declare function createStorageStoresBlobGitFromJSON(jsonString: string): SafeParseResult<CreateStorageStoresBlobGit, SDKValidationError>; /** @internal */ export declare const CreateStorageStoresBlobProjectFilter$inboundSchema: z.ZodType<CreateStorageStoresBlobProjectFilter, z.ZodTypeDef, unknown>; export declare function createStorageStoresBlobProjectFilterFromJSON(jsonString: string): SafeParseResult<CreateStorageStoresBlobProjectFilter, SDKValidationError>; /** @internal */ export declare const CreateStorageStoresBlobStatus$inboundSchema: z.ZodNativeEnum<typeof CreateStorageStoresBlobStatus>; /** @internal */ export declare const CreateStorageStoresBlobStorageAccess$inboundSchema: z.ZodNativeEnum<typeof CreateStorageStoresBlobStorageAccess>; /** @internal */ export declare const CreateStorageStoresBlobKind$inboundSchema: z.ZodNativeEnum<typeof CreateStorageStoresBlobKind>; /** @internal */ export declare const CreateStorageStoresBlobStorageRegion$inboundSchema: z.ZodNativeEnum<typeof CreateStorageStoresBlobStorageRegion>; /** @internal */ export declare const CreateStorageStoresBlobStore$inboundSchema: z.ZodType<CreateStorageStoresBlobStore, z.ZodTypeDef, unknown>; export declare function createStorageStoresBlobStoreFromJSON(jsonString: string): SafeParseResult<CreateStorageStoresBlobStore, SDKValidationError>; /** @internal */ export declare const CreateStorageStoresBlobResponseBody$inboundSchema: z.ZodType<CreateStorageStoresBlobResponseBody, z.ZodTypeDef, unknown>; export declare function createStorageStoresBlobResponseBodyFromJSON(jsonString: string): SafeParseResult<CreateStorageStoresBlobResponseBody, SDKValidationError>; //# sourceMappingURL=createstoragestoresblobop.d.ts.map