Sendio.Automations.Template (sendio v1.1.0)

Sendio Automation Template struct.

Sendio.Automations.Templates.list/2 fills the summary fields; get/2 also fills how_it_works, emails and params, and each event's schema and adds. Nested items (events, steps, connections, emails, params) are maps with string keys, as returned by the API.

Summary

Types

@type t() :: %Sendio.Automations.Template{
  category: String.t() | nil,
  connections: [map()] | nil,
  email_count: integer() | nil,
  emails: [map()] | nil,
  events: [map()] | nil,
  how_it_works: String.t() | nil,
  in_use_count: integer() | nil,
  kind: String.t() | nil,
  name: String.t() | nil,
  outcome: String.t() | nil,
  params: [map()] | nil,
  slug: String.t(),
  steps: [map()] | nil,
  version: integer() | nil
}