API Reference Peacemaker v3.3.5-rc.7
Modules
Common parameter declarations for phoenix swagger
This module is responsible for strictly making HTTP calls to Goto's API
This module is responsible for strictly making HTTP calls to Goto's API
This module interfaces with Goto's API at a high level.
Module for managing Registrants in GotoWebinar.
Interfaces with Goto.Webinar's API.
Handles webhooks sent from LimeLight concerning On-Hold-level subscriptions.
Handles webhooks sent from LimeLight associated with Fortune Builder Starter Member campaigns.
Handles webhooks sent from LimeLight concerning Premium-level subscriptions.
Module for managing Contacts in Maropost.
Documentation for Ordinal.
Peacemaker keeps the contexts that define your domain and business logic.
Peacemaker.Account is the low-level implementation for interfacing with accounts.
The Accounts context.
This module composes functions from the Segment implementation to shorthand some common events we want to record, like when an order is purchased or refunded.
A GenServer implementation that starts a Node.js server process using Elixir ports.
Stores emails locally. Can be queried to see sent emails.
Primary module for building the payload to be used for SendGrid templates during Intensive purchases. Sends the schedule of the upcoming classes as well other useful information like the recordings delivery date and the names of the upcoming class.
This module is responsible for building the dynamic data that will be sent to SendGrid templates. This module is initially built for the FGA 3.0 Payment Plans (SendGrid Template ID: d-c2cf7dfa837743a99f22261f189be7b6), with the intention to use this module to build any payment plan given a Sticky(Limelight) Order ID.
This module is responsible for building the email payload needed to create the receipts for recurring subscriptions.
This module interfaces with anything WealthFit Optin Related.
Primary module for purchasing New Intensives
Primary module for creating various types of orders on Sticky.io. Leverages the Sticky library.
The Ecto Repo module for the "permissibles" table. This is meant to replace the legacy WealthFit role system.
The Ecto Repo module for the "permission" table. This is meant to be a join table between Accounts and Permissibles, and the lower level module for adding & removing permissions.
Propagator is responsible for propagating updated values to all external services that is concerned with the field.
Sends email using SendGrid's JSON API.
This module is responsible for creating unique user ids that will be used
as the user_id for all calls made to Segment. In other words, the
tracking_id is also the user_id that is being sent to Google Analytics.
Miscellaneous Helper Functions
Find all customers who are 10 days into their trial version of their WealthFit Premium Membership.
The entrypoint for defining your web interface, such as controllers, views, channels and so on.
Auth controller responsible for handling Ueberauth responses
Conveniences for translating and building error messages.
Translates controller action results into valid Plug.Conn responses.
A module providing Internationalization with a gettext-based API.
Module with named helpers generated from PeacemakerWeb.Router.
Builds a token for interfacing with the Order Completed tracking event on Segment.
Builds a token for creating a Product struct, that can be attached during the Order Completed tracking event via Segment.Spec.Order.add_product/2.
Builds a token for interfacing with the custom tracking events on Segment. Each event needs to have a validate_token/2 method defined.
This module is used for sending Google Analytic Events to Segment
Mario is primarily used to determine which Affiliate Pipeline should be used when processing our affiliates
Mario is primarily used to determine which Affiliate Pipeline should be used when processing our affiliates
This module is used for determining affiliate processing logic.
At a high level, the affiliate logic this module respresents can be found here:

Ecto Schema for managing the associations between Goals (currently strings reflecting prismic ids) and Accounts
An event subscriber that listens to the EventCenter pubsub for messages and
processes received messages to store activites.
An event subscriber that listens to the EventCenter pubsub for messages and
processes received messages to store activites.
An event subscriber that listens to the EventCenter pubsub for messages and
processes received messages to store activites.
General interface for allowing users to set their password after their first account creation.
Primary protocol for dispatching various event handlers.
This module contains the default event handler behaviours that are commonly used throughout the wealthfit system. The current available event handlers can be found in WealthFit.Campaigns.EventHandlerDefinitions
This module contains the default event handler behaviours that are commonly used throughout the wealthfit system. The current available event handlers can be found in WealthFit.Campaigns.EventHandlerDefinitions
This module contains the default event handler behaviours that are commonly used throughout the wealthfit system. The current available event handlers can be found in WealthFit.Campaigns.EventHandlerDefinitions
This module contains the default event handler behaviours that are commonly used throughout the wealthfit system. The current available event handlers can be found in WealthFit.Campaigns.EventHandlerDefinitions
This module contains the default event handler behaviours that are commonly used throughout the wealthfit system. The current available event handlers can be found in WealthFit.Campaigns.EventHandlerDefinitions
This module contains the default event handler behaviours that are commonly used throughout the wealthfit system. The current available event handlers can be found in WealthFit.Campaigns.EventHandlerDefinitions
This module contains the default event handler behaviours that are commonly used throughout the wealthfit system. The current available event handlers can be found in WealthFit.Campaigns.EventHandlerDefinitions
The main interface for ensuring accounts are properly set up given a token that was previously generated using an Peacemaker.UserProfile struct.
The generic interface for Creating Optins for any campaign.
An event subscriber that listens to the EventCenter pubsub for messages and
processes received messages to store activites.
An event subscriber that listens to the EventCenter pubsub for messages and
processes received messages to store activites.
This module is responsible for strictly making HTTP calls to Zoom's API
This module is responsible for strictly making HTTP calls to Zoom's API
This module is responsible for strictly making HTTP calls to Zoom's API
Module for managing Registrants in Zoom.