import { GoogleAccountInfo } from "./GoogleBusiness"; export declare enum EmailConfigOutboundConnectionType { NULL = 0, TRII = 1, SMTP = 2, GOOGLE = 3 } export declare enum EmailConfigOutboundSecurityType { NONE = 0, SSL = 1, TLS = 2 } export declare enum EmailConfigOutboundStatus { NOT_CONFIGURED = 1, SUCCESS = 2 } export declare enum EmailConfigFromNameType { CHANNEL_NAME = 1, USER_NAME = 2, CUSTOM = 3 } export declare enum EmailConfigInboundConnectionType { NULL = 0, IMAP = 1, GOOGLE = 2, MICROSOFT = 3 } export declare class EmailConfig { useInCampaigns?: boolean; token?: string; emailAddress: string; emailFromNameType: EmailConfigFromNameType; emailFromNameCustom: string; apiPauseBetweenMessages: number | 0; apiSendOnBusinessTime: boolean | false; reassign?: boolean; reassignTime?: number; reassignGroupId?: string; reOpenTime?: number; connectedEmailDoamin: string; inboundConnectedEmail: string; inboundConnectedEmailStatus: EmailConfigOutboundStatus; outboundConnectionType: EmailConfigOutboundConnectionType; outboundSmtStatus: EmailConfigOutboundStatus; outboundSmtSecurityType: EmailConfigOutboundSecurityType; outboundSmtpServer: string; outboundSmtpPort: number | 25; outboundSmtpUser: string; outboundSmtPasword: string; outboundTrii?: EmailDomain; outboundGoogleStatus: EmailConfigOutboundStatus; outboundGoogleAccount: GoogleAccountInfo; inboundConnectionType: EmailConfigInboundConnectionType; inboundSyncStatus: EmailConfigOutboundStatus; inboundImapServer?: string; inboundImapPort: number | 993; inboundImapSecurityType: EmailConfigOutboundSecurityType; inboundImapUser?: string; inboundImapPassword?: string; inboundMicrosoftAccount?: MicrosoftAccountInfo; inboundMicrosoftAccessData?: MicrosoftAccountDataAccess; signature: string; } export declare class MicrosoftAccountInfo { name: string; email: string; } export declare class MicrosoftAccountDataAccess { access_token?: string; access_token_expiration: Date; refresh_token?: string; scope?: string; } export declare class EmailDomain { id: string; spaceId: string; domain: string; outboundTriiDkimStatus: EmailConfigOutboundStatus; outboundTriiDkimRecords: DNSRecord[]; outboundTriiDmarcStatus: EmailConfigOutboundStatus; outboundTriiDmarcRecords: DNSRecord[]; outboundTriiDmarcReadedRecord: string; } export declare class DNSRecord { name: string; type: string; value: string; }