Skip to main content

@wildix/wda-insights-client > GetCallCharacteristicsCommand

GetCallCharacteristicsCommand class

Signature:

export declare class GetCallCharacteristicsCommand extends GetCallCharacteristicsCommand_base 

Extends: GetCallCharacteristicsCommand_base

Example

Use a bare-bones client and the command you need to make an API call.

import { WdaInsightsClient, GetCallCharacteristicsCommand } from "@wildix/wda-insights-client"; // ES Modules import
// const { WdaInsightsClient, GetCallCharacteristicsCommand } = require("@wildix/wda-insights-client"); // CommonJS import
const client = new WdaInsightsClient(config);
const input = { // GetCallCharacteristicsInput
company: "STRING_VALUE",
callId: "STRING_VALUE", // required
flowIndex: Number("int"), // required
};
const command = new GetCallCharacteristicsCommand(input);
const response = await client.send(command);
// { // GetCallCharacteristicsOutput
// status: "NONE" || "UNAVAILABLE" || "SCHEDULED" || "STARTED" || "SUCCEEDED" || "FAILED", // required
// characteristics: { // InsightsCharacteristics
// nonTalkTime: { // InsightsNonTalkTime
// chunks: [ // InsightsNonTalkTimeChunkList
// { // InsightsNonTalkTimeChunk
// startTime: Number("long"), // required
// endTime: Number("long"), // required
// },
// ],
// },
// interruptions: { // InsightsInterruptions
// chunks: [ // InsightsInterruptionsChunkList
// { // InsightsInterruptionsChunk
// startTime: Number("long"), // required
// endTime: Number("long"), // required
// interrupter: "STRING_VALUE", // required
// },
// ],
// },
// duration: Number("long"),
// sentiment: { // InsightsSentiment
// score: Number("float"),
// scoreByParticipant: [ // InsightsSentimentScoreByParticipantList
// { // InsightsSentimentScoreByParticipantChunk
// interrupter: "STRING_VALUE", // required
// score: Number("float"), // required
// },
// ],
// scoreByPeriod: [ // InsightsSentimentScoreByPeriodList
// { // InsightsSentimentScoreByPeriodChunk
// score: Number("float"), // required
// participants: [ // InsightsSentimentParticipantScoreList
// { // InsightsSentimentParticipantScore
// interrupter: "STRING_VALUE", // required
// score: Number("float"), // required
// startTime: Number("long"), // required
// endTime: Number("long"), // required
// },
// ],
// },
// ],
// },
// talkSpeed: { // InsightsCharacteristicsTalkSpeed
// detailsByParticipant: [ // InsightsTalkSpeedChunkList
// { // InsightsTalkSpeedChunk
// interrupter: "STRING_VALUE", // required
// averageWordsPerMinute: Number("short"),
// },
// ],
// },
// talkTime: { // InsightsTalkTime
// detailsByParticipant: [ // InsightsTalkTimeChunkList
// { // InsightsTalkTimeChunk
// interrupter: "STRING_VALUE", // required
// totalTime: Number("long"),
// },
// ],
// },
// },
// };