import * as z from "zod"; import { ClosedEnum } from "../../types/enums.js"; /** * Type of incident role */ export declare const IncidentRoleV2RoleType: { readonly Lead: "lead"; readonly Reporter: "reporter"; readonly Custom: "custom"; }; /** * Type of incident role */ export type IncidentRoleV2RoleType = ClosedEnum; export type IncidentRoleV2 = { /** * 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; /** * Type of incident role */ roleType: IncidentRoleV2RoleType; /** * 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 IncidentRoleV2RoleType$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const IncidentRoleV2RoleType$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 IncidentRoleV2RoleType$ { /** @deprecated use `IncidentRoleV2RoleType$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Lead: "lead"; readonly Reporter: "reporter"; readonly Custom: "custom"; }>; /** @deprecated use `IncidentRoleV2RoleType$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Lead: "lead"; readonly Reporter: "reporter"; readonly Custom: "custom"; }>; } /** @internal */ export declare const IncidentRoleV2$inboundSchema: z.ZodType; /** @internal */ export type IncidentRoleV2$Outbound = { created_at: string; description: string; id: string; instructions: string; name: string; role_type: string; shortform: string; updated_at: string; }; /** @internal */ export declare const IncidentRoleV2$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 IncidentRoleV2$ { /** @deprecated use `IncidentRoleV2$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `IncidentRoleV2$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `IncidentRoleV2$Outbound` instead. */ type Outbound = IncidentRoleV2$Outbound; } //# sourceMappingURL=incidentrolev2.d.ts.map