import type * as Whop from "../index.js"; export interface Review { /** The account that this review was written for. */ account: Whop.ReviewAccount; attachments: Whop.ReviewAttachment[]; /** When the review was created, as an ISO 8601 timestamp. */ created_at: string; /** The body text of the review containing the user's detailed feedback. Returns an empty string if no description was provided. */ description: string | null; /** The unique identifier for the review. */ id: string; /** When the reviewer first joined the product, as an ISO 8601 timestamp. Null if unknown. */ joined_at: string | null; /** Whether the reviewer paid for the product. Null if the payment status is unknown. */ paid_for_product: boolean | null; /** The product that this review was written for. */ product: Whop.ReviewProduct; /** When the review was published, as an ISO 8601 timestamp. Null if unknown. */ published_at: string | null; /** The star rating given by the reviewer, from 1 to 5. */ stars: number; /** The moderation status of the review. Only published reviews are returned. */ status: Whop.ReviewStatus; /** A short summary title for the review. Null if the reviewer did not provide one. */ title: string | null; /** When the review was last updated, as an ISO 8601 timestamp. */ updated_at: string; /** The user account of the person who wrote this review. */ user: Whop.ReviewUser; }