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 ContactRequest { /** 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.ContactRequestStatus; /** The currency the contact's transactions are in. */ currency?: string; /** The company the contact belongs to. */ company?: Merge.accounting.ContactRequestCompany; /** `Address` object IDs for the given `Contacts` object. */ addresses?: Merge.accounting.ContactRequestAddressesItem[]; /** `AccountingPhoneNumber` object for the given `Contacts` object. */ phoneNumbers?: Merge.accounting.ContactRequestPhoneNumbersItem[]; integrationParams?: Record; linkedAccountParams?: Record; remoteFields?: Merge.accounting.RemoteFieldRequest[]; }