import type * as Whop from "../index.mjs"; export interface AccountPartnerReward { /** Reward definition ID, prefixed `prwd_`. Progress and status apply to the containing account. */ id: string; /** Qualifying USD volume required to earn this reward. */ qualification_amount: Whop.Money; /** Qualifying USD volume for the reward’s activity accumulated by this account since attribution, calculated using the fulfillment rules. */ qualification_progress: Whop.Money; /** Activity that qualifies this account for the reward. */ qualification_type: AccountPartnerReward.QualificationType; /** USD amount credited for this reward. Uses the saved grant amount once fulfillment has started. */ reward_amount: Whop.Money; /** This account's reward state. Credited requires a posted ledger entry; processing includes a met requirement awaiting fulfillment. Reversing and reversed reflect a subsequent reward reversal. */ status: AccountPartnerReward.Status; } export declare namespace AccountPartnerReward { /** Activity that qualifies this account for the reward. */ const QualificationType: { readonly Sales: "sales"; readonly AdSpend: "ad_spend"; }; type QualificationType = (typeof QualificationType)[keyof typeof QualificationType]; /** This account's reward state. Credited requires a posted ledger entry; processing includes a met requirement awaiting fulfillment. Reversing and reversed reflect a subsequent reward reversal. */ const Status: { readonly InProgress: "in_progress"; readonly Processing: "processing"; readonly Credited: "credited"; readonly Reversing: "reversing"; readonly Reversed: "reversed"; readonly Unavailable: "unavailable"; }; type Status = (typeof Status)[keyof typeof Status]; }