import type * as Square from "../index"; /** * Published when a [customer](entity:Customer) is updated. For more information, see [Use Customer Webhooks](https://developer.squareup.com/docs/customers-api/use-the-api/customer-webhooks). * * Updates to the 'segment_ids' customer field does not invoke a `customer.updated` event. In addition, the `customer` object in the event notification does not include this field. */ export interface CustomerUpdatedEvent { /** The ID of the seller associated with the event. */ merchantId?: string | null; /** The type of event. For this object, the value is `customer.updated`. */ type?: string | null; /** The unique ID of 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.CustomerUpdatedEventData; }