import * as z from "zod/v3"; import { UserRoleSpecification, UserRoleSpecification$Outbound } from "./userrolespecification.js"; export type UpdateShortcutRequest = { /** * The opaque id of the user generated content. */ id: number; /** * Link text following go/ prefix as entered by the user. */ inputAlias?: string | undefined; /** * Destination URL for the shortcut. */ destinationUrl?: string | undefined; /** * Glean Document ID for the URL, if known. */ destinationDocumentId?: string | undefined; /** * A short, plain text blurb to help people understand the intent of the shortcut. */ description?: string | undefined; /** * Whether this shortcut is unlisted or not. Unlisted shortcuts are visible to author + admins only. */ unlisted?: boolean | undefined; /** * For variable shortcuts, contains the URL template; note, `destinationUrl` contains default URL. */ urlTemplate?: string | undefined; /** * A list of user roles added for the Shortcut. */ addedRoles?: Array | undefined; /** * A list of user roles removed for the Shortcut. */ removedRoles?: Array | undefined; }; /** @internal */ export type UpdateShortcutRequest$Outbound = { id: number; inputAlias?: string | undefined; destinationUrl?: string | undefined; destinationDocumentId?: string | undefined; description?: string | undefined; unlisted?: boolean | undefined; urlTemplate?: string | undefined; addedRoles?: Array | undefined; removedRoles?: Array | undefined; }; /** @internal */ export declare const UpdateShortcutRequest$outboundSchema: z.ZodType; export declare function updateShortcutRequestToJSON(updateShortcutRequest: UpdateShortcutRequest): string; //# sourceMappingURL=updateshortcutrequest.d.ts.map