@leash/integration-gong
v0.1.0
Published
Typed Gong integration for Leash
Downloads
18
Readme
@leash/integration-gong
Typed Gong integration for Leash — auto-generated by
leash-codegen.
Installation
npm install @leash/integration-gongRequires @leash/sdk >= 0.2.0 as a peer dependency.
Usage
import { LeashIntegrations } from '@leash/sdk/integrations'
import { createGongClient } from '@leash/integration-gong'
const leash = new LeashIntegrations({ apiKey: process.env.LEASH_API_KEY! })
const gong = createGongClient(leash)
// Example: call listCalls
const result = await gong.listCalls({ fromDateTime: '...', toDateTime: '...', workspaceId: '...' })Available Methods
listCalls(params)— List Gong calls with optional date filtering. Returns minimal call metadata (...getCallSummary(params)— Get an AI-generated summary of a single call including brief overview, key po...getCallTranscript(params)— Get the raw transcript for a single call with speaker-attributed text. Only u...listUsers(params)— List all Gong users in your workspace. Returns user details including name, e...searchCalls(params)— Search for Gong calls with advanced filters including date range, workspace,...getCall(params)— Get metadata for a specific Gong call including URL, direction, scope, system...getTrackers(params)— List all keyword tracker definitions including tracked phrases, affiliation (...getUser(params)— Get a specific user profile including name, email, title, phone, and settings...searchUsers(params)— Search and filter users by IDs or creation date. More flexible than list_user...listWorkspaces(params)— List all Gong workspaces with their IDs and names. Use workspace IDs as filte...listLibraryFolders(params)— List all public Gong call library folders for a workspace. Returns folder IDs...getLibraryFolderCalls(params)— Get all calls saved in a specific Gong library folder. Returns call IDs, titl...
License
Apache-2.0
