import * as z from "zod"; import { ClosedEnum } from "../../types/enums.js"; /** * Current status of this alert */ export declare const CreateHTTPRequestBodyStatus: { readonly Firing: "firing"; readonly Resolved: "resolved"; }; /** * Current status of this alert */ export type CreateHTTPRequestBodyStatus = ClosedEnum; export type CreateHTTPRequestBody = { /** * A deduplication key can be provided to uniquely reference this alert from your alert source. If you send an event with the same deduplication_key multiple times, only one alert will be created in incident.io for this alert source config. */ deduplicationKey?: string | undefined; /** * Description that optionally adds more detail to title. Supports markdown. */ description?: string | undefined; /** * Any additional metadata that you've configured your alert source to parse */ metadata?: { [k: string]: any; } | undefined; /** * If applicable, a link to the alert in the upstream system */ sourceUrl?: string | undefined; /** * Current status of this alert */ status: CreateHTTPRequestBodyStatus; /** * Alert title which is used when summarising the alert */ title: string; }; /** @internal */ export declare const CreateHTTPRequestBodyStatus$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const CreateHTTPRequestBodyStatus$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 CreateHTTPRequestBodyStatus$ { /** @deprecated use `CreateHTTPRequestBodyStatus$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Firing: "firing"; readonly Resolved: "resolved"; }>; /** @deprecated use `CreateHTTPRequestBodyStatus$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Firing: "firing"; readonly Resolved: "resolved"; }>; } /** @internal */ export declare const CreateHTTPRequestBody$inboundSchema: z.ZodType; /** @internal */ export type CreateHTTPRequestBody$Outbound = { deduplication_key?: string | undefined; description?: string | undefined; metadata?: { [k: string]: any; } | undefined; source_url?: string | undefined; status: string; title: string; }; /** @internal */ export declare const CreateHTTPRequestBody$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 CreateHTTPRequestBody$ { /** @deprecated use `CreateHTTPRequestBody$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CreateHTTPRequestBody$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CreateHTTPRequestBody$Outbound` instead. */ type Outbound = CreateHTTPRequestBody$Outbound; } //# sourceMappingURL=createhttprequestbody.d.ts.map