import type * as Whop from "../../../../index.js"; /** * @example * {} */ export interface SummaryDisputesRequest { /** Which breakdowns to return, keyed by these names under `groups`. Repeat the parameter to ask for several; omit it for all of them. */ groups?: Whop.SummaryDisputesRequestGroupsItem | Whop.SummaryDisputesRequestGroupsItem[]; /** Only disputes filed against this account (`biz_` tag). Omit it to cover every account you can read. */ account_id?: string; /** Only disputes in these statuses. Repeat the parameter to pass several. A `needs_response` dispute whose evidence deadline has passed reports and filters as `under_review` instead. */ status?: Whop.SummaryDisputesRequestStatusItem | Whop.SummaryDisputesRequestStatusItem[]; /** 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; }