Skip to content

A modern and easy to use dashboard. 80+ integrations. 20K+ icons built in. Authentication out of the box. No YAML, drag and drop configuration.

587 B
Raw Blame
import type { MediaInformation, MediaRequest, RequestStats, RequestUser } from "./media-request-types";

export interface IMediaRequestIntegration {
  getSeriesInformationAsync(mediaType: "movie" | "tv", id: number): Promise<MediaInformation>;
  requestMediaAsync(mediaType: "movie" | "tv", id: number, seasons?: number[]): Promise<void>;
  getRequestsAsync(): Promise<MediaRequest[]>;
  getStatsAsync(): Promise<RequestStats>;
  getUsersAsync(): Promise<RequestUser[]>;
  approveRequestAsync(requestId: number): Promise<void>;
  declineRequestAsync(requestId: number): Promise<void>;
}