import type * as Square from "../index"; /** * Represents the number of times a buyer can earn points during a [loyalty promotion](entity:LoyaltyPromotion). * If this field is not set, buyers can trigger the promotion an unlimited number of times to earn points during * the time that the promotion is available. * * A purchase that is disqualified from earning points because of this limit might qualify for another active promotion. */ export interface LoyaltyPromotionTriggerLimit { /** The maximum number of times a buyer can trigger the promotion during the specified `interval`. */ times: number; /** * The time period the limit applies to. * See [LoyaltyPromotionTriggerLimitInterval](#type-loyaltypromotiontriggerlimitinterval) for possible values */ interval?: Square.LoyaltyPromotionTriggerLimitInterval; }