Documentation
¶
Index ¶
- Constants
- type CallListParams
- type Client
- func (c *Client) GetTranscript(ctx context.Context, params TranscriptParams) (*Response, error)
- func (c *Client) ListAnsweredScorecards(ctx context.Context, params ScorecardActivityParams) (*Response, error)
- func (c *Client) ListCalls(ctx context.Context, params CallListParams) (*Response, error)
- func (c *Client) ListUsers(ctx context.Context, params UserListParams) (*Response, error)
- func (c *Client) Raw(ctx context.Context, method string, path string, body []byte) (*Response, error)
- type HTTPError
- type Options
- type PageRecords
- type Response
- type ScorecardActivityParams
- type TranscriptParams
- type UserListParams
Constants ¶
View Source
const DefaultBaseURL = "https://api.gong.io"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CallListParams ¶
type CallListParams struct {
From string
To string
Cursor string
Context string
// ExposeParties requests Gong call participant fields (names, emails,
// titles) via contentSelector.exposedFields.parties=true.
ExposeParties bool
// ExposeHighlights requests Gong Spotlight/generated content fields via
// contentSelector.exposedFields.content. The fields land under content.brief,
// content.highlights, content.keyPoints, content.outline, and sometimes
// content.callOutcome in the response payload. Treated as sensitive because
// generated summaries and next steps can include customer-facing text.
// Replaces the deprecated pointsOfInterest/actionItems contract.
ExposeHighlights bool
}
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) GetTranscript ¶
func (*Client) ListAnsweredScorecards ¶ added in v0.3.3
type PageRecords ¶
type PageRecords struct {
TotalRecords int `json:"totalRecords"`
CurrentPageSize int `json:"currentPageSize"`
CurrentPageNumber int `json:"currentPageNumber"`
Cursor string `json:"cursor"`
}
func PageRecordsFromBody ¶
func PageRecordsFromBody(body []byte) (PageRecords, error)
type ScorecardActivityParams ¶ added in v0.3.3
type TranscriptParams ¶
type UserListParams ¶
Click to show internal directories.
Click to hide internal directories.