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