import type * as Square from "../index"; /** * Represents filtering and sorting criteria for a [SearchCustomers](api-endpoint:Customers-SearchCustomers) request. */ export interface CustomerQuery { /** * The filtering criteria for the search query. A query can contain multiple filters in any combination. * Multiple filters are combined as `AND` statements. * * __Note:__ Combining multiple filters as `OR` statements is not supported. Instead, send multiple single-filter * searches and join the result sets. */ filter?: Square.CustomerFilter; /** * Sorting criteria for query results. The default behavior is to sort * customers alphabetically by `given_name` and `family_name`. */ sort?: Square.CustomerSort; }