UNPKG

@nativecode/radarr

Version:

Radarr REST client

20 lines 690 B
/// <reference types="node" /> import { URL } from 'url'; import { Lincoln } from '@nofrills/lincoln'; import { Resource } from '@nativecode/rest-client'; import { History } from '../Models/History'; import { SortDirection } from '../Models/SortDirection'; export declare enum HistorySortKey { Date = "date", Title = "movie.title" } export interface HistoryOptions { pageSize: number; sortDir?: SortDirection; sortKey?: HistorySortKey; } export declare class HistoryResource extends Resource { constructor(url: URL, apikey: string, logger: Lincoln); page(page?: number, options?: HistoryOptions): Promise<History>; } //# sourceMappingURL=HistoryResource.d.ts.map