@wildix/wda-stream-client 1.0.4 → 1.0.6

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,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.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;
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.ConferenceDirection = exports.CallTranscriptionSpeaker = exports.License = exports.CallFlowTranscriptionStatus = exports.CallDirection = exports.ConversationStatus = exports.CallDevice = exports.CallParticipantType = exports.CallParticipantRole = exports.CallFlowAttachmentType = exports.CallEndBy = 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,6 +28,10 @@ class ValidationException extends WdaStreamServiceException_1.WdaStreamServiceEx
28
28
  }
29
29
  }
30
30
  exports.ValidationException = ValidationException;
31
+ exports.CallEndBy = {
32
+ CALLEE: "CALLEE",
33
+ CALLER: "CALLER",
34
+ };
31
35
  exports.CallFlowAttachmentType = {
32
36
  FAX: "FAX",
33
37
  VOICEMAIL: "VOICEMAIL",
@@ -72,6 +76,11 @@ exports.CallTranscriptionSpeaker = {
72
76
  CALLEE: "callee",
73
77
  CALLER: "caller",
74
78
  };
79
+ exports.ConferenceDirection = {
80
+ INBOUND: "INBOUND",
81
+ INTERNAL: "INTERNAL",
82
+ OUTBOUND: "OUTBOUND",
83
+ };
75
84
  exports.ConferenceParticipantRole = {
76
85
  AGENT: "AGENT",
77
86
  CLIENT: "CLIENT",
@@ -112,11 +112,15 @@ const de_DescribeEventCommand = async (output, context) => {
112
112
  'CallAnalyticsLiveProgressEvent': smithy_client_1._json,
113
113
  'CallAnalyticsLiveTranscriptionCompleteEvent': smithy_client_1._json,
114
114
  'CallAnalyticsLiveTranscriptionEvent': smithy_client_1._json,
115
+ 'CallAnalyticsRecordEvent': smithy_client_1._json,
116
+ 'CallAnalyticsTranscriptionRecordEvent': smithy_client_1._json,
115
117
  'ConferenceAnalyticsLiveCompleteEvent': smithy_client_1._json,
116
118
  'ConferenceAnalyticsLiveInterruptedEvent': smithy_client_1._json,
117
119
  'ConferenceAnalyticsLiveProgressEvent': smithy_client_1._json,
118
120
  'ConferenceAnalyticsLiveTranscriptionCompleteEvent': smithy_client_1._json,
119
121
  'ConferenceAnalyticsLiveTranscriptionEvent': smithy_client_1._json,
122
+ 'ConferenceAnalyticsRecordEvent': smithy_client_1._json,
123
+ 'ConferenceAnalyticsTranscriptionRecordEvent': smithy_client_1._json,
120
124
  });
121
125
  Object.assign(contents, doc);
122
126
  return contents;
@@ -23,6 +23,10 @@ export class ValidationException extends __BaseException {
23
23
  Object.setPrototypeOf(this, ValidationException.prototype);
24
24
  }
25
25
  }
