@herd/angular-client
Version:
Swagger generated client for @herd/angular-client
41 lines (40 loc) • 2.23 kB
TypeScript
/**
* herd
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* OpenAPI spec version: 0.219.0-SNAPSHOT
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { HttpClient, HttpHeaders, HttpResponse, HttpEvent } from '@angular/common/http';
import { Observable } from 'rxjs';
import { IndexSearchRequest } from '../model/indexSearchRequest';
import { IndexSearchResponse } from '../model/indexSearchResponse';
import { Configuration } from '../configuration';
export declare class IndexSearchService {
protected httpClient: HttpClient;
protected basePath: string;
defaultHeaders: HttpHeaders;
configuration: Configuration;
constructor(httpClient: HttpClient, basePath: string, configuration: Configuration);
/**
* @param consumes string[] mime-types
* @return true: consumes contains 'multipart/form-data', false: otherwise
*/
private canConsumeForm;
/**
* indexSearch
* The index search POST method.
* @param indexSearchRequest the index search request
* @param fields the set of fields that are to be returned in the index search response (accepts: displayname and shortdescription)
* @param match the set of match fields that the search will be restricted to (accepts: column)
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
* @param reportProgress flag to report request and response progress.
*/
indexSearchIndexSearch(indexSearchRequest: IndexSearchRequest, fields?: string, match?: string, observe?: 'body', reportProgress?: boolean): Observable<IndexSearchResponse>;
indexSearchIndexSearch(indexSearchRequest: IndexSearchRequest, fields?: string, match?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<IndexSearchResponse>>;
indexSearchIndexSearch(indexSearchRequest: IndexSearchRequest, fields?: string, match?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<IndexSearchResponse>>;
}