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 FileStorageDrivesUpdateGlobals = { /** * 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 FileStorageDrivesUpdateRequest = { /** * ID of the record you are acting upon. */ id: string; /** * 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; /** * Include raw response. Mostly used for debugging purposes */ raw?: boolean | undefined; drive: components.DriveInput; }; export type FileStorageDrivesUpdateResponse = { httpMeta: components.HTTPMetadata; /** * Drives */ updateDriveResponse?: components.UpdateDriveResponse | undefined; /** * Unexpected error */ unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined; }; /** @internal */ export declare const FileStorageDrivesUpdateGlobals$inboundSchema: z.ZodType; /** @internal */ export type FileStorageDrivesUpdateGlobals$Outbound = { consumerId?: string | undefined; appId?: string | undefined; }; /** @internal */ export declare const FileStorageDrivesUpdateGlobals$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 FileStorageDrivesUpdateGlobals$ { /** @deprecated use `FileStorageDrivesUpdateGlobals$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `FileStorageDrivesUpdateGlobals$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `FileStorageDrivesUpdateGlobals$Outbound` instead. */ type Outbound = FileStorageDrivesUpdateGlobals$Outbound; } export declare function fileStorageDrivesUpdateGlobalsToJSON(fileStorageDrivesUpdateGlobals: FileStorageDrivesUpdateGlobals): string; export declare function fileStorageDrivesUpdateGlobalsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const FileStorageDrivesUpdateRequest$inboundSchema: z.ZodType; /** @internal */ export type FileStorageDrivesUpdateRequest$Outbound = { id: string; serviceId?: string | undefined; raw: boolean; Drive: components.DriveInput$Outbound; }; /** @internal */ export declare const FileStorageDrivesUpdateRequest$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 FileStorageDrivesUpdateRequest$ { /** @deprecated use `FileStorageDrivesUpdateRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `FileStorageDrivesUpdateRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `FileStorageDrivesUpdateRequest$Outbound` instead. */ type Outbound = FileStorageDrivesUpdateRequest$Outbound; } export declare function fileStorageDrivesUpdateRequestToJSON(fileStorageDrivesUpdateRequest: FileStorageDrivesUpdateRequest): string; export declare function fileStorageDrivesUpdateRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const FileStorageDrivesUpdateResponse$inboundSchema: z.ZodType; /** @internal */ export type FileStorageDrivesUpdateResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; UpdateDriveResponse?: components.UpdateDriveResponse$Outbound | undefined; UnexpectedErrorResponse?: components.UnexpectedErrorResponse$Outbound | undefined; }; /** @internal */ export declare const FileStorageDrivesUpdateResponse$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 FileStorageDrivesUpdateResponse$ { /** @deprecated use `FileStorageDrivesUpdateResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `FileStorageDrivesUpdateResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `FileStorageDrivesUpdateResponse$Outbound` instead. */ type Outbound = FileStorageDrivesUpdateResponse$Outbound; } export declare function fileStorageDrivesUpdateResponseToJSON(fileStorageDrivesUpdateResponse: FileStorageDrivesUpdateResponse): string; export declare function fileStorageDrivesUpdateResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=filestoragedrivesupdate.d.ts.map