import type * as Merge from "../../../index";
/**
 * # The Contact Object
 * ### Description
 * A `Contact` is an individual or business entity to which products and services are sold to or purchased from. The `Contact` model contains both Customers, in which products and services are sold to, and Vendors (or Suppliers), in which products and services are purchased from.
 * * A `Contact` is a Vendor/Supplier if the `is_supplier` property is true.
 * * A `Contact` is a customer if the `is_customer` property is true.
 *
 * ### Usage Example
 * Fetch from the `LIST Contacts` endpoint and view a company's contacts.
 */
export interface Contact {
    id?: string;
    /** The third-party API ID of the matching object. */
    remoteId?: string;
    /** The datetime that this object was created by Merge. */
    createdAt?: Date;
    /** The datetime that this object was modified by Merge. */
    modifiedAt?: Date;
    /** The contact's name. */
    name?: string;
    /** Whether the contact is a supplier. */
    isSupplier?: boolean;
    /** Whether the contact is a customer. */
    isCustomer?: boolean;
    /** The contact's email address. */
    emailAddress?: string;
    /** The contact's tax number. */
    taxNumber?: string;
    /**
     * The contact's status
     *
     * * `ACTIVE` - ACTIVE
     * * `ARCHIVED` - ARCHIVED
     */
    status?: Merge.accounting.ContactStatus;
    /** The currency the contact's transactions are in. */
    currency?: string;
    /** When the third party's contact was updated. */
    remoteUpdatedAt?: Date;
    /** The company the contact belongs to. */
    company?: Merge.accounting.ContactCompany;
    /** `Address` object IDs for the given `Contacts` object. */
    addresses?: Merge.accounting.ContactAddressesItem[];
    /** `AccountingPhoneNumber` object for the given `Contacts` object. */
    phoneNumbers?: Merge.accounting.ContactPhoneNumbersItem[];
    /** 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;
    fieldMappings?: Record<string, unknown>;
    remoteData?: Merge.accounting.RemoteData[];
    remoteFields?: Merge.accounting.RemoteField[];
}
