- /**
- * Gets version details
- * @returns Observable that should yield a String
- */
- getVersion(): Observable<string> {
- const url = this.buildPath('version');
- return this.httpClient.get<ControlpanelSuccessTransport>(url).pipe(
- // Extract the string here
- map(res => res['data'])
- );
- }
-
- getEITypes(): Observable<EIType[]> {
- const url = this.buildPath(this.eiTypePath);
- return this.httpClient.get<EIType[]>(url);
- }
-