closex v0.5.12 Closex.ClientBehaviour behaviour

Tools for interacting with the Close.io API

TODO: Add more docs

Link to this section Summary

Link to this section Types

Link to this type error()
error() :: {:error, any}
Link to this type result()
result() :: success | error
Link to this type success()
success() :: {:ok, map}

Link to this section Callbacks

Link to this callback create_lead(map, opts)
create_lead(map, opts) :: result
Link to this callback create_opportunity(map, opts)
create_opportunity(map, opts) :: result
Link to this callback find_leads(arg0, opts)
find_leads(String.t, opts) :: result
Link to this callback find_opportunities(arg0, opts)
find_opportunities(String.t, opts) :: result
Link to this callback get_lead(id, opts)
get_lead(id, opts) :: result
Link to this callback get_lead_custom_field(id, opts)
get_lead_custom_field(id, opts) :: result
Link to this callback get_lead_statuses(opts)
get_lead_statuses(opts) :: result
Link to this callback get_opportunity(id, opts)
get_opportunity(id, opts) :: result
Link to this callback get_opportunity_statuses(opts)
get_opportunity_statuses(opts) :: result
Link to this callback get_organization(id, opts)
get_organization(id, opts) :: result
Link to this callback get_users(opts)
get_users(opts) :: result
Link to this callback send_email(map, opts)
send_email(map, opts) :: result
Link to this callback update_lead(id, map, opts)
update_lead(id, map, opts) :: result
Link to this callback update_opportunity(id, map, opts)
update_opportunity(id, map, opts) :: result