import Mailbox from "./Mailbox.js"; import EmailAddress from "./EmailAddress.js"; import DateTime from "@entity-access/entity-access/dist/types/DateTime.js"; import { Email } from "./Email.js"; import type MailboxContactTag from "./MailboxContactTag.js"; import type MailboxContactEmail from "./MailboxContactEmail.js"; import type MailboxContactEvent from "./MailboxContactEvent.js"; import type WebHook from "./WebHook.js"; import { subscriptionType } from "./SubscriptionType.js"; import type DeliveryStatus from "./DeliveryActivity.js"; import Tag from "./Tag.js"; import Contact from "./Contact.js"; export declare const subscriberStatus: readonly ["invited", "added", "active", "unsubscribed", "blocked"]; export type subscriberStatusType = typeof subscriberStatus[number]; /** * The reason this table exist is to simply avoid Materialized views. * As the SocialMail plans to be independent of underlying Database system. * We do not want to complicate setting up views and refreshing views. * Eternity Workflows will do the job of deferring the updates. */ export default class MailboxContact { mailboxID: number; emailAddressID: number; folderTagID: number; lastEmailID: number; dateCreated: DateTime; dateUpdated: DateTime; unread: number; openThreads: number; totalThreads: number; /** * We will set autoClose to true for no-reply, they will not show up on open threads. * This can be set by users. */ autoClose: boolean; total: number; doNotIndex: boolean; doNotIndexAttachments: boolean; isOwner: boolean; isModerator: boolean; canContribute: boolean; priority: number; blocked: boolean; newRequest: boolean; spam: boolean; mute: boolean; archived: boolean; alwaysArchived: boolean; closeAllConversations: boolean; deliveryFailureRate: number; contactID: number; /** * Used at client end ... */ notify: boolean; status: subscriberStatusType; subscriptionType: subscriptionType; mailbox: Mailbox; folderTag: Tag; emailAddress: EmailAddress; lastEmail: Email; emailAddressText: string; name: string; folderTagText: string; tags: MailboxContactTag[]; contact: Contact; contactEmails: MailboxContactEmail[]; contactEvents: MailboxContactEvent[]; webHooks: WebHook[]; deliveryStatuses: DeliveryStatus[]; } //# sourceMappingURL=MailboxContact.d.ts.map