@wildix/wda-stream-client 1.0.61 → 1.0.63
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SmsStatus = exports.SmsChannelType = exports.SmsConsumeEventType = exports.PresenceConsumeEventType = exports.ConferenceTranscriptionSentiment = exports.ConferenceEventType = exports.ConferenceConsumeEventType = exports.ConferenceConsumeDirection = exports.ChatEventType = exports.ChatConsumeEventType = exports.ChatTag = exports.ChatStatus = exports.ChatParticipantType = exports.ChatParticipantRole = exports.ChatDirection = exports.ChannelType = exports.CallFlowConsumeStatus = exports.CallEventType = exports.CallEndConsume = exports.CallFlowAttachmentConsumeType = exports.CallEndBy = exports.CallFlowStatus = exports.CallAnalyticsLiveProgressEventTrigger = exports.LiveEventType = exports.CallConsumeEventType = exports.
|
|
4
|
-
exports.PresenceNotAvailableException = exports.TelephonyStatus = exports.PresenceStatus = exports.MatchNotFoundException = exports.WebsocketEvent = exports.WebhookEventType = exports.PresenceEventType = exports.PresenceAnalyticsEventType = exports.WebsocketTopic = exports.WebsocketAction =
|
|
3
|
+
exports.ConsumeEventInputEvent = exports.SmsStatus = exports.SmsChannelType = exports.SmsConsumeEventType = exports.PresenceConsumeEventType = exports.ConferenceTranscriptionSentiment = exports.ConferenceEventType = exports.ConferenceConsumeEventType = exports.ConferenceConsumeDirection = exports.ChatEventType = exports.ChatConsumeEventType = exports.ChatTag = exports.ChatStatus = exports.ChatParticipantType = exports.ChatParticipantRole = exports.ChatDirection = exports.ChannelType = exports.CallFlowConsumeStatus = exports.CallEventType = exports.CallEndConsume = exports.CallFlowAttachmentConsumeType = exports.CallEndBy = exports.CallFlowStatus = exports.CallAnalyticsLiveProgressEventTrigger = exports.LiveEventType = exports.CallConsumeEventType = exports.ConferenceTranscriptionStatus = exports.ConferenceParticipantType = exports.ConferenceParticipantRole = exports.PbxLicenseType = exports.ConferenceDirection = exports.CallTranscriptionSpeaker = exports.RecordType = exports.CallFlowTranscriptionStatus = exports.License = exports.CallDevice = exports.CallParticipantType = exports.CallParticipantRole = exports.CallFlowAttachmentType = exports.CallFlowAttachment = exports.CallRecordPauseReason = exports.CallFlowAttachmentStatus = exports.CallRecordOwner = exports.WhatsAppStatus = exports.WhatsAppEventType = exports.BadRequestException = exports.ForbiddenException = exports.ConversationStatus = exports.CallDirection = exports.ValidationException = void 0;
|
|
4
|
+
exports.PresenceNotAvailableException = exports.TelephonyStatus = exports.PresenceStatus = exports.MatchNotFoundException = exports.WebsocketEvent = exports.WebhookEventType = exports.PresenceEventType = exports.PresenceAnalyticsEventType = exports.WebsocketTopic = exports.WebsocketAction = void 0;
|
|
5
5
|
const WdaStreamServiceException_1 = require("./WdaStreamServiceException");
|
|
6
6
|
class ValidationException extends WdaStreamServiceException_1.WdaStreamServiceException {
|
|
7
7
|
name = "ValidationException";
|
|
@@ -158,10 +158,6 @@ exports.ConferenceTranscriptionStatus = {
|
|
|
158
158
|
AVAILABLE: "AVAILABLE",
|
|
159
159
|
UNAVAILABLE: "UNAVAILABLE",
|
|
160
160
|
};
|
|
161
|
-
exports.InsightsQuality = {
|
|
162
|
-
MAX: "MAX",
|
|
163
|
-
RECOMMENDED: "RECOMMENDED",
|
|
164
|
-
};
|
|
165
161
|
exports.CallConsumeEventType = {
|
|
166
162
|
CALL_AGENTS_CANCEL: "CALL.AGENTS_CANCEL",
|
|
167
163
|
CALL_AGENTS_START: "CALL.AGENTS_START",
|
|
@@ -151,10 +151,6 @@ export const ConferenceTranscriptionStatus = {
|
|
|
151
151
|
AVAILABLE: "AVAILABLE",
|
|
152
152
|
UNAVAILABLE: "UNAVAILABLE",
|
|
153
153
|
};
|
|
154
|
-
export const InsightsQuality = {
|
|
155
|
-
MAX: "MAX",
|
|
156
|
-
RECOMMENDED: "RECOMMENDED",
|
|
157
|
-
};
|
|
158
154
|
export const CallConsumeEventType = {
|
|
159
155
|
CALL_AGENTS_CANCEL: "CALL.AGENTS_CANCEL",
|
|
160
156
|
CALL_AGENTS_START: "CALL.AGENTS_START",
|
|
@@ -1573,11 +1573,8 @@ declare const DescribeEventCommand_base: {
|
|
|
1573
1573
|
* // type: "call" || "call_transcription" || "conference" || "conference_transcription", // required
|
|
1574
1574
|
* // },
|
|
1575
1575
|
* // summary: { // TranscriptionSummary
|
|
1576
|
-
* // text: "STRING_VALUE",
|
|
1577
|
-
* // markdown: "STRING_VALUE",
|
|
1578
1576
|
* // title: "STRING_VALUE",
|
|
1579
1577
|
* // brief: "STRING_VALUE",
|
|
1580
|
-
* // verbose: "STRING_VALUE",
|
|
1581
1578
|
* // json: { // TranscriptionSummaryJson
|
|
1582
1579
|
* // callBriefVeryShortTitle: "STRING_VALUE",
|
|
1583
1580
|
* // callBrief: "STRING_VALUE",
|
|
@@ -1600,6 +1597,10 @@ declare const DescribeEventCommand_base: {
|
|
|
1600
1597
|
* // salesProposals: "<TranscriptionSummaryJsonArrayItem>",
|
|
1601
1598
|
* // actionItems: "<TranscriptionSummaryJsonArrayItem>",
|
|
1602
1599
|
* // nextSteps: "<TranscriptionSummaryJsonArrayItem>",
|
|
1600
|
+
* // csat: { // TranscriptionSummaryCsat
|
|
1601
|
+
* // score: "STRING_VALUE",
|
|
1602
|
+
* // reason: "STRING_VALUE",
|
|
1603
|
+
* // },
|
|
1603
1604
|
* // topics: "<TranscriptionSummaryJsonArrayItem>",
|
|
1604
1605
|
* // review: "<TranscriptionSummaryJsonArrayItem>",
|
|
1605
1606
|
* // progress: "<TranscriptionSummaryJsonArrayItem>",
|
|
@@ -1607,10 +1608,6 @@ declare const DescribeEventCommand_base: {
|
|
|
1607
1608
|
* // decisions: "<TranscriptionSummaryJsonArrayItem>",
|
|
1608
1609
|
* // tags: "<TranscriptionSummaryJsonArrayItem>",
|
|
1609
1610
|
* // },
|
|
1610
|
-
* // locale: "STRING_VALUE", // required
|
|
1611
|
-
* // template: "STRING_VALUE", // required
|
|
1612
|
-
* // instance: "STRING_VALUE", // required
|
|
1613
|
-
* // quality: "RECOMMENDED" || "MAX", // required
|
|
1614
1611
|
* // },
|
|
1615
1612
|
* // },
|
|
1616
1613
|
* // },
|
|
@@ -1858,11 +1855,8 @@ declare const DescribeEventCommand_base: {
|
|
|
1858
1855
|
* // type: "call" || "call_transcription" || "conference" || "conference_transcription", // required
|
|
1859
1856
|
* // },
|
|
1860
1857
|
* // summary: {
|
|
1861
|
-
* // text: "STRING_VALUE",
|
|
1862
|
-
* // markdown: "STRING_VALUE",
|
|
1863
1858
|
* // title: "STRING_VALUE",
|
|
1864
1859
|
* // brief: "STRING_VALUE",
|
|
1865
|
-
* // verbose: "STRING_VALUE",
|
|
1866
1860
|
* // json: {
|
|
1867
1861
|
* // callBriefVeryShortTitle: "STRING_VALUE",
|
|
1868
1862
|
* // callBrief: "STRING_VALUE",
|
|
@@ -1875,6 +1869,10 @@ declare const DescribeEventCommand_base: {
|
|
|
1875
1869
|
* // salesProposals: "<TranscriptionSummaryJsonArrayItem>",
|
|
1876
1870
|
* // actionItems: "<TranscriptionSummaryJsonArrayItem>",
|
|
1877
1871
|
* // nextSteps: "<TranscriptionSummaryJsonArrayItem>",
|
|
1872
|
+
* // csat: {
|
|
1873
|
+
* // score: "STRING_VALUE",
|
|
1874
|
+
* // reason: "STRING_VALUE",
|
|
1875
|
+
* // },
|
|
1878
1876
|
* // topics: "<TranscriptionSummaryJsonArrayItem>",
|
|
1879
1877
|
* // review: "<TranscriptionSummaryJsonArrayItem>",
|
|
1880
1878
|
* // progress: "<TranscriptionSummaryJsonArrayItem>",
|
|
@@ -1882,10 +1880,6 @@ declare const DescribeEventCommand_base: {
|
|
|
1882
1880
|
* // decisions: "<TranscriptionSummaryJsonArrayItem>",
|
|
1883
1881
|
* // tags: "<TranscriptionSummaryJsonArrayItem>",
|
|
1884
1882
|
* // },
|
|
1885
|
-
* // locale: "STRING_VALUE", // required
|
|
1886
|
-
* // template: "STRING_VALUE", // required
|
|
1887
|
-
* // instance: "STRING_VALUE", // required
|
|
1888
|
-
* // quality: "RECOMMENDED" || "MAX", // required
|
|
1889
1883
|
* // },
|
|
1890
1884
|
* // },
|
|
1891
1885
|
* // },
|
|
@@ -658,16 +658,11 @@ export interface TranscriptionTextChunk {
|
|
|
658
658
|
}
|
|
659
659
|
/**
|
|
660
660
|
* @public
|
|
661
|
-
* @enum
|
|
662
661
|
*/
|
|
663
|
-
export
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
}
|
|
667
|
-
/**
|
|
668
|
-
* @public
|
|
669
|
-
*/
|
|
670
|
-
export type InsightsQuality = typeof InsightsQuality[keyof typeof InsightsQuality];
|
|
662
|
+
export interface TranscriptionSummaryCsat {
|
|
663
|
+
score?: string | undefined;
|
|
664
|
+
reason?: string | undefined;
|
|
665
|
+
}
|
|
671
666
|
/**
|
|
672
667
|
* @public
|
|
673
668
|
*/
|
|
@@ -683,6 +678,7 @@ export interface TranscriptionSummaryJson {
|
|
|
683
678
|
salesProposals?: (string)[] | undefined;
|
|
684
679
|
actionItems?: (string)[] | undefined;
|
|
685
680
|
nextSteps?: (string)[] | undefined;
|
|
681
|
+
csat?: TranscriptionSummaryCsat | undefined;
|
|
686
682
|
topics?: (string)[] | undefined;
|
|
687
683
|
review?: (string)[] | undefined;
|
|
688
684
|
progress?: (string)[] | undefined;
|
|
@@ -694,16 +690,9 @@ export interface TranscriptionSummaryJson {
|
|
|
694
690
|
* @public
|
|
695
691
|
*/
|
|
696
692
|
export interface TranscriptionSummary {
|
|
697
|
-
text?: string | undefined;
|
|
698
|
-
markdown?: string | undefined;
|
|
699
693
|
title?: string | undefined;
|
|
700
694
|
brief?: string | undefined;
|
|
701
|
-
verbose?: string | undefined;
|
|
702
695
|
json?: TranscriptionSummaryJson | undefined;
|
|
703
|
-
locale: string;
|
|
704
|
-
template: string;
|
|
705
|
-
instance: string;
|
|
706
|
-
quality: InsightsQuality;
|
|
707
696
|
}
|
|
708
697
|
/**
|
|
709
698
|
* @public
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wildix/wda-stream-client",
|
|
3
3
|
"description": "@wildix/wda-stream-client client",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.63",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|