Documentation ¶
Index ¶
- type CreateDealNoteResponse
- type CreateDealResponse
- type CreateOrgResponse
- type CreatePersonResponse
- type DealResponse
- type PipeDriveClient
- func (p *PipeDriveClient) CreateDeal(title string, orgID, personID int) (DealResponse, error)
- func (p *PipeDriveClient) CreateDealNote(content string, dealID int) (CreateDealNoteResponse, error)
- func (p *PipeDriveClient) CreateOrg(name string) (CreateOrgResponse, error)
- func (p *PipeDriveClient) CreatePerson(name, email string, orgID int) (CreatePersonResponse, error)
- func (p *PipeDriveClient) SearchOrg(term string) (SearchResponse, error)
- func (p *PipeDriveClient) SearchPersonByEmail(term string) (SearchPersonResponse, error)
- type SearchPersonResponse
- type SearchResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateDealNoteResponse ¶
type CreateDealResponse ¶
type CreateOrgResponse ¶
type CreatePersonResponse ¶
type DealResponse ¶
type PipeDriveClient ¶
func NewPipeDriveClient ¶
func NewPipeDriveClient(client *http.Client, apiKey, organization string) *PipeDriveClient
func (*PipeDriveClient) CreateDeal ¶
func (p *PipeDriveClient) CreateDeal(title string, orgID, personID int) (DealResponse, error)
func (*PipeDriveClient) CreateDealNote ¶
func (p *PipeDriveClient) CreateDealNote(content string, dealID int) (CreateDealNoteResponse, error)
func (*PipeDriveClient) CreateOrg ¶
func (p *PipeDriveClient) CreateOrg(name string) (CreateOrgResponse, error)
func (*PipeDriveClient) CreatePerson ¶
func (p *PipeDriveClient) CreatePerson(name, email string, orgID int) (CreatePersonResponse, error)
func (*PipeDriveClient) SearchOrg ¶
func (p *PipeDriveClient) SearchOrg(term string) (SearchResponse, error)
func (*PipeDriveClient) SearchPersonByEmail ¶
func (p *PipeDriveClient) SearchPersonByEmail(term string) (SearchPersonResponse, error)
type SearchPersonResponse ¶
Click to show internal directories.
Click to hide internal directories.