import * as z from "zod/v3"; import { DocumentPermissionsDefinition, DocumentPermissionsDefinition$Outbound } from "./documentpermissionsdefinition.js"; /** * Describes the request body of the /updatepermissions API call */ export type UpdatePermissionsRequest = { datasource: string; /** * The type of the document (Case, KnowledgeArticle for Salesforce for example). It cannot have spaces or _ */ objectType?: string | undefined; /** * The datasource specific id for the document. This field is case insensitive and should not be more than 200 characters in length. */ id?: string | undefined; /** * The permalink for viewing the document. **Note: viewURL is a required field if id was not set when uploading the document.**' * * @remarks */ viewURL?: string | undefined; /** * describes the access control details of the document */ permissions: DocumentPermissionsDefinition; }; /** @internal */ export type UpdatePermissionsRequest$Outbound = { datasource: string; objectType?: string | undefined; id?: string | undefined; viewURL?: string | undefined; permissions: DocumentPermissionsDefinition$Outbound; }; /** @internal */ export declare const UpdatePermissionsRequest$outboundSchema: z.ZodType; export declare function updatePermissionsRequestToJSON(updatePermissionsRequest: UpdatePermissionsRequest): string; //# sourceMappingURL=updatepermissionsrequest.d.ts.map