26
+ export const CallEndBy = {
27
+ CALLEE: "CALLEE",
28
+ CALLER: "CALLER",
29
+ };
26
30
  export const CallFlowAttachmentType = {
27
31
  FAX: "FAX",
28
32
  VOICEMAIL: "VOICEMAIL",
@@ -67,6 +71,11 @@ export const CallTranscriptionSpeaker = {
67
71
  CALLEE: "callee",
68
72
  CALLER: "caller",
69
73
  };
74
+ export const ConferenceDirection = {
75
+ INBOUND: "INBOUND",
76
+ INTERNAL: "INTERNAL",
77
+ OUTBOUND: "OUTBOUND",
78
+ };
70
79
  export const ConferenceParticipantRole = {
71
80
  AGENT: "AGENT",
72
81
  CLIENT: "CLIENT",
@@ -105,11 +105,15 @@ export const de_DescribeEventCommand = async (output, context) => {
105
105
  'CallAnalyticsLiveProgressEvent': _json,
106
106
  'CallAnalyticsLiveTranscriptionCompleteEvent': _json,
107
107
  'CallAnalyticsLiveTranscriptionEvent': _json,
108
+ 'CallAnalyticsRecordEvent': _json,
109
+ 'CallAnalyticsTranscriptionRecordEvent': _json,
108
110
  'ConferenceAnalyticsLiveCompleteEvent': _json,
109
111
  'ConferenceAnalyticsLiveInterruptedEvent': _json,
110
112
  'ConferenceAnalyticsLiveProgressEvent': _json,
111
113
  'ConferenceAnalyticsLiveTranscriptionCompleteEvent': _json,
112
114
  'ConferenceAnalyticsLiveTranscriptionEvent': _json,
115
+ 'ConferenceAnalyticsRecordEvent': _json,
116
+ 'ConferenceAnalyticsTranscriptionRecordEvent': _json,
113
117
  });
114
118
  Object.assign(contents, doc);
115
119
  return contents;
@@ -186,6 +186,8 @@ export interface DescribeEventCommandOutput extends DescribeEventOutput, __Metad
186
186
  * // ],
187
187
  * // event: "chat" || "chat_complete" || "chat_interrupted" || "chat_missed" || "call" || "call_complete" || "call_interrupted" || "call_transcription" || "call_transcription_complete" || "conference" || "conference_complete" || "conference_interrupted" || "conference_transcription" || "conference_transcription_complete", // required
188
188
  * // flowIndex: Number("int"), // required
189
+ * // flowStartTime: Number("long"), // required
190
+ * // callStartTime: Number("long"), // required
189
191
  * // chunk: { // CallTranscriptionChunk
190
192
  * // id: "STRING_VALUE", // required
191
193
  * // time: Number("long"), // required
@@ -221,6 +223,128 @@ export interface DescribeEventCommandOutput extends DescribeEventOutput, __Metad
221
223
  * // ],
222
224
  * // event: "chat" || "chat_complete" || "chat_interrupted" || "chat_missed" || "call" || "call_complete" || "call_interrupted" || "call_transcription" || "call_transcription_complete" || "conference" || "conference_complete" || "conference_interrupted" || "conference_transcription" || "conference_transcription_complete", // required
223
225
  * // },
226
+ * // CallAnalyticsRecordEvent: { // CallAnalyticsRecordEvent
227
+ * // id: "STRING_VALUE", // required
228
+ * // pbx: "STRING_VALUE", // required
229
+ * // time: Number("long"), // required
230
+ * // company: "STRING_VALUE", // required
231
+ * // licenses: "<LicensesList>", // required
232
+ * // flows: [ // CallAnalyticsRecordEventFlowsList // required
233
+ * // { // CallAnalyticsRecordEventFlow
234
+ * // startTime: Number("long"), // required
235
+ * // connectTime: Number("long"),
236
+ * // talkTime: Number("long"),
237
+ * // waitTime: Number("long"),
238
+ * // caller: {
239
+ * // type: "REMOTE" || "LOCAL", // required
240
+ * // phone: "STRING_VALUE",
241
+ * // name: "STRING_VALUE",
242
+ * // company: "STRING_VALUE",
243
+ * // email: "STRING_VALUE",
244
+ * // userId: "STRING_VALUE",
245
+ * // userExtension: "STRING_VALUE",
246
+ * // userDepartment: "STRING_VALUE",
247
+ * // groupId: "STRING_VALUE",
248
+ * // groupName: "STRING_VALUE",
249
+ * // userAgent: "STRING_VALUE",
250
+ * // userDevice: "COLLABORATION_WEB" || "COLLABORATION_IOS" || "COLLABORATION_ANDROID" || "XBEES_WEB" || "XBEES_IOS" || "XBEES_ANDROID" || "WILDIX_PHONE" || "WILDIX_DEVICE" || "UNKNOWN",
251
+ * // role: "CLIENT" || "AGENT", // required
252
+ * // license: "STRING_VALUE",
253
+ * // },
254
+ * // callee: {
255
+ * // type: "REMOTE" || "LOCAL", // required
256
+ * // phone: "STRING_VALUE",
257
+ * // name: "STRING_VALUE",
258
+ * // company: "STRING_VALUE",
259
+ * // email: "STRING_VALUE",
260
+ * // userId: "STRING_VALUE",
261
+ * // userExtension: "STRING_VALUE",
262
+ * // userDepartment: "STRING_VALUE",
263
+ * // groupId: "STRING_VALUE",
264
+ * // groupName: "STRING_VALUE",
265
+ * // userAgent: "STRING_VALUE",
266
+ * // userDevice: "COLLABORATION_WEB" || "COLLABORATION_IOS" || "COLLABORATION_ANDROID" || "XBEES_WEB" || "XBEES_IOS" || "XBEES_ANDROID" || "WILDIX_PHONE" || "WILDIX_DEVICE" || "UNKNOWN",
267
+ * // role: "CLIENT" || "AGENT", // required
268
+ * // license: "STRING_VALUE",
269
+ * // },
270
+ * // service: "STRING_VALUE",
271
+ * // serviceNumber: "STRING_VALUE",
272
+ * // destination: "STRING_VALUE",
273
+ * // direction: "INTERNAL" || "INBOUND" || "OUTBOUND" || "UNDEFINED",
274
+ * // trunkName: "STRING_VALUE",
275
+ * // trunkDirection: "STRING_VALUE",
276
+ * // queueName: "STRING_VALUE",
277
+ * // queueId: "STRING_VALUE",
278
+ * // tags: [
279
+ * // "STRING_VALUE",
280
+ * // ],
281
+ * // flags: [
282
+ * // "STRING_VALUE",
283
+ * // ],
284
+ * // callerMos: "STRING_VALUE",
285
+ * // calleeMos: "STRING_VALUE",
286
+ * // xhoppersConfId: "STRING_VALUE",
287
+ * // recordings: [
288
+ * // "STRING_VALUE",
289
+ * // ],
290
+ * // mergeWith: "STRING_VALUE",
291
+ * // splitReason: "STRING_VALUE",
292
+ * // splitTransferType: "STRING_VALUE",
293
+ * // remotePhone: "STRING_VALUE",
294
+ * // remotePhoneCountryCode: Number("int"),
295
+ * // remotePhoneCountryCodeStr: "STRING_VALUE",
296
+ * // remotePhoneLocation: "STRING_VALUE",
297
+ * // callStatus: "COMPLETED" || "MISSED",
298
+ * // transcriptionStatus: "AVAILABLE" || "UNAVAILABLE", // required
299
+ * // attachment: "STRING_VALUE",
300
+ * // attachmentType: "VOICEMAIL" || "FAX",
301
+ * // attachmentDestinations: [
302
+ * // {
303
+ * // phone: "STRING_VALUE",
304
+ * // name: "STRING_VALUE",
305
+ * // email: "STRING_VALUE",
306
+ * // userId: "STRING_VALUE",
307
+ * // userExtension: "STRING_VALUE",
308
+ * // userDepartment: "STRING_VALUE",
309
+ * // groupId: "STRING_VALUE",
310
+ * // groupName: "STRING_VALUE",
311
+ * // },
312
+ * // ],
313
+ * // },
314
+ * // ],
315
+ * // endCause: "STRING_VALUE",
316
+ * // endCauseStr: "STRING_VALUE",
317
+ * // endBy: "CALLER" || "CALLEE", // required
318
+ * // totalConnectTime: Number("int"), // required
319
+ * // totalTalkTime: Number("int"), // required
320
+ * // totalWaitTime: Number("int"), // required
321
+ * // type: "STRING_VALUE",
322
+ * // },
323
+ * // CallAnalyticsTranscriptionRecordEvent: { // CallAnalyticsTranscriptionRecordEvent
324
+ * // id: "STRING_VALUE", // required
325
+ * // pbx: "STRING_VALUE", // required
326
+ * // time: Number("long"), // required
327
+ * // company: "STRING_VALUE", // required
328
+ * // licenses: "<LicensesList>", // required
329
+ * // transcriptions: [ // CallTranscriptionList // required
330
+ * // { // CallTranscription
331
+ * // flowIndex: Number("int"), // required
332
+ * // flowStartTime: Number("long"), // required
333
+ * // callStartTime: Number("long"), // required
334
+ * // chunks: { // CallTranscriptionChunksMap // required
335
+ * // "<keys>": {
336
+ * // id: "STRING_VALUE", // required
337
+ * // time: Number("long"), // required
338
+ * // speaker: "callee" || "caller", // required
339
+ * // text: "STRING_VALUE", // required
340
+ * // language: "STRING_VALUE",
341
+ * // isFinal: true || false, // required
342
+ * // },
343
+ * // },
344
+ * // },
345
+ * // ],
346
+ * // type: "STRING_VALUE",
347
+ * // },
224
348
  * // ConferenceAnalyticsLiveProgressEvent: { // ConferenceAnalyticsLiveProgressEvent
225
349
  * // id: "STRING_VALUE", // required
226
350
  * // time: Number("long"), // required
@@ -262,6 +386,8 @@ export interface DescribeEventCommandOutput extends DescribeEventOutput, __Metad
262
386
  * // time: Number("long"), // required
263
387
  * // company: "STRING_VALUE", // required
264
388
  * // event: "chat" || "chat_complete" || "chat_interrupted" || "chat_missed" || "call" || "call_complete" || "call_interrupted" || "call_transcription" || "call_transcription_complete" || "conference" || "conference_complete" || "conference_interrupted" || "conference_transcription" || "conference_transcription_complete", // required
389
+ * // conferenceStartTime: Number("long"), // required
390
+ * // transcriptionStartTime: Number("long"), // required
265
391
  * // chunk: { // ConferenceTranscriptionChunk
266
392
  * // id: "STRING_VALUE", // required
267
393
  * // time: Number("long"), // required
@@ -290,6 +416,63 @@ export interface DescribeEventCommandOutput extends DescribeEventOutput, __Metad
290
416
  * // company: "STRING_VALUE", // required
291
417
  * // event: "chat" || "chat_complete" || "chat_interrupted" || "chat_missed" || "call" || "call_complete" || "call_interrupted" || "call_transcription" || "call_transcription_complete" || "conference" || "conference_complete" || "conference_interrupted" || "conference_transcription" || "conference_transcription_complete", // required
292
418
  * // },
419
+ * // ConferenceAnalyticsRecordEvent: { // ConferenceAnalyticsRecordEvent
420
+ * // id: "STRING_VALUE", // required
421
+ * // time: Number("long"), // required
422
+ * // company: "STRING_VALUE", // required
423
+ * // pbx: "STRING_VALUE",
424
+ * // duration: Number("long"),
425
+ * // waitTime: Number("int"),
426
+ * // subject: "STRING_VALUE",
427
+ * // direction: "INTERNAL" || "INBOUND" || "OUTBOUND", // required
428
+ * // service: "STRING_VALUE",
429
+ * // status: "COMPLETED" || "MISSED",
430
+ * // participants: [ // ConferenceAnalyticsRecordParticipantList // required
431
+ * // { // ConferenceAnalyticsRecordParticipant
432
+ * // jid: "STRING_VALUE", // required
433
+ * // info: "<ConferenceParticipant>", // required
434
+ * // totalDuration: Number("int"), // required
435
+ * // totalSpeakDuration: Number("int"), // required
436
+ * // joinTime: Number("long"), // required
437
+ * // },
438
+ * // ],
439
+ * // recordings: [ // ConferenceRecordingList
440
+ * // { // ConferenceRecording
441
+ * // url: "STRING_VALUE", // required
442
+ * // start: Number("long"), // required
443
+ * // end: Number("long"), // required
444
+ * // },
445
+ * // ],
446
+ * // transcriptionStatus: "AVAILABLE" || "UNAVAILABLE", // required
447
+ * // type: "STRING_VALUE",
448
+ * // transcriptions: "STRING_VALUE",
449
+ * // },
450
+ * // ConferenceAnalyticsTranscriptionRecordEvent: { // ConferenceAnalyticsTranscriptionRecordEvent
451
+ * // id: "STRING_VALUE", // required
452
+ * // time: Number("long"), // required
453
+ * // company: "STRING_VALUE", // required
454
+ * // transcriptions: [ // ConferenceTranscriptionsList // required
455
+ * // { // ConferenceTranscription
456
+ * // start: Number("long"), // required
457
+ * // end: Number("long"), // required
458
+ * // chunks: { // ConferenceTranscriptionChunksMap // required
459
+ * // "<keys>": {
460
+ * // id: "STRING_VALUE", // required
461
+ * // time: Number("long"), // required
462
+ * // jid: "STRING_VALUE", // required
463
+ * // text: "STRING_VALUE", // required
464
+ * // language: "STRING_VALUE",
465
+ * // isFinal: true || false, // required
466
+ * // },
467
+ * // },
468
+ * // },
469
+ * // ],
470
+ * // type: "STRING_VALUE",
471
+ * // subject: "STRING_VALUE",
472
+ * // participants: { // ConferenceParticipantsMap
473
+ * // "<keys>": "<ConferenceParticipant>",
474
+ * // },
475
+ * // },
293
476
  * // };
294
477
  *
295
478
  * ```
@@ -22,6 +22,18 @@ 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 CallEndBy: {
30
+ readonly CALLEE: "CALLEE";
31
+ readonly CALLER: "CALLER";
32
+ };
33
+ /**
34
+ * @public
35
+ */
36
+ export type CallEndBy = typeof CallEndBy[keyof typeof CallEndBy];
25
37
  /**
26
38
  * @public
27
39
  */
@@ -147,6 +159,43 @@ export declare const CallFlowTranscriptionStatus: {
147
159
  * @public
148
160
  */
149
161
  export type CallFlowTranscriptionStatus = typeof CallFlowTranscriptionStatus[keyof typeof CallFlowTranscriptionStatus];
162
+ /**
163
+ * @public
164
+ */
165
+ export interface CallAnalyticsRecordEventFlow {
166
+ startTime: number;
167
+ connectTime?: number;
168
+ talkTime?: number;
169
+ waitTime?: number;
170
+ caller?: CallParticipant;
171
+ callee?: CallParticipant;
172
+ service?: string;
173
+ serviceNumber?: string;
174
+ destination?: string;
175
+ direction?: CallDirection | string;
176
+ trunkName?: string;
177
+ trunkDirection?: string;
178
+ queueName?: string;
179
+ queueId?: string;
180
+ tags?: (string)[];
181
+ flags?: (string)[];
182
+ callerMos?: string;
183
+ calleeMos?: string;
184
+ xhoppersConfId?: string;
185
+ recordings?: (string)[];
186
+ mergeWith?: string;
187
+ splitReason?: string;
188
+ splitTransferType?: string;
189
+ remotePhone?: string;
190
+ remotePhoneCountryCode?: number;
191
+ remotePhoneCountryCodeStr?: string;
192
+ remotePhoneLocation?: string;
193
+ callStatus?: ConversationStatus | string;
194
+ transcriptionStatus: CallFlowTranscriptionStatus | string;
195
+ attachment?: string;
196
+ attachmentType?: CallFlowAttachmentType | string;
197
+ attachmentDestinations?: (CallFlowAttachmentDestination)[];
198
+ }
150
199
  /**
151
200
  * @public
152
201
  * @enum
@@ -181,6 +230,28 @@ export interface CallTranscriptionChunk {
181
230
  language?: string;
182
231
  isFinal: boolean;
183
232
  }
233
+ /**
234
+ * @public
235
+ */
236
+ export interface CallTranscription {
237
+ flowIndex: number;
238
+ flowStartTime: number;
239
+ callStartTime: number;
240
+ chunks: Record<string, CallTranscriptionChunk>;
241
+ }
242
+ /**
243
+ * @public
244
+ * @enum
245
+ */
246
+ export declare const ConferenceDirection: {
247
+ readonly INBOUND: "INBOUND";
248
+ readonly INTERNAL: "INTERNAL";
249
+ readonly OUTBOUND: "OUTBOUND";
250
+ };
251
+ /**
252
+ * @public
253
+ */
254
+ export type ConferenceDirection = typeof ConferenceDirection[keyof typeof ConferenceDirection];
184
255
  /**
185
256
  * @public
186
257
  * @enum
@@ -228,6 +299,24 @@ export interface ConferenceParticipant {
228
299
  pbxExtension?: string;
229
300
  xbsId?: string;
230
301
  }
302
+ /**
303
+ * @public
304
+ */
305
+ export interface ConferenceAnalyticsRecordParticipant {
306
+ jid: string;
307
+ info: ConferenceParticipant;
308
+ totalDuration: number;
309
+ totalSpeakDuration: number;
310
+ joinTime: number;
311
+ }
312
+ /**
313
+ * @public
314
+ */
315
+ export interface ConferenceRecording {
316
+ url: string;
317
+ start: number;
318
+ end: number;
319
+ }
231
320
  /**
232
321
  * @public
233
322
  * @enum
@@ -251,6 +340,14 @@ export interface ConferenceTranscriptionChunk {
251
340
  language?: string;
252
341
  isFinal: boolean;
253
342
  }
343
+ /**
344
+ * @public
345
+ */
346
+ export interface ConferenceTranscription {
347
+ start: number;
348
+ end: number;
349
+ chunks: Record<string, ConferenceTranscriptionChunk>;
350
+ }
254
351
  /**
255
352
  * @public
256
353
  * @enum
@@ -388,9 +485,41 @@ export interface CallAnalyticsLiveTranscriptionEvent {
388
485
  licenses: (License | string)[];
389
486
  event: LiveEventType | string;
390
487
  flowIndex: number;
488
+ flowStartTime: number;
489
+ callStartTime: number;
391
490
  chunk: CallTranscriptionChunk;
392
491
  participant: CallParticipant;
393
492
  }
493
+ /**
494
+ * @public
495
+ */
496
+ export interface CallAnalyticsRecordEvent {
497
+ id: string;
498
+ pbx: string;
499
+ time: number;
500
+ company: string;
501
+ licenses: (License | string)[];
502
+ flows: (CallAnalyticsRecordEventFlow)[];
503
+ endCause?: string;
504
+ endCauseStr?: string;
505
+ endBy: CallEndBy | string;
506
+ totalConnectTime: number;
507
+ totalTalkTime: number;
508
+ totalWaitTime: number;
509
+ type?: string;
510
+ }
511
+ /**
512
+ * @public
513
+ */
514
+ export interface CallAnalyticsTranscriptionRecordEvent {
515
+ id: string;
516
+ pbx: string;
517
+ time: number;
518
+ company: string;
519
+ licenses: (License | string)[];
520
+ transcriptions: (CallTranscription)[];
521
+ type?: string;
522
+ }
394
523
  /**
395
524
  * @public
396
525
  */
@@ -648,9 +777,43 @@ export interface ConferenceAnalyticsLiveTranscriptionEvent {
648
777
  time: number;
649
778
  company: string;
650
779
  event: LiveEventType | string;
780
+ conferenceStartTime: number;
781
+ transcriptionStartTime: number;
651
782
  chunk: ConferenceTranscriptionChunk;
652
783
  participant: ConferenceParticipant;
653
784
  }
785
+ /**
786
+ * @public
787
+ */
788
+ export interface ConferenceAnalyticsRecordEvent {
789
+ id: string;
790
+ time: number;
791
+ company: string;
792
+ pbx?: string;
793
+ duration?: number;
794
+ waitTime?: number;
795
+ subject?: string;
796
+ direction: ConferenceDirection | string;
797
+ service?: string;
798
+ status?: ConversationStatus | string;
799
+ participants: (ConferenceAnalyticsRecordParticipant)[];
800
+ recordings?: (ConferenceRecording)[];
801
+ transcriptionStatus: ConferenceTranscriptionStatus | string;
802
+ type?: string;
803
+ transcriptions?: string;
804
+ }
805
+ /**
806
+ * @public
807
+ */
808
+ export interface ConferenceAnalyticsTranscriptionRecordEvent {
809
+ id: string;
810
+ time: number;
811
+ company: string;
812
+ transcriptions: (ConferenceTranscription)[];
813
+ type?: string;
814
+ subject?: string;
815
+ participants?: Record<string, ConferenceParticipant>;
816
+ }
654
817
  /**
655
818
  * @public
656
819
  */
@@ -835,11 +998,15 @@ export interface DescribeEventOutput {
835
998
  CallAnalyticsLiveInterruptedEvent?: CallAnalyticsLiveInterruptedEvent;
836
999
  CallAnalyticsLiveTranscriptionEvent?: CallAnalyticsLiveTranscriptionEvent;
837
1000
  CallAnalyticsLiveTranscriptionCompleteEvent?: CallAnalyticsLiveTranscriptionCompleteEvent;
1001
+ CallAnalyticsRecordEvent?: CallAnalyticsRecordEvent;
1002
+ CallAnalyticsTranscriptionRecordEvent?: CallAnalyticsTranscriptionRecordEvent;
838
1003
  ConferenceAnalyticsLiveProgressEvent?: ConferenceAnalyticsLiveProgressEvent;
839
1004
  ConferenceAnalyticsLiveCompleteEvent?: ConferenceAnalyticsLiveCompleteEvent;
840
1005
  ConferenceAnalyticsLiveInterruptedEvent?: ConferenceAnalyticsLiveInterruptedEvent;
841
1006
  ConferenceAnalyticsLiveTranscriptionEvent?: ConferenceAnalyticsLiveTranscriptionEvent;
842
1007
  ConferenceAnalyticsLiveTranscriptionCompleteEvent?: ConferenceAnalyticsLiveTranscriptionCompleteEvent;
1008
+ ConferenceAnalyticsRecordEvent?: ConferenceAnalyticsRecordEvent;
1009
+ ConferenceAnalyticsTranscriptionRecordEvent?: ConferenceAnalyticsTranscriptionRecordEvent;
843
1010
  }
844
1011
  /**
845
1012
  * @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",
4
+ "version": "1.0.6",
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",