import * as z from "zod"; import { ClosedEnum } from "../../types/enums.js"; /** * E.g. PagerDuty: the external system that holds the resource */ export declare const ResourceType: { 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 ResourceType = ClosedEnum; export type ExternalResourceV1 = { /** * ID of the resource in the external system */ externalId: string; /** * URL of the resource */ permalink: string; /** * E.g. PagerDuty: the external system that holds the resource */ resourceType: ResourceType; /** * Title of resource */ title: string; }; /** @internal */ export declare const ResourceType$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const ResourceType$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 ResourceType$ { /** @deprecated use `ResourceType$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 `ResourceType$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 ExternalResourceV1$inboundSchema: z.ZodType; /** @internal */ export type ExternalResourceV1$Outbound = { external_id: string; permalink: string; resource_type: string; title: string; }; /** @internal */ export declare const ExternalResourceV1$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 ExternalResourceV1$ { /** @deprecated use `ExternalResourceV1$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `ExternalResourceV1$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `ExternalResourceV1$Outbound` instead. */ type Outbound = ExternalResourceV1$Outbound; } //# sourceMappingURL=externalresourcev1.d.ts.map