/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. * @generated-id: 7057ffa7a3c5 */ import * as z from "zod/v3"; import * as openEnums from "../../types/enums.js"; import { OpenEnum } from "../../types/enums.js"; /** * A user's role with respect to a specific document. */ export const UserRole = { Owner: "OWNER", Viewer: "VIEWER", AnswerModerator: "ANSWER_MODERATOR", Editor: "EDITOR", Verifier: "VERIFIER", } as const; /** * A user's role with respect to a specific document. */ export type UserRole = OpenEnum; /** @internal */ export const UserRole$inboundSchema: z.ZodType< UserRole, z.ZodTypeDef, unknown > = openEnums.inboundSchema(UserRole); /** @internal */ export const UserRole$outboundSchema: z.ZodType< string, z.ZodTypeDef, UserRole > = openEnums.outboundSchema(UserRole);