import type * as Whop from "../index.js"; export interface ResolutionEvent { /** The action recorded in this event. */ action: ResolutionEvent.Action; attachments: Whop.ResolutionAttachment[]; /** When the event occurred, as an ISO 8601 timestamp. */ created_at: string; /** The message body or additional context provided with the event. */ details: string | null; /** Unique identifier for the event, prefixed `revt_`. */ id: string; /** The party that performed the action. */ reporter_type: ResolutionEvent.ReporterType; /** Whether the customer can see this event in the timeline. */ viewable_by_customer: boolean; /** Whether the merchant can see this event in the timeline. */ viewable_by_merchant: boolean; } export declare namespace ResolutionEvent { /** The action recorded in this event. */ const Action: { readonly Created: "created"; readonly Responded: "responded"; readonly Accepted: "accepted"; readonly Denied: "denied"; readonly Appealed: "appealed"; readonly Withdrew: "withdrew"; readonly RequestedMoreInfo: "requested_more_info"; readonly Escalated: "escalated"; readonly DisputeOpened: "dispute_opened"; readonly DisputeCustomerWon: "dispute_customer_won"; readonly DisputeMerchantWon: "dispute_merchant_won"; }; type Action = (typeof Action)[keyof typeof Action]; /** The party that performed the action. */ const ReporterType: { readonly Merchant: "merchant"; readonly Customer: "customer"; readonly Platform: "platform"; readonly System: "system"; }; type ReporterType = (typeof ReporterType)[keyof typeof ReporterType]; }