@nativecode/sonarr
Version:
Sonarr REST client
16 lines • 556 B
TypeScript
/// <reference types="node" />
import { URL } from 'url';
import { Lincoln } from '@nofrills/lincoln';
import { RestResource } from '@nativecode/rest-client';
import { History } from '../Models';
export interface PagingOptions {
page?: number;
pageSize?: number;
sortDir?: string;
episodeId?: string;
}
export declare class HistoryResource extends RestResource {
constructor(url: URL, apikey: string, logger: Lincoln);
get(sortKey?: string, options?: PagingOptions): Promise<History>;
}
//# sourceMappingURL=HistoryResource.d.ts.map