Module Values.ContactSource

A contact is the end-user who is receiving the email.

Sourcetype nonrec t = {
  1. emailAddress : EmailAddress.t option;
    (*

    The contact's email address.

    *)
  2. topicPreferences : TopicPreferenceList.t option;
    (*

    The contact's preference for being opted-in to or opted-out of a topic.

    *)
  3. topicDefaultPreferences : TopicPreferenceList.t option;
    (*

    The default topic preferences applied to the contact.

    *)
  4. unsubscribeAll : UnsubscribeAll.t option;
    (*

    A boolean value status noting if the contact is unsubscribed from all contact list topics.

    *)
  5. lastUpdatedTimestamp : Timestamp.t option;
    (*

    A timestamp noting the last time the contact's information was updated.

    *)
}
Sourceval make : ?emailAddress:??? -> ?topicPreferences:??? -> ?topicDefaultPreferences:??? -> ?unsubscribeAll:??? -> ?lastUpdatedTimestamp:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of UnsubscribeAll.t | `List of [> `Structure of (string * [> `Enum of string | `String of TopicName.t ]) list ] list | `String of EmailAddress.t | `Timestamp of Timestamp.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t