UNPKG

@herd/angular-client

Version:

Swagger generated client for @herd/angular-client

69 lines (68 loc) 4.23 kB
/** * herd * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * OpenAPI spec version: 0.220.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 { SearchIndex } from '../model/searchIndex'; import { SearchIndexCreateRequest } from '../model/searchIndexCreateRequest'; import { SearchIndexKeys } from '../model/searchIndexKeys'; import { Configuration } from '../configuration'; export declare class SearchIndexService { 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; /** * createSearchIndex * Creates a new search index. * @param searchIndexCreateRequest the information needed to create a search index * @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. */ searchIndexCreateSearchIndex(searchIndexCreateRequest: SearchIndexCreateRequest, observe?: 'body', reportProgress?: boolean): Observable<SearchIndex>; searchIndexCreateSearchIndex(searchIndexCreateRequest: SearchIndexCreateRequest, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<SearchIndex>>; searchIndexCreateSearchIndex(searchIndexCreateRequest: SearchIndexCreateRequest, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<SearchIndex>>; /** * deleteSearchIndex * Deletes an existing search index by its name. * @param searchIndexName the search index name * @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. */ searchIndexDeleteSearchIndex(searchIndexName: string, observe?: 'body', reportProgress?: boolean): Observable<SearchIndex>; searchIndexDeleteSearchIndex(searchIndexName: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<SearchIndex>>; searchIndexDeleteSearchIndex(searchIndexName: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<SearchIndex>>; /** * getSearchIndex * Gets an existing search index by its name. * @param searchIndexName the name of the search index * @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. */ searchIndexGetSearchIndex(searchIndexName: string, observe?: 'body', reportProgress?: boolean): Observable<SearchIndex>; searchIndexGetSearchIndex(searchIndexName: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<SearchIndex>>; searchIndexGetSearchIndex(searchIndexName: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<SearchIndex>>; /** * getSearchIndexes * Gets a list of search index keys for all search indexes defined in the system. * @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. */ searchIndexGetSearchIndexes(observe?: 'body', reportProgress?: boolean): Observable<SearchIndexKeys>; searchIndexGetSearchIndexes(observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<SearchIndexKeys>>; searchIndexGetSearchIndexes(observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<SearchIndexKeys>>; }