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>

42 lines 1.65 kB
import * as z from "zod/v3"; import { Result as SafeParseResult } from "../types/fp.js"; import { Drive } from "./drive.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; export type DeleteDriveRequest = { /** * Name for the drive. Must be unique per project and URL-safe (alphanumeric, hyphens, underscores). */ name: string; /** * The project ID or name associated with the drive. Required unless using a Vercel OIDC token scoped to a project. */ projectId?: string | undefined; /** * The Team identifier to perform the request on behalf of. */ teamId?: string | undefined; /** * The Team slug to perform the request on behalf of. */ slug?: string | undefined; }; export type DeleteDriveResponseBody = { /** * This object contains information related to a Vercel Sandbox Drive. */ drive: Drive; }; /** @internal */ export type DeleteDriveRequest$Outbound = { name: string; projectId?: string | undefined; teamId?: string | undefined; slug?: string | undefined; }; /** @internal */ export declare const DeleteDriveRequest$outboundSchema: z.ZodType<DeleteDriveRequest$Outbound, z.ZodTypeDef, DeleteDriveRequest>; export declare function deleteDriveRequestToJSON(deleteDriveRequest: DeleteDriveRequest): string; /** @internal */ export declare const DeleteDriveResponseBody$inboundSchema: z.ZodType<DeleteDriveResponseBody, z.ZodTypeDef, unknown>; export declare function deleteDriveResponseBodyFromJSON(jsonString: string): SafeParseResult<DeleteDriveResponseBody, SDKValidationError>; //# sourceMappingURL=deletedriveop.d.ts.map