Clients
Last updated
Client{ code: 4 }ClientClienttype Client = {
_id: string;
name: string; // A short name shown in UI and used for search
phone: string;
email: string;
fullname: string;
// People working at this client you are in contact with
contacts: Contact[];
// An object where keys are custom field ids and values are field values
// customFields can be null
customFields: {
[fieldId: string]: string | null
} | null;
// List of user ids who get notifications for activities from portal users
// of this client
portalCustomerManagerIds: string[];
createdAt: number;
}type Contact = {
name: string;
position: string;
phone: string;
email: string;
}