import * as z from "zod"; import { ClosedEnum } from "../../types/enums.js"; /** * E.g. PagerDuty: the external system that holds the resource */ export declare const CreateRequestBody5ResourceType: { readonly PagerDutyIncident: "pager_duty_incident"; readonly OpsgenieAlert: "opsgenie_alert"; readonly DatadogMonitorAlert: "datadog_monitor_alert"; readonly GithubPullRequest: "github_pull_request"; readonly GitlabMergeRequest: "gitlab_merge_request"; readonly SentryIssue: "sentry_issue"; readonly JiraIssue: "jira_issue"; readonly AtlassianStatuspageIncident: "atlassian_statuspage_incident"; readonly ZendeskTicket: "zendesk_ticket"; readonly GoogleCalendarEvent: "google_calendar_event"; readonly Scrubbed: "scrubbed"; readonly StatuspageIncident: "statuspage_incident"; }; /** * E.g. PagerDuty: the external system that holds the resource */ export type CreateRequestBody5ResourceType = ClosedEnum; export type Resource = { /** * ID of the resource in the external system */ externalId: string; /** * E.g. PagerDuty: the external system that holds the resource */ resourceType: CreateRequestBody5ResourceType; }; export type CreateRequestBody5 = { /** * ID of the incident to add an attachment to */ incidentId: string; resource: Resource; }; /** @internal */ export declare const CreateRequestBody5ResourceType$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const CreateRequestBody5ResourceType$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 CreateRequestBody5ResourceType$ { /** @deprecated use `CreateRequestBody5ResourceType$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly PagerDutyIncident: "pager_duty_incident"; readonly OpsgenieAlert: "opsgenie_alert"; readonly DatadogMonitorAlert: "datadog_monitor_alert"; readonly GithubPullRequest: "github_pull_request"; readonly GitlabMergeRequest: "gitlab_merge_request"; readonly SentryIssue: "sentry_issue"; readonly JiraIssue: "jira_issue"; readonly AtlassianStatuspageIncident: "atlassian_statuspage_incident"; readonly ZendeskTicket: "zendesk_ticket"; readonly GoogleCalendarEvent: "google_calendar_event"; readonly Scrubbed: "scrubbed"; readonly StatuspageIncident: "statuspage_incident"; }>; /** @deprecated use `CreateRequestBody5ResourceType$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly PagerDutyIncident: "pager_duty_incident"; readonly OpsgenieAlert: "opsgenie_alert"; readonly DatadogMonitorAlert: "datadog_monitor_alert"; readonly GithubPullRequest: "github_pull_request"; readonly GitlabMergeRequest: "gitlab_merge_request"; readonly SentryIssue: "sentry_issue"; readonly JiraIssue: "jira_issue"; readonly AtlassianStatuspageIncident: "atlassian_statuspage_incident"; readonly ZendeskTicket: "zendesk_ticket"; readonly GoogleCalendarEvent: "google_calendar_event"; readonly Scrubbed: "scrubbed"; readonly StatuspageIncident: "statuspage_incident"; }>; } /** @internal */ export declare const Resource$inboundSchema: z.ZodType; /** @internal */ export type Resource$Outbound = { external_id: string; resource_type: string; }; /** @internal */ export declare const Resource$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 Resource$ { /** @deprecated use `Resource$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `Resource$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `Resource$Outbound` instead. */ type Outbound = Resource$Outbound; } /** @internal */ export declare const CreateRequestBody5$inboundSchema: z.ZodType; /** @internal */ export type CreateRequestBody5$Outbound = { incident_id: string; resource: Resource$Outbound; }; /** @internal */ export declare const CreateRequestBody5$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 CreateRequestBody5$ { /** @deprecated use `CreateRequestBody5$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `CreateRequestBody5$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `CreateRequestBody5$Outbound` instead. */ type Outbound = CreateRequestBody5$Outbound; } //# sourceMappingURL=createrequestbody5.d.ts.map