anton-fedosieiev-sdk
Version:
9 lines (8 loc) • 433 B
TypeScript
import { ApiBase } from './base';
import { MoviesListResponse, ChaptersListResponse, AuthRequestParams } from '../types';
export declare class MovieService extends ApiBase {
path: string;
getMoviesList(params: AuthRequestParams): Promise<MoviesListResponse>;
getMovie({ id, token }: AuthRequestParams): Promise<MoviesListResponse>;
getMovieQuotes({ id, ...rest }: AuthRequestParams): Promise<ChaptersListResponse>;
}