View Source ExPipedrive (ex_pipedrive v0.1.0)

This is the entrypoint for making requests to pipedrive via ExPipedrive.

Summary

Functions

Builds a Tesla client by refreshing an OAuth access token once.

Builds a Tesla client authenticated with a Pipedrive API token.

Functions

Link to this function

add_activity(client, activity)

View Source

See ExPipedrive.Activities.add_activity/2.

See ExPipedrive.Notes.add_note/2.

Link to this function

build_client(refresh_token, client_id, client_secret, api_domain)

View Source

Builds a Tesla client by refreshing an OAuth access token once.

Link to this function

client(api_token, api_domain, opts \\ [])

View Source

Builds a Tesla client authenticated with a Pipedrive API token.

api_domain may be a full base URL or a host (e.g. company.pipedrive.com). Defaults to x-api-token header auth; see ExPipedrive.Client for options and ExPipedrive.Request for versioned routing.

Link to this function

create_lead(client, lead)

View Source

See ExPipedrive.Leads.create_lead/2.

Link to this function

create_organization(client, org)

View Source

See ExPipedrive.Organizations.create_organization/2.

Link to this function

create_person(client, person)

View Source

See ExPipedrive.Persons.create_person/2.

Link to this function

find_users_by_name(client, term, opts \\ [])

View Source

See ExPipedrive.Users.find_users_by_name/3.

Link to this function

get_all_org_notes(client, org_id, opts)

View Source

See ExPipedrive.Notes.get_all_org_notes/3.

Link to this function

get_deal(client, deal_id)

View Source

See ExPipedrive.Deals.get_deal/2.

Link to this function

get_lead(client, lead_id)

View Source

See ExPipedrive.Leads.get_lead/2.

Link to this function

get_organization(client, org_id)

View Source

See ExPipedrive.Organizations.get_organization/2.

Link to this function

get_person(client, person_id)

View Source

See ExPipedrive.Persons.get_person/2.

Link to this function

list_activities(client, opts \\ [])

View Source

See ExPipedrive.Activities.list_activities/2.

Link to this function

list_activities_page(client, opts \\ [])

View Source

See ExPipedrive.Activities.list_activities_page/2.

Link to this function

list_activity_types(client)

View Source

See ExPipedrive.ActivityTypes.list_activity_types/1.

Link to this function

list_deal_fields(client, opts)

View Source

See ExPipedrive.DealFields.list_deal_fields/2.

Link to this function

list_deals(client, opts)

View Source

See ExPipedrive.Deals.list_deals/2.

Link to this function

list_deals_page(client, opts \\ [])

View Source

See ExPipedrive.Deals.list_deals_page/2.

Link to this function

list_leads(client, opts \\ [])

View Source

See ExPipedrive.Leads.list_leads/2.

Link to this function

list_notes(client, opts \\ [])

View Source

See ExPipedrive.Notes.list_notes/2.

Link to this function

list_organization_fields(client, opts)

View Source

See ExPipedrive.OrganizationFields.list_organization_fields/2.

Link to this function

list_organizations(client, opts)

View Source

See ExPipedrive.Organizations.list_organizations/2.

Link to this function

list_organizations_page(client, opts \\ [])

View Source

See ExPipedrive.Organizations.list_organizations_page/2.

Link to this function

list_own_activities(client, opts \\ [])

View Source

See ExPipedrive.Activities.list_own_activities/2.

Link to this function

list_person_fields(client, opts)

View Source

See ExPipedrive.PersonFields.list_person_fields/2.

Link to this function

list_persons(client, opts)

View Source

See ExPipedrive.Persons.list_persons/2.

Link to this function

list_persons_page(client, opts \\ [])

View Source

See ExPipedrive.Persons.list_persons_page/2.

Link to this function

list_pipeline_deals(client, pipeline_id)

View Source

See ExPipedrive.Pipelines.list_pipeline_deals/2.

See ExPipedrive.Pipelines.list_pipelines/1.

Link to this function

list_products_page(client, opts \\ [])

View Source

See ExPipedrive.Products.list_products_page/2.

Link to this function

search_deals(client, term, opts)

View Source

See ExPipedrive.Deals.search_deals/3.

Link to this function

search_leads(client, term, opts)

View Source

See ExPipedrive.Leads.search_leads/3.

Link to this function

search_organizations(client, term, opts)

View Source

See ExPipedrive.Organizations.search_organizations/3.

Link to this function

search_page(client, term, opts \\ [])

View Source

See ExPipedrive.Search.search_page/3.

Link to this function

search_persons(client, term, opts)

View Source

See ExPipedrive.Persons.search_persons/3.

Link to this function

stream_activities(client, opts \\ [])

View Source

See ExPipedrive.Activities.stream_activities/2.

Link to this function

stream_deals(client, opts \\ [])

View Source

See ExPipedrive.Deals.stream_deals/2.

Link to this function

stream_organizations(client, opts \\ [])

View Source

See ExPipedrive.Organizations.stream_organizations/2.

Link to this function

stream_persons(client, opts \\ [])

View Source

See ExPipedrive.Persons.stream_persons/2.

Link to this function

stream_products(client, opts \\ [])

View Source

See ExPipedrive.Products.stream_products/2.

Link to this function

stream_search(client, term, opts \\ [])

View Source

See ExPipedrive.Search.stream/3.

Link to this function

update_organization(client, org_id, data)

View Source

See ExPipedrive.Organizations.update_organization/3.