/**
 * This file was auto-generated by Fern from our API Definition.
 */
import * as Merge from "../../../index";
/**
 * # The EmailAddress Object
 * ### Description
 * The `EmailAddress` object is used to represent a candidate's email address.
 * ### Usage Example
 * Fetch from the `GET Candidate` endpoint and view their email addresses.
 */
export interface EmailAddress {
    /** The datetime that this object was created by Merge. */
    createdAt?: Date;
    /** The datetime that this object was modified by Merge. */
    modifiedAt?: Date;
    /** The email address. */
    value?: string;
    /**
     * The type of email address.
     *
     * * `PERSONAL` - PERSONAL
     * * `WORK` - WORK
     * * `OTHER` - OTHER
     */
    emailAddressType?: Merge.ats.EmailAddressEmailAddressType;
    /** Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/). */
    remoteWasDeleted?: boolean;
}
