Module Values.EngagementContextPayloadSource

Represents the payload of an Engagement context. The structure of this payload varies based on the context type specified in the EngagementContextDetails.

Sourcetype nonrec t = {
  1. customerProject : CustomerProjectsContext.t option;
    (*

    Contains detailed information about a customer project when the context type is "CustomerProject". This field is present only when the Type in EngagementContextDetails is set to "CustomerProject".

    *)
  2. lead : LeadContext.t option;
    (*

    Contains detailed information about a lead when the context type is "Lead". This field is present only when the Type in EngagementContextDetails is set to "Lead".

    *)
}
Sourceval make : ?customerProject:??? -> ?lead:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `List of [> `Structure of (string * [> `String of LeadSourceType.t | `Structure of (string * [> `String of JobTitle.t ]) list | `Timestamp of DateTime.t ]) list ] list | `String of LeadQualificationStatus.t | `Structure of (string * [> `Enum of string | `String of CompanyName.t | `Structure of (string * [> `Enum of string | `String of AddressSummaryCityString.t ]) list ]) list ]) list ]) 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