import type * as Whop from "../../../../index.mjs"; /** * @example * { * account_id: "biz_xxxxxxxxxxxxxx", * product_id: "prod_xxxxxxxxxxxxx" * } */ export interface ListReviewsRequest { /** The unique identifier of the account to list reviews for. */ account_id?: string; /** The unique identifier of the product to list reviews for. */ product_id?: string; /** The minimum star rating to include in results, from 1 to 5 inclusive. */ min_stars?: number; /** The maximum star rating to include in results, from 1 to 5 inclusive. */ max_stars?: number; /** Only return reviews created before this timestamp. */ created_before?: string; /** Only return reviews created after this timestamp. */ created_after?: string; /** The field to sort reviews by. */ order?: Whop.ListReviewsRequestOrder; /** The sort direction. */ direction?: Whop.ListReviewsRequestDirection; /** 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; }