What files are responsible for creating and updating tickets in osticket? I plan to integrate osticket with the n8n server and WhatsApp gateway. So, when a ticket is created or updated, the assigned staff will automatically receive a WhatsApp notification.