square.onCustomerCustomAttributeDefinitionVisibleCreated subscribes to customer.custom_attribute_definition.visible.created for the selected seller. It requires CUSTOMERS_READ.
Example
automations/square-on-customer-custom-attribute-definition-visible-created.automation.ts
Event
A custom attribute definition that’s visible to your application was created. This event replaces the deprecated customer.custom_attribute_definition.public.created event. The signal resolves to the officialSquare.CustomerCustomAttributeDefinitionVisibleCreatedEvent payload with type narrowed to customer.custom_attribute_definition.visible.created.