@wildix/wda-stream-client 1.0.2 → 1.0.4

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.
@@ -10,8 +10,6 @@ class WdaStreamClient extends smithy_client_1.Client {
10
10
  constructor(...[configuration]) {
11
11
  let _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration || {});
12
12
  let _config_1 = (0, runtimeExtensions_1.resolveRuntimeExtensions)(_config_0, configuration?.extensions || []);
13
- super(_config_1);
14
- this.config = _config_1;
15
13
  const endpoint = () => {
16
14
  return {
17
15
  hostname: configuration.env === 'prod' || !configuration.env ? 'wda.wildix.com' : configuration.env === 'stable' ? 'wda-stable.wildix.com' : 'wda-stage.wildix.com',
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ConsumeEventInputEvent = exports.SmsStatus = exports.SmsChannelType = exports.SmsConsumeEventType = exports.ConferenceTranscriptionStatus = exports.ConferenceParticipantType = exports.ConferenceParticipantRole = exports.ChatConsumeEventType = exports.ChatTag = exports.ChatStatus = exports.ChatParticipantType = exports.ChatParticipantRole = exports.ChatDirection = exports.ChannelType = exports.CallTranscriptionSpeaker = exports.CallFlowTranscriptionStatus = exports.CallFlowStatus = exports.CallDirection = exports.ConversationStatus = exports.CallDevice = exports.CallParticipantType = exports.CallParticipantRole = exports.CallFlowAttachmentType = exports.License = exports.LiveEventType = exports.ValidationException = exports.ForbiddenException = void 0;
3
+ exports.ConsumeEventInputEvent = exports.SmsStatus = exports.SmsChannelType = exports.SmsConsumeEventType = exports.ChatConsumeEventType = exports.ChatTag = exports.ChatStatus = exports.ChatParticipantType = exports.ChatParticipantRole = exports.ChatDirection = exports.ChannelType = exports.CallFlowStatus = exports.LiveEventType = exports.ConferenceTranscriptionStatus = exports.ConferenceParticipantType = exports.ConferenceParticipantRole = exports.CallTranscriptionSpeaker = exports.License = exports.CallFlowTranscriptionStatus = exports.CallDirection = exports.ConversationStatus = exports.CallDevice = exports.CallParticipantType = exports.CallParticipantRole = exports.CallFlowAttachmentType = exports.ValidationException = exports.ForbiddenException = void 0;
4
4
  const WdaStreamServiceException_1 = require("./WdaStreamServiceException");
5
5
  class ForbiddenException extends WdaStreamServiceException_1.WdaStreamServiceException {
6
6
  constructor(opts) {
@@ -28,25 +28,6 @@ class ValidationException extends WdaStreamServiceException_1.WdaStreamServiceEx
28
28
  }
29
29
  }
30
30
  exports.ValidationException = ValidationException;
31
- exports.LiveEventType = {
32
- CALL: "call",
33
- CALL_COMPLETE: "call_complete",
34
- CALL_INTERRUPTED: "call_interrupted",
35
- CALL_TRANSCRIPTION: "call_transcription",
36
- CALL_TRANSCRIPTION_COMPLETE: "call_transcription_complete",
37
- CHAT: "chat",
38
- CHAT_COMPLETE: "chat_complete",
39
- CHAT_INTERRUPTED: "chat_interrupted",
40
- CHAT_MISSED: "chat_missed",
41
- CONFERENCE: "conference",
42
- CONFERENCE_COMPLETE: "conference_complete",
43
- CONFERENCE_INTERRUPTED: "conference_interrupted",
44
- CONFERENCE_TRANSCRIPTION: "conference_transcription",
45
- CONFERENCE_TRANSCRIPTION_COMPLETE: "conference_transcription_complete",
46
- };
47
- exports.License = {
48
- XBEES: "x-bees",
49
- };
50
31
  exports.CallFlowAttachmentType = {
51
32
  FAX: "FAX",
52
33
  VOICEMAIL: "VOICEMAIL",
@@ -80,19 +61,53 @@ exports.CallDirection = {
80
61
  OUTBOUND: "OUTBOUND",
81
62
  UNDEFINED: "UNDEFINED",
82
63
  };
83
- exports.CallFlowStatus = {
84
- CONNECTING: "CONNECTING",
85
- HOLD: "HOLD",
86
- TALKING: "TALKING",
87
- };
88
64
  exports.CallFlowTranscriptionStatus = {
89
65
  AVAILABLE: "AVAILABLE",
90
66
  UNAVAILABLE: "UNAVAILABLE",
91
67
  };
68
+ exports.License = {
69
+ XBEES: "x-bees",
70
+ };
92
71
  exports.CallTranscriptionSpeaker = {
93
72
  CALLEE: "callee",
94
73
  CALLER: "caller",
95
74
  };
75
+ exports.ConferenceParticipantRole = {
76
+ AGENT: "AGENT",
77
+ CLIENT: "CLIENT",
78
+ };
79
+ exports.ConferenceParticipantType = {
80
+ EXTERNAL: "EXTERNAL",
81
+ EXTERNAL_DIAL_IN: "EXTERNAL_DIAL_IN",
82
+ PBX: "PBX",
83
+ PBX_SIP: "PBX_SIP",
84
+ XBS: "XBS",
85
+ };
86
+ exports.ConferenceTranscriptionStatus = {
87
+ AVAILABLE: "AVAILABLE",
88
+ UNAVAILABLE: "UNAVAILABLE",
89
+ };
90
+ exports.LiveEventType = {
91
+ CALL: "call",
92
+ CALL_COMPLETE: "call_complete",
93
+ CALL_INTERRUPTED: "call_interrupted",
94
+ CALL_TRANSCRIPTION: "call_transcription",
95
+ CALL_TRANSCRIPTION_COMPLETE: "call_transcription_complete",
96
+ CHAT: "chat",
97
+ CHAT_COMPLETE: "chat_complete",
98
+ CHAT_INTERRUPTED: "chat_interrupted",
99
+ CHAT_MISSED: "chat_missed",
100
+ CONFERENCE: "conference",
101
+ CONFERENCE_COMPLETE: "conference_complete",
102
+ CONFERENCE_INTERRUPTED: "conference_interrupted",
103
+ CONFERENCE_TRANSCRIPTION: "conference_transcription",
104
+ CONFERENCE_TRANSCRIPTION_COMPLETE: "conference_transcription_complete",
105
+ };
106
+ exports.CallFlowStatus = {
107
+ CONNECTING: "CONNECTING",
108
+ HOLD: "HOLD",
109
+ TALKING: "TALKING",
110
+ };
96
111
  exports.ChannelType = {
97
112
  DIRECT: "direct",
98
113
  GROUP: "group",
@@ -125,21 +140,6 @@ exports.ChatConsumeEventType = {
125
140
  CHAT_NEW: "CHAT.NEW",
126
141
  CHAT_UPDATE: "CHAT.UPDATE",
127
142
  };
128
- exports.ConferenceParticipantRole = {
129
- AGENT: "AGENT",
130
- CLIENT: "CLIENT",
131
- };
132
- exports.ConferenceParticipantType = {
133
- EXTERNAL: "EXTERNAL",
134
- EXTERNAL_DIAL_IN: "EXTERNAL_DIAL_IN",
135
- PBX: "PBX",
136
- PBX_SIP: "PBX_SIP",
137
- XBS: "XBS",
138
- };
139
- exports.ConferenceTranscriptionStatus = {
140
- AVAILABLE: "AVAILABLE",
141
- UNAVAILABLE: "UNAVAILABLE",
142
- };
143
143
  exports.SmsConsumeEventType = {
144
144
  SMS_INBOUND: "SMS.INBOUND",
145
145
  SMS_STATUS: "SMS.STATUS",
@@ -7,8 +7,6 @@ export class WdaStreamClient extends __Client {
7
7
  constructor(...[configuration]) {
8
8
  let _config_0 = __getRuntimeConfig(configuration || {});
9
9
  let _config_1 = resolveRuntimeExtensions(_config_0, configuration?.extensions || []);
10
- super(_config_1);
11
- this.config = _config_1;
12
10
  const endpoint = () => {
13
11
  return {
14
12
  hostname: configuration.env === 'prod' || !configuration.env ? 'wda.wildix.com' : configuration.env === 'stable' ? 'wda-stable.wildix.com' : 'wda-stage.wildix.com',
@@ -23,25 +23,6 @@ export class ValidationException extends __BaseException {
23
23
  Object.setPrototypeOf(this, ValidationException.prototype);
24
24
  }
25
25
  }
26
- export const LiveEventType = {
27
- CALL: "call",
28
- CALL_COMPLETE: "call_complete",
29
- CALL_INTERRUPTED: "call_interrupted",
30
- CALL_TRANSCRIPTION: "call_transcription",
31
- CALL_TRANSCRIPTION_COMPLETE: "call_transcription_complete",
32
- CHAT: "chat",
33
- CHAT_COMPLETE: "chat_complete",
34
- CHAT_INTERRUPTED: "chat_interrupted",
35
- CHAT_MISSED: "chat_missed",
36
- CONFERENCE: "conference",
37
- CONFERENCE_COMPLETE: "conference_complete",
38
- CONFERENCE_INTERRUPTED: "conference_interrupted",
39
- CONFERENCE_TRANSCRIPTION: "conference_transcription",
40
- CONFERENCE_TRANSCRIPTION_COMPLETE: "conference_transcription_complete",
41
- };
42
- export const License = {
43
- XBEES: "x-bees",
44
- };
45
26
  export const CallFlowAttachmentType = {
46
27
  FAX: "FAX",
47
28
  VOICEMAIL: "VOICEMAIL",
@@ -75,19 +56,53 @@ export const CallDirection = {
75
56
  OUTBOUND: "OUTBOUND",
76
57
  UNDEFINED: "UNDEFINED",
77
58
  };
78
- export const CallFlowStatus = {
79
- CONNECTING: "CONNECTING",
80
- HOLD: "HOLD",
81
- TALKING: "TALKING",
82
- };
83
59
  export const CallFlowTranscriptionStatus = {
84
60
  AVAILABLE: "AVAILABLE",
85
61
  UNAVAILABLE: "UNAVAILABLE",
86
62
  };
63
+ export const License = {
64
+ XBEES: "x-bees",
65
+ };
87
66
  export const CallTranscriptionSpeaker = {
88
67
  CALLEE: "callee",
89
68
  CALLER: "caller",
90
69
  };
70
+ export const ConferenceParticipantRole = {
71
+ AGENT: "AGENT",
72
+ CLIENT: "CLIENT",
73
+ };
74
+ export const ConferenceParticipantType = {
75
+ EXTERNAL: "EXTERNAL",
76
+ EXTERNAL_DIAL_IN: "EXTERNAL_DIAL_IN",
77
+ PBX: "PBX",
78
+ PBX_SIP: "PBX_SIP",
79
+ XBS: "XBS",
80
+ };
81
+ export const ConferenceTranscriptionStatus = {
82
+ AVAILABLE: "AVAILABLE",
83
+ UNAVAILABLE: "UNAVAILABLE",
84
+ };
85
+ export const LiveEventType = {
86
+ CALL: "call",
87
+ CALL_COMPLETE: "call_complete",
88
+ CALL_INTERRUPTED: "call_interrupted",
89
+ CALL_TRANSCRIPTION: "call_transcription",
90
+ CALL_TRANSCRIPTION_COMPLETE: "call_transcription_complete",
91
+ CHAT: "chat",
92
+ CHAT_COMPLETE: "chat_complete",
93
+ CHAT_INTERRUPTED: "chat_interrupted",
94
+ CHAT_MISSED: "chat_missed",
95
+ CONFERENCE: "conference",
96
+ CONFERENCE_COMPLETE: "conference_complete",
97
+ CONFERENCE_INTERRUPTED: "conference_interrupted",
98
+ CONFERENCE_TRANSCRIPTION: "conference_transcription",
99
+ CONFERENCE_TRANSCRIPTION_COMPLETE: "conference_transcription_complete",
100
+ };
101
+ export const CallFlowStatus = {
102
+ CONNECTING: "CONNECTING",
103
+ HOLD: "HOLD",
104
+ TALKING: "TALKING",
105
+ };
91
106
  export const ChannelType = {
92
107
  DIRECT: "direct",
93
108
  GROUP: "group",
@@ -120,21 +135,6 @@ export const ChatConsumeEventType = {
120
135
  CHAT_NEW: "CHAT.NEW",
121
136
  CHAT_UPDATE: "CHAT.UPDATE",
122
137
  };
123
- export const ConferenceParticipantRole = {
124
- AGENT: "AGENT",
125
- CLIENT: "CLIENT",
126
- };
127
- export const ConferenceParticipantType = {
128
- EXTERNAL: "EXTERNAL",
129
- EXTERNAL_DIAL_IN: "EXTERNAL_DIAL_IN",
130
- PBX: "PBX",
131
- PBX_SIP: "PBX_SIP",
132
- XBS: "XBS",
133
- };
134
- export const ConferenceTranscriptionStatus = {
135
- AVAILABLE: "AVAILABLE",
136
- UNAVAILABLE: "UNAVAILABLE",
137
- };
138
138
  export const SmsConsumeEventType = {
139
139
  SMS_INBOUND: "SMS.INBOUND",
140
140
  SMS_STATUS: "SMS.STATUS",
@@ -72,8 +72,6 @@ export interface DescribeEventCommandOutput extends DescribeEventOutput, __Metad
72
72
  * // start: "STRING_VALUE", // required
73
73
  * // flows: [ // CallAnalyticsLiveProgressEventFlowList // required
74
74
  * // { // CallAnalyticsLiveProgressEventFlow
75
- * // status: "CONNECTING" || "TALKING" || "HOLD", // required
76
- * // statusChangeDate: "STRING_VALUE", // required
77
75
  * // startTime: Number("long"), // required
78
76
  * // connectTime: Number("long"),
79
77
  * // talkTime: Number("long"),
@@ -153,6 +151,8 @@ export interface DescribeEventCommandOutput extends DescribeEventOutput, __Metad
153
151
  * // groupName: "STRING_VALUE",
154
152
  * // },
155
153
  * // ],
154
+ * // status: "CONNECTING" || "TALKING" || "HOLD", // required
155
+ * // statusChangeDate: "STRING_VALUE", // required
156
156
  * // },
157
157
  * // ],
158
158
  * // },
@@ -51,8 +51,6 @@ export interface GetConversationsCommandOutput extends GetConversationsOutput, _
51
51
  * // start: "STRING_VALUE", // required
52
52
  * // flows: [ // CallAnalyticsLiveProgressEventFlowList // required
53
53
  * // { // CallAnalyticsLiveProgressEventFlow
54
- * // status: "CONNECTING" || "TALKING" || "HOLD", // required
55
- * // statusChangeDate: "STRING_VALUE", // required
56
54
  * // startTime: Number("long"), // required
57
55
  * // connectTime: Number("long"),
58
56
  * // talkTime: Number("long"),
@@ -132,6 +130,8 @@ export interface GetConversationsCommandOutput extends GetConversationsOutput, _
132
130
  * // groupName: "STRING_VALUE",
133
131
  * // },
134
132
  * // ],
133
+ * // status: "CONNECTING" || "TALKING" || "HOLD", // required
134
+ * // statusChangeDate: "STRING_VALUE", // required
135
135
  * // },
136
136
  * // ],
137
137
  * // },
@@ -22,63 +22,6 @@ export declare class ValidationException extends __BaseException {
22
22
  */
23
23
  constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
24
24
  }
25
- /**
26
- * @public
27
- * @enum
28
- */
29
- export declare const LiveEventType: {
30
- readonly CALL: "call";
31
- readonly CALL_COMPLETE: "call_complete";
32
- readonly CALL_INTERRUPTED: "call_interrupted";
33
- readonly CALL_TRANSCRIPTION: "call_transcription";
34
- readonly CALL_TRANSCRIPTION_COMPLETE: "call_transcription_complete";
35
- readonly CHAT: "chat";
36
- readonly CHAT_COMPLETE: "chat_complete";
37
- readonly CHAT_INTERRUPTED: "chat_interrupted";
38
- readonly CHAT_MISSED: "chat_missed";
39
- readonly CONFERENCE: "conference";
40
- readonly CONFERENCE_COMPLETE: "conference_complete";
41
- readonly CONFERENCE_INTERRUPTED: "conference_interrupted";
42
- readonly CONFERENCE_TRANSCRIPTION: "conference_transcription";
43
- readonly CONFERENCE_TRANSCRIPTION_COMPLETE: "conference_transcription_complete";
44
- };
45
- /**
46
- * @public
47
- */
48
- export type LiveEventType = typeof LiveEventType[keyof typeof LiveEventType];
49
- /**
50
- * @public
51
- * @enum
52
- */
53
- export declare const License: {
54
- readonly XBEES: "x-bees";
55
- };
56
- /**
57
- * @public
58
- */
59
- export type License = typeof License[keyof typeof License];
60
- /**
61
- * @public
62
- */
63
- export interface CallAnalyticsLiveCompleteEvent {
64
- id: string;
65
- pbx: string;
66
- time: number;
67
- company: string;
68
- licenses: (License | string)[];
69
- event: LiveEventType | string;
70
- }
71
- /**
72
- * @public
73
- */
74
- export interface CallAnalyticsLiveInterruptedEvent {
75
- id: string;
76
- pbx: string;
77
- time: number;
78
- company: string;
79
- licenses: (License | string)[];
80
- event: LiveEventType | string;
81
- }
82
25
  /**
83
26
  * @public
84
27
  */
@@ -196,37 +139,181 @@ export type CallDirection = typeof CallDirection[keyof typeof CallDirection];
196
139
  * @public
197
140
  * @enum
198
141
  */
199
- export declare const CallFlowStatus: {
200
- readonly CONNECTING: "CONNECTING";
201
- readonly HOLD: "HOLD";
202
- readonly TALKING: "TALKING";
142
+ export declare const CallFlowTranscriptionStatus: {
143
+ readonly AVAILABLE: "AVAILABLE";
144
+ readonly UNAVAILABLE: "UNAVAILABLE";
203
145
  };
204
146
  /**
205
147
  * @public
206
148
  */
207
- export type CallFlowStatus = typeof CallFlowStatus[keyof typeof CallFlowStatus];
149
+ export type CallFlowTranscriptionStatus = typeof CallFlowTranscriptionStatus[keyof typeof CallFlowTranscriptionStatus];
208
150
  /**
209
151
  * @public
210
152
  * @enum
211
153
  */
212
- export declare const CallFlowTranscriptionStatus: {
213
- readonly AVAILABLE: "AVAILABLE";
214
- readonly UNAVAILABLE: "UNAVAILABLE";
154
+ export declare const License: {
155
+ readonly XBEES: "x-bees";
215
156
  };
216
157
  /**
217
158
  * @public
218
159
  */
219
- export type CallFlowTranscriptionStatus = typeof CallFlowTranscriptionStatus[keyof typeof CallFlowTranscriptionStatus];
160
+ export type License = typeof License[keyof typeof License];
220
161
  /**
221
162
  * @public
163
+ * @enum
222
164
  */
223
- export interface CallAnalyticsLiveProgressEventFlow {
224
- status: CallFlowStatus | string;
165
+ export declare const CallTranscriptionSpeaker: {
166
+ readonly CALLEE: "callee";
167
+ readonly CALLER: "caller";
168
+ };
169
+ /**
170
+ * @public
171
+ */
172
+ export type CallTranscriptionSpeaker = typeof CallTranscriptionSpeaker[keyof typeof CallTranscriptionSpeaker];
173
+ /**
174
+ * @public
175
+ */
176
+ export interface CallTranscriptionChunk {
177
+ id: string;
178
+ time: number;
179
+ speaker: CallTranscriptionSpeaker | string;
180
+ text: string;
181
+ language?: string;
182
+ isFinal: boolean;
183
+ }
184
+ /**
185
+ * @public
186
+ * @enum
187
+ */
188
+ export declare const ConferenceParticipantRole: {
189
+ readonly AGENT: "AGENT";
190
+ readonly CLIENT: "CLIENT";
191
+ };
192
+ /**
193
+ * @public
194
+ */
195
+ export type ConferenceParticipantRole = typeof ConferenceParticipantRole[keyof typeof ConferenceParticipantRole];
196
+ /**
197
+ * @public
198
+ * @enum
199
+ */
200
+ export declare const ConferenceParticipantType: {
201
+ readonly EXTERNAL: "EXTERNAL";
202
+ readonly EXTERNAL_DIAL_IN: "EXTERNAL_DIAL_IN";
203
+ readonly PBX: "PBX";
204
+ readonly PBX_SIP: "PBX_SIP";
205
+ readonly XBS: "XBS";
206
+ };
207
+ /**
208
+ * @public
209
+ */
210
+ export type ConferenceParticipantType = typeof ConferenceParticipantType[keyof typeof ConferenceParticipantType];
211
+ /**
212
+ * @public
213
+ */
214
+ export interface ConferenceParticipant {
215
+ type: ConferenceParticipantType | string;
216
+ role?: ConferenceParticipantRole | string;
225
217
  /**
226
218
  * @public
227
- * Time of the last status change in yyyy-MM-dd'T'HH:mm:ss.SSS'Z' format.
219
+ * A unique identifier to avoid duplicates if user re-connect from different devices.
228
220
  */
229
- statusChangeDate: string;
221
+ jid?: string;
222
+ name?: string;
223
+ email?: string;
224
+ phone?: string;
225
+ department?: string;
226
+ company?: string;
227
+ pbxSerial?: string;
228
+ pbxExtension?: string;
229
+ xbsId?: string;
230
+ }
231
+ /**
232
+ * @public
233
+ * @enum
234
+ */
235
+ export declare const ConferenceTranscriptionStatus: {
236
+ readonly AVAILABLE: "AVAILABLE";
237
+ readonly UNAVAILABLE: "UNAVAILABLE";
238
+ };
239
+ /**
240
+ * @public
241
+ */
242
+ export type ConferenceTranscriptionStatus = typeof ConferenceTranscriptionStatus[keyof typeof ConferenceTranscriptionStatus];
243
+ /**
244
+ * @public
245
+ */
246
+ export interface ConferenceTranscriptionChunk {
247
+ id: string;
248
+ time: number;
249
+ jid: string;
250
+ text: string;
251
+ language?: string;
252
+ isFinal: boolean;
253
+ }
254
+ /**
255
+ * @public
256
+ * @enum
257
+ */
258
+ export declare const LiveEventType: {
259
+ readonly CALL: "call";
260
+ readonly CALL_COMPLETE: "call_complete";
261
+ readonly CALL_INTERRUPTED: "call_interrupted";
262
+ readonly CALL_TRANSCRIPTION: "call_transcription";
263
+ readonly CALL_TRANSCRIPTION_COMPLETE: "call_transcription_complete";
264
+ readonly CHAT: "chat";
265
+ readonly CHAT_COMPLETE: "chat_complete";
266
+ readonly CHAT_INTERRUPTED: "chat_interrupted";
267
+ readonly CHAT_MISSED: "chat_missed";
268
+ readonly CONFERENCE: "conference";
269
+ readonly CONFERENCE_COMPLETE: "conference_complete";
270
+ readonly CONFERENCE_INTERRUPTED: "conference_interrupted";
271
+ readonly CONFERENCE_TRANSCRIPTION: "conference_transcription";
272
+ readonly CONFERENCE_TRANSCRIPTION_COMPLETE: "conference_transcription_complete";
273
+ };
274
+ /**
275
+ * @public
276
+ */
277
+ export type LiveEventType = typeof LiveEventType[keyof typeof LiveEventType];
278
+ /**
279
+ * @public
280
+ */
281
+ export interface CallAnalyticsLiveCompleteEvent {
282
+ id: string;
283
+ pbx: string;
284
+ time: number;
285
+ company: string;
286
+ licenses: (License | string)[];
287
+ event: LiveEventType | string;
288
+ }
289
+ /**
290
+ * @public
291
+ */
292
+ export interface CallAnalyticsLiveInterruptedEvent {
293
+ id: string;
294
+ pbx: string;
295
+ time: number;
296
+ company: string;
297
+ licenses: (License | string)[];
298
+ event: LiveEventType | string;
299
+ }
300
+ /**
301
+ * @public
302
+ * @enum
303
+ */
304
+ export declare const CallFlowStatus: {
305
+ readonly CONNECTING: "CONNECTING";
306
+ readonly HOLD: "HOLD";
307
+ readonly TALKING: "TALKING";
308
+ };
309
+ /**
310
+ * @public
311
+ */
312
+ export type CallFlowStatus = typeof CallFlowStatus[keyof typeof CallFlowStatus];
313
+ /**
314
+ * @public
315
+ */
316
+ export interface CallAnalyticsLiveProgressEventFlow {
230
317
  startTime: number;
231
318
  connectTime?: number;
232
319
  talkTime?: number;
@@ -259,6 +346,12 @@ export interface CallAnalyticsLiveProgressEventFlow {
259
346
  attachment?: string;
260
347
  attachmentType?: CallFlowAttachmentType | string;
261
348
  attachmentDestinations?: (CallFlowAttachmentDestination)[];
349
+ status: CallFlowStatus | string;
350
+ /**
351
+ * @public
352
+ * Time of the last status change in yyyy-MM-dd'T'HH:mm:ss.SSS'Z' format.
353
+ */
354
+ statusChangeDate: string;
262
355
  }
263
356
  /**
264
357
  * @public
@@ -284,29 +377,6 @@ export interface CallAnalyticsLiveTranscriptionCompleteEvent {
284
377
  licenses: (License | string)[];
285
378
  event: LiveEventType | string;
286
379
  }
287
- /**
288
- * @public
289
- * @enum
290
- */
291
- export declare const CallTranscriptionSpeaker: {
292
- readonly CALLEE: "callee";
293
- readonly CALLER: "caller";
294
- };
295
- /**
296
- * @public
297
- */
298
- export type CallTranscriptionSpeaker = typeof CallTranscriptionSpeaker[keyof typeof CallTranscriptionSpeaker];
299
- /**
300
- * @public
301
- */
302
- export interface CallTranscriptionChunk {
303
- id: string;
304
- time: number;
305
- speaker: CallTranscriptionSpeaker | string;
306
- text: string;
307
- language?: string;
308
- isFinal: boolean;
309
- }
310
380
  /**
311
381
  * @public
312
382
  */
@@ -548,65 +618,6 @@ export interface ConferenceAnalyticsLiveInterruptedEvent {
548
618
  company: string;
549
619
  event: LiveEventType | string;
550
620
  }
551
- /**
552
- * @public
553
- * @enum
554
- */
555
- export declare const ConferenceParticipantRole: {
556
- readonly AGENT: "AGENT";
557
- readonly CLIENT: "CLIENT";
558
- };
559
- /**
560
- * @public
561
- */
562
- export type ConferenceParticipantRole = typeof ConferenceParticipantRole[keyof typeof ConferenceParticipantRole];
563
- /**
564
- * @public
565
- * @enum
566
- */
567
- export declare const ConferenceParticipantType: {
568
- readonly EXTERNAL: "EXTERNAL";
569
- readonly EXTERNAL_DIAL_IN: "EXTERNAL_DIAL_IN";
570
- readonly PBX: "PBX";
571
- readonly PBX_SIP: "PBX_SIP";
572
- readonly XBS: "XBS";
573
- };
574
- /**
575
- * @public
576
- */
577
- export type ConferenceParticipantType = typeof ConferenceParticipantType[keyof typeof ConferenceParticipantType];
578
- /**
579
- * @public
580
- */
581
- export interface ConferenceParticipant {
582
- type: ConferenceParticipantType | string;
583
- role?: ConferenceParticipantRole | string;
584
- /**
585
- * @public
586
- * A unique identifier to avoid duplicates if user re-connect from different devices.
587
- */
588
- jid?: string;
589
- name?: string;
590
- email?: string;
591
- phone?: string;
592
- department?: string;
593
- company?: string;
594
- pbxSerial?: string;
595
- pbxExtension?: string;
596
- xbsId?: string;
597
- }
598
- /**
599
- * @public
600
- * @enum
601
- */
602
- export declare const ConferenceTranscriptionStatus: {
603
- readonly AVAILABLE: "AVAILABLE";
604
- readonly UNAVAILABLE: "UNAVAILABLE";
605
- };
606
- /**
607
- * @public
608
- */
609
- export type ConferenceTranscriptionStatus = typeof ConferenceTranscriptionStatus[keyof typeof ConferenceTranscriptionStatus];
610
621
  /**
611
622
  * @public
612
623
  */
@@ -629,17 +640,6 @@ export interface ConferenceAnalyticsLiveTranscriptionCompleteEvent {
629
640
  company: string;
630
641
  event: LiveEventType | string;
631
642
  }
632
- /**
633
- * @public
634
- */
635
- export interface ConferenceTranscriptionChunk {
636
- id: string;
637
- time: number;
638
- jid: string;
639
- text: string;
640
- language?: string;
641
- isFinal: boolean;
642
- }
643
643
  /**
644
644
  * @public
645
645
  */
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.2",
4
+ "version": "1.0.4",
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",