Deputy.Constants.Webhook (Deputy v0.4.1)

Copy Markdown View Source

Topic strings and type codes for webhook registration.

See Deputy.Utility.add_webhook/2.

Examples

iex> Deputy.Constants.Webhook.type_url()
"URL"

Summary

Functions

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

topic_employee_insert()

Employee insert event (Topic: "Employee.Insert")

topic_employee_update()

Employee update event (Topic: "Employee.Update")

topic_roster_insert()

Roster insert event (Topic: "Roster.Insert")

topic_roster_update()

Roster update event (Topic: "Roster.Update")

topic_timesheet_insert()

Timesheet insert event (Topic: "Timesheet.Insert")

topic_timesheet_update()

Timesheet update event (Topic: "Timesheet.Update")

type_url()

Webhook type for HTTP URL callbacks (Type: "URL")