import type * as Whop from "../index.mjs"; export interface PaymentRuleCondition { /** The payment attribute this condition reads. */ field: PaymentRuleCondition.Field; /** How the payment attribute is compared to the value. */ operator: PaymentRuleCondition.Operator; /** The value to compare against. */ value: Whop.PaymentRuleConditionValue; } export declare namespace PaymentRuleCondition { /** The payment attribute this condition reads. */ const Field: { readonly RiskScore: "risk_score"; readonly AmountInUsd: "amount_in_usd"; readonly CardCountry: "card_country"; readonly CardBrand: "card_brand"; readonly CardFunding: "card_funding"; readonly CardBin: "card_bin"; readonly BillingCountry: "billing_country"; readonly BillingPostalCode: "billing_postal_code"; readonly BillingCity: "billing_city"; readonly CustomerEmail: "customer_email"; readonly EmailDomain: "email_domain"; readonly IpAddress: "ip_address"; readonly IpCountry: "ip_country"; }; type Field = (typeof Field)[keyof typeof Field]; /** How the payment attribute is compared to the value. */ const Operator: { readonly Eq: "eq"; readonly Neq: "neq"; readonly Gt: "gt"; readonly Gte: "gte"; readonly Lt: "lt"; readonly Lte: "lte"; readonly In: "in"; readonly NotIn: "not_in"; readonly StartsWith: "starts_with"; readonly Contains: "contains"; readonly EndsWith: "ends_with"; readonly InCidr: "in_cidr"; }; type Operator = (typeof Operator)[keyof typeof Operator]; }