/** * @type TermFilter: Allows you to restrict a search result to hits that match exactly one of the values configured for the filter. A term filter is useful for general restrictions that can be shared between searches. Use term filters whenever the criteria you filter on is a shared property of multiple searches (for example, like filtering by an order status). Use term filters for fields that have a discrete and small set of values only. * * @property field: The filter field. * - **Max Length:** 260 * * @property operator: The operator used to compare the field\'s values with the given values. * * @property values: The filter values. * */ export type TermFilter = { field: string; operator: TermFilterOperatorEnum; values?: Array; } & { [key: string]: any; }; export type TermFilterOperatorEnum = 'is' | 'one_of' | 'is_null' | 'is_not_null' | 'less' | 'greater' | 'not_in' | 'neq';