import type * as Whop from "../index.js"; export interface AdConversionValueRule { /** Business that owns this shared, editable rule. */ account_id: string; /** Set a fixed amount or change the original value by a signed percentage. */ adjustment_type: AdConversionValueRule.AdjustmentType; /** When the rule was created, as an ISO 8601 timestamp. */ created_at: string; events: Whop.AdConversionValueRuleEvent[]; /** Amount sent for a fixed rule. Null for a percentage rule. */ fixed_value: Whop.Money | null; /** Conversion value rule ID, prefixed adcvr_. */ id: string; /** Free-form string keys and values for the caller. */ metadata: Record; /** Signed percent change: 20 increases by 20%, negative 20 decreases by 20%. The sent value cannot go below zero. Null for a fixed rule. */ percentage_change: number | null; /** Whether this rule is active or paused. */ status: AdConversionValueRule.Status; targets: Whop.AdConversionValueRuleTarget[]; /** When the rule was edited, as an ISO 8601 timestamp. */ updated_at: string; } export declare namespace AdConversionValueRule { /** Set a fixed amount or change the original value by a signed percentage. */ const AdjustmentType: { readonly Fixed: "fixed"; readonly Percentage: "percentage"; }; type AdjustmentType = (typeof AdjustmentType)[keyof typeof AdjustmentType]; /** Whether this rule is active or paused. */ const Status: { readonly Active: "active"; readonly Paused: "paused"; }; type Status = (typeof Status)[keyof typeof Status]; }