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 FileStorageFilesUpdateGlobals = { /** * 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 FileStorageFilesUpdateRequest = { /** * 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; updateFileRequest: components.UpdateFileRequest; }; export type FileStorageFilesUpdateResponse = { httpMeta: components.HTTPMetadata; /** * Files */ updateFileResponse?: components.UpdateFileResponse | undefined; /** * Unexpected error */ unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined; }; /** @internal */ export declare const FileStorageFilesUpdateGlobals$inboundSchema: z.ZodType; /** @internal */ export type FileStorageFilesUpdateGlobals$Outbound = { consumerId?: string | undefined; appId?: string | undefined; }; /** @internal */ export declare const FileStorageFilesUpdateGlobals$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 FileStorageFilesUpdateGlobals$ { /** @deprecated use `FileStorageFilesUpdateGlobals$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `FileStorageFilesUpdateGlobals$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `FileStorageFilesUpdateGlobals$Outbound` instead. */ type Outbound = FileStorageFilesUpdateGlobals$Outbound; } export declare function fileStorageFilesUpdateGlobalsToJSON(fileStorageFilesUpdateGlobals: FileStorageFilesUpdateGlobals): string; export declare function fileStorageFilesUpdateGlobalsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const FileStorageFilesUpdateRequest$inboundSchema: z.ZodType; /** @internal */ export type FileStorageFilesUpdateRequest$Outbound = { id: string; serviceId?: string | undefined; raw: boolean; UpdateFileRequest: components.UpdateFileRequest$Outbound; }; /** @internal */ export declare const FileStorageFilesUpdateRequest$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 FileStorageFilesUpdateRequest$ { /** @deprecated use `FileStorageFilesUpdateRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `FileStorageFilesUpdateRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `FileStorageFilesUpdateRequest$Outbound` instead. */ type Outbound = FileStorageFilesUpdateRequest$Outbound; } export declare function fileStorageFilesUpdateRequestToJSON(fileStorageFilesUpdateRequest: FileStorageFilesUpdateRequest): string; export declare function fileStorageFilesUpdateRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const FileStorageFilesUpdateResponse$inboundSchema: z.ZodType; /** @internal */ export type FileStorageFilesUpdateResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; UpdateFileResponse?: components.UpdateFileResponse$Outbound | undefined; UnexpectedErrorResponse?: components.UnexpectedErrorResponse$Outbound | undefined; }; /** @internal */ export declare const FileStorageFilesUpdateResponse$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 FileStorageFilesUpdateResponse$ { /** @deprecated use `FileStorageFilesUpdateResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `FileStorageFilesUpdateResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `FileStorageFilesUpdateResponse$Outbound` instead. */ type Outbound = FileStorageFilesUpdateResponse$Outbound; } export declare function fileStorageFilesUpdateResponseToJSON(fileStorageFilesUpdateResponse: FileStorageFilesUpdateResponse): string; export declare function fileStorageFilesUpdateResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=filestoragefilesupdate.d.ts.map