Topic strings and type codes for webhook registration.
See Deputy.Utility.add_webhook/2.
Examples
iex> Deputy.Constants.Webhook.type_url()
"URL"
iex> import Deputy.Constants.Webhook
iex> is_topic_timesheet_insert("Timesheet.Insert")
true
Summary
Functions
Guard: matches the "Employee.Insert" topic string.
Guard: matches the "Employee.Update" topic string.
Guard: matches the "Roster.Insert" topic string.
Guard: matches the "Roster.Update" topic string.
Guard: matches the "Timesheet.Insert" topic string.
Guard: matches the "Timesheet.Update" topic string.
Guard: matches the URL webhook type ("URL").
Employee insert event (Topic: "Employee.Insert")
Employee update event (Topic: "Employee.Update")
Roster insert event (Topic: "Roster.Insert")
Roster update event (Topic: "Roster.Update")
Timesheet insert event (Topic: "Timesheet.Insert")
Timesheet update event (Topic: "Timesheet.Update")
Webhook type for HTTP URL callbacks (Type: "URL")
Functions
Guard: matches the "Employee.Insert" topic string.
Guard: matches the "Employee.Update" topic string.
Guard: matches the "Roster.Insert" topic string.
Guard: matches the "Roster.Update" topic string.
Guard: matches the "Timesheet.Insert" topic string.
Guard: matches the "Timesheet.Update" topic string.
Guard: matches the URL webhook type ("URL").
Employee insert event (Topic: "Employee.Insert")
Employee update event (Topic: "Employee.Update")
Roster insert event (Topic: "Roster.Insert")
Roster update event (Topic: "Roster.Update")
Timesheet insert event (Topic: "Timesheet.Insert")
Timesheet update event (Topic: "Timesheet.Update")
Webhook type for HTTP URL callbacks (Type: "URL")