50 lines
1.5 KiB
TypeScript
50 lines
1.5 KiB
TypeScript
/**
|
|
* Innovation Search Engine API
|
|
*
|
|
*
|
|
*
|
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
* https://openapi-generator.tech
|
|
* Do not edit the class manually.
|
|
*/
|
|
import { HttpHeaders } from '@angular/common/http';
|
|
|
|
import { Observable } from 'rxjs';
|
|
|
|
import { HTTPValidationError } from '../model/models';
|
|
|
|
|
|
import { Configuration } from '../configuration';
|
|
|
|
|
|
|
|
export interface TopicsServiceInterface {
|
|
defaultHeaders: HttpHeaders;
|
|
configuration: Configuration;
|
|
|
|
/**
|
|
* Builds the topic hierarchy cache.
|
|
*
|
|
* @endpoint get /api/inse-service/topics/cache
|
|
* @param pageSize Page size for each search page.
|
|
* @param saveJson Persist cache JSON to data folder.
|
|
*/
|
|
buildTopicCache(pageSize?: number, saveJson?: boolean, extraHttpRequestParams?: any): Observable<object>;
|
|
|
|
/**
|
|
* Counts topic hierarchy occurrences from cache.
|
|
*
|
|
* @endpoint get /api/inse-service/topics/count
|
|
* @param topic Topic names (repeat parameter).
|
|
*/
|
|
countTopicHierarchy(topic: Array<string>, extraHttpRequestParams?: any): Observable<object>;
|
|
|
|
/**
|
|
* Returns the nested topic hierarchy (Domains -> Fields -> Subfields -> Topics).
|
|
*
|
|
* @endpoint get /api/inse-service/topics/hierarchy
|
|
*/
|
|
getTopicHierarchy(extraHttpRequestParams?: any): Observable<object>;
|
|
|
|
}
|