import type * as Square from "../index"; /** * Published when a [loyalty promotion](entity:LoyaltyPromotion) is updated. This event is * invoked only when a loyalty promotion is canceled. */ export interface LoyaltyPromotionUpdatedEvent { /** The ID of the Square seller associated with the event. */ merchantId?: string | null; /** The type of event. For this event, the value is `loyalty.promotion.updated`. */ type?: string | null; /** * The unique ID for the event, which is used for * [idempotency support](https://developer.squareup.com/docs/webhooks/step4manage#webhooks-best-practices). */ eventId?: string | null; /** The timestamp of when the event was created, in RFC 3339 format. */ createdAt?: string; /** The data associated with the event. */ data?: Square.LoyaltyPromotionUpdatedEventData; }