diff --git a/api/BusinessLogic/Emails/EmailTemplateRetriever.php b/api/BusinessLogic/Emails/EmailTemplateRetriever.php new file mode 100644 index 00000000..cab2e26b --- /dev/null +++ b/api/BusinessLogic/Emails/EmailTemplateRetriever.php @@ -0,0 +1,48 @@ + 'forgot_ticket_id', + 'new_reply_by_staff' => 'new_reply_by_staff', + 'new_ticket' => 'ticket_received', + 'verify_email' => 'verify_email', + 'ticket_closed' => 'ticket_closed', + 'category_moved' => 'category_moved', + 'new_reply_by_customer' => 'new_reply_by_customer', + 'new_ticket_staff' => 'new_ticket_staff', + 'ticket_assigned_to_you' => 'ticket_assigned_to_you', + 'new_pm' => 'new_pm', + 'new_note' => 'new_note', + 'reset_password' => 'reset_password', + 'calendar_reminder' => 'calendar_reminder', + 'overdue_ticket' => 'overdue_ticket', + ); + } +} \ No newline at end of file diff --git a/api/BusinessLogic/Exceptions/EmailTemplateNotFoundException.php b/api/BusinessLogic/Exceptions/EmailTemplateNotFoundException.php new file mode 100644 index 00000000..9f1e63a3 --- /dev/null +++ b/api/BusinessLogic/Exceptions/EmailTemplateNotFoundException.php @@ -0,0 +1,17 @@ +