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 CreateFolderRequest = { /** * The name of the folder. */ name: string; /** * Optional description of the folder. */ description?: string | undefined; /** * 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 create the folder in. */ driveId?: string | undefined; /** * 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 CreateFolderRequest$inboundSchema: z.ZodType; /** @internal */ export type CreateFolderRequest$Outbound = { name: string; description?: string | undefined; parent_folder_id: string; drive_id?: string | undefined; pass_through?: Array | undefined; }; /** @internal */ export declare const CreateFolderRequest$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 CreateFolderRequest$ { /** @deprecated use `CreateFolderRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CreateFolderRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CreateFolderRequest$Outbound` instead. */ type Outbound = CreateFolderRequest$Outbound; } export declare function createFolderRequestToJSON(createFolderRequest: CreateFolderRequest): string; export declare function createFolderRequestFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=createfolderrequest.d.ts.map