import type * as Square from "../index"; /** * Represents a [ListLoyaltyPromotions](api-endpoint:Loyalty-ListLoyaltyPromotions) response. * One of `loyalty_promotions`, an empty object, or `errors` is present in the response. * If additional results are available, the `cursor` field is also present along with `loyalty_promotions`. */ export interface ListLoyaltyPromotionsResponse { /** Any errors that occurred during the request. */ errors?: Square.Error_[]; /** The retrieved loyalty promotions. */ loyaltyPromotions?: Square.LoyaltyPromotion[]; /** * The cursor to use in your next call to this endpoint to retrieve the next page of results * for your original request. This field is present only if the request succeeded and additional * results are available. For more information, see [Pagination](https://developer.squareup.com/docs/build-basics/common-api-patterns/pagination). */ cursor?: string; }