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>

45 lines 1.75 kB
import * as z from "zod/v3"; export type ReadSessionFileRequestBody = { /** * The base directory for resolving relative paths. If not specified, paths are resolved from the sandbox home directory. */ cwd?: string | undefined; /** * The path of the file to read. Can be absolute or relative to the working directory. */ path: string; }; export type ReadSessionFileRequest = { /** * The unique identifier of the session to read the file from. */ 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; requestBody?: ReadSessionFileRequestBody | undefined; }; /** @internal */ export type ReadSessionFileRequestBody$Outbound = { cwd?: string | undefined; path: string; }; /** @internal */ export declare const ReadSessionFileRequestBody$outboundSchema: z.ZodType<ReadSessionFileRequestBody$Outbound, z.ZodTypeDef, ReadSessionFileRequestBody>; export declare function readSessionFileRequestBodyToJSON(readSessionFileRequestBody: ReadSessionFileRequestBody): string; /** @internal */ export type ReadSessionFileRequest$Outbound = { sessionId: string; teamId?: string | undefined; slug?: string | undefined; RequestBody?: ReadSessionFileRequestBody$Outbound | undefined; }; /** @internal */ export declare const ReadSessionFileRequest$outboundSchema: z.ZodType<ReadSessionFileRequest$Outbound, z.ZodTypeDef, ReadSessionFileRequest>; export declare function readSessionFileRequestToJSON(readSessionFileRequest: ReadSessionFileRequest): string; //# sourceMappingURL=readsessionfileop.d.ts.map