import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { PassThroughBody, PassThroughBody$Outbound } from "./passthroughbody.js"; export type CreateUploadSessionRequest = { /** * The name of the file. */ name: string; /** * The parent folder to create the new file within. This can be an ID or a path depending on the downstream folder. Please see the connector section below to see downstream specific gotchas. */ parentFolderId: string; /** * ID of the drive to upload to. */ driveId?: string | undefined; /** * The size of the file in bytes */ size: number | null; /** * The pass_through property allows passing service-specific, custom data or structured modifications in request body when creating or updating resources. */ passThrough?: Array | undefined; }; /** @internal */ export declare const CreateUploadSessionRequest$inboundSchema: z.ZodType; /** @internal */ export type CreateUploadSessionRequest$Outbound = { name: string; parent_folder_id: string; drive_id?: string | undefined; size: number | null; pass_through?: Array | undefined; }; /** @internal */ export declare const CreateUploadSessionRequest$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace CreateUploadSessionRequest$ { /** @deprecated use `CreateUploadSessionRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CreateUploadSessionRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CreateUploadSessionRequest$Outbound` instead. */ type Outbound = CreateUploadSessionRequest$Outbound; } export declare function createUploadSessionRequestToJSON(createUploadSessionRequest: CreateUploadSessionRequest): string; export declare function createUploadSessionRequestFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=createuploadsessionrequest.d.ts.map