import * as z from "zod"; import { ClosedEnum } from "../../types/enums.js"; import { UserV1, UserV1$Outbound } from "./userv1.js"; /** * Status of the action */ export declare const ActionV2Status: { readonly Outstanding: "outstanding"; readonly Completed: "completed"; readonly Deleted: "deleted"; readonly NotDoing: "not_doing"; }; /** * Status of the action */ export type ActionV2Status = ClosedEnum; export type ActionV2 = { assignee?: UserV1 | undefined; /** * When the action was completed */ completedAt?: Date | undefined; /** * When the action was created */ createdAt: Date; /** * Description of the action */ description: string; /** * Unique identifier for the action */ id: string; /** * Unique identifier of the incident the action belongs to */ incidentId: string; /** * Status of the action */ status: ActionV2Status; /** * When the action was last updated */ updatedAt: Date; }; /** @internal */ export declare const ActionV2Status$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const ActionV2Status$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 ActionV2Status$ { /** @deprecated use `ActionV2Status$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Outstanding: "outstanding"; readonly Completed: "completed"; readonly Deleted: "deleted"; readonly NotDoing: "not_doing"; }>; /** @deprecated use `ActionV2Status$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Outstanding: "outstanding"; readonly Completed: "completed"; readonly Deleted: "deleted"; readonly NotDoing: "not_doing"; }>; } /** @internal */ export declare const ActionV2$inboundSchema: z.ZodType; /** @internal */ export type ActionV2$Outbound = { assignee?: UserV1$Outbound | undefined; completed_at?: string | undefined; created_at: string; description: string; id: string; incident_id: string; status: string; updated_at: string; }; /** @internal */ export declare const ActionV2$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 ActionV2$ { /** @deprecated use `ActionV2$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `ActionV2$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `ActionV2$Outbound` instead. */ type Outbound = ActionV2$Outbound; } //# sourceMappingURL=actionv2.d.ts.map