| @@ -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", |
| @@ -26,8 +27,11 @@ | ||
| 26 | 27 | "email_template_admin_payment", |
| 27 | 28 | "email_template_admin_cancellation", |
| 28 | 29 | "email_template_trip_consent", |
| 29 | 30 | "email_template_customer_verification", |
| 31 | + "email_template_guest_verification", | |
| 32 | + "email_template_account_email_change", | |
| 33 | + "email_template_account_email_changed", | |
| 30 | 34 | "smtp_enabled", |
| 31 | 35 | "smtp_host", |
| 32 | 36 | "smtp_port", |
| 33 | 37 | "smtp_username", |
| @@ -50,8 +54,14 @@ | ||
| 50 | 54 | "email_tpl_trip_consent_subject", |
| 51 | 55 | "email_tpl_trip_consent_body", |
| 52 | 56 | "email_tpl_customer_verification_subject", |
| 53 | 57 | "email_tpl_customer_verification_body", |
| 58 | + "email_tpl_guest_verification_subject", | |
| 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", | |
| 54 | 64 | "email_template_booking_completed", |
| 55 | 65 | "email_template_booking_expired_customer", |
| 56 | 66 | "email_template_admin_booking_expired", |
| 57 | 67 | "email_template_scheduled_payment_reminder", |
| @@ -104,8 +114,11 @@ | ||
| 104 | 114 | "email_template_admin_payment", |
| 105 | 115 | "email_template_admin_cancellation", |
| 106 | 116 | "email_template_trip_consent", |
| 107 | 117 | "email_template_customer_verification", |
| 118 | + "email_template_guest_verification", | |
| 119 | + "email_template_account_email_change", | |
| 120 | + "email_template_account_email_changed", | |
| 108 | 121 | "email_template_booking_completed", |
| 109 | 122 | "email_template_booking_expired_customer", |
| 110 | 123 | "email_template_admin_booking_expired", |
| 111 | 124 | "email_template_scheduled_payment_reminder", |
| @@ -122,11 +135,12 @@ | ||
| 122 | 135 | "smtp_enabled", |
| 123 | 136 | ]); |
| 124 | 137 | |
| 125 | 138 | export const EMAIL_SETTINGS_DEFAULTS: EmailSettingsValues = { |
| 126 | - admin_email: "[email protected]", | |
| 127 | - from_email: "[email protected]", | |
| 139 | + admin_email: "[email protected]", | |
| 140 | + from_email: "[email protected]", | |
| 128 | 141 | from_name: "Yatra Travel", |
| 142 | + email_always_bcc: "", | |
| 129 | 143 | email_template_booking: true, |
| 130 | 144 | email_template_confirmation: true, |
| 131 | 145 | email_template_cancellation: true, |
| 132 | 146 | email_template_reminder: true, |
| @@ -134,8 +148,11 @@ | ||
| 134 | 148 | email_template_admin_payment: true, |
| 135 | 149 | email_template_admin_cancellation: true, |
| 136 | 150 | email_template_trip_consent: true, |
| 137 | 151 | email_template_customer_verification: true, |
| 152 | + email_template_guest_verification: true, | |
| 153 | + email_template_account_email_change: true, | |
| 154 | + email_template_account_email_changed: true, | |
| 138 | 155 | email_template_booking_completed: true, |
| 139 | 156 | email_template_booking_expired_customer: true, |
| 140 | 157 | email_template_admin_booking_expired: true, |
| 141 | 158 | email_template_scheduled_payment_reminder: true, |
| @@ -172,8 +189,14 @@ | ||
| 172 | 189 | email_tpl_trip_consent_subject: "", |
| 173 | 190 | email_tpl_trip_consent_body: "", |
| 174 | 191 | email_tpl_customer_verification_subject: "", |
| 175 | 192 | email_tpl_customer_verification_body: "", |
| 193 | + email_tpl_guest_verification_subject: "", | |
| 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: "", | |
| 176 | 199 | email_tpl_booking_completed_subject: "", |
| 177 | 200 | email_tpl_booking_completed_body: "", |
| 178 | 201 | email_tpl_booking_expired_customer_subject: "", |
| 179 | 202 | email_tpl_booking_expired_customer_body: "", |