| @@ -17,8 +17,9 @@ | ||
| 17 | 17 | const EMAIL_KEYS: (keyof EmailSettingsValues)[] = [ |
| 18 | 18 | "admin_email", |
| 19 | 19 | "from_email", |
| 20 | 20 | "from_name", |
| 21 | + "email_always_bcc", | |
| 21 | 22 | "email_template_booking", |
| 22 | 23 | "email_template_confirmation", |
| 23 | 24 | "email_template_cancellation", |
| 24 | 25 | "email_template_reminder", |
| @@ -27,8 +28,10 @@ | ||
| 27 | 28 | "email_template_admin_cancellation", |
| 28 | 29 | "email_template_trip_consent", |
| 29 | 30 | "email_template_customer_verification", |
| 30 | 31 | "email_template_guest_verification", |
| 32 | + "email_template_account_email_change", | |
| 33 | + "email_template_account_email_changed", | |
| 31 | 34 | "smtp_enabled", |
| 32 | 35 | "smtp_host", |
| 33 | 36 | "smtp_port", |
| 34 | 37 | "smtp_username", |
| @@ -53,8 +56,12 @@ | ||
| 53 | 56 | "email_tpl_customer_verification_subject", |
| 54 | 57 | "email_tpl_customer_verification_body", |
| 55 | 58 | "email_tpl_guest_verification_subject", |
| 56 | 59 | "email_tpl_guest_verification_body", |
| 60 | + "email_tpl_account_email_change_subject", | |
| 61 | + "email_tpl_account_email_change_body", | |
| 62 | + "email_tpl_account_email_changed_subject", | |
| 63 | + "email_tpl_account_email_changed_body", | |
| 57 | 64 | "email_template_booking_completed", |
| 58 | 65 | "email_template_booking_expired_customer", |
| 59 | 66 | "email_template_admin_booking_expired", |
| 60 | 67 | "email_template_scheduled_payment_reminder", |
| @@ -108,8 +115,10 @@ | ||
| 108 | 115 | "email_template_admin_cancellation", |
| 109 | 116 | "email_template_trip_consent", |
| 110 | 117 | "email_template_customer_verification", |
| 111 | 118 | "email_template_guest_verification", |
| 119 | + "email_template_account_email_change", | |
| 120 | + "email_template_account_email_changed", | |
| 112 | 121 | "email_template_booking_completed", |
| 113 | 122 | "email_template_booking_expired_customer", |
| 114 | 123 | "email_template_admin_booking_expired", |
| 115 | 124 | "email_template_scheduled_payment_reminder", |
| @@ -129,8 +138,9 @@ | ||
| 129 | 138 | export const EMAIL_SETTINGS_DEFAULTS: EmailSettingsValues = { |
| 130 | 139 | admin_email: "[email protected]", |
| 131 | 140 | from_email: "[email protected]", |
| 132 | 141 | from_name: "Yatra Travel", |
| 142 | + email_always_bcc: "", | |
| 133 | 143 | email_template_booking: true, |
| 134 | 144 | email_template_confirmation: true, |
| 135 | 145 | email_template_cancellation: true, |
| 136 | 146 | email_template_reminder: true, |
| @@ -139,8 +149,10 @@ | ||
| 139 | 149 | email_template_admin_cancellation: true, |
| 140 | 150 | email_template_trip_consent: true, |
| 141 | 151 | email_template_customer_verification: true, |
| 142 | 152 | email_template_guest_verification: true, |
| 153 | + email_template_account_email_change: true, | |
| 154 | + email_template_account_email_changed: true, | |
| 143 | 155 | email_template_booking_completed: true, |
| 144 | 156 | email_template_booking_expired_customer: true, |
| 145 | 157 | email_template_admin_booking_expired: true, |
| 146 | 158 | email_template_scheduled_payment_reminder: true, |
| @@ -179,8 +191,12 @@ | ||
| 179 | 191 | email_tpl_customer_verification_subject: "", |
| 180 | 192 | email_tpl_customer_verification_body: "", |
| 181 | 193 | email_tpl_guest_verification_subject: "", |
| 182 | 194 | email_tpl_guest_verification_body: "", |
| 195 | + email_tpl_account_email_change_subject: "", | |
| 196 | + email_tpl_account_email_change_body: "", | |
| 197 | + email_tpl_account_email_changed_subject: "", | |
| 198 | + email_tpl_account_email_changed_body: "", | |
| 183 | 199 | email_tpl_booking_completed_subject: "", |
| 184 | 200 | email_tpl_booking_completed_body: "", |
| 185 | 201 | email_tpl_booking_expired_customer_subject: "", |
| 186 | 202 | email_tpl_booking_expired_customer_body: "", |