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 FileStorageSharedLinksUpdateGlobals = { /** * 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 FileStorageSharedLinksUpdateRequest = { /** * 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; sharedLink: components.SharedLinkInput; }; export type FileStorageSharedLinksUpdateResponse = { httpMeta: components.HTTPMetadata; /** * Shared Links */ updateSharedLinkResponse?: components.UpdateSharedLinkResponse | undefined; /** * Unexpected error */ unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined; }; /** @internal */ export declare const FileStorageSharedLinksUpdateGlobals$inboundSchema: z.ZodType; /** @internal */ export type FileStorageSharedLinksUpdateGlobals$Outbound = { consumerId?: string | undefined; appId?: string | undefined; }; /** @internal */ export declare const FileStorageSharedLinksUpdateGlobals$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 FileStorageSharedLinksUpdateGlobals$ { /** @deprecated use `FileStorageSharedLinksUpdateGlobals$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `FileStorageSharedLinksUpdateGlobals$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `FileStorageSharedLinksUpdateGlobals$Outbound` instead. */ type Outbound = FileStorageSharedLinksUpdateGlobals$Outbound; } export declare function fileStorageSharedLinksUpdateGlobalsToJSON(fileStorageSharedLinksUpdateGlobals: FileStorageSharedLinksUpdateGlobals): string; export declare function fileStorageSharedLinksUpdateGlobalsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const FileStorageSharedLinksUpdateRequest$inboundSchema: z.ZodType; /** @internal */ export type FileStorageSharedLinksUpdateRequest$Outbound = { id: string; serviceId?: string | undefined; raw: boolean; SharedLink: components.SharedLinkInput$Outbound; }; /** @internal */ export declare const FileStorageSharedLinksUpdateRequest$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 FileStorageSharedLinksUpdateRequest$ { /** @deprecated use `FileStorageSharedLinksUpdateRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `FileStorageSharedLinksUpdateRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `FileStorageSharedLinksUpdateRequest$Outbound` instead. */ type Outbound = FileStorageSharedLinksUpdateRequest$Outbound; } export declare function fileStorageSharedLinksUpdateRequestToJSON(fileStorageSharedLinksUpdateRequest: FileStorageSharedLinksUpdateRequest): string; export declare function fileStorageSharedLinksUpdateRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const FileStorageSharedLinksUpdateResponse$inboundSchema: z.ZodType; /** @internal */ export type FileStorageSharedLinksUpdateResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; UpdateSharedLinkResponse?: components.UpdateSharedLinkResponse$Outbound | undefined; UnexpectedErrorResponse?: components.UnexpectedErrorResponse$Outbound | undefined; }; /** @internal */ export declare const FileStorageSharedLinksUpdateResponse$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 FileStorageSharedLinksUpdateResponse$ { /** @deprecated use `FileStorageSharedLinksUpdateResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `FileStorageSharedLinksUpdateResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `FileStorageSharedLinksUpdateResponse$Outbound` instead. */ type Outbound = FileStorageSharedLinksUpdateResponse$Outbound; } export declare function fileStorageSharedLinksUpdateResponseToJSON(fileStorageSharedLinksUpdateResponse: FileStorageSharedLinksUpdateResponse): string; export declare function fileStorageSharedLinksUpdateResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=filestoragesharedlinksupdate.d.ts.map