/** * Task Details */ export interface Task { /** Unique task id */ id?: string | undefined; /** Id for type of task e.g Call / Email / Meeting etc. */ taskTypeId: string; /** Name of task */ name: string; /** Companies ids for companies a task is linked to */ companiesIds?: string[] | undefined; /** Deal ids for deals a task is linked to */ dealsIds?: string[] | undefined; /** Contact ids for contacts linked to this task */ contactsIds?: number[] | undefined; /** Account id of the user assigned to this task */ assignToId?: string | undefined; /** Task due date and time */ date: string; /** Notes added to a task */ notes?: string | undefined; /** Whether the task is marked as done */ done?: boolean | undefined; /** Task creation date/time */ createdAt?: string | undefined; /** Task last update date/time */ updatedAt?: string | undefined; }