import RequestService from './requestservice'; export default class Endpoint { /** The global request service * @memberof Endpoint */ protected requestService: RequestService; /** Path to the endpoint with initial and ending slashes (eg /endpoint/) * @memberof Endpoint */ protected basePath: string; /** Automatically set the request service to class member on class construction * @memberof Endpoint */ constructor(RequestService: RequestService); /** Get the endpoint path * @memberof Endpoint * @return string The current enpoint path with trailing slashes */ protected getBasePath(): string; /** * Makes an URL with the current endpoint datas * @param {string} path The path to append to endpoint's base path * @param {Record} [queryParameters] The query string parameters to append to the URI * @return {string} The generated URI */ protected makeUrl(appendPath: string, queryParameters?: Record | Record): string; }