/** * 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 { FilterConditions } from './filter-conditions'; /** * * @export * @interface Filter */ export interface Filter { /** * The ID of the filter * @type {number} */ 'id'?: number; /** * The name of the filter * @type {string} */ 'name'?: string; /** * The system code of the filter * @type {string} */ 'filter_code'?: string | null; /** * Whether the filter can be edited by the requesting user * @type {boolean} */ 'is_editable'?: boolean; /** * The activity flag of the filter * @type {boolean} */ 'active_flag'?: boolean; /** * * @type {string} */ 'type'?: FilterTypeConst; /** * Whether the filter is temporary * @type {boolean} */ 'temporary_flag'?: boolean | null; /** * The user ID of the filter owner * @type {number} */ 'user_id'?: number; /** * The date and time when the filter was added * @type {string} */ 'add_time'?: string; /** * The date and time when the filter was last updated * @type {string} */ 'update_time'?: string | null; /** * * @type {string} */ 'visible_to'?: FilterVisibleToConst; /** * The date and time when the filter was last used * @type {string} */ 'last_used_time'?: string | null; /** * The custom view ID linked to the filter * @type {number} */ 'custom_view_id'?: number | null; /** * * @type {FilterConditions} */ 'conditions'?: FilterConditions; } export declare const FilterTypeConst: { readonly deals: "deals"; readonly leads: "leads"; readonly org: "org"; readonly people: "people"; readonly products: "products"; readonly activity: "activity"; readonly projects: "projects"; }; export type FilterTypeConst = typeof FilterTypeConst[keyof typeof FilterTypeConst]; export declare const FilterVisibleToConst: { readonly _1: "1"; readonly _3: "3"; readonly _5: "5"; readonly _7: "7"; }; export type FilterVisibleToConst = typeof FilterVisibleToConst[keyof typeof FilterVisibleToConst];