import * as z from "zod"; import { ClosedEnum } from "../../types/enums.js"; /** * DEPRECATED: Role of the user as of March 9th 2023, this value is no longer updated. */ export declare const Role: { readonly Viewer: "viewer"; readonly Responder: "responder"; readonly Administrator: "administrator"; readonly Owner: "owner"; readonly Unset: "unset"; }; /** * DEPRECATED: Role of the user as of March 9th 2023, this value is no longer updated. */ export type Role = ClosedEnum; export type UserV1 = { /** * Email address of the user. */ email?: string | undefined; /** * Unique identifier of the user */ id: string; /** * Name of the user */ name: string; /** * DEPRECATED: Role of the user as of March 9th 2023, this value is no longer updated. */ role: Role; /** * Slack ID of the user */ slackUserId?: string | undefined; }; /** @internal */ export declare const Role$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const Role$outboundSchema: z.ZodNativeEnum; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace Role$ { /** @deprecated use `Role$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Viewer: "viewer"; readonly Responder: "responder"; readonly Administrator: "administrator"; readonly Owner: "owner"; readonly Unset: "unset"; }>; /** @deprecated use `Role$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Viewer: "viewer"; readonly Responder: "responder"; readonly Administrator: "administrator"; readonly Owner: "owner"; readonly Unset: "unset"; }>; } /** @internal */ export declare const UserV1$inboundSchema: z.ZodType; /** @internal */ export type UserV1$Outbound = { email?: string | undefined; id: string; name: string; role: string; slack_user_id?: string | undefined; }; /** @internal */ export declare const UserV1$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace UserV1$ { /** @deprecated use `UserV1$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `UserV1$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `UserV1$Outbound` instead. */ type Outbound = UserV1$Outbound; } //# sourceMappingURL=userv1.d.ts.map