import type * as Brevo from "../../../../index.js";
/**
 * @example
 *     {
 *         sortBy: "name"
 *     }
 */
export interface GetCrmTasksRequest {
    /** Filter by task type (ID) */
    "filter[type]"?: string;
    /** Filter by task status */
    "filter[status]"?: Brevo.GetCrmTasksRequestFilterStatus;
    /** Filter by date */
    "filter[date]"?: Brevo.GetCrmTasksRequestFilterDate;
    /** Filter by the "assignTo" ID. You can utilize account emails for the "assignTo" attribute. */
    "filter[assignTo]"?: string;
    /** Filter by contact ids */
    "filter[contacts]"?: string;
    /** Filter by deals ids */
    "filter[deals]"?: string;
    /** Filter by companies ids */
    "filter[companies]"?: string;
    /** dateFrom to date range filter type (timestamp in milliseconds) */
    dateFrom?: number;
    /** dateTo to date range filter type (timestamp in milliseconds) */
    dateTo?: number;
    /** Index of the first document of the page */
    offset?: number;
    /** Number of documents per page */
    limit?: number;
    /** Sort the results in the ascending/descending order. Default order is **descending** by creation if `sort` is not passed */
    sort?: Brevo.GetCrmTasksRequestSort;
    /** The field used to sort field names. */
    sortBy?: string;
}
