import type * as Whop from "../../../../index.js"; /** * @example * {} */ export interface ListTradesRequest { /** Only return trades for this account or user, prefixed `biz_` or `user_`. */ account_id?: string; /** Only return trades with this status. */ status?: Whop.ListTradesRequestStatus; /** Only return trades of this type. */ type?: Whop.ListTradesRequestType; /** Field to sort by. */ order?: Whop.ListTradesRequestOrder; /** Sort direction. */ direction?: Whop.ListTradesRequestDirection; /** Number of results to return from the start of the range. */ first?: number; /** Return results after this cursor. Use `page_info.end_cursor` from the previous response to fetch the next page. */ after?: string; /** Number of results to return from the end of the range. */ last?: number; /** Return results before this cursor. Use `page_info.start_cursor` from the previous response to fetch the previous page. */ before?: string; }