import type * as Square from "../../../../index"; /** * @example * { * query: { * filter: { * orderFilter: { * orderId: "PyATxhYLfsMqpVkcKJITPydgEYfZY" * } * } * }, * limit: 30 * } */ export interface SearchLoyaltyEventsRequest { /** * A set of one or more predefined query filters to apply when * searching for loyalty events. The endpoint performs a logical AND to * evaluate multiple filters and performs a logical OR on arrays * that specifies multiple field values. */ query?: Square.LoyaltyEventQuery; /** * The maximum number of results to include in the response. * The last page might contain fewer events. * The default is 30 events. */ limit?: number; /** * A pagination cursor returned by a previous call to this endpoint. * Provide this to retrieve the next set of results for your original query. * For more information, see [Pagination](https://developer.squareup.com/docs/build-basics/common-api-patterns/pagination). */ cursor?: string; }