1 |
|
2 | import { URL } from 'url';
|
3 | import { Lincoln } from '@nofrills/lincoln';
|
4 | import { Resource } from '@nativecode/rest-client';
|
5 | import { History } from '../Models/History';
|
6 | import { SortDirection } from '../Models/SortDirection';
|
7 | export declare enum HistorySortKey {
|
8 | Date = "date",
|
9 | Title = "movie.title"
|
10 | }
|
11 | export interface HistoryOptions {
|
12 | pageSize: number;
|
13 | sortDir?: SortDirection;
|
14 | sortKey?: HistorySortKey;
|
15 | }
|
16 | export declare class HistoryResource extends Resource {
|
17 | constructor(url: URL, apikey: string, logger: Lincoln);
|
18 | page(page?: number, options?: HistoryOptions): Promise<History>;
|
19 | }
|
20 | //# sourceMappingURL=HistoryResource.d.ts.map |
\ | No newline at end of file |