import type * as Square from "../index"; /** * Represents a [CalculateLoyaltyPoints](api-endpoint:Loyalty-CalculateLoyaltyPoints) response. */ export interface CalculateLoyaltyPointsResponse { /** Any errors that occurred during the request. */ errors?: Square.Error_[]; /** The number of points that the buyer can earn from the base loyalty program. */ points?: number; /** * The number of points that the buyer can earn from a loyalty promotion. To be eligible * to earn promotion points, the purchase must first qualify for program points. When `order_id` * is not provided in the request, this value is always 0. */ promotionPoints?: number; }