import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type DeleteFoldersFolderIdSharingsSharingIdRequest = { /** * Hashed ID of the folder */ folderId: string; /** * ID of the sharing to be deleted */ sharingId: string; }; export type DeleteFoldersFolderIdSharingsSharingIdShare = { id: number; name: string; type: string; email: string; }; export type DeleteFoldersFolderIdSharingsSharingIdFolder = { id: number; name: string; }; /** * A sharing is an object that links either a contact or a contact group to a folder, including information about the contacts' permissions to that folder. * * @remarks */ export type DeleteFoldersFolderIdSharingsSharingIdResponse = { id: number; isAdmin: boolean; canShare: boolean; canDownload: boolean; canUpload: boolean; share: DeleteFoldersFolderIdSharingsSharingIdShare; folder: DeleteFoldersFolderIdSharingsSharingIdFolder; /** * A cursor for stable pagination based on current `sort_by` order. You can pass this to `cursor[before]` or `cursor[after]` as a parameter to fetch the records before or after this record in the same sort order. This is only populated if records were fetched with `cursor[enabled]`, or `cursor[before]` or `cursor[after]`. */ cursor?: string | null | undefined; }; /** @internal */ export type DeleteFoldersFolderIdSharingsSharingIdRequest$Outbound = { folderId: string; sharingId: string; }; /** @internal */ export declare const DeleteFoldersFolderIdSharingsSharingIdRequest$outboundSchema: z.ZodType; export declare function deleteFoldersFolderIdSharingsSharingIdRequestToJSON(deleteFoldersFolderIdSharingsSharingIdRequest: DeleteFoldersFolderIdSharingsSharingIdRequest): string; /** @internal */ export declare const DeleteFoldersFolderIdSharingsSharingIdShare$inboundSchema: z.ZodType; export declare function deleteFoldersFolderIdSharingsSharingIdShareFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const DeleteFoldersFolderIdSharingsSharingIdFolder$inboundSchema: z.ZodType; export declare function deleteFoldersFolderIdSharingsSharingIdFolderFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const DeleteFoldersFolderIdSharingsSharingIdResponse$inboundSchema: z.ZodType; export declare function deleteFoldersFolderIdSharingsSharingIdResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=deletefoldersfolderidsharingssharingid.d.ts.map