import type * as Brevo from "../../../../index.js"; /** * @example * {} */ export interface GetContactsRequest { /** Number of documents per page */ limit?: number; /** Index of the first document of the page */ offset?: number; /** Filter (urlencoded) the contacts 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 contacts 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; /** Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed */ sort?: Brevo.GetContactsRequestSort; /** Filter by a list of contact IDs. You can pass a **maximum of 20 IDs**. All elements must be integers. */ ids?: number | number[]; /** Id of the segment. **Either listIds or segmentId can be passed.** Must be a positive integer (minimum value of 1). */ segmentId?: number; /** Ids of the list. **Either listIds or segmentId can be passed.** */ listIds?: number | number[]; /** Filter the contacts on the basis of attributes. **Allowed operator: equals. For multiple-choice options, the filter will apply an AND condition between the options. For category attributes, the filter will work with both id and value. (e.g. filter=equals(FIRSTNAME,"Antoine"), filter=equals(B1, true), filter=equals(DOB, "1989-11-23"), filter=equals(GENDER, "1"), filter=equals(GENDER, "MALE"), filter=equals(COUNTRY,"USA, INDIA")** */ filter?: string; }