## API Report File for "@backstage/plugin-ilert"

> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).

```ts
/// <reference types="react" />

import { ApiRef } from '@backstage/core-plugin-api';
import { BackstagePlugin } from '@backstage/core-plugin-api';
import { ConfigApi } from '@backstage/core-plugin-api';
import { DiscoveryApi } from '@backstage/core-plugin-api';
import { Entity } from '@backstage/catalog-model';
import { IconComponent } from '@backstage/core-plugin-api';
import { RouteRef } from '@backstage/core-plugin-api';

// Warning: (ae-missing-release-tag) "EntityILertCard" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export const EntityILertCard: () => JSX.Element;

// Warning: (ae-missing-release-tag) "GetIncidentsCountOpts" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export type GetIncidentsCountOpts = {
  states?: IncidentStatus[];
};

// Warning: (ae-missing-release-tag) "GetIncidentsOpts" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export type GetIncidentsOpts = {
  maxResults?: number;
  startIndex?: number;
  states?: IncidentStatus[];
  alertSources?: number[];
};

// Warning: (ae-missing-release-tag) "ILertApi" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export interface ILertApi {
  // (undocumented)
  acceptIncident(incident: Incident, userName: string): Promise<Incident>;
  // (undocumented)
  addImmediateMaintenance(
    alertSourceId: number,
    minutes: number,
  ): Promise<void>;
  // (undocumented)
  assignIncident(
    incident: Incident,
    responder: IncidentResponder,
  ): Promise<Incident>;
  // Warning: (ae-forgotten-export) The symbol "EventRequest" needs to be exported by the entry point index.d.ts
  //
  // (undocumented)
  createIncident(eventRequest: EventRequest): Promise<boolean>;
  // (undocumented)
  disableAlertSource(alertSource: AlertSource): Promise<AlertSource>;
  // (undocumented)
  enableAlertSource(alertSource: AlertSource): Promise<AlertSource>;
  // (undocumented)
  fetchAlertSource(idOrIntegrationKey: number | string): Promise<AlertSource>;
  // Warning: (ae-forgotten-export) The symbol "OnCall" needs to be exported by the entry point index.d.ts
  //
  // (undocumented)
  fetchAlertSourceOnCalls(alertSource: AlertSource): Promise<OnCall[]>;
  // Warning: (ae-forgotten-export) The symbol "AlertSource" needs to be exported by the entry point index.d.ts
  //
  // (undocumented)
  fetchAlertSources(): Promise<AlertSource[]>;
  // (undocumented)
  fetchIncident(id: number): Promise<Incident>;
  // Warning: (ae-forgotten-export) The symbol "IncidentAction" needs to be exported by the entry point index.d.ts
  //
  // (undocumented)
  fetchIncidentActions(incident: Incident): Promise<IncidentAction[]>;
  // Warning: (ae-forgotten-export) The symbol "IncidentResponder" needs to be exported by the entry point index.d.ts
  //
  // (undocumented)
  fetchIncidentResponders(incident: Incident): Promise<IncidentResponder[]>;
  // Warning: (ae-forgotten-export) The symbol "Incident" needs to be exported by the entry point index.d.ts
  //
  // (undocumented)
  fetchIncidents(opts?: GetIncidentsOpts): Promise<Incident[]>;
  // (undocumented)
  fetchIncidentsCount(opts?: GetIncidentsCountOpts): Promise<number>;
  // Warning: (ae-forgotten-export) The symbol "Schedule" needs to be exported by the entry point index.d.ts
  //
  // (undocumented)
  fetchOnCallSchedules(): Promise<Schedule[]>;
  // (undocumented)
  fetchUptimeMonitor(id: number): Promise<UptimeMonitor>;
  // Warning: (ae-forgotten-export) The symbol "UptimeMonitor" needs to be exported by the entry point index.d.ts
  //
  // (undocumented)
  fetchUptimeMonitors(): Promise<UptimeMonitor[]>;
  // Warning: (ae-forgotten-export) The symbol "User" needs to be exported by the entry point index.d.ts
  //
  // (undocumented)
  fetchUsers(): Promise<User[]>;
  // (undocumented)
  getAlertSourceDetailsURL(alertSource: AlertSource | null): string;
  // Warning: (ae-forgotten-export) The symbol "EscalationPolicy" needs to be exported by the entry point index.d.ts
  //
  // (undocumented)
  getEscalationPolicyDetailsURL(escalationPolicy: EscalationPolicy): string;
  // (undocumented)
  getIncidentDetailsURL(incident: Incident): string;
  // (undocumented)
  getScheduleDetailsURL(schedule: Schedule): string;
  // (undocumented)
  getUptimeMonitorDetailsURL(uptimeMonitor: UptimeMonitor): string;
  // (undocumented)
  getUserInitials(user: User | null): string;
  // (undocumented)
  getUserPhoneNumber(user: User | null): string;
  // (undocumented)
  overrideShift(
    scheduleId: number,
    userId: number,
    start: string,
    end: string,
  ): Promise<Schedule>;
  // (undocumented)
  pauseUptimeMonitor(uptimeMonitor: UptimeMonitor): Promise<UptimeMonitor>;
  // (undocumented)
  resolveIncident(incident: Incident, userName: string): Promise<Incident>;
  // (undocumented)
  resumeUptimeMonitor(uptimeMonitor: UptimeMonitor): Promise<UptimeMonitor>;
  // (undocumented)
  triggerIncidentAction(
    incident: Incident,
    action: IncidentAction,
  ): Promise<void>;
}

// Warning: (ae-missing-release-tag) "ilertApiRef" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export const ilertApiRef: ApiRef<ILertApi>;

// Warning: (ae-missing-release-tag) "ILertCard" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export const ILertCard: () => JSX.Element;

// Warning: (ae-missing-release-tag) "ILertClient" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export class ILertClient implements ILertApi {
  // Warning: (ae-forgotten-export) The symbol "Options" needs to be exported by the entry point index.d.ts
  constructor(opts: Options);
  // (undocumented)
  acceptIncident(incident: Incident, userName: string): Promise<Incident>;
  // (undocumented)
  addImmediateMaintenance(
    alertSourceId: number,
    minutes: number,
  ): Promise<void>;
  // (undocumented)
  assignIncident(
    incident: Incident,
    responder: IncidentResponder,
  ): Promise<Incident>;
  // (undocumented)
  createIncident(eventRequest: EventRequest): Promise<boolean>;
  // (undocumented)
  disableAlertSource(alertSource: AlertSource): Promise<AlertSource>;
  // (undocumented)
  enableAlertSource(alertSource: AlertSource): Promise<AlertSource>;
  // (undocumented)
  fetchAlertSource(idOrIntegrationKey: number | string): Promise<AlertSource>;
  // (undocumented)
  fetchAlertSourceOnCalls(alertSource: AlertSource): Promise<OnCall[]>;
  // (undocumented)
  fetchAlertSources(): Promise<AlertSource[]>;
  // (undocumented)
  fetchIncident(id: number): Promise<Incident>;
  // (undocumented)
  fetchIncidentActions(incident: Incident): Promise<IncidentAction[]>;
  // (undocumented)
  fetchIncidentResponders(incident: Incident): Promise<IncidentResponder[]>;
  // (undocumented)
  fetchIncidents(opts?: GetIncidentsOpts): Promise<Incident[]>;
  // (undocumented)
  fetchIncidentsCount(opts?: GetIncidentsCountOpts): Promise<number>;
  // (undocumented)
  fetchOnCallSchedules(): Promise<Schedule[]>;
  // (undocumented)
  fetchUptimeMonitor(id: number): Promise<UptimeMonitor>;
  // (undocumented)
  fetchUptimeMonitors(): Promise<UptimeMonitor[]>;
  // (undocumented)
  fetchUsers(): Promise<User[]>;
  // (undocumented)
  static fromConfig(
    configApi: ConfigApi,
    discoveryApi: DiscoveryApi,
  ): ILertClient;
  // (undocumented)
  getAlertSourceDetailsURL(alertSource: AlertSource | null): string;
  // (undocumented)
  getEscalationPolicyDetailsURL(escalationPolicy: EscalationPolicy): string;
  // (undocumented)
  getIncidentDetailsURL(incident: Incident): string;
  // (undocumented)
  getScheduleDetailsURL(schedule: Schedule): string;
  // (undocumented)
  getUptimeMonitorDetailsURL(uptimeMonitor: UptimeMonitor): string;
  // (undocumented)
  getUserInitials(user: User | null): string;
  // (undocumented)
  getUserPhoneNumber(user: User | null): string;
  // (undocumented)
  overrideShift(
    scheduleId: number,
    userId: number,
    start: string,
    end: string,
  ): Promise<Schedule>;
  // (undocumented)
  pauseUptimeMonitor(uptimeMonitor: UptimeMonitor): Promise<UptimeMonitor>;
  // (undocumented)
  resolveIncident(incident: Incident, userName: string): Promise<Incident>;
  // (undocumented)
  resumeUptimeMonitor(uptimeMonitor: UptimeMonitor): Promise<UptimeMonitor>;
  // (undocumented)
  triggerIncidentAction(
    incident: Incident,
    action: IncidentAction,
  ): Promise<void>;
}

// Warning: (ae-missing-release-tag) "ILertIcon" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export const ILertIcon: IconComponent;

// Warning: (ae-missing-release-tag) "ILertPage" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export const ILertPage: () => JSX.Element;

// Warning: (ae-missing-release-tag) "ilertPlugin" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
const ilertPlugin: BackstagePlugin<
  {
    root: RouteRef<undefined>;
  },
  {}
>;
export { ilertPlugin };
export { ilertPlugin as plugin };

// Warning: (ae-missing-release-tag) "iLertRouteRef" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export const iLertRouteRef: RouteRef<undefined>;

// Warning: (ae-missing-release-tag) "isPluginApplicableToEntity" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
const isPluginApplicableToEntity: (entity: Entity) => boolean;
export { isPluginApplicableToEntity as isILertAvailable };
export { isPluginApplicableToEntity };

// Warning: (ae-missing-release-tag) "ILertPage" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export const Router: () => JSX.Element;

// Warning: (ae-missing-release-tag) "TableState" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export type TableState = {
  page: number;
  pageSize: number;
};

// Warnings were encountered during analysis:
//
// src/api/types.d.ts:14:5 - (ae-forgotten-export) The symbol "IncidentStatus" needs to be exported by the entry point index.d.ts

// (No @packageDocumentation comment for this package)
```
