@datatr-ux/ovhcloud-types
Version:
TypeScript types for OVHCloud projects
127 lines • 4.28 kB
TypeScript
import { OvhLicenceEnum } from './OvhLicenceEnum';
import { CountryCodeEnum } from './CountryCodeEnum';
import { PhoneNumber } from '../../PhoneNumber';
import { MailingFilterEnum } from './MailingFilterEnum';
import { RenewPeriodEnum } from './RenewPeriodEnum';
import { SpamAndVirusConfiguration } from './SpamAndVirusConfiguration';
import { ObjectStateEnum } from './ObjectStateEnum';
/** Exchange mailbox */
export interface Account {
/** SAM account name */
SAMAccountName?: string;
/** Exchange account type */
accountLicense: OvhLicenceEnum;
/** ID of the authentication policy to apply on this account */
authenticationPolicyId?: number;
/** city */
city?: string;
/** Company name */
company?: string;
/** Indicates if the account is configured */
configured: boolean;
/** Country code */
countryCode?: CountryCodeEnum;
/** Creation date */
creationDate?: string;
/** Mailbox usage */
currentUsage?: number;
/** custom isolation apply on this account */
customIsolationId?: number;
/** delete at expiration */
deleteAtExpiration?: boolean;
/** delete outlook at expiration */
deleteOutlookAtExpiration?: boolean;
/** Description */
description?: string;
/** Account display name */
displayName?: string;
/** Email domain */
domain: string;
/** exchangeGuid for manual configuration */
exchangeGuid?: string;
/** expiration date */
expirationDate?: string;
/** expiration date */
expirationOutlookDate?: string;
/** Fax number */
fax?: PhoneNumber;
/** Account first name */
firstName?: string;
/** Email address to forward email */
forwardingEmail?: string;
/** GUID for user in active directory */
guid?: string;
/** Hide account in Global Address List */
hiddenFromGAL: boolean;
/** Account id */
id: number;
/** Account initials */
initial?: string;
/** Job Department */
jobDepartment?: string;
/** Job title */
jobTitle?: string;
/** Last logoff */
lastLogoffDate?: string;
/** Last logon */
lastLogonDate?: string;
/** Account last name */
lastName?: string;
/** Last update */
lastUpdateDate?: string;
/** Litigation hold feature enabled on this mailbox */
litigation: boolean;
/** Litigation hold period in days (0 means unlimited). This setting covers all items in the mailbox. */
litigationPeriod?: number;
/** Account login */
login: string;
/** Email display as sender */
mailSenderDisplay?: string;
/** Enable or disable anti-virus and anti-spam */
mailingFilter?: MailingFilterEnum[];
/** Mobile phone */
mobile?: PhoneNumber;
/** Count the number of related aliases attached to this account */
numberOfAliases: number;
/** Job office */
office?: string;
/** Outlook licence */
outlookLicense: boolean;
/** OWA policy restriction is applied */
owaLimited: boolean;
/** Time of account's password last update */
passwordLastUpdate?: string;
/** Phone number */
phone?: PhoneNumber;
/** Postal code */
postalCode?: string;
/** Default email for this mailbox */
primaryEmailAddress: string;
/** Account maximum size */
quota: number;
/** region */
region?: string;
/** change the renew period for outlook */
renewOutlookPeriod?: RenewPeriodEnum;
/** change the renew period */
renewPeriod?: RenewPeriodEnum;
/** Relay domain address that will be used to all e-mails send from this account */
sbrDestination?: string;
/** Custom sendConnectorId used to send mails when SBR is configured */
sendConnectorId?: number;
/** Spam and Antivirus configuration */
spamAndVirusConfiguration: SpamAndVirusConfiguration;
/** Account was sending spam */
spamDetected: boolean;
/** Ticket number of spam detection */
spamTicketNumber?: number;
/** Account state */
state: ObjectStateEnum;
/** Store copy of email when forward is enable */
storeCopyOfEmail: boolean;
/** Street address */
streetAddress?: string;
/** Pending task for this account */
taskPendingId?: number;
}
//# sourceMappingURL=Account.d.ts.map