/**
* Pipedrive API v1
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 1.0.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 type { Configuration } from '../configuration';
import type { AxiosInstance } from 'axios';
import { RequestArgs, BaseAPI } from '../base';
import { AddFilterRequest } from '../models';
import { AddFiltersResponse } from '../models';
import { DeleteFilterResponse } from '../models';
import { DeleteFiltersResponse } from '../models';
import { GetFiltersResponse } from '../models';
import { GetFiltersResponse1 } from '../models';
import { UpdateFilterRequest } from '../models';
/**
* FiltersApi - axios parameter creator
* @export
*/
export declare const FiltersApiAxiosParamCreator: (configuration?: Configuration) => {
/**
* Adds a new filter, returns the ID upon success. Note that in the conditions JSON object only one first-level condition group is supported, and it must be glued with \'AND\', and only two second level condition groups are supported of which one must be glued with \'AND\' and the second with \'OR\'. Other combinations do not work (yet) but the syntax supports introducing them in future. For more information, see the tutorial for adding a filter.
* @summary Add a new filter
* @param {boolean} [include_field_code] If set to `true`, each condition in the response includes a `field_code` field identifying the field by its code name
* @param {AddFilterRequest} [AddFilterRequest]
* @throws {RequiredError}
*/
addFilter: (include_field_code?: boolean, AddFilterRequest?: AddFilterRequest) => Promise;
/**
* Marks a filter as deleted.
* @summary Delete a filter
* @param {number} id The ID of the filter
* @throws {RequiredError}
*/
deleteFilter: (id: number) => Promise;
/**
* Marks multiple filters as deleted.
* @summary Delete multiple filters in bulk
* @param {string} ids The comma-separated filter IDs to delete
* @throws {RequiredError}
*/
deleteFilters: (ids: string) => Promise;
/**
* Returns data about a specific filter. Note that this also returns the condition lines of the filter.
* @summary Get one filter
* @param {number} id The ID of the filter
* @param {boolean} [include_field_code] If set to `true`, each condition in the response includes a `field_code` field identifying the field by its code name
* @throws {RequiredError}
*/
getFilter: (id: number, include_field_code?: boolean) => Promise;
/**
* Returns all supported filter helpers. It helps to know what conditions and helpers are available when you want to add or update filters. For more information, see the tutorial for adding a filter.
* @summary Get all filter helpers
* @throws {RequiredError}
*/
getFilterHelpers: () => Promise;
/**
* Returns data about all filters.
* @summary Get all filters
* @param {'deals' | 'leads' | 'org' | 'people' | 'products' | 'activity' | 'projects'} [type] The types of filters to fetch
* @throws {RequiredError}
*/
getFilters: (type?: 'deals' | 'leads' | 'org' | 'people' | 'products' | 'activity' | 'projects') => Promise;
/**
* Updates an existing filter.
* @summary Update filter
* @param {number} id The ID of the filter
* @param {boolean} [include_field_code] If set to `true`, each condition in the response includes a `field_code` field identifying the field by its code name
* @param {UpdateFilterRequest} [UpdateFilterRequest]
* @throws {RequiredError}
*/
updateFilter: (id: number, include_field_code?: boolean, UpdateFilterRequest?: UpdateFilterRequest) => Promise;
};
/**
* FiltersApi - functional programming interface
* @export
*/
export declare const FiltersApiFp: (configuration?: Configuration) => {
/**
* Adds a new filter, returns the ID upon success. Note that in the conditions JSON object only one first-level condition group is supported, and it must be glued with \'AND\', and only two second level condition groups are supported of which one must be glued with \'AND\' and the second with \'OR\'. Other combinations do not work (yet) but the syntax supports introducing them in future. For more information, see the tutorial for adding a filter.
* @summary Add a new filter
* @param {boolean} [include_field_code] If set to `true`, each condition in the response includes a `field_code` field identifying the field by its code name
* @param {AddFilterRequest} [AddFilterRequest]
* @throws {RequiredError}
*/
addFilter(include_field_code?: boolean, AddFilterRequest?: AddFilterRequest): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>;
/**
* Marks a filter as deleted.
* @summary Delete a filter
* @param {number} id The ID of the filter
* @throws {RequiredError}
*/
deleteFilter(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>;
/**
* Marks multiple filters as deleted.
* @summary Delete multiple filters in bulk
* @param {string} ids The comma-separated filter IDs to delete
* @throws {RequiredError}
*/
deleteFilters(ids: string): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>;
/**
* Returns data about a specific filter. Note that this also returns the condition lines of the filter.
* @summary Get one filter
* @param {number} id The ID of the filter
* @param {boolean} [include_field_code] If set to `true`, each condition in the response includes a `field_code` field identifying the field by its code name
* @throws {RequiredError}
*/
getFilter(id: number, include_field_code?: boolean): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>;
/**
* Returns all supported filter helpers. It helps to know what conditions and helpers are available when you want to add or update filters. For more information, see the tutorial for adding a filter.
* @summary Get all filter helpers
* @throws {RequiredError}
*/
getFilterHelpers(): Promise<(axios?: AxiosInstance, basePath?: string) => Promise