import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type GetFoldersFolderIdSharingsSharingIdRequest = { /** * Hashed ID for the folder for which you'd like to see sharings. */ folderId: string; /** * The ID of the specific sharing object that you want to see. */ sharingId: number; }; export type GetFoldersFolderIdSharingsSharingIdShare = { id: number; name: string; type: string; email: string; }; export type GetFoldersFolderIdSharingsSharingIdFolder = { 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 GetFoldersFolderIdSharingsSharingIdResponse = { id: number; isAdmin: boolean; canShare: boolean; canDownload: boolean; canUpload: boolean; share: GetFoldersFolderIdSharingsSharingIdShare; folder: GetFoldersFolderIdSharingsSharingIdFolder; /** * 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 GetFoldersFolderIdSharingsSharingIdRequest$Outbound = { folderId: string; sharingId: number; }; /** @internal */ export declare const GetFoldersFolderIdSharingsSharingIdRequest$outboundSchema: z.ZodType; export declare function getFoldersFolderIdSharingsSharingIdRequestToJSON(getFoldersFolderIdSharingsSharingIdRequest: GetFoldersFolderIdSharingsSharingIdRequest): string; /** @internal */ export declare const GetFoldersFolderIdSharingsSharingIdShare$inboundSchema: z.ZodType; export declare function getFoldersFolderIdSharingsSharingIdShareFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const GetFoldersFolderIdSharingsSharingIdFolder$inboundSchema: z.ZodType; export declare function getFoldersFolderIdSharingsSharingIdFolderFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const GetFoldersFolderIdSharingsSharingIdResponse$inboundSchema: z.ZodType; export declare function getFoldersFolderIdSharingsSharingIdResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=getfoldersfolderidsharingssharingid.d.ts.map