square.onLaborScheduledShiftDeleted subscribes to labor.scheduled_shift.deleted for the selected seller. It requires TIMECARDS_READ.
Example
automations/square-on-labor-scheduled-shift-deleted.automation.ts
Event
A scheduled shift was permanently deleted (hard delete). The event data contains the id of the deleted shift and the deleted field for the event is set to true . This event occurs in two scenarios: An update operation deletes a shift that was never published. It also triggers labor.scheduled_shift.updated . A publish operation deletes a previously published shift. Also triggers labor.scheduled_shift.updated and labor.scheduled_shift.published . For more information, see Deleting scheduled shifts . The signal resolves to the officialSquare.LaborScheduledShiftDeletedEvent payload with type narrowed to labor.scheduled_shift.deleted.