@wildix/wda-stream-client 1.1.61 → 1.1.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.
|
@@ -987,7 +987,7 @@ declare const ConsumeEventCommand_base: {
|
|
|
987
987
|
* company: "STRING_VALUE", // required
|
|
988
988
|
* type: "SERVICE.INIT" || "SERVICE.UPDATE" || "SERVICE.END" || "SERVICE.CALL_INIT" || "SERVICE.CALL_UPDATE" || "SERVICE.CALL_END" || "SERVICE.AGENT_JOIN" || "SERVICE.AGENT_UPDATE" || "SERVICE.AGENT_LEAVE", // required
|
|
989
989
|
* data: { // ServiceConsumeEventData
|
|
990
|
-
* name: "STRING_VALUE",
|
|
990
|
+
* name: "STRING_VALUE",
|
|
991
991
|
* strategy: "STRING_VALUE",
|
|
992
992
|
* maxCalls: "STRING_VALUE",
|
|
993
993
|
* weight: "STRING_VALUE",
|
|
@@ -1021,7 +1021,7 @@ declare const ConsumeEventCommand_base: {
|
|
|
1021
1021
|
* company: "STRING_VALUE", // required
|
|
1022
1022
|
* type: "SERVICE.INIT" || "SERVICE.UPDATE" || "SERVICE.END" || "SERVICE.CALL_INIT" || "SERVICE.CALL_UPDATE" || "SERVICE.CALL_END" || "SERVICE.AGENT_JOIN" || "SERVICE.AGENT_UPDATE" || "SERVICE.AGENT_LEAVE", // required
|
|
1023
1023
|
* data: {
|
|
1024
|
-
* name: "STRING_VALUE",
|
|
1024
|
+
* name: "STRING_VALUE",
|
|
1025
1025
|
* strategy: "STRING_VALUE",
|
|
1026
1026
|
* maxCalls: "STRING_VALUE",
|
|
1027
1027
|
* weight: "STRING_VALUE",
|
|
@@ -1071,6 +1071,10 @@ declare const ConsumeEventCommand_base: {
|
|
|
1071
1071
|
* flowId: Number("int"),
|
|
1072
1072
|
* startTime: Number("long"),
|
|
1073
1073
|
* direction: "INTERNAL" || "INBOUND" || "OUTBOUND" || "UNDEFINED",
|
|
1074
|
+
* customer: { // ServiceCustomer
|
|
1075
|
+
* phone: "STRING_VALUE", // required
|
|
1076
|
+
* name: "STRING_VALUE",
|
|
1077
|
+
* },
|
|
1074
1078
|
* },
|
|
1075
1079
|
* },
|
|
1076
1080
|
* serviceCallUpdate: { // ServiceCallUpdateConsumeEvent
|
|
@@ -1089,6 +1093,10 @@ declare const ConsumeEventCommand_base: {
|
|
|
1089
1093
|
* flowId: Number("int"),
|
|
1090
1094
|
* startTime: Number("long"),
|
|
1091
1095
|
* direction: "INTERNAL" || "INBOUND" || "OUTBOUND" || "UNDEFINED",
|
|
1096
|
+
* customer: {
|
|
1097
|
+
* phone: "STRING_VALUE", // required
|
|
1098
|
+
* name: "STRING_VALUE",
|
|
1099
|
+
* },
|
|
1092
1100
|
* },
|
|
1093
1101
|
* },
|
|
1094
1102
|
* serviceCallEnd: { // ServiceCallEndConsumeEvent
|
|
@@ -1107,6 +1115,10 @@ declare const ConsumeEventCommand_base: {
|
|
|
1107
1115
|
* flowId: Number("int"),
|
|
1108
1116
|
* startTime: Number("long"),
|
|
1109
1117
|
* direction: "INTERNAL" || "INBOUND" || "OUTBOUND" || "UNDEFINED",
|
|
1118
|
+
* customer: {
|
|
1119
|
+
* phone: "STRING_VALUE", // required
|
|
1120
|
+
* name: "STRING_VALUE",
|
|
1121
|
+
* },
|
|
1110
1122
|
* },
|
|
1111
1123
|
* },
|
|
1112
1124
|
* serviceAgentJoin: { // ServiceAgentJoinConsumeEvent
|
|
@@ -3226,7 +3226,7 @@ declare const DescribeEventCommand_base: {
|
|
|
3226
3226
|
* // pbx: "STRING_VALUE", // required
|
|
3227
3227
|
* // time: Number("long"), // required
|
|
3228
3228
|
* // company: "STRING_VALUE", // required
|
|
3229
|
-
* // name: "STRING_VALUE",
|
|
3229
|
+
* // name: "STRING_VALUE",
|
|
3230
3230
|
* // strategy: "STRING_VALUE",
|
|
3231
3231
|
* // maxCalls: "STRING_VALUE",
|
|
3232
3232
|
* // weight: "STRING_VALUE",
|
|
@@ -3266,7 +3266,7 @@ declare const DescribeEventCommand_base: {
|
|
|
3266
3266
|
* // pbx: "STRING_VALUE", // required
|
|
3267
3267
|
* // time: Number("long"), // required
|
|
3268
3268
|
* // company: "STRING_VALUE", // required
|
|
3269
|
-
* // name: "STRING_VALUE",
|
|
3269
|
+
* // name: "STRING_VALUE",
|
|
3270
3270
|
* // strategy: "STRING_VALUE",
|
|
3271
3271
|
* // maxCalls: "STRING_VALUE",
|
|
3272
3272
|
* // weight: "STRING_VALUE",
|
|
@@ -3304,6 +3304,10 @@ declare const DescribeEventCommand_base: {
|
|
|
3304
3304
|
* // flowId: Number("int"),
|
|
3305
3305
|
* // startTime: Number("long"),
|
|
3306
3306
|
* // direction: "INTERNAL" || "INBOUND" || "OUTBOUND" || "UNDEFINED",
|
|
3307
|
+
* // customer: { // ServiceCustomer
|
|
3308
|
+
* // phone: "STRING_VALUE", // required
|
|
3309
|
+
* // name: "STRING_VALUE",
|
|
3310
|
+
* // },
|
|
3307
3311
|
* // event: "chat" || "chat_annotation" || "chat_transcription" || "chat_complete" || "chat_interrupted" || "chat_missed" || "call_cost" || "call" || "call_annotation" || "call_complete" || "call_interrupted" || "call_transcription" || "conference" || "conference_annotation" || "conference_complete" || "conference_interrupted" || "conference_transcription" || "conference_join" || "conference_leave" || "service" || "service_complete" || "service_agent" || "service_agent_status" || "service_call" || "service_call_complete", // required
|
|
3308
3312
|
* // eventTrigger: "service.init" || "service.update" || "service.end" || "service.call_init" || "service.call_update" || "service.call_end" || "service.agent_join" || "service.agent_update" || "service.agent_leave", // required
|
|
3309
3313
|
* // },
|
|
@@ -3321,6 +3325,10 @@ declare const DescribeEventCommand_base: {
|
|
|
3321
3325
|
* // flowId: Number("int"),
|
|
3322
3326
|
* // startTime: Number("long"),
|
|
3323
3327
|
* // direction: "INTERNAL" || "INBOUND" || "OUTBOUND" || "UNDEFINED",
|
|
3328
|
+
* // customer: {
|
|
3329
|
+
* // phone: "STRING_VALUE", // required
|
|
3330
|
+
* // name: "STRING_VALUE",
|
|
3331
|
+
* // },
|
|
3324
3332
|
* // event: "chat" || "chat_annotation" || "chat_transcription" || "chat_complete" || "chat_interrupted" || "chat_missed" || "call_cost" || "call" || "call_annotation" || "call_complete" || "call_interrupted" || "call_transcription" || "conference" || "conference_annotation" || "conference_complete" || "conference_interrupted" || "conference_transcription" || "conference_join" || "conference_leave" || "service" || "service_complete" || "service_agent" || "service_agent_status" || "service_call" || "service_call_complete", // required
|
|
3325
3333
|
* // },
|
|
3326
3334
|
* // ServiceCallAnalyticsRecordEvent: { // ServiceCallAnalyticsRecordEvent
|
|
@@ -3328,7 +3336,7 @@ declare const DescribeEventCommand_base: {
|
|
|
3328
3336
|
* // pbx: "STRING_VALUE", // required
|
|
3329
3337
|
* // time: Number("long"), // required
|
|
3330
3338
|
* // company: "STRING_VALUE", // required
|
|
3331
|
-
* // name: "STRING_VALUE",
|
|
3339
|
+
* // name: "STRING_VALUE",
|
|
3332
3340
|
* // strategy: "STRING_VALUE",
|
|
3333
3341
|
* // maxCalls: "STRING_VALUE",
|
|
3334
3342
|
* // weight: "STRING_VALUE",
|
|
@@ -3338,6 +3346,10 @@ declare const DescribeEventCommand_base: {
|
|
|
3338
3346
|
* // flowId: Number("int"),
|
|
3339
3347
|
* // startTime: Number("long"),
|
|
3340
3348
|
* // direction: "INTERNAL" || "INBOUND" || "OUTBOUND" || "UNDEFINED",
|
|
3349
|
+
* // customer: {
|
|
3350
|
+
* // phone: "STRING_VALUE", // required
|
|
3351
|
+
* // name: "STRING_VALUE",
|
|
3352
|
+
* // },
|
|
3341
3353
|
* // type: "chat" || "chat_annotation" || "chat_transcription" || "chat_complete" || "chat_interrupted" || "chat_missed" || "call_cost" || "call" || "call_annotation" || "call_complete" || "call_interrupted" || "call_transcription" || "conference" || "conference_annotation" || "conference_complete" || "conference_interrupted" || "conference_transcription" || "conference_join" || "conference_leave" || "service" || "service_complete" || "service_agent" || "service_agent_status" || "service_call" || "service_call_complete", // required
|
|
3342
3354
|
* // agents: [
|
|
3343
3355
|
* // {
|
|
@@ -3339,6 +3339,13 @@ export declare const ServiceCallAction: {
|
|
|
3339
3339
|
* @public
|
|
3340
3340
|
*/
|
|
3341
3341
|
export type ServiceCallAction = typeof ServiceCallAction[keyof typeof ServiceCallAction];
|
|
3342
|
+
/**
|
|
3343
|
+
* @public
|
|
3344
|
+
*/
|
|
3345
|
+
export interface ServiceCustomer {
|
|
3346
|
+
phone: string;
|
|
3347
|
+
name?: string | undefined;
|
|
3348
|
+
}
|
|
3342
3349
|
/**
|
|
3343
3350
|
* Base service call structure.
|
|
3344
3351
|
* @public
|
|
@@ -3372,6 +3379,7 @@ export interface ServiceCallConsumeEventData {
|
|
|
3372
3379
|
flowId?: number | undefined;
|
|
3373
3380
|
startTime?: number | undefined;
|
|
3374
3381
|
direction?: CallDirection | undefined;
|
|
3382
|
+
customer?: ServiceCustomer | undefined;
|
|
3375
3383
|
}
|
|
3376
3384
|
/**
|
|
3377
3385
|
* @public
|
|
@@ -3485,7 +3493,7 @@ export interface ServiceConsumeEventData {
|
|
|
3485
3493
|
* The display name of the service.
|
|
3486
3494
|
* @public
|
|
3487
3495
|
*/
|
|
3488
|
-
name
|
|
3496
|
+
name?: string | undefined;
|
|
3489
3497
|
/**
|
|
3490
3498
|
* Call distribution strategy inside the service (e.g., 'ringall', 'linear', 'rrmemory')
|
|
3491
3499
|
* @public
|
|
@@ -6287,7 +6295,7 @@ export interface ServiceAgentsStatusAnalyticsRecordEvent {
|
|
|
6287
6295
|
* The display name of the service.
|
|
6288
6296
|
* @public
|
|
6289
6297
|
*/
|
|
6290
|
-
name
|
|
6298
|
+
name?: string | undefined;
|
|
6291
6299
|
/**
|
|
6292
6300
|
* Call distribution strategy inside the service (e.g., 'ringall', 'linear', 'rrmemory')
|
|
6293
6301
|
* @public
|
|
@@ -6377,7 +6385,7 @@ export interface ServiceAnalyticsLiveProgressEvent {
|
|
|
6377
6385
|
* The display name of the service.
|
|
6378
6386
|
* @public
|
|
6379
6387
|
*/
|
|
6380
|
-
name
|
|
6388
|
+
name?: string | undefined;
|
|
6381
6389
|
/**
|
|
6382
6390
|
* Call distribution strategy inside the service (e.g., 'ringall', 'linear', 'rrmemory')
|
|
6383
6391
|
* @public
|
|
@@ -6461,6 +6469,7 @@ export interface ServiceCallAnalyticsLiveCompleteEvent {
|
|
|
6461
6469
|
flowId?: number | undefined;
|
|
6462
6470
|
startTime?: number | undefined;
|
|
6463
6471
|
direction?: CallDirection | undefined;
|
|
6472
|
+
customer?: ServiceCustomer | undefined;
|
|
6464
6473
|
event: LiveEventType;
|
|
6465
6474
|
}
|
|
6466
6475
|
/**
|
|
@@ -6508,6 +6517,7 @@ export interface ServiceCallAnalyticsLiveProgressEvent {
|
|
|
6508
6517
|
flowId?: number | undefined;
|
|
6509
6518
|
startTime?: number | undefined;
|
|
6510
6519
|
direction?: CallDirection | undefined;
|
|
6520
|
+
customer?: ServiceCustomer | undefined;
|
|
6511
6521
|
event: LiveEventType;
|
|
6512
6522
|
/**
|
|
6513
6523
|
* An original event that triggers current one.
|
|
@@ -6568,7 +6578,7 @@ export interface ServiceCallAnalyticsRecordEvent {
|
|
|
6568
6578
|
* The display name of the service.
|
|
6569
6579
|
* @public
|
|
6570
6580
|
*/
|
|
6571
|
-
name
|
|
6581
|
+
name?: string | undefined;
|
|
6572
6582
|
/**
|
|
6573
6583
|
* Call distribution strategy inside the service (e.g., 'ringall', 'linear', 'rrmemory')
|
|
6574
6584
|
* @public
|
|
@@ -6602,6 +6612,7 @@ export interface ServiceCallAnalyticsRecordEvent {
|
|
|
6602
6612
|
flowId?: number | undefined;
|
|
6603
6613
|
startTime?: number | undefined;
|
|
6604
6614
|
direction?: CallDirection | undefined;
|
|
6615
|
+
customer?: ServiceCustomer | undefined;
|
|
6605
6616
|
/**
|
|
6606
6617
|
* Type discriminator; always 'service_call' for this event.
|
|
6607
6618
|
* @public
|
|
@@ -7045,15 +7056,3 @@ export interface WebhookConferenceLiveAnnotationEvent {
|
|
|
7045
7056
|
integrationId: string;
|
|
7046
7057
|
data: ConferenceAnalyticsLiveAnnotationEvent;
|
|
7047
7058
|
}
|
|
7048
|
-
/**
|
|
7049
|
-
* @public
|
|
7050
|
-
*/
|
|
7051
|
-
export interface WebhookConferenceLiveCompletedEvent {
|
|
7052
|
-
id: string;
|
|
7053
|
-
pbx?: string | undefined;
|
|
7054
|
-
company?: string | undefined;
|
|
7055
|
-
type: WebhookEventType;
|
|
7056
|
-
time: number;
|
|
7057
|
-
integrationId: string;
|
|
7058
|
-
data: ConferenceAnalyticsLiveCompleteEvent;
|
|
7059
|
-
}
|
|
@@ -1,7 +1,19 @@
|
|
|
1
1
|
import { WdaStreamServiceException as __BaseException } from "./WdaStreamServiceException";
|
|
2
|
-
import { CallAnalyticsAnnotationsRecordEvent, CallAnalyticsCostRecordEvent, CallAnalyticsLiveAnnotationEvent, CallAnalyticsLiveCompleteEvent, CallAnalyticsLiveInterruptedEvent, CallAnalyticsLiveProgressEvent, CallAnalyticsLiveProgressEventFlow, CallAnalyticsLiveTranscriptionEvent, CallAnalyticsRecordEvent, CallAnalyticsTranscriptionRecordEvent, CallDevice, CallEventType, ChatAnalyticsAnnotationsRecordEvent, ChatAnalyticsLiveAnnotationEvent, ChatAnalyticsLiveCompleteEvent, ChatAnalyticsLiveInterruptedEvent, ChatAnalyticsLiveProgressEvent, ChatAnalyticsLiveTranscriptionEvent, ChatAnalyticsManagerMissedEvent, ChatAnalyticsRecordEvent, ChatAnalyticsTranscriptionRecordEvent, ChatEventType, ConferenceAnalyticsAnnotationsRecordEvent, ConferenceAnalyticsLiveAnnotationEvent, ConferenceAnalyticsLiveCompleteEvent, ConferenceAnalyticsLiveInterruptedEvent, ConferenceAnalyticsLiveJoinEvent, ConferenceAnalyticsLiveLeaveEvent, ConferenceAnalyticsLiveProgressEvent, ConferenceAnalyticsLiveTranscriptionEvent, ConferenceAnalyticsRecordEvent, ConferenceAnalyticsTranscriptionRecordEvent, ConferenceEventType, ConferenceParticipant, ConferenceRecord, PresenceAnalyticsConferenceEvent, PresenceAnalyticsStatusEvent, PresenceAnalyticsTelephonyEvent, PresenceEventType, ServiceAgentsStatusAnalyticsRecordEvent, ServiceAnalyticsLiveCompleteEvent, ServiceAnalyticsLiveProgressEvent, ServiceCallAnalyticsLiveCompleteEvent, ServiceCallAnalyticsLiveProgressEvent, ServiceCallAnalyticsRecordEvent, ServiceCallEventType, ServiceEventType, SmsStatusConsumeEventData, TranscriptionSummary, TranscriptionTextChunk, WebhookCallAnnotationsCompletedEvent, WebhookCallCompletedEvent, WebhookCallLiveAnnotationEvent, WebhookCallLiveCompletedEvent, WebhookCallLiveInterruptedEvent, WebhookCallLiveProgressEvent, WebhookCallLiveRecordPauseEvent, WebhookCallLiveRecordStartEvent, WebhookCallLiveRecordStopEvent, WebhookCallLiveRecordUnpauseEvent, WebhookCallLiveTranscriptionEvent, WebhookCallSummaryCompletedEvent, WebhookCallTranscriptionCompletedEvent, WebhookCallTranscriptionTextCompletedEvent, WebhookChatAnnotationsCompletedEvent, WebhookChatCompletedEvent, WebhookChatLiveAnnotationEvent, WebhookChatLiveCompletedEvent, WebhookChatLiveInterruptedEvent, WebhookChatLiveProgressEvent, WebhookChatManagerMissedEvent, WebhookChatSummaryCompletedEvent, WebhookConferenceAnnotationsCompletedEvent, WebhookConferenceCompletedEvent, WebhookConferenceLiveAnnotationEvent,
|
|
2
|
+
import { CallAnalyticsAnnotationsRecordEvent, CallAnalyticsCostRecordEvent, CallAnalyticsLiveAnnotationEvent, CallAnalyticsLiveCompleteEvent, CallAnalyticsLiveInterruptedEvent, CallAnalyticsLiveProgressEvent, CallAnalyticsLiveProgressEventFlow, CallAnalyticsLiveTranscriptionEvent, CallAnalyticsRecordEvent, CallAnalyticsTranscriptionRecordEvent, CallDevice, CallEventType, ChatAnalyticsAnnotationsRecordEvent, ChatAnalyticsLiveAnnotationEvent, ChatAnalyticsLiveCompleteEvent, ChatAnalyticsLiveInterruptedEvent, ChatAnalyticsLiveProgressEvent, ChatAnalyticsLiveTranscriptionEvent, ChatAnalyticsManagerMissedEvent, ChatAnalyticsRecordEvent, ChatAnalyticsTranscriptionRecordEvent, ChatEventType, ConferenceAnalyticsAnnotationsRecordEvent, ConferenceAnalyticsLiveAnnotationEvent, ConferenceAnalyticsLiveCompleteEvent, ConferenceAnalyticsLiveInterruptedEvent, ConferenceAnalyticsLiveJoinEvent, ConferenceAnalyticsLiveLeaveEvent, ConferenceAnalyticsLiveProgressEvent, ConferenceAnalyticsLiveTranscriptionEvent, ConferenceAnalyticsRecordEvent, ConferenceAnalyticsTranscriptionRecordEvent, ConferenceEventType, ConferenceParticipant, ConferenceRecord, PresenceAnalyticsConferenceEvent, PresenceAnalyticsStatusEvent, PresenceAnalyticsTelephonyEvent, PresenceEventType, ServiceAgentsStatusAnalyticsRecordEvent, ServiceAnalyticsLiveCompleteEvent, ServiceAnalyticsLiveProgressEvent, ServiceCallAnalyticsLiveCompleteEvent, ServiceCallAnalyticsLiveProgressEvent, ServiceCallAnalyticsRecordEvent, ServiceCallEventType, ServiceEventType, SmsStatusConsumeEventData, TranscriptionSummary, TranscriptionTextChunk, WebhookCallAnnotationsCompletedEvent, WebhookCallCompletedEvent, WebhookCallLiveAnnotationEvent, WebhookCallLiveCompletedEvent, WebhookCallLiveInterruptedEvent, WebhookCallLiveProgressEvent, WebhookCallLiveRecordPauseEvent, WebhookCallLiveRecordStartEvent, WebhookCallLiveRecordStopEvent, WebhookCallLiveRecordUnpauseEvent, WebhookCallLiveTranscriptionEvent, WebhookCallSummaryCompletedEvent, WebhookCallTranscriptionCompletedEvent, WebhookCallTranscriptionTextCompletedEvent, WebhookChatAnnotationsCompletedEvent, WebhookChatCompletedEvent, WebhookChatLiveAnnotationEvent, WebhookChatLiveCompletedEvent, WebhookChatLiveInterruptedEvent, WebhookChatLiveProgressEvent, WebhookChatManagerMissedEvent, WebhookChatSummaryCompletedEvent, WebhookConferenceAnnotationsCompletedEvent, WebhookConferenceCompletedEvent, WebhookConferenceLiveAnnotationEvent, WebhookEventType, WebsocketAuthorizeAction, WebsocketSubscribeAction, WebsocketTopic, WebsocketUnsubscribeAction } from "./models_0";
|
|
3
3
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
4
4
|
import { DocumentType as __DocumentType } from "@smithy/types";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export interface WebhookConferenceLiveCompletedEvent {
|
|
9
|
+
id: string;
|
|
10
|
+
pbx?: string | undefined;
|
|
11
|
+
company?: string | undefined;
|
|
12
|
+
type: WebhookEventType;
|
|
13
|
+
time: number;
|
|
14
|
+
integrationId: string;
|
|
15
|
+
data: ConferenceAnalyticsLiveCompleteEvent;
|
|
16
|
+
}
|
|
5
17
|
/**
|
|
6
18
|
* @public
|
|
7
19
|
*/
|
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.1.
|
|
4
|
+
"version": "1.1.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",
|