import * as z from "zod"; import { ClosedEnum } from "../../types/enums.js"; /** * Type of incident role */ export declare const RoleType: { readonly Lead: "lead"; readonly Reporter: "reporter"; readonly Custom: "custom"; }; /** * Type of incident role */ export type RoleType = ClosedEnum; export type IncidentRoleV1 = { /** * When the role was created */ createdAt: Date; /** * Describes the purpose of the role */ description: string; /** * Unique identifier for the role */ id: string; /** * Provided to whoever is nominated for the role. Note that this will be empty for the 'reporter' role. */ instructions: string; /** * Human readable name of the incident role */ name: string; /** * DEPRECATED: this will always be false. */ required?: boolean | undefined; /** * Type of incident role */ roleType: RoleType; /** * Short human readable name for Slack. Note that this will be empty for the 'reporter' role. */ shortform: string; /** * When the role was last updated */ updatedAt: Date; }; /** @internal */ export declare const RoleType$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const RoleType$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 RoleType$ { /** @deprecated use `RoleType$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Lead: "lead"; readonly Reporter: "reporter"; readonly Custom: "custom"; }>; /** @deprecated use `RoleType$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Lead: "lead"; readonly Reporter: "reporter"; readonly Custom: "custom"; }>; } /** @internal */ export declare const IncidentRoleV1$inboundSchema: z.ZodType; /** @internal */ export type IncidentRoleV1$Outbound = { created_at: string; description: string; id: string; instructions: string; name: string; required?: boolean | undefined; role_type: string; shortform: string; updated_at: string; }; /** @internal */ export declare const IncidentRoleV1$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 IncidentRoleV1$ { /** @deprecated use `IncidentRoleV1$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `IncidentRoleV1$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `IncidentRoleV1$Outbound` instead. */ type Outbound = IncidentRoleV1$Outbound; } //# sourceMappingURL=incidentrolev1.d.ts.map