import type * as Brevo from "../../../../index.mjs"; /** * @example * { * date: "2021-11-01T17:44:54Z", * name: "Task: Connect with client", * taskTypeId: "61a5cd07ca1347c82306ad09" * } */ export interface PostCrmTasksRequest { /** To assign a task to a user you can use either the account email or ID. */ assignToId?: string; /** Companies ids for companies a task is linked to */ companiesIds?: string[]; /** Contact ids for contacts linked to this task */ contactsIds?: number[]; /** Task due date and time */ date: string; /** Deal ids for deals a task is linked to */ dealsIds?: string[]; /** Task marked as done */ done?: boolean; /** Duration of task in milliseconds [1 minute = 60000 ms] */ duration?: number; /** Name of task */ name: string; /** Notes added to a task */ notes?: string; reminder?: Brevo.TaskReminder; /** Id for type of task e.g Call / Email / Meeting etc. */ taskTypeId: string; }