/** * @example * {} */ export interface UpdateBatchContactsRequest { /** List of contacts to be updated */ contacts?: UpdateBatchContactsRequest.Contacts.Item[]; } export declare namespace UpdateBatchContactsRequest { type Contacts = Contacts.Item[]; namespace Contacts { interface Item { /** Pass the set of attributes to be updated. **These attributes must be present in your account**. To update existing email address of a contact with the new one please pass EMAIL in attribtes. For example, **{ "EMAIL":"newemail@domain.com", "FNAME":"Ellie", "LNAME":"Roger"}**. Keep in mind transactional attributes can be updated the same way as normal attributes. Mobile Number in **SMS** field should be passed with proper country code. For example: **{"SMS":"+91xxxxxxxxxx"} or {"SMS":"0091xxxxxxxxxx"}** */ attributes?: Record | undefined; /** Email address of the user to be updated (For each operation only pass one of the supported contact identifiers. Email, id or sms) */ email?: string | undefined; /** Set/unset this field to blacklist/allow the contact for emails (emailBlacklisted = true) */ emailBlacklisted?: boolean | undefined; /** Pass your own Id to update ext_id of a contact. */ ext_id?: string | undefined; /** id of the user to be updated (For each operation only pass one of the supported contact identifiers. Email, id or sms) */ id?: number | undefined; /** Ids of the lists to add the contact to */ listIds?: number[] | undefined; /** SMS of the user to be updated (For each operation only pass one of the supported contact identifiers. Email, id or sms) */ sms?: string | undefined; /** Set/unset this field to blacklist/allow the contact for SMS (smsBlacklisted = true) */ smsBlacklisted?: boolean | undefined; /** transactional email forbidden sender for contact. Use only for email Contact */ smtpBlacklistSender?: string[] | undefined; /** Ids of the lists to remove the contact from */ unlinkListIds?: number[] | undefined; } } }