(refactor) db-types: removed unused e-mail statuses
This commit is contained in:
@@ -39,16 +39,10 @@ export interface UserSettings {
|
||||
enum EmailStatus {
|
||||
/** Email is not yet verified - recipient has not yet confirmed their email address */
|
||||
Unverified = "unverified",
|
||||
/** Email is not yet verified - a verification request has been sent */
|
||||
VerificationPending = "verification-pending",
|
||||
/** Email is verified and is in good standing: emails are being successfully delivered */
|
||||
Verified = "verified",
|
||||
/** Emails sent to this address have hard bounced - no further attempts of delivery will be made */
|
||||
HardBounced = "hard-bounced",
|
||||
/** Emails sent to this address have soft bounced less than the maximum allowed count - further attempts of delivery may be made */
|
||||
SoftBounced = "soft-bounced",
|
||||
/** Emails sent to this address have soft bounced more than the maximum allowed count - no further attempts of delivery will be made */
|
||||
SoftBounceMaxCountReached = "soft-bounce-max-count-reached",
|
||||
/** Recepient has complained about receiving emails - no further emails will be sent */
|
||||
Complaint = "complaint",
|
||||
/** Recepient has unsubscribed from receiving emails via link - no further emails will be sent */
|
||||
Unsubscribed = "unsubscribed"
|
||||
}
|
||||
@@ -87,8 +81,6 @@ export interface BillingLocation {
|
||||
tenantEmail?: string | null;
|
||||
/** (optional) tenant email status */
|
||||
tenantEmailStatus?: EmailStatus | null;
|
||||
/** (optional) tenant email soft bounce count (gets reset on successful delivery) */
|
||||
tenantEmailSoftBounceCount?: number | null;
|
||||
/** (optional) bill forwarding strategy */
|
||||
billFwdStrategy?: "when-payed" | "when-attached" | null;
|
||||
/** (optional) whether to automatically send rent notification */
|
||||
|
||||
Reference in New Issue
Block a user