import type * as Merge from "../../../index"; /** * # The Task Object * ### Description * The `Task` object is used to represent a task, such as a to-do item. * ### Usage Example * TODO */ export interface Task { 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 task's subject. */ subject?: string; /** The task's content. */ content?: string; /** The task's owner. */ owner?: Merge.crm.TaskOwner; /** The task's account. */ account?: Merge.crm.TaskAccount; /** The task's opportunity. */ opportunity?: Merge.crm.TaskOpportunity; /** The task's contact. */ contact?: Merge.crm.TaskContact; /** When the task is completed. */ completedDate?: Date; /** When the task is due. */ dueDate?: Date; /** * The task's status. * * * `OPEN` - OPEN * * `CLOSED` - CLOSED */ status?: Merge.crm.TaskStatus; /** 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; remoteData?: Merge.crm.RemoteData[]; remoteFields?: Merge.crm.RemoteField[]; }