/** * @example * {} */ export interface CreateContactRequest { /** Pass the set of attributes and their values. The attribute's parameter should be passed in capital letter while creating a contact. Values that don't match the attribute type (e.g. text or string in a date attribute) will be ignored. **These attributes must be present in your Brevo account**. For eg: **{"FNAME":"Elly", "LNAME":"Roger", "COUNTRIES": ["India","China"]}** */ attributes?: Record; /** Email address of the user. **Mandatory if "ext_id" & "SMS" field is not passed.** */ email?: string; /** Set this field to blacklist the contact for emails (emailBlacklisted = true) */ emailBlacklisted?: boolean; /** Pass your own Id to create a contact. */ ext_id?: string; /** Ids of the lists to add the contact to */ listIds?: number[]; /** Set this field to blacklist the contact for SMS (smsBlacklisted = true) */ smsBlacklisted?: boolean; /** transactional email forbidden sender for contact. Use only for email Contact ( only available if updateEnabled = true ) */ smtpBlacklistSender?: string[]; /** Facilitate to update the existing contact in the same request (updateEnabled = true) */ updateEnabled?: boolean; /** When true, if the contact being created shares an identifier (email, SMS, ext_id, whatsapp, landline) with an existing contact, the two contacts are force-merged. The contact with the most recent `last_modified` timestamp is retained; the other is deleted. When false (default), a 4xx error is returned on identifier conflict. */ forceMerge?: boolean; /** When true, the response returns the `id` of the surviving contact after merge. */ getId?: boolean; } export declare namespace CreateContactRequest { namespace Attributes { type Value = number | number | string | boolean | string[]; } }