import type * as Square from "../index"; /** * Published when a customer [custom attribute definition](entity:CustomAttributeDefinition) * that is visible to all applications is created. A notification is sent when any application creates a custom * attribute definition whose `visibility` is `VISIBILITY_READ_ONLY` or `VISIBILITY_READ_WRITE_VALUES`. * * This event is replaced by * [customer.custom_attribute_definition.visible.created](webhook:customer.custom_attribute_definition.visible.created), * which applies to custom attribute definitions that are visible to the subscribing application. */ export interface CustomerCustomAttributeDefinitionCreatedPublicEvent { /** The ID of the seller associated with the event that triggered the event notification. */ merchantId?: string | null; /** The type of this event. The value is `"customer.custom_attribute_definition.public.created"`. */ type?: string | null; /** A unique ID for the event notification. */ eventId?: string | null; /** The timestamp that indicates when the event notification was created, in RFC 3339 format. */ createdAt?: string; /** The data associated with the event that triggered the event notification. */ data?: Square.CustomAttributeDefinitionEventData; }