/**
 * This file was auto-generated by Fern from our API Definition.
 */
import * as Merge from "../../..";
/**
 * # The RemoteUser Object
 * ### Description
 * The `RemoteUser` object is used to represent a user with a login to the ATS system.
 * ### Usage Example
 * Fetch from the `LIST RemoteUsers` endpoint to show all users for a third party.
 */
export interface RemoteUser {
    id?: string;
    /** The third-party API ID of the matching object. */
    remoteId?: string;
    /** The user's first name. */
    firstName?: string;
    /** The user's last name. */
    lastName?: string;
    /** The user's email. */
    email?: string;
    /** Whether the user's account had been disabled. */
    disabled?: boolean;
    /** When the third party's user was created. */
    remoteCreatedAt?: Date;
    /**
     * The user's role.
     *
     * * `SUPER_ADMIN` - SUPER_ADMIN
     * * `ADMIN` - ADMIN
     * * `TEAM_MEMBER` - TEAM_MEMBER
     * * `LIMITED_TEAM_MEMBER` - LIMITED_TEAM_MEMBER
     * * `INTERVIEWER` - INTERVIEWER
     */
    accessRole?: Merge.ats.RemoteUserAccessRole;
    /** Indicates whether or not this object has been deleted in the third party platform. */
    remoteWasDeleted?: boolean;
    createdAt?: Date;
    /** This is the datetime that this object was last updated by Merge */
    modifiedAt?: Date;
    fieldMappings?: Record<string, unknown>;
    remoteData?: Merge.ats.RemoteData[];
}
