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