import type * as Whop from "../../../../index.js"; /** * @example * {} */ export interface ListBountiesRequest { /** Scope the list to this account (`biz_` tag). Requires read access to the account; account API keys may pass their own account or a connected account. */ account_id?: string; /** List the bounties this user participated in (`user_` tag). Must be the authenticated user. */ user_id?: string; /** Filter by lifecycle state. */ status?: Whop.ListBountiesRequestStatus; /** Filter by the poster's declared goal. Bounties created before the goal taxonomy carry no goal and never match this filter. */ business_goal_type?: Whop.ListBountiesRequestBusinessGoalType; /** Only bounties workable from this country, as an ISO 3166-1 alpha-2 code. Bounties with no country targeting are workable worldwide and always match. */ country?: string; /** Only bounties posted to this forum experience, prefixed `exp_`. An unknown experience, or one outside the caller's scope, matches nothing. */ experience_id?: string; /** Substring match on the bounty title or ID. */ query?: string; /** Only bounties created after this ISO 8601 timestamp. */ created_after?: string; /** Only bounties created before this ISO 8601 timestamp. */ created_before?: string; /** Sort field. */ order?: Whop.ListBountiesRequestOrder; /** Sort direction. */ direction?: Whop.ListBountiesRequestDirection; /** 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; }