import type * as Brevo from "../../../../index.mjs"; /** * @example * {} */ export interface GetCrmDealsRequest { /** Filter by attributes. If you have a filter for the owner on your end, please send it as filters[attributes.deal_owner] and utilize the account email for the filtering. */ "filters[attributes.deal_name]"?: string; /** Filter by the deal owner. Pass the account email address of the deal owner. */ "filters[attributes.deal_owner]"?: string; /** Filter by the deal stage. Pass the stage id, retrievable from GET /crm/pipeline/details/{pipelineID}. */ "filters[attributes.deal_stage]"?: string; /** Filter by the pipeline. Pass the pipeline id, retrievable from GET /crm/pipeline/details/{pipelineID}. */ "filters[attributes.pipeline]"?: string; /** Filter by linked companies ids */ "filters[linkedCompaniesIds]"?: string; /** Filter by linked contacts ids */ "filters[linkedContactsIds]"?: string; /** Filter (urlencoded) the deals modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. */ modifiedSince?: string; /** Filter (urlencoded) the deals created after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. */ createdSince?: string; /** 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.GetCrmDealsRequestSort; /** The field used to sort field names. */ sortBy?: string; }