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>

39 lines 1.64 kB
import * as z from "zod/v3"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; export type WriteSessionFilesRequest = { /** * The target directory where the tarball contents will be extracted. If not specified, files are extracted to the sandbox home directory. */ xCwd?: string | undefined; /** * The unique identifier of the session to write files to. */ sessionId: string; /** * 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; }; /** * The files were successfully written to the session. */ export type WriteSessionFilesResponseBody = {}; /** @internal */ export type WriteSessionFilesRequest$Outbound = { "x-cwd"?: string | undefined; sessionId: string; teamId?: string | undefined; slug?: string | undefined; }; /** @internal */ export declare const WriteSessionFilesRequest$outboundSchema: z.ZodType<WriteSessionFilesRequest$Outbound, z.ZodTypeDef, WriteSessionFilesRequest>; export declare function writeSessionFilesRequestToJSON(writeSessionFilesRequest: WriteSessionFilesRequest): string; /** @internal */ export declare const WriteSessionFilesResponseBody$inboundSchema: z.ZodType<WriteSessionFilesResponseBody, z.ZodTypeDef, unknown>; export declare function writeSessionFilesResponseBodyFromJSON(jsonString: string): SafeParseResult<WriteSessionFilesResponseBody, SDKValidationError>; //# sourceMappingURL=writesessionfilesop.d.ts.map