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 FileStorageFilesDeleteGlobals = { /** * 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 FileStorageFilesDeleteRequest = { /** * 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; }; export type FileStorageFilesDeleteResponse = { httpMeta: components.HTTPMetadata; /** * Files */ deleteFileResponse?: components.DeleteFileResponse | undefined; /** * Unexpected error */ unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined; }; /** @internal */ export declare const FileStorageFilesDeleteGlobals$inboundSchema: z.ZodType; /** @internal */ export type FileStorageFilesDeleteGlobals$Outbound = { consumerId?: string | undefined; appId?: string | undefined; }; /** @internal */ export declare const FileStorageFilesDeleteGlobals$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 FileStorageFilesDeleteGlobals$ { /** @deprecated use `FileStorageFilesDeleteGlobals$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `FileStorageFilesDeleteGlobals$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `FileStorageFilesDeleteGlobals$Outbound` instead. */ type Outbound = FileStorageFilesDeleteGlobals$Outbound; } export declare function fileStorageFilesDeleteGlobalsToJSON(fileStorageFilesDeleteGlobals: FileStorageFilesDeleteGlobals): string; export declare function fileStorageFilesDeleteGlobalsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const FileStorageFilesDeleteRequest$inboundSchema: z.ZodType; /** @internal */ export type FileStorageFilesDeleteRequest$Outbound = { id: string; serviceId?: string | undefined; raw: boolean; }; /** @internal */ export declare const FileStorageFilesDeleteRequest$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 FileStorageFilesDeleteRequest$ { /** @deprecated use `FileStorageFilesDeleteRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `FileStorageFilesDeleteRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `FileStorageFilesDeleteRequest$Outbound` instead. */ type Outbound = FileStorageFilesDeleteRequest$Outbound; } export declare function fileStorageFilesDeleteRequestToJSON(fileStorageFilesDeleteRequest: FileStorageFilesDeleteRequest): string; export declare function fileStorageFilesDeleteRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const FileStorageFilesDeleteResponse$inboundSchema: z.ZodType; /** @internal */ export type FileStorageFilesDeleteResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; DeleteFileResponse?: components.DeleteFileResponse$Outbound | undefined; UnexpectedErrorResponse?: components.UnexpectedErrorResponse$Outbound | undefined; }; /** @internal */ export declare const FileStorageFilesDeleteResponse$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 FileStorageFilesDeleteResponse$ { /** @deprecated use `FileStorageFilesDeleteResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `FileStorageFilesDeleteResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `FileStorageFilesDeleteResponse$Outbound` instead. */ type Outbound = FileStorageFilesDeleteResponse$Outbound; } export declare function fileStorageFilesDeleteResponseToJSON(fileStorageFilesDeleteResponse: FileStorageFilesDeleteResponse): string; export declare function fileStorageFilesDeleteResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=filestoragefilesdelete.d.ts.map