Module Values.TestRenderEmailTemplateRequestSource

>Represents a request to create a preview of the MIME content of an email when provided with a template and a set of replacement data.

Sourcetype nonrec t = {
  1. templateName : EmailTemplateName.t;
    (*

    The name of the template.

    *)
  2. templateData : EmailTemplateData.t;
    (*

    A list of replacement values to apply to the template. This parameter is a JSON object, typically consisting of key-value pairs in which the keys correspond to replacement tags in the email template.

    *)
}
Sourceval context_ : string
Sourceval make : templateName:EmailTemplateName.t -> templateData:EmailTemplateData.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of EmailTemplateName.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