import type * as Whop from "../../../../index.mjs"; /** * @example * {} */ export interface ListDisputesRequest { /** Only disputes filed against this account (`biz_` tag). Omit it to cover every account you can read. */ account_id?: string; /** 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; /** The field to sort disputes by. */ order?: Whop.ListDisputesRequestOrder; /** Sort direction. */ direction?: Whop.ListDisputesRequestDirection; /** Only disputes in these statuses. Repeat the parameter to pass several — one paginated list covers all of them. Inquiries match only the `warning_` statuses. A `needs_response` dispute whose evidence deadline has passed reports and filters as `under_review` instead. */ status?: Whop.ListDisputesRequestStatusItem | Whop.ListDisputesRequestStatusItem[]; /** Only disputes in this three-letter ISO currency. */ currency?: string; /** Only disputes opened before this ISO 8601 timestamp. */ created_before?: string; /** Only disputes opened after this ISO 8601 timestamp. */ created_after?: string; /** Search disputes by dispute ID, payment ID, user ID, membership ID, user email, name, or username. Email filtering requires the member:email:read permission. */ query?: string; /** Also cover the account's connected accounts. Requires `account_id`, and is a 400 without it. Without `query`, covers the disputes of the account and every connected account, in any order. The listing is cut off after 10 seconds; add a `query` to narrow it. With `query`, matches on dispute, payment, user or membership ID, buyer email, or a card's first 6 or 8 digits and last 4 separated by a space or dash (`424242 4242`); free-text queries such as a name search only the named account. Connected accounts' disputes are returned only for connected accounts you can read disputes on. */ include_connected_accounts?: boolean; }