@wildix/wda-stream-client 1.1.56 → 1.1.58
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.
- package/dist-cjs/WdaStream.js +6 -0
- package/dist-cjs/commands/GetOngoingCallAnnotationsCommand.js +21 -0
- package/dist-cjs/commands/GetOngoingChatAnnotationsCommand.js +21 -0
- package/dist-cjs/commands/GetOngoingConferenceAnnotationsCommand.js +21 -0
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/models/models_0.js +67 -31
- package/dist-cjs/models/models_1.js +7 -1
- package/dist-cjs/protocols/Aws_restJson1.js +342 -3
- package/dist-es/WdaStream.js +6 -0
- package/dist-es/commands/GetOngoingCallAnnotationsCommand.js +17 -0
- package/dist-es/commands/GetOngoingChatAnnotationsCommand.js +17 -0
- package/dist-es/commands/GetOngoingConferenceAnnotationsCommand.js +17 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +65 -29
- package/dist-es/models/models_1.js +6 -0
- package/dist-es/protocols/Aws_restJson1.js +337 -4
- package/dist-types/WdaStream.d.ts +21 -0
- package/dist-types/WdaStreamClient.d.ts +5 -2
- package/dist-types/commands/ConsumeEventCommand.d.ts +146 -88
- package/dist-types/commands/DescribeEventCommand.d.ts +336 -195
- package/dist-types/commands/GetOngoingCallAnnotationsCommand.d.ts +286 -0
- package/dist-types/commands/GetOngoingCallCommand.d.ts +1 -1
- package/dist-types/commands/GetOngoingCallTranscriptionCommand.d.ts +2 -2
- package/dist-types/commands/GetOngoingChatAnnotationsCommand.d.ts +190 -0
- package/dist-types/commands/GetOngoingConferenceAnnotationsCommand.d.ts +134 -0
- package/dist-types/commands/GetOngoingConferenceCommand.d.ts +2 -1
- package/dist-types/commands/GetOngoingConferenceTranscriptionCommand.d.ts +3 -2
- package/dist-types/commands/ListServicesCommand.d.ts +0 -1
- package/dist-types/commands/QueryConversationsCommand.d.ts +6 -4
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +726 -740
- package/dist-types/models/models_1.d.ts +288 -18
- package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,240 @@
|
|
|
1
1
|
import { WdaStreamServiceException as __BaseException } from "./WdaStreamServiceException";
|
|
2
|
-
import { CallAnalyticsCostRecordEvent, CallAnalyticsLiveCompleteEvent, CallAnalyticsLiveInterruptedEvent, CallAnalyticsLiveProgressEvent, CallAnalyticsLiveProgressEventFlow, CallAnalyticsLiveTranscriptionEvent, CallAnalyticsRecordEvent, CallAnalyticsTranscriptionRecordEvent, CallEventType, ChatAnalyticsLiveCompleteEvent, ChatAnalyticsLiveInterruptedEvent, ChatAnalyticsLiveProgressEvent, ChatAnalyticsLiveTranscriptionEvent, ChatAnalyticsManagerMissedEvent, ChatAnalyticsRecordEvent, ChatAnalyticsTranscriptionRecordEvent, ChatEventType, ConferenceAnalyticsLiveCompleteEvent, ConferenceAnalyticsLiveInterruptedEvent, ConferenceAnalyticsLiveJoinEvent, ConferenceAnalyticsLiveLeaveEvent, ConferenceAnalyticsLiveProgressEvent, ConferenceAnalyticsLiveTranscriptionEvent, ConferenceAnalyticsRecordEvent, ConferenceAnalyticsTranscriptionRecordEvent, ConferenceEventType, PresenceAnalyticsConferenceEvent, PresenceAnalyticsStatusEvent, PresenceAnalyticsTelephonyEvent, PresenceEventType,
|
|
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, ServiceAnalyticsLiveCompleteEvent, ServiceAnalyticsLiveProgressEvent, ServiceCallAnalyticsLiveCompleteEvent, ServiceCallAnalyticsLiveProgressEvent, ServiceCallEventType, ServiceEventType, SmsStatusConsumeEventData, WebhookCallCompletedEvent, WebhookCallLiveAnnotationEvent, WebhookCallLiveCompletedEvent, WebhookCallLiveInterruptedEvent, WebhookCallLiveProgressEvent, WebhookCallLiveRecordPauseEvent, WebhookCallLiveRecordStartEvent, WebhookCallLiveRecordStopEvent, WebhookCallLiveRecordUnpauseEvent, WebhookCallLiveTranscriptionEvent, WebhookCallSummaryCompletedEvent, WebhookCallTranscriptionCompletedEvent, WebhookCallTranscriptionTextCompletedEvent, WebhookChatCompletedEvent, WebhookChatLiveAnnotationEvent, WebhookChatLiveCompletedEvent, WebhookChatLiveInterruptedEvent, WebhookChatLiveProgressEvent, WebhookChatManagerMissedEvent, WebhookChatSummaryCompletedEvent, WebhookConferenceCompletedEvent, WebhookConferenceLiveAnnotationEvent, WebhookConferenceLiveCompletedEvent, WebhookConferenceLiveInterruptedEvent, WebhookConferenceLiveJoinEvent, WebhookConferenceLiveLeaveEvent, WebhookConferenceLiveProgressEvent, WebhookConferenceLiveTranscriptionEvent, WebhookConferenceSummaryCompletedEvent, WebhookConferenceTranscriptionCompletedEventData, 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 WebhookConferenceTranscriptionCompletedEvent {
|
|
9
|
+
id: string;
|
|
10
|
+
pbx?: string | undefined;
|
|
11
|
+
company?: string | undefined;
|
|
12
|
+
type: WebhookEventType;
|
|
13
|
+
time: number;
|
|
14
|
+
integrationId: string;
|
|
15
|
+
data: WebhookConferenceTranscriptionCompletedEventData;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*/
|
|
20
|
+
export interface WebhookConferenceTranscriptionTextCompletedEventData {
|
|
21
|
+
conference: ConferenceRecord;
|
|
22
|
+
transcription: string;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
*/
|
|
27
|
+
export interface WebhookConferenceTranscriptionTextCompletedEvent {
|
|
28
|
+
id: string;
|
|
29
|
+
pbx?: string | undefined;
|
|
30
|
+
company?: string | undefined;
|
|
31
|
+
type: WebhookEventType;
|
|
32
|
+
time: number;
|
|
33
|
+
integrationId: string;
|
|
34
|
+
data: WebhookConferenceTranscriptionTextCompletedEventData;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* @public
|
|
38
|
+
*/
|
|
39
|
+
export interface WebhookOutdatedCallParticipant {
|
|
40
|
+
type: string;
|
|
41
|
+
phone?: string | undefined;
|
|
42
|
+
name?: string | undefined;
|
|
43
|
+
company?: string | undefined;
|
|
44
|
+
email?: string | undefined;
|
|
45
|
+
userId?: string | undefined;
|
|
46
|
+
userExtension?: string | undefined;
|
|
47
|
+
userDepartment?: string | undefined;
|
|
48
|
+
groupId?: string | undefined;
|
|
49
|
+
groupName?: string | undefined;
|
|
50
|
+
userAgent?: string | undefined;
|
|
51
|
+
userDevice?: CallDevice | undefined;
|
|
52
|
+
role: string;
|
|
53
|
+
license?: string | undefined;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* @public
|
|
57
|
+
*/
|
|
58
|
+
export interface WebhookOutdatedCallEventData {
|
|
59
|
+
status?: string | undefined;
|
|
60
|
+
caller?: WebhookOutdatedCallParticipant | undefined;
|
|
61
|
+
callee?: WebhookOutdatedCallParticipant | undefined;
|
|
62
|
+
service?: string | undefined;
|
|
63
|
+
destination?: string | undefined;
|
|
64
|
+
trunkName?: string | undefined;
|
|
65
|
+
queueId?: string | undefined;
|
|
66
|
+
queueName?: string | undefined;
|
|
67
|
+
tags: (string)[];
|
|
68
|
+
flags: (string)[];
|
|
69
|
+
endCause?: string | undefined;
|
|
70
|
+
endCauseStr?: string | undefined;
|
|
71
|
+
endBy?: string | undefined;
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* @public
|
|
75
|
+
*/
|
|
76
|
+
export interface WebhookOutdatedCallEndEvent {
|
|
77
|
+
id: string;
|
|
78
|
+
pbx?: string | undefined;
|
|
79
|
+
company?: string | undefined;
|
|
80
|
+
type: WebhookEventType;
|
|
81
|
+
time: number;
|
|
82
|
+
integrationId: string;
|
|
83
|
+
data: WebhookOutdatedCallEventData;
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* @public
|
|
87
|
+
*/
|
|
88
|
+
export interface WebhookOutdatedCallStartEvent {
|
|
89
|
+
id: string;
|
|
90
|
+
pbx?: string | undefined;
|
|
91
|
+
company?: string | undefined;
|
|
92
|
+
type: WebhookEventType;
|
|
93
|
+
time: number;
|
|
94
|
+
integrationId: string;
|
|
95
|
+
data: WebhookOutdatedCallEventData;
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* @public
|
|
99
|
+
*/
|
|
100
|
+
export interface WebhookOutdatedCallUpdateEvent {
|
|
101
|
+
id: string;
|
|
102
|
+
pbx?: string | undefined;
|
|
103
|
+
company?: string | undefined;
|
|
104
|
+
type: WebhookEventType;
|
|
105
|
+
time: number;
|
|
106
|
+
integrationId: string;
|
|
107
|
+
data: WebhookOutdatedCallEventData;
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* @public
|
|
111
|
+
*/
|
|
112
|
+
export interface WebhookPresenceConferenceEventData {
|
|
113
|
+
extension: string;
|
|
114
|
+
isJoined: boolean;
|
|
115
|
+
isLeaved: boolean;
|
|
116
|
+
participant: ConferenceParticipant;
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* @public
|
|
120
|
+
*/
|
|
121
|
+
export interface WebhookPresenceConferenceEvent {
|
|
122
|
+
id: string;
|
|
123
|
+
pbx?: string | undefined;
|
|
124
|
+
company?: string | undefined;
|
|
125
|
+
type: WebhookEventType;
|
|
126
|
+
time: number;
|
|
127
|
+
integrationId: string;
|
|
128
|
+
data: WebhookPresenceConferenceEventData;
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* @public
|
|
132
|
+
*/
|
|
133
|
+
export interface WebhookPresenceTelephonyEventData {
|
|
134
|
+
extension: string;
|
|
135
|
+
email: string;
|
|
136
|
+
sourceId: string;
|
|
137
|
+
status: string;
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* @public
|
|
141
|
+
*/
|
|
142
|
+
export interface WebhookPresenceTelephonyEvent {
|
|
143
|
+
id: string;
|
|
144
|
+
pbx?: string | undefined;
|
|
145
|
+
company?: string | undefined;
|
|
146
|
+
type: WebhookEventType;
|
|
147
|
+
time: number;
|
|
148
|
+
integrationId: string;
|
|
149
|
+
data: WebhookPresenceTelephonyEventData;
|
|
150
|
+
}
|
|
151
|
+
/**
|
|
152
|
+
* @public
|
|
153
|
+
*/
|
|
154
|
+
export interface WebhookPresenceUserEventLocationData {
|
|
155
|
+
address: string;
|
|
156
|
+
lat: string;
|
|
157
|
+
lng: string;
|
|
158
|
+
}
|
|
159
|
+
/**
|
|
160
|
+
* @public
|
|
161
|
+
*/
|
|
162
|
+
export interface WebhookPresenceUserEventData {
|
|
163
|
+
extension: string;
|
|
164
|
+
email: string;
|
|
165
|
+
sourceId: string;
|
|
166
|
+
status: string;
|
|
167
|
+
until: string;
|
|
168
|
+
message: string;
|
|
169
|
+
location: WebhookPresenceUserEventLocationData;
|
|
170
|
+
}
|
|
171
|
+
/**
|
|
172
|
+
* @public
|
|
173
|
+
*/
|
|
174
|
+
export interface WebhookPresenceUserEvent {
|
|
175
|
+
id: string;
|
|
176
|
+
pbx?: string | undefined;
|
|
177
|
+
company?: string | undefined;
|
|
178
|
+
type: WebhookEventType;
|
|
179
|
+
time: number;
|
|
180
|
+
integrationId: string;
|
|
181
|
+
data: WebhookPresenceUserEventData;
|
|
182
|
+
}
|
|
183
|
+
/**
|
|
184
|
+
* @public
|
|
185
|
+
*/
|
|
186
|
+
export interface WebhookSmsStatusEvent {
|
|
187
|
+
id: string;
|
|
188
|
+
pbx?: string | undefined;
|
|
189
|
+
company?: string | undefined;
|
|
190
|
+
type: WebhookEventType;
|
|
191
|
+
time: number;
|
|
192
|
+
integrationId: string;
|
|
193
|
+
data: SmsStatusConsumeEventData;
|
|
194
|
+
}
|
|
195
|
+
/**
|
|
196
|
+
* @public
|
|
197
|
+
*/
|
|
198
|
+
export interface WebsocketAuthorizeBadRequestException {
|
|
199
|
+
event?: string | undefined;
|
|
200
|
+
requestId?: string | undefined;
|
|
201
|
+
connectionId?: string | undefined;
|
|
202
|
+
message?: string | undefined;
|
|
203
|
+
code?: number | undefined;
|
|
204
|
+
source?: WebsocketAuthorizeAction | undefined;
|
|
205
|
+
}
|
|
206
|
+
/**
|
|
207
|
+
* @public
|
|
208
|
+
* @enum
|
|
209
|
+
*/
|
|
210
|
+
export declare const WebsocketEvent: {
|
|
211
|
+
readonly AUTHORIZED: "authorized";
|
|
212
|
+
readonly BROADCAST: "broadcast";
|
|
213
|
+
readonly SUBSCRIBED: "subscribed";
|
|
214
|
+
readonly UNSUBSCRIBE: "unsubscribed";
|
|
215
|
+
};
|
|
216
|
+
/**
|
|
217
|
+
* @public
|
|
218
|
+
*/
|
|
219
|
+
export type WebsocketEvent = typeof WebsocketEvent[keyof typeof WebsocketEvent];
|
|
220
|
+
/**
|
|
221
|
+
* @public
|
|
222
|
+
*/
|
|
223
|
+
export interface WebsocketAuthorizedEvent {
|
|
224
|
+
event: WebsocketEvent;
|
|
225
|
+
connectionId: string;
|
|
226
|
+
requestId: string;
|
|
227
|
+
duration?: __DocumentType | undefined;
|
|
228
|
+
}
|
|
229
|
+
/**
|
|
230
|
+
* @public
|
|
231
|
+
*/
|
|
232
|
+
export interface WebsocketConversationsBroadcastEvent {
|
|
233
|
+
event: WebsocketEvent;
|
|
234
|
+
topic: WebsocketTopic;
|
|
235
|
+
data: __DocumentType;
|
|
236
|
+
meta?: __DocumentType | undefined;
|
|
237
|
+
}
|
|
5
238
|
/**
|
|
6
239
|
* @public
|
|
7
240
|
*/
|
|
@@ -94,24 +327,30 @@ export interface DescribeEventOutput {
|
|
|
94
327
|
CallAnalyticsLiveProgressEvent?: CallAnalyticsLiveProgressEvent | undefined;
|
|
95
328
|
CallAnalyticsLiveCompleteEvent?: CallAnalyticsLiveCompleteEvent | undefined;
|
|
96
329
|
CallAnalyticsLiveInterruptedEvent?: CallAnalyticsLiveInterruptedEvent | undefined;
|
|
330
|
+
CallAnalyticsLiveAnnotationEvent?: CallAnalyticsLiveAnnotationEvent | undefined;
|
|
97
331
|
CallAnalyticsLiveTranscriptionEvent?: CallAnalyticsLiveTranscriptionEvent | undefined;
|
|
98
332
|
CallAnalyticsRecordEvent?: CallAnalyticsRecordEvent | undefined;
|
|
333
|
+
CallAnalyticsAnnotationsRecordEvent?: CallAnalyticsAnnotationsRecordEvent | undefined;
|
|
99
334
|
CallAnalyticsTranscriptionRecordEvent?: CallAnalyticsTranscriptionRecordEvent | undefined;
|
|
100
335
|
CallAnalyticsCostRecordEvent?: CallAnalyticsCostRecordEvent | undefined;
|
|
101
336
|
ChatAnalyticsLiveCompleteEvent?: ChatAnalyticsLiveCompleteEvent | undefined;
|
|
102
337
|
ChatAnalyticsLiveInterruptedEvent?: ChatAnalyticsLiveInterruptedEvent | undefined;
|
|
338
|
+
ChatAnalyticsLiveAnnotationEvent?: ChatAnalyticsLiveAnnotationEvent | undefined;
|
|
103
339
|
ChatAnalyticsLiveProgressEvent?: ChatAnalyticsLiveProgressEvent | undefined;
|
|
104
340
|
ChatAnalyticsLiveTranscriptionEvent?: ChatAnalyticsLiveTranscriptionEvent | undefined;
|
|
105
341
|
ChatAnalyticsManagerMissedEvent?: ChatAnalyticsManagerMissedEvent | undefined;
|
|
106
342
|
ChatAnalyticsRecordEvent?: ChatAnalyticsRecordEvent | undefined;
|
|
343
|
+
ChatAnalyticsAnnotationsRecordEvent?: ChatAnalyticsAnnotationsRecordEvent | undefined;
|
|
107
344
|
ChatAnalyticsTranscriptionRecordEvent?: ChatAnalyticsTranscriptionRecordEvent | undefined;
|
|
108
345
|
ConferenceAnalyticsLiveProgressEvent?: ConferenceAnalyticsLiveProgressEvent | undefined;
|
|
109
346
|
ConferenceAnalyticsLiveCompleteEvent?: ConferenceAnalyticsLiveCompleteEvent | undefined;
|
|
110
347
|
ConferenceAnalyticsLiveInterruptedEvent?: ConferenceAnalyticsLiveInterruptedEvent | undefined;
|
|
348
|
+
ConferenceAnalyticsLiveAnnotationEvent?: ConferenceAnalyticsLiveAnnotationEvent | undefined;
|
|
111
349
|
ConferenceAnalyticsLiveTranscriptionEvent?: ConferenceAnalyticsLiveTranscriptionEvent | undefined;
|
|
112
350
|
ConferenceAnalyticsLiveJoinEvent?: ConferenceAnalyticsLiveJoinEvent | undefined;
|
|
113
351
|
ConferenceAnalyticsLiveLeaveEvent?: ConferenceAnalyticsLiveLeaveEvent | undefined;
|
|
114
352
|
ConferenceAnalyticsRecordEvent?: ConferenceAnalyticsRecordEvent | undefined;
|
|
353
|
+
ConferenceAnalyticsAnnotationsRecordEvent?: ConferenceAnalyticsAnnotationsRecordEvent | undefined;
|
|
115
354
|
ConferenceAnalyticsTranscriptionRecordEvent?: ConferenceAnalyticsTranscriptionRecordEvent | undefined;
|
|
116
355
|
PresenceAnalyticsStatusEvent?: PresenceAnalyticsStatusEvent | undefined;
|
|
117
356
|
PresenceAnalyticsConferenceEvent?: PresenceAnalyticsConferenceEvent | undefined;
|
|
@@ -131,6 +370,7 @@ export interface DescribeEventOutput {
|
|
|
131
370
|
WebhookCallLiveProgressEvent?: WebhookCallLiveProgressEvent | undefined;
|
|
132
371
|
WebhookCallLiveCompletedEvent?: WebhookCallLiveCompletedEvent | undefined;
|
|
133
372
|
WebhookCallLiveInterruptedEvent?: WebhookCallLiveInterruptedEvent | undefined;
|
|
373
|
+
WebhookCallLiveAnnotationEvent?: WebhookCallLiveAnnotationEvent | undefined;
|
|
134
374
|
WebhookCallLiveTranscriptionEvent?: WebhookCallLiveTranscriptionEvent | undefined;
|
|
135
375
|
WebhookCallLiveRecordStartEvent?: WebhookCallLiveRecordStartEvent | undefined;
|
|
136
376
|
WebhookCallLiveRecordStopEvent?: WebhookCallLiveRecordStopEvent | undefined;
|
|
@@ -143,6 +383,7 @@ export interface DescribeEventOutput {
|
|
|
143
383
|
WebhookConferenceLiveProgressEvent?: WebhookConferenceLiveProgressEvent | undefined;
|
|
144
384
|
WebhookConferenceLiveCompletedEvent?: WebhookConferenceLiveCompletedEvent | undefined;
|
|
145
385
|
WebhookConferenceLiveInterruptedEvent?: WebhookConferenceLiveInterruptedEvent | undefined;
|
|
386
|
+
WebhookConferenceLiveAnnotationEvent?: WebhookConferenceLiveAnnotationEvent | undefined;
|
|
146
387
|
WebhookConferenceLiveJoinEvent?: WebhookConferenceLiveJoinEvent | undefined;
|
|
147
388
|
WebhookConferenceLiveLeaveEvent?: WebhookConferenceLiveLeaveEvent | undefined;
|
|
148
389
|
WebhookConferenceLiveTranscriptionEvent?: WebhookConferenceLiveTranscriptionEvent | undefined;
|
|
@@ -153,6 +394,7 @@ export interface DescribeEventOutput {
|
|
|
153
394
|
WebhookChatLiveProgressEvent?: WebhookChatLiveProgressEvent | undefined;
|
|
154
395
|
WebhookChatLiveCompletedEvent?: WebhookChatLiveCompletedEvent | undefined;
|
|
155
396
|
WebhookChatLiveInterruptedEvent?: WebhookChatLiveInterruptedEvent | undefined;
|
|
397
|
+
WebhookChatLiveAnnotationEvent?: WebhookChatLiveAnnotationEvent | undefined;
|
|
156
398
|
WebhookChatManagerMissedEvent?: WebhookChatManagerMissedEvent | undefined;
|
|
157
399
|
WebhookChatCompletedEvent?: WebhookChatCompletedEvent | undefined;
|
|
158
400
|
WebhookChatSummaryCompletedEvent?: WebhookChatSummaryCompletedEvent | undefined;
|
|
@@ -163,25 +405,15 @@ export interface DescribeEventOutput {
|
|
|
163
405
|
ServiceAnalyticsLiveProgressEvent?: ServiceAnalyticsLiveProgressEvent | undefined;
|
|
164
406
|
ServiceAnalyticsLiveCompleteEvent?: ServiceAnalyticsLiveCompleteEvent | undefined;
|
|
165
407
|
/**
|
|
166
|
-
*
|
|
167
|
-
* @public
|
|
168
|
-
*/
|
|
169
|
-
ServiceAgentsStatusAnalyticsRecordEvent?: ServiceAgentsStatusAnalyticsRecordEvent | undefined;
|
|
170
|
-
/**
|
|
171
|
-
* Base service call structure.
|
|
408
|
+
* Service call data shared by live events and record representation.
|
|
172
409
|
* @public
|
|
173
410
|
*/
|
|
174
411
|
ServiceCallAnalyticsLiveProgressEvent?: ServiceCallAnalyticsLiveProgressEvent | undefined;
|
|
175
412
|
/**
|
|
176
|
-
*
|
|
413
|
+
* Service call data shared by live events and record representation.
|
|
177
414
|
* @public
|
|
178
415
|
*/
|
|
179
416
|
ServiceCallAnalyticsLiveCompleteEvent?: ServiceCallAnalyticsLiveCompleteEvent | undefined;
|
|
180
|
-
/**
|
|
181
|
-
* Finalized record representation of a service call lifecycle, containing the full ordered sequence of lifecycle actions from queue entry to end.
|
|
182
|
-
* @public
|
|
183
|
-
*/
|
|
184
|
-
ServiceCallAnalyticsRecordEvent?: ServiceCallAnalyticsRecordEvent | undefined;
|
|
185
417
|
CallEventType?: CallEventType | undefined;
|
|
186
418
|
ConferenceEventType?: ConferenceEventType | undefined;
|
|
187
419
|
ChatEventType?: ChatEventType | undefined;
|
|
@@ -227,6 +459,21 @@ export interface GetOngoingCallOutput {
|
|
|
227
459
|
company: string;
|
|
228
460
|
flows: (CallAnalyticsLiveProgressEventFlow)[];
|
|
229
461
|
}
|
|
462
|
+
/**
|
|
463
|
+
* @public
|
|
464
|
+
*/
|
|
465
|
+
export interface GetOngoingCallAnnotationsInput {
|
|
466
|
+
company?: string | undefined;
|
|
467
|
+
callId: string;
|
|
468
|
+
}
|
|
469
|
+
/**
|
|
470
|
+
* @public
|
|
471
|
+
*/
|
|
472
|
+
export interface GetOngoingCallAnnotationsOutput {
|
|
473
|
+
company: string;
|
|
474
|
+
flows: (CallAnalyticsLiveProgressEventFlow)[];
|
|
475
|
+
annotations?: (CallAnalyticsLiveAnnotationEvent)[] | undefined;
|
|
476
|
+
}
|
|
230
477
|
/**
|
|
231
478
|
* @public
|
|
232
479
|
*/
|
|
@@ -242,6 +489,20 @@ export interface GetOngoingCallTranscriptionOutput {
|
|
|
242
489
|
flows: (CallAnalyticsLiveProgressEventFlow)[];
|
|
243
490
|
transcriptions?: (CallAnalyticsLiveTranscriptionEvent)[] | undefined;
|
|
244
491
|
}
|
|
492
|
+
/**
|
|
493
|
+
* @public
|
|
494
|
+
*/
|
|
495
|
+
export interface GetOngoingChatAnnotationsInput {
|
|
496
|
+
company?: string | undefined;
|
|
497
|
+
chatId: string;
|
|
498
|
+
}
|
|
499
|
+
/**
|
|
500
|
+
* @public
|
|
501
|
+
*/
|
|
502
|
+
export interface GetOngoingChatAnnotationsOutput {
|
|
503
|
+
chat: ChatAnalyticsLiveProgressEvent;
|
|
504
|
+
annotations?: (ChatAnalyticsLiveAnnotationEvent)[] | undefined;
|
|
505
|
+
}
|
|
245
506
|
/**
|
|
246
507
|
* @public
|
|
247
508
|
*/
|
|
@@ -255,6 +516,20 @@ export interface GetOngoingConferenceInput {
|
|
|
255
516
|
export interface GetOngoingConferenceOutput {
|
|
256
517
|
conference: ConferenceAnalyticsLiveProgressEvent;
|
|
257
518
|
}
|
|
519
|
+
/**
|
|
520
|
+
* @public
|
|
521
|
+
*/
|
|
522
|
+
export interface GetOngoingConferenceAnnotationsInput {
|
|
523
|
+
company?: string | undefined;
|
|
524
|
+
conferenceId: string;
|
|
525
|
+
}
|
|
526
|
+
/**
|
|
527
|
+
* @public
|
|
528
|
+
*/
|
|
529
|
+
export interface GetOngoingConferenceAnnotationsOutput {
|
|
530
|
+
conference: ConferenceAnalyticsLiveProgressEvent;
|
|
531
|
+
annotations?: (ConferenceAnalyticsLiveAnnotationEvent)[] | undefined;
|
|
532
|
+
}
|
|
258
533
|
/**
|
|
259
534
|
* @public
|
|
260
535
|
*/
|
|
@@ -306,11 +581,6 @@ export interface ServiceInfo {
|
|
|
306
581
|
* @public
|
|
307
582
|
*/
|
|
308
583
|
pbx?: string | undefined;
|
|
309
|
-
/**
|
|
310
|
-
* ACL group identifier associated with the service.
|
|
311
|
-
* @public
|
|
312
|
-
*/
|
|
313
|
-
aclGroup?: string | undefined;
|
|
314
584
|
}
|
|
315
585
|
/**
|
|
316
586
|
* @public
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { ConsumeEventCommandInput, ConsumeEventCommandOutput } from "../commands/ConsumeEventCommand";
|
|
2
2
|
import { DescribeEventCommandInput, DescribeEventCommandOutput } from "../commands/DescribeEventCommand";
|
|
3
3
|
import { GetConferenceIdCommandInput, GetConferenceIdCommandOutput } from "../commands/GetConferenceIdCommand";
|
|
4
|
+
import { GetOngoingCallAnnotationsCommandInput, GetOngoingCallAnnotationsCommandOutput } from "../commands/GetOngoingCallAnnotationsCommand";
|
|
4
5
|
import { GetOngoingCallCommandInput, GetOngoingCallCommandOutput } from "../commands/GetOngoingCallCommand";
|
|
5
6
|
import { GetOngoingCallTranscriptionCommandInput, GetOngoingCallTranscriptionCommandOutput } from "../commands/GetOngoingCallTranscriptionCommand";
|
|
7
|
+
import { GetOngoingChatAnnotationsCommandInput, GetOngoingChatAnnotationsCommandOutput } from "../commands/GetOngoingChatAnnotationsCommand";
|
|
8
|
+
import { GetOngoingConferenceAnnotationsCommandInput, GetOngoingConferenceAnnotationsCommandOutput } from "../commands/GetOngoingConferenceAnnotationsCommand";
|
|
6
9
|
import { GetOngoingConferenceCommandInput, GetOngoingConferenceCommandOutput } from "../commands/GetOngoingConferenceCommand";
|
|
7
10
|
import { GetOngoingConferenceTranscriptionCommandInput, GetOngoingConferenceTranscriptionCommandOutput } from "../commands/GetOngoingConferenceTranscriptionCommand";
|
|
8
11
|
import { ListServicesCommandInput, ListServicesCommandOutput } from "../commands/ListServicesCommand";
|
|
@@ -28,14 +31,26 @@ export declare const se_GetConferenceIdCommand: (input: GetConferenceIdCommandIn
|
|
|
28
31
|
* serializeAws_restJson1GetOngoingCallCommand
|
|
29
32
|
*/
|
|
30
33
|
export declare const se_GetOngoingCallCommand: (input: GetOngoingCallCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
34
|
+
/**
|
|
35
|
+
* serializeAws_restJson1GetOngoingCallAnnotationsCommand
|
|
36
|
+
*/
|
|
37
|
+
export declare const se_GetOngoingCallAnnotationsCommand: (input: GetOngoingCallAnnotationsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
31
38
|
/**
|
|
32
39
|
* serializeAws_restJson1GetOngoingCallTranscriptionCommand
|
|
33
40
|
*/
|
|
34
41
|
export declare const se_GetOngoingCallTranscriptionCommand: (input: GetOngoingCallTranscriptionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
42
|
+
/**
|
|
43
|
+
* serializeAws_restJson1GetOngoingChatAnnotationsCommand
|
|
44
|
+
*/
|
|
45
|
+
export declare const se_GetOngoingChatAnnotationsCommand: (input: GetOngoingChatAnnotationsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
35
46
|
/**
|
|
36
47
|
* serializeAws_restJson1GetOngoingConferenceCommand
|
|
37
48
|
*/
|
|
38
49
|
export declare const se_GetOngoingConferenceCommand: (input: GetOngoingConferenceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
50
|
+
/**
|
|
51
|
+
* serializeAws_restJson1GetOngoingConferenceAnnotationsCommand
|
|
52
|
+
*/
|
|
53
|
+
export declare const se_GetOngoingConferenceAnnotationsCommand: (input: GetOngoingConferenceAnnotationsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
39
54
|
/**
|
|
40
55
|
* serializeAws_restJson1GetOngoingConferenceTranscriptionCommand
|
|
41
56
|
*/
|
|
@@ -76,14 +91,26 @@ export declare const de_GetConferenceIdCommand: (output: __HttpResponse, context
|
|
|
76
91
|
* deserializeAws_restJson1GetOngoingCallCommand
|
|
77
92
|
*/
|
|
78
93
|
export declare const de_GetOngoingCallCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetOngoingCallCommandOutput>;
|
|
94
|
+
/**
|
|
95
|
+
* deserializeAws_restJson1GetOngoingCallAnnotationsCommand
|
|
96
|
+
*/
|
|
97
|
+
export declare const de_GetOngoingCallAnnotationsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetOngoingCallAnnotationsCommandOutput>;
|
|
79
98
|
/**
|
|
80
99
|
* deserializeAws_restJson1GetOngoingCallTranscriptionCommand
|
|
81
100
|
*/
|
|
82
101
|
export declare const de_GetOngoingCallTranscriptionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetOngoingCallTranscriptionCommandOutput>;
|
|
102
|
+
/**
|
|
103
|
+
* deserializeAws_restJson1GetOngoingChatAnnotationsCommand
|
|
104
|
+
*/
|
|
105
|
+
export declare const de_GetOngoingChatAnnotationsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetOngoingChatAnnotationsCommandOutput>;
|
|
83
106
|
/**
|
|
84
107
|
* deserializeAws_restJson1GetOngoingConferenceCommand
|
|
85
108
|
*/
|
|
86
109
|
export declare const de_GetOngoingConferenceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetOngoingConferenceCommandOutput>;
|
|
110
|
+
/**
|
|
111
|
+
* deserializeAws_restJson1GetOngoingConferenceAnnotationsCommand
|
|
112
|
+
*/
|
|
113
|
+
export declare const de_GetOngoingConferenceAnnotationsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetOngoingConferenceAnnotationsCommandOutput>;
|
|
87
114
|
/**
|
|
88
115
|
* deserializeAws_restJson1GetOngoingConferenceTranscriptionCommand
|
|
89
116
|
*/
|
|
@@ -9,7 +9,7 @@ export declare const getRuntimeConfig: (config: WdaStreamClientConfig) => {
|
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
10
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
11
11
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
12
|
-
requestHandler: import("@smithy/
|
|
12
|
+
requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
|
|
13
13
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
14
14
|
sha256: import("@smithy/types").HashConstructor;
|
|
15
15
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -9,7 +9,7 @@ export declare const getRuntimeConfig: (config: WdaStreamClientConfig) => {
|
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
10
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
11
11
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
12
|
-
requestHandler: RequestHandler | import("@smithy/
|
|
12
|
+
requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
|
|
13
13
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
14
14
|
sha256: import("@smithy/types").HashConstructor;
|
|
15
15
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: WdaStreamClientConfig) => {
|
|
|
7
7
|
sha256: import("@smithy/types").HashConstructor;
|
|
8
8
|
env?: "stage" | "stable" | "prod" | undefined;
|
|
9
9
|
token: import("@wildix/smithy-utils").TokenProvider;
|
|
10
|
-
requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/
|
|
10
|
+
requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/core/protocols").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
11
11
|
cacheMiddleware?: boolean | undefined;
|
|
12
12
|
protocol?: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").$ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | import("@smithy/types").$ClientProtocolCtor<any, any> | undefined;
|
|
13
13
|
protocolSettings?: {
|
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.58",
|
|
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",
|