package sihl-facade

  1. Overview
  2. Docs
val to_sexp : Sihl_contract.Email_template.t -> Sexplib0.Sexp.t
val to_yojson : Sihl_contract.Email_template.t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> Sihl_contract.Email_template.t option
val pp : Stdlib.Format.formatter -> Sihl_contract.Email_template.t -> unit
val replace_element : string -> string -> string -> string
val render : (string * string) list -> string -> string option -> string * string option
val email_of_template : ?template:Sihl_contract.Email_template.t -> Sihl_contract.Email.t -> (string * string) list -> Sihl_contract.Email.t Lwt.t
include Sihl_contract.Email_template.Sig
val get : string -> Sihl_contract.Email_template.t option Lwt.t
val get_by_label : string -> Sihl_contract.Email_template.t option Lwt.t
val create : ?html:string -> label:string -> string -> Sihl_contract.Email_template.t Lwt.t
val lifecycle : unit -> Sihl_core.Container.Lifecycle.t
OCaml

Innovation. Community. Security.