/** * DuckyAPI * A customer facing api for WildDuck * * The version of the OpenAPI document: 1.0 * * * 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, HttpParameterCodec } from '@angular/common/http'; import { Observable } from 'rxjs'; import { CreateUpdateFilterDto } from '../model/models'; import { FilterDetails } from '../model/models'; import { FilterListItem } from '../model/models'; import { Configuration } from '../configuration'; export declare class FiltersService { protected httpClient: HttpClient; protected basePath: string; defaultHeaders: HttpHeaders; configuration: Configuration; encoder: HttpParameterCodec; constructor(httpClient: HttpClient, basePath: string, configuration: Configuration); private addToHttpParams; private addToHttpParamsRecursive; /** * Create a new filter * @param accountId Unique id of the account * @param createUpdateFilterDto * @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. */ createFilter(accountId: string, createUpdateFilterDto: CreateUpdateFilterDto, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: undefined; }): Observable; createFilter(accountId: string, createUpdateFilterDto: CreateUpdateFilterDto, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: undefined; }): Observable>; createFilter(accountId: string, createUpdateFilterDto: CreateUpdateFilterDto, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: undefined; }): Observable>; /** * Delete filter * @param accountId Unique id of the account * @param filterId Unique id of the filter * @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. */ deleteFilter(accountId: string, filterId: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: undefined; }): Observable; deleteFilter(accountId: string, filterId: string, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: undefined; }): Observable>; deleteFilter(accountId: string, filterId: string, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: undefined; }): Observable>; /** * Get filter details * @param accountId Unique id of the account * @param filterId Unique id of the filter * @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. */ getFilterDetails(accountId: string, filterId: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable; getFilterDetails(accountId: string, filterId: string, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; getFilterDetails(accountId: string, filterId: string, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; /** * List filters * @param accountId Unique id of the account * @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. */ getFilters(accountId: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; getFilters(accountId: string, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>>; getFilters(accountId: string, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>>; /** * Update existing filter * @param accountId Unique id of the account * @param filterId Unique id of the filter * @param createUpdateFilterDto * @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. */ updateFilter(accountId: string, filterId: string, createUpdateFilterDto: CreateUpdateFilterDto, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: undefined; }): Observable; updateFilter(accountId: string, filterId: string, createUpdateFilterDto: CreateUpdateFilterDto, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: undefined; }): Observable>; updateFilter(accountId: string, filterId: string, createUpdateFilterDto: CreateUpdateFilterDto, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: undefined; }): Observable>; }