import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import * as components from "../components/index.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type FileStorageDrivesAddGlobals = { /** * ID of the consumer which you want to get or push data from */ consumerId?: string | undefined; /** * The ID of your Unify application */ appId?: string | undefined; }; export type FileStorageDrivesAddRequest = { /** * Include raw response. Mostly used for debugging purposes */ raw?: boolean | undefined; /** * Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. */ serviceId?: string | undefined; drive: components.DriveInput; }; export type FileStorageDrivesAddResponse = { httpMeta: components.HTTPMetadata; /** * Drives */ createDriveResponse?: components.CreateDriveResponse | undefined; /** * Unexpected error */ unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined; }; /** @internal */ export declare const FileStorageDrivesAddGlobals$inboundSchema: z.ZodType; /** @internal */ export type FileStorageDrivesAddGlobals$Outbound = { consumerId?: string | undefined; appId?: string | undefined; }; /** @internal */ export declare const FileStorageDrivesAddGlobals$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 FileStorageDrivesAddGlobals$ { /** @deprecated use `FileStorageDrivesAddGlobals$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `FileStorageDrivesAddGlobals$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `FileStorageDrivesAddGlobals$Outbound` instead. */ type Outbound = FileStorageDrivesAddGlobals$Outbound; } export declare function fileStorageDrivesAddGlobalsToJSON(fileStorageDrivesAddGlobals: FileStorageDrivesAddGlobals): string; export declare function fileStorageDrivesAddGlobalsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const FileStorageDrivesAddRequest$inboundSchema: z.ZodType; /** @internal */ export type FileStorageDrivesAddRequest$Outbound = { raw: boolean; serviceId?: string | undefined; Drive: components.DriveInput$Outbound; }; /** @internal */ export declare const FileStorageDrivesAddRequest$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 FileStorageDrivesAddRequest$ { /** @deprecated use `FileStorageDrivesAddRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `FileStorageDrivesAddRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `FileStorageDrivesAddRequest$Outbound` instead. */ type Outbound = FileStorageDrivesAddRequest$Outbound; } export declare function fileStorageDrivesAddRequestToJSON(fileStorageDrivesAddRequest: FileStorageDrivesAddRequest): string; export declare function fileStorageDrivesAddRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const FileStorageDrivesAddResponse$inboundSchema: z.ZodType; /** @internal */ export type FileStorageDrivesAddResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; CreateDriveResponse?: components.CreateDriveResponse$Outbound | undefined; UnexpectedErrorResponse?: components.UnexpectedErrorResponse$Outbound | undefined; }; /** @internal */ export declare const FileStorageDrivesAddResponse$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 FileStorageDrivesAddResponse$ { /** @deprecated use `FileStorageDrivesAddResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `FileStorageDrivesAddResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `FileStorageDrivesAddResponse$Outbound` instead. */ type Outbound = FileStorageDrivesAddResponse$Outbound; } export declare function fileStorageDrivesAddResponseToJSON(fileStorageDrivesAddResponse: FileStorageDrivesAddResponse): string; export declare function fileStorageDrivesAddResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=filestoragedrivesadd.d.ts.map