// This file was auto-generated by Fern from our API Definition.

import type * as Intercom from "../../../index.js";

/**
 * Search using Intercoms Search APIs with more than one filter.
 */
export interface MultipleFilterSearchRequest {
    /** An operator to allow boolean inspection between multiple fields. */
    operator?: MultipleFilterSearchRequest.Operator;
    value?: MultipleFilterSearchRequest.Value;
}

export namespace MultipleFilterSearchRequest {
    /** An operator to allow boolean inspection between multiple fields. */
    export const Operator = {
        And: "AND",
        Or: "OR",
    } as const;
    export type Operator = (typeof Operator)[keyof typeof Operator];
    export type Value =
        /**
         * Add mutiple filters. */
        | Intercom.unstable.MultipleFilterSearchRequest[]
        /**
         * Add a single filter field. */
        | Intercom.unstable.SingleFilterSearchRequest[];
}
