@wildix/wda-insights-client > GetCallSummaryCommand
GetCallSummaryCommand class
Signature:
export declare class GetCallSummaryCommand extends GetCallSummaryCommand_base
Extends: GetCallSummaryCommand_base
Example
Use a bare-bones client and the command you need to make an API call.
import { WdaInsightsClient, GetCallSummaryCommand } from "@wildix/wda-insights-client"; // ES Modules import
// const { WdaInsightsClient, GetCallSummaryCommand } = require("@wildix/wda-insights-client"); // CommonJS import
const client = new WdaInsightsClient(config);
const input = { // GetCallSummaryInput
company: "STRING_VALUE",
callId: "STRING_VALUE", // required
flowIndex: Number("int"), // required
locale: "STRING_VALUE",
template: "STRING_VALUE",
instance: "STRING_VALUE",
quality: "RECOMMENDED" || "MAX",
};
const command = new GetCallSummaryCommand(input);
const response = await client.send(command);
// { // GetCallSummaryOutput
// status: "NONE" || "UNAVAILABLE" || "SCHEDULED" || "STARTED" || "SUCCEEDED" || "FAILED", // required
// summary: { // TranscriptionSummary
// text: "STRING_VALUE",
// markdown: "STRING_VALUE",
// title: "STRING_VALUE",
// brief: "STRING_VALUE",
// verbose: "STRING_VALUE",
// json: { // TranscriptionSummaryJson
// callBriefVeryShortTitle: "STRING_VALUE",
// callBrief: "STRING_VALUE",
// customerInsights: [ // TranscriptionSummaryJsonArrayItem
// "STRING_VALUE",
// ],
// keyPoints: [
// "STRING_VALUE",
// ],
// competitiveInformation: [
// "STRING_VALUE",
// ],
// implementationTimeline: [
// "STRING_VALUE",
// ],
// budget: [
// "STRING_VALUE",
// ],
// customerResponse: "<TranscriptionSummaryJsonArrayItem>",
// salesProposals: "<TranscriptionSummaryJsonArrayItem>",
// actionItems: "<TranscriptionSummaryJsonArrayItem>",
// nextSteps: "<TranscriptionSummaryJsonArrayItem>",
// topics: "<TranscriptionSummaryJsonArrayItem>",
// review: "<TranscriptionSummaryJsonArrayItem>",
// progress: "<TranscriptionSummaryJsonArrayItem>",
// issues: "<TranscriptionSummaryJsonArrayItem>",
// decisions: "<TranscriptionSummaryJsonArrayItem>",
// tags: "<TranscriptionSummaryJsonArrayItem>",
// },
// locale: "STRING_VALUE", // required
// template: "STRING_VALUE", // required
// instance: "STRING_VALUE", // required
// quality: "RECOMMENDED" || "MAX", // required
// },
// choices: [ // InsightsSummaryChoices
// { // InsightsSummaryChoice
// locale: "STRING_VALUE", // required
// template: "STRING_VALUE", // required
// instance: "STRING_VALUE", // required
// quality: "RECOMMENDED" || "MAX", // required
// },
// ],
// };