import type * as Whop from "../index.js"; export interface PartnerAdvance { /** Qualifying card and BNPL payment volume in the preceding 30 days, in USD. Available on business detail responses before acceptance. */ activity_30_day: Whop.Money | null; /** Actual payment volume (cards and BNPL) in the preceding 60 days, in USD. Null when unavailable. */ activity_60_day: Whop.Money | null; /** The offered or accepted upfront CPA payment in USD. */ amount: Whop.Money | null; /** Annual projected processing in USD. */ annual_processing: Whop.Money; /** When low activity triggered reversal and normal partner terms resumed. No prior commissions are paid retroactively. */ clawed_back_at: string | null; /** End of the nine-month CPA term. Normal commissions resume prospectively without backfill. */ deadline_at: string | null; /** Estimated advance using the current CPA formula and observed payout rates, or current reference card pricing when qualifying payment history is unavailable. Available for unqualified projections on business detail responses; not a final offer. */ estimated_amount: Whop.Money | null; /** When the CPA payment was funded. */ funded_at: string | null; /** Signed offer valid for 15 minutes. Submit unchanged when accepting. Null unless the caller may accept this offer. */ offer_token: string | null; /** Processing required in a rolling 30-day period to qualify, in USD. */ processing_target: Whop.Money; /** Projected payment volume (cards and BNPL) over 60 days, in USD. */ projected_60_day_activity: Whop.Money | null; /** Projected commissions over the remaining CPA term. */ projected_commissions: Whop.Money | null; /** Processing commissions projected for the remaining CPA term, in USD. */ projected_processing_commissions: Whop.Money | null; /** First qualification timestamp. */ qualified_at: string | null; /** 20% of projected 60-day payment volume (cards and BNPL). Performance checks begin 60 days after funding. */ recovery_threshold: Whop.Money | null; /** The CPA payment lifecycle state. */ status: PartnerAdvance.Status; /** Terms version required for acceptance. */ terms_version: string | null; } export declare namespace PartnerAdvance { /** The CPA payment lifecycle state. */ const Status: { readonly Projected: "projected"; readonly Available: "available"; readonly Accepted: "accepted"; readonly Funded: "funded"; readonly ClawedBack: "clawed_back"; readonly Completed: "completed"; readonly Expired: "expired"; readonly Withdrawn: "withdrawn"; }; type Status = (typeof Status)[keyof typeof Status]; }