Module Values.EngagementContextDetailsSource

Provides detailed context information for an Engagement. This structure allows for specifying the type of context and its associated payload.

Sourcetype nonrec t = {
  1. id : EngagementContextIdentifier.t option;
    (*

    The unique identifier of the engagement context. This ID is used to reference and manage the specific context within the engagement.

    *)
  2. type_ : EngagementContextType.t;
    (*

    Specifies the type of Engagement context. Valid values are "CustomerProject" or "Document", indicating whether the context relates to a customer project or a document respectively.

    *)
  3. payload : EngagementContextPayload.t option;
    (*

    Contains the specific details of the Engagement context. The structure of this payload varies depending on the Type field.

    *)
}
Sourceval context_ : string
Sourceval make : ?id:??? -> ?payload:??? -> type_:EngagementContextType.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of EngagementContextIdentifier.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 ]) 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