UNPKG

chaldea

Version:

Funny servant collection and make them as Roleplaying.

48 lines (47 loc) 889 B
interface ChalClientOptions { url: string; } interface ChalResponse { code: number; url: string; } /** * for Chal */ declare class ChalClient { private baseURL; constructor(options?: ChalClientOptions); /** * cry endpoint */ cry(): Promise<string>; /** * happy endpoint */ happy(): Promise<string>; /** * hug endpoint */ hug(): Promise<string>; /** * kiss endpoint */ kiss(): Promise<string>; /** * smug endpoint */ smug(): Promise<string>; /** * angry endpoint */ angry(): Promise<string>; /** * pat endpoint */ pat(): Promise<string>; /** * with querys / files */ get(endpoint: string, version?: string, params?: object): Promise<ChalResponse>; } export default ChalClient;