square.onLoyaltyProgramCreated subscribes to loyalty.program.created for the selected seller. It requires LOYALTY_READ.
Example
automations/square-on-loyalty-program-created.automation.ts
Event
A loyalty program was created. Loyalty programs can only be created from the Square Dashboard. The signal resolves to the officialSquare.LoyaltyProgramCreatedEvent payload with type narrowed to loyalty.program.created.