package ez_api

  1. Overview
  2. Docs
type email_address = {
  1. email : string;
  2. name : string option;
}
type content_element = {
  1. content_type : string;
  2. content_value : string;
}
type person = {
  1. dst : email_address list;
  2. cc : email_address list option;
  3. bcc : email_address list option;
  4. psubject : string option;
  5. data : Json_repr.any option;
}
type 'a mail = {
  1. person : person list;
  2. from : email_address;
  3. subject : string option;
  4. content : content_element list option;
  5. template_id : string option;
  6. more_fields : 'a option;
}
type contact = {
  1. addr_line1 : string option;
  2. addr_line2 : string option;
  3. alternate_emails : string list option;
  4. city : string option;
  5. country : string option;
  6. c_email : string;
  7. first_name : string option;
  8. last_name : string option;
  9. postal_code : string option;
  10. state_province_region : string option;
  11. custom_field : Json_repr.any option;
}
type contact_more = {
  1. c_id : string;
  2. phone_number : string option;
  3. whatsapp : string option;
  4. line : string option;
  5. facebook : string option;
  6. unique_name : string option;
  7. list_ids : string list;
  8. segment_ids : string list option;
  9. created_at : string;
  10. updated_at : string;
}
OCaml

Innovation. Community. Security.