SMSFactor.Webhooks (SMSFactor v0.2.0) View Source
Wrappers around Webhooks section of SMSFactor API.
Link to this section Summary
Link to this section Types
Specs
webhook_params() :: %{webhook: %{type: webhook_type(), url: String.t()}}
Specs
webhook_type() :: String.t()
Webhook Type can be any of the following :
- "MO"
- "DLR"
- "STOP"
- "CLICKER"
- "BALANCE_ALERT"
Link to this section Functions
Specs
create_webhook(Tesla.Client.t(), webhook_params()) :: Tesla.Env.result()
Specs
delete_webhook(Tesla.Client.t(), String.t()) :: Tesla.Env.result()
Specs
retrieve_webhooks(Tesla.Client.t()) :: Tesla.Env.result()
Specs
update_webhook(Tesla.Client.t(), integer(), webhook_params()) :: Tesla.Env.result()