@wildix/wda-stream-client 1.0.13 → 1.0.14
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/models/models_0.js +20 -11
- package/dist-es/models/models_0.js +17 -8
- package/dist-types/commands/ConsumeEventCommand.d.ts +16 -2
- package/dist-types/commands/DescribeEventCommand.d.ts +44 -0
- package/dist-types/commands/GetConversationsCommand.d.ts +16 -0
- package/dist-types/models/models_0.d.ts +75 -9
- package/package.json +1 -1
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MatchNotFoundException = exports.ConsumeEventInputEvent = exports.SmsStatus = exports.SmsChannelType = exports.SmsConsumeEventType = exports.ChatConsumeEventType = exports.ChatTag = exports.ChatStatus = exports.ChatParticipantType = exports.ChatParticipantRole = exports.ChatDirection = exports.ChannelType = exports.CallFlowConsumeStatus = exports.CallEndConsume = exports.CallFlowAttachmentConsumeType = exports.CallEndBy = exports.CallFlowStatus = exports.LiveEventType = exports.CallConsumeEventType = exports.ConferenceTranscriptionStatus = exports.ConferenceParticipantType = exports.ConferenceParticipantRole = exports.ConferenceDirection = exports.CallTranscriptionSpeaker = exports.CallFlowTranscriptionStatus = exports.License = exports.CallDirection = exports.ConversationStatus = exports.CallDevice = exports.CallParticipantType = exports.CallParticipantRole = exports.CallFlowAttachmentType = exports.
|
|
3
|
+
exports.MatchNotFoundException = exports.ConsumeEventInputEvent = exports.SmsStatus = exports.SmsChannelType = exports.SmsConsumeEventType = exports.ChatConsumeEventType = exports.ChatTag = exports.ChatStatus = exports.ChatParticipantType = exports.ChatParticipantRole = exports.ChatDirection = exports.ChannelType = exports.CallFlowConsumeStatus = exports.CallEndConsume = exports.CallFlowAttachmentConsumeType = exports.CallEndBy = exports.CallFlowStatus = exports.LiveEventType = exports.CallConsumeEventType = exports.ConferenceTranscriptionStatus = exports.ConferenceParticipantType = exports.ConferenceParticipantRole = exports.ConferenceDirection = exports.CallTranscriptionSpeaker = exports.CallFlowTranscriptionStatus = exports.CallRecordPauseReason = exports.CallRecordOwner = exports.License = exports.CallDirection = exports.ConversationStatus = exports.CallDevice = exports.CallParticipantType = exports.CallParticipantRole = exports.CallFlowAttachmentType = exports.ForbiddenException = exports.ValidationException = void 0;
|
|
4
4
|
const WdaStreamServiceException_1 = require("./WdaStreamServiceException");
|
|
5
|
-
class
|
|
5
|
+
class ValidationException extends WdaStreamServiceException_1.WdaStreamServiceException {
|
|
6
6
|
constructor(opts) {
|
|
7
7
|
super({
|
|
8
|
-
name: "
|
|
8
|
+
name: "ValidationException",
|
|
9
9
|
$fault: "client",
|
|
10
10
|
...opts
|
|
11
11
|
});
|
|
12
|
-
this.name = "
|
|
12
|
+
this.name = "ValidationException";
|
|
13
13
|
this.$fault = "client";
|
|
14
|
-
Object.setPrototypeOf(this,
|
|
14
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
|
-
exports.
|
|
18
|
-
class
|
|
17
|
+
exports.ValidationException = ValidationException;
|
|
18
|
+
class ForbiddenException extends WdaStreamServiceException_1.WdaStreamServiceException {
|
|
19
19
|
constructor(opts) {
|
|
20
20
|
super({
|
|
21
|
-
name: "
|
|
21
|
+
name: "ForbiddenException",
|
|
22
22
|
$fault: "client",
|
|
23
23
|
...opts
|
|
24
24
|
});
|
|
25
|
-
this.name = "
|
|
25
|
+
this.name = "ForbiddenException";
|
|
26
26
|
this.$fault = "client";
|
|
27
|
-
Object.setPrototypeOf(this,
|
|
27
|
+
Object.setPrototypeOf(this, ForbiddenException.prototype);
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
|
-
exports.
|
|
30
|
+
exports.ForbiddenException = ForbiddenException;
|
|
31
31
|
exports.CallFlowAttachmentType = {
|
|
32
32
|
FAX: "FAX",
|
|
33
33
|
VOICEMAIL: "VOICEMAIL",
|
|
@@ -64,6 +64,15 @@ exports.CallDirection = {
|
|
|
64
64
|
exports.License = {
|
|
65
65
|
XBEES: "x-bees",
|
|
66
66
|
};
|
|
67
|
+
exports.CallRecordOwner = {
|
|
68
|
+
CALLEE: "callee",
|
|
69
|
+
CALLER: "caller",
|
|
70
|
+
SYSTEM: "system",
|
|
71
|
+
};
|
|
72
|
+
exports.CallRecordPauseReason = {
|
|
73
|
+
HOLD: "hold",
|
|
74
|
+
PAUSE: "pause",
|
|
75
|
+
};
|
|
67
76
|
exports.CallFlowTranscriptionStatus = {
|
|
68
77
|
AVAILABLE: "AVAILABLE",
|
|
69
78
|
UNAVAILABLE: "UNAVAILABLE",
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { WdaStreamServiceException as __BaseException } from "./WdaStreamServiceException";
|
|
2
|
-
export class
|
|
2
|
+
export class ValidationException extends __BaseException {
|
|
3
3
|
constructor(opts) {
|
|
4
4
|
super({
|
|
5
|
-
name: "
|
|
5
|
+
name: "ValidationException",
|
|
6
6
|
$fault: "client",
|
|
7
7
|
...opts
|
|
8
8
|
});
|
|
9
|
-
this.name = "
|
|
9
|
+
this.name = "ValidationException";
|
|
10
10
|
this.$fault = "client";
|
|
11
|
-
Object.setPrototypeOf(this,
|
|
11
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
|
-
export class
|
|
14
|
+
export class ForbiddenException extends __BaseException {
|
|
15
15
|
constructor(opts) {
|
|
16
16
|
super({
|
|
17
|
-
name: "
|
|
17
|
+
name: "ForbiddenException",
|
|
18
18
|
$fault: "client",
|
|
19
19
|
...opts
|
|
20
20
|
});
|
|
21
|
-
this.name = "
|
|
21
|
+
this.name = "ForbiddenException";
|
|
22
22
|
this.$fault = "client";
|
|
23
|
-
Object.setPrototypeOf(this,
|
|
23
|
+
Object.setPrototypeOf(this, ForbiddenException.prototype);
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
export const CallFlowAttachmentType = {
|
|
@@ -59,6 +59,15 @@ export const CallDirection = {
|
|
|
59
59
|
export const License = {
|
|
60
60
|
XBEES: "x-bees",
|
|
61
61
|
};
|
|
62
|
+
export const CallRecordOwner = {
|
|
63
|
+
CALLEE: "callee",
|
|
64
|
+
CALLER: "caller",
|
|
65
|
+
SYSTEM: "system",
|
|
66
|
+
};
|
|
67
|
+
export const CallRecordPauseReason = {
|
|
68
|
+
HOLD: "hold",
|
|
69
|
+
PAUSE: "pause",
|
|
70
|
+
};
|
|
62
71
|
export const CallFlowTranscriptionStatus = {
|
|
63
72
|
AVAILABLE: "AVAILABLE",
|
|
64
73
|
UNAVAILABLE: "UNAVAILABLE",
|
|
@@ -250,8 +250,10 @@ export interface ConsumeEventCommandOutput extends ConsumeEventOutput, __Metadat
|
|
|
250
250
|
* pbx: "STRING_VALUE", // required
|
|
251
251
|
* company: "STRING_VALUE", // required
|
|
252
252
|
* type: "CALL.START" || "CALL.UPDATE" || "CALL.SPLIT" || "CALL.LIVE" || "CALL.AGENTS_START" || "CALL.AGENTS_CANCEL" || "CALL.END" || "CALL.RECORD_START" || "CALL.RECORD_STOP" || "CALL.ATTACHMENT" || "CALL.TRANSCRIPTION", // required
|
|
253
|
-
* data: { //
|
|
253
|
+
* data: { // CallRecordStartConsumeEventData
|
|
254
254
|
* fileName: "STRING_VALUE", // required
|
|
255
|
+
* start: Number("long"), // required
|
|
256
|
+
* owner: "callee" || "caller" || "system", // required
|
|
255
257
|
* },
|
|
256
258
|
* },
|
|
257
259
|
* callRecordStop: { // CallRecordStopConsumeEvent
|
|
@@ -260,8 +262,17 @@ export interface ConsumeEventCommandOutput extends ConsumeEventOutput, __Metadat
|
|
|
260
262
|
* pbx: "STRING_VALUE", // required
|
|
261
263
|
* company: "STRING_VALUE", // required
|
|
262
264
|
* type: "CALL.START" || "CALL.UPDATE" || "CALL.SPLIT" || "CALL.LIVE" || "CALL.AGENTS_START" || "CALL.AGENTS_CANCEL" || "CALL.END" || "CALL.RECORD_START" || "CALL.RECORD_STOP" || "CALL.ATTACHMENT" || "CALL.TRANSCRIPTION", // required
|
|
263
|
-
* data: {
|
|
265
|
+
* data: { // CallRecordStopConsumeEventData
|
|
264
266
|
* fileName: "STRING_VALUE", // required
|
|
267
|
+
* url: "STRING_VALUE", // required
|
|
268
|
+
* end: Number("long"), // required
|
|
269
|
+
* pauses: [ // CallRecordPausesList // required
|
|
270
|
+
* { // CallRecordPause
|
|
271
|
+
* start: Number("long"),
|
|
272
|
+
* stop: Number("long"),
|
|
273
|
+
* reason: "pause" || "hold",
|
|
274
|
+
* },
|
|
275
|
+
* ],
|
|
265
276
|
* },
|
|
266
277
|
* },
|
|
267
278
|
* callAttachment: { // CallAttachmentConsumeEvent
|
|
@@ -300,6 +311,9 @@ export interface ConsumeEventCommandOutput extends ConsumeEventOutput, __Metadat
|
|
|
300
311
|
* text: "STRING_VALUE", // required
|
|
301
312
|
* language: "STRING_VALUE", // required
|
|
302
313
|
* final: true || false, // required
|
|
314
|
+
* start: Number("long"), // required
|
|
315
|
+
* end: Number("long"), // required
|
|
316
|
+
* sentiment: "STRING_VALUE", // required
|
|
303
317
|
* },
|
|
304
318
|
* },
|
|
305
319
|
* chatNew: { // ChatNewConsumeEvent
|
|
@@ -130,6 +130,22 @@ export interface DescribeEventCommandOutput extends DescribeEventOutput, __Metad
|
|
|
130
130
|
* // recordings: [ // CallFlowRecordings
|
|
131
131
|
* // "STRING_VALUE",
|
|
132
132
|
* // ],
|
|
133
|
+
* // recordingsData: [ // CallFlowRecordingsData
|
|
134
|
+
* // { // RecordingsData
|
|
135
|
+
* // fileName: "STRING_VALUE", // required
|
|
136
|
+
* // start: Number("long"), // required
|
|
137
|
+
* // end: Number("long"), // required
|
|
138
|
+
* // owner: "callee" || "caller" || "system", // required
|
|
139
|
+
* // url: "STRING_VALUE", // required
|
|
140
|
+
* // pauses: [ // CallRecordPausesList // required
|
|
141
|
+
* // { // CallRecordPause
|
|
142
|
+
* // start: Number("long"),
|
|
143
|
+
* // stop: Number("long"),
|
|
144
|
+
* // reason: "pause" || "hold",
|
|
145
|
+
* // },
|
|
146
|
+
* // ],
|
|
147
|
+
* // },
|
|
148
|
+
* // ],
|
|
133
149
|
* // mergeWith: "STRING_VALUE",
|
|
134
150
|
* // splitReason: "STRING_VALUE",
|
|
135
151
|
* // splitTransferType: "STRING_VALUE",
|
|
@@ -198,6 +214,9 @@ export interface DescribeEventCommandOutput extends DescribeEventOutput, __Metad
|
|
|
198
214
|
* // text: "STRING_VALUE", // required
|
|
199
215
|
* // language: "STRING_VALUE",
|
|
200
216
|
* // isFinal: true || false, // required
|
|
217
|
+
* // start: Number("long"), // required
|
|
218
|
+
* // end: Number("long"), // required
|
|
219
|
+
* // sentiment: "STRING_VALUE", // required
|
|
201
220
|
* // },
|
|
202
221
|
* // participant: {
|
|
203
222
|
* // type: "REMOTE" || "LOCAL", // required
|
|
@@ -284,6 +303,22 @@ export interface DescribeEventCommandOutput extends DescribeEventOutput, __Metad
|
|
|
284
303
|
* // recordings: [
|
|
285
304
|
* // "STRING_VALUE",
|
|
286
305
|
* // ],
|
|
306
|
+
* // recordingsData: [
|
|
307
|
+
* // {
|
|
308
|
+
* // fileName: "STRING_VALUE", // required
|
|
309
|
+
* // start: Number("long"), // required
|
|
310
|
+
* // end: Number("long"), // required
|
|
311
|
+
* // owner: "callee" || "caller" || "system", // required
|
|
312
|
+
* // url: "STRING_VALUE", // required
|
|
313
|
+
* // pauses: [ // required
|
|
314
|
+
* // {
|
|
315
|
+
* // start: Number("long"),
|
|
316
|
+
* // stop: Number("long"),
|
|
317
|
+
* // reason: "pause" || "hold",
|
|
318
|
+
* // },
|
|
319
|
+
* // ],
|
|
320
|
+
* // },
|
|
321
|
+
* // ],
|
|
287
322
|
* // mergeWith: "STRING_VALUE",
|
|
288
323
|
* // splitReason: "STRING_VALUE",
|
|
289
324
|
* // splitTransferType: "STRING_VALUE",
|
|
@@ -338,6 +373,9 @@ export interface DescribeEventCommandOutput extends DescribeEventOutput, __Metad
|
|
|
338
373
|
* // text: "STRING_VALUE", // required
|
|
339
374
|
* // language: "STRING_VALUE",
|
|
340
375
|
* // isFinal: true || false, // required
|
|
376
|
+
* // start: Number("long"), // required
|
|
377
|
+
* // end: Number("long"), // required
|
|
378
|
+
* // sentiment: "STRING_VALUE", // required
|
|
341
379
|
* // },
|
|
342
380
|
* // },
|
|
343
381
|
* // },
|
|
@@ -396,6 +434,9 @@ export interface DescribeEventCommandOutput extends DescribeEventOutput, __Metad
|
|
|
396
434
|
* // text: "STRING_VALUE", // required
|
|
397
435
|
* // language: "STRING_VALUE",
|
|
398
436
|
* // isFinal: true || false, // required
|
|
437
|
+
* // start: Number("long"), // required
|
|
438
|
+
* // end: Number("long"), // required
|
|
439
|
+
* // sentiment: "STRING_VALUE", // required
|
|
399
440
|
* // },
|
|
400
441
|
* // participant: {
|
|
401
442
|
* // type: "EXTERNAL" || "EXTERNAL_DIAL_IN" || "PBX" || "PBX_SIP" || "XBS", // required
|
|
@@ -459,6 +500,9 @@ export interface DescribeEventCommandOutput extends DescribeEventOutput, __Metad
|
|
|
459
500
|
* // text: "STRING_VALUE", // required
|
|
460
501
|
* // language: "STRING_VALUE",
|
|
461
502
|
* // isFinal: true || false, // required
|
|
503
|
+
* // start: Number("long"), // required
|
|
504
|
+
* // end: Number("long"), // required
|
|
505
|
+
* // sentiment: "STRING_VALUE", // required
|
|
462
506
|
* // },
|
|
463
507
|
* // },
|
|
464
508
|
* // },
|
|
@@ -109,6 +109,22 @@ export interface GetConversationsCommandOutput extends GetConversationsOutput, _
|
|
|
109
109
|
* // recordings: [ // CallFlowRecordings
|
|
110
110
|
* // "STRING_VALUE",
|
|
111
111
|
* // ],
|
|
112
|
+
* // recordingsData: [ // CallFlowRecordingsData
|
|
113
|
+
* // { // RecordingsData
|
|
114
|
+
* // fileName: "STRING_VALUE", // required
|
|
115
|
+
* // start: Number("long"), // required
|
|
116
|
+
* // end: Number("long"), // required
|
|
117
|
+
* // owner: "callee" || "caller" || "system", // required
|
|
118
|
+
* // url: "STRING_VALUE", // required
|
|
119
|
+
* // pauses: [ // CallRecordPausesList // required
|
|
120
|
+
* // { // CallRecordPause
|
|
121
|
+
* // start: Number("long"),
|
|
122
|
+
* // stop: Number("long"),
|
|
123
|
+
* // reason: "pause" || "hold",
|
|
124
|
+
* // },
|
|
125
|
+
* // ],
|
|
126
|
+
* // },
|
|
127
|
+
* // ],
|
|
112
128
|
* // mergeWith: "STRING_VALUE",
|
|
113
129
|
* // splitReason: "STRING_VALUE",
|
|
114
130
|
* // splitTransferType: "STRING_VALUE",
|
|
@@ -3,24 +3,24 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-cli
|
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
6
|
-
export declare class
|
|
7
|
-
readonly name: "
|
|
6
|
+
export declare class ValidationException extends __BaseException {
|
|
7
|
+
readonly name: "ValidationException";
|
|
8
8
|
readonly $fault: "client";
|
|
9
9
|
/**
|
|
10
10
|
* @internal
|
|
11
11
|
*/
|
|
12
|
-
constructor(opts: __ExceptionOptionType<
|
|
12
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
13
13
|
}
|
|
14
14
|
/**
|
|
15
15
|
* @public
|
|
16
16
|
*/
|
|
17
|
-
export declare class
|
|
18
|
-
readonly name: "
|
|
17
|
+
export declare class ForbiddenException extends __BaseException {
|
|
18
|
+
readonly name: "ForbiddenException";
|
|
19
19
|
readonly $fault: "client";
|
|
20
20
|
/**
|
|
21
21
|
* @internal
|
|
22
22
|
*/
|
|
23
|
-
constructor(opts: __ExceptionOptionType<
|
|
23
|
+
constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
|
|
24
24
|
}
|
|
25
25
|
/**
|
|
26
26
|
* @public
|
|
@@ -146,6 +146,50 @@ export declare const License: {
|
|
|
146
146
|
* @public
|
|
147
147
|
*/
|
|
148
148
|
export type License = typeof License[keyof typeof License];
|
|
149
|
+
/**
|
|
150
|
+
* @public
|
|
151
|
+
* @enum
|
|
152
|
+
*/
|
|
153
|
+
export declare const CallRecordOwner: {
|
|
154
|
+
readonly CALLEE: "callee";
|
|
155
|
+
readonly CALLER: "caller";
|
|
156
|
+
readonly SYSTEM: "system";
|
|
157
|
+
};
|
|
158
|
+
/**
|
|
159
|
+
* @public
|
|
160
|
+
*/
|
|
161
|
+
export type CallRecordOwner = typeof CallRecordOwner[keyof typeof CallRecordOwner];
|
|
162
|
+
/**
|
|
163
|
+
* @public
|
|
164
|
+
* @enum
|
|
165
|
+
*/
|
|
166
|
+
export declare const CallRecordPauseReason: {
|
|
167
|
+
readonly HOLD: "hold";
|
|
168
|
+
readonly PAUSE: "pause";
|
|
169
|
+
};
|
|
170
|
+
/**
|
|
171
|
+
* @public
|
|
172
|
+
*/
|
|
173
|
+
export type CallRecordPauseReason = typeof CallRecordPauseReason[keyof typeof CallRecordPauseReason];
|
|
174
|
+
/**
|
|
175
|
+
* @public
|
|
176
|
+
*/
|
|
177
|
+
export interface CallRecordPause {
|
|
178
|
+
start?: number;
|
|
179
|
+
stop?: number;
|
|
180
|
+
reason?: CallRecordPauseReason | string;
|
|
181
|
+
}
|
|
182
|
+
/**
|
|
183
|
+
* @public
|
|
184
|
+
*/
|
|
185
|
+
export interface RecordingsData {
|
|
186
|
+
fileName: string;
|
|
187
|
+
start: number;
|
|
188
|
+
end: number;
|
|
189
|
+
owner: CallRecordOwner | string;
|
|
190
|
+
url: string;
|
|
191
|
+
pauses: (CallRecordPause)[];
|
|
192
|
+
}
|
|
149
193
|
/**
|
|
150
194
|
* @public
|
|
151
195
|
* @enum
|
|
@@ -180,6 +224,9 @@ export interface CallTranscriptionChunk {
|
|
|
180
224
|
text: string;
|
|
181
225
|
language?: string;
|
|
182
226
|
isFinal: boolean;
|
|
227
|
+
start: number;
|
|
228
|
+
end: number;
|
|
229
|
+
sentiment: string;
|
|
183
230
|
}
|
|
184
231
|
/**
|
|
185
232
|
* @public
|
|
@@ -281,6 +328,9 @@ export interface ConferenceTranscriptionChunk {
|
|
|
281
328
|
text: string;
|
|
282
329
|
language?: string;
|
|
283
330
|
isFinal: boolean;
|
|
331
|
+
start: number;
|
|
332
|
+
end: number;
|
|
333
|
+
sentiment: string;
|
|
284
334
|
}
|
|
285
335
|
/**
|
|
286
336
|
* @public
|
|
@@ -437,6 +487,7 @@ export interface CallAnalyticsLiveProgressEventFlow {
|
|
|
437
487
|
calleeMos?: string;
|
|
438
488
|
xhoppersConfId?: string;
|
|
439
489
|
recordings?: (string)[];
|
|
490
|
+
recordingsData?: (RecordingsData)[];
|
|
440
491
|
mergeWith?: string;
|
|
441
492
|
splitReason?: string;
|
|
442
493
|
splitTransferType?: string;
|
|
@@ -524,6 +575,7 @@ export interface CallAnalyticsRecordEventFlow {
|
|
|
524
575
|
calleeMos?: string;
|
|
525
576
|
xhoppersConfId?: string;
|
|
526
577
|
recordings?: (string)[];
|
|
578
|
+
recordingsData?: (RecordingsData)[];
|
|
527
579
|
mergeWith?: string;
|
|
528
580
|
splitReason?: string;
|
|
529
581
|
splitTransferType?: string;
|
|
@@ -688,8 +740,10 @@ export interface CallLiveConsumeEvent {
|
|
|
688
740
|
/**
|
|
689
741
|
* @public
|
|
690
742
|
*/
|
|
691
|
-
export interface
|
|
743
|
+
export interface CallRecordStartConsumeEventData {
|
|
692
744
|
fileName: string;
|
|
745
|
+
start: number;
|
|
746
|
+
owner: CallRecordOwner | string;
|
|
693
747
|
}
|
|
694
748
|
/**
|
|
695
749
|
* @public
|
|
@@ -700,7 +754,16 @@ export interface CallRecordStartConsumeEvent {
|
|
|
700
754
|
pbx: string;
|
|
701
755
|
company: string;
|
|
702
756
|
type: CallConsumeEventType | string;
|
|
703
|
-
data:
|
|
757
|
+
data: CallRecordStartConsumeEventData;
|
|
758
|
+
}
|
|
759
|
+
/**
|
|
760
|
+
* @public
|
|
761
|
+
*/
|
|
762
|
+
export interface CallRecordStopConsumeEventData {
|
|
763
|
+
fileName: string;
|
|
764
|
+
url: string;
|
|
765
|
+
end: number;
|
|
766
|
+
pauses: (CallRecordPause)[];
|
|
704
767
|
}
|
|
705
768
|
/**
|
|
706
769
|
* @public
|
|
@@ -711,7 +774,7 @@ export interface CallRecordStopConsumeEvent {
|
|
|
711
774
|
pbx: string;
|
|
712
775
|
company: string;
|
|
713
776
|
type: CallConsumeEventType | string;
|
|
714
|
-
data:
|
|
777
|
+
data: CallRecordStopConsumeEventData;
|
|
715
778
|
}
|
|
716
779
|
/**
|
|
717
780
|
* @public
|
|
@@ -780,6 +843,9 @@ export interface CallTranscribeConsumeEventData {
|
|
|
780
843
|
text: string;
|
|
781
844
|
language: string;
|
|
782
845
|
final: boolean;
|
|
846
|
+
start: number;
|
|
847
|
+
end: number;
|
|
848
|
+
sentiment: string;
|
|
783
849
|
}
|
|
784
850
|
/**
|
|
785
851
|
* @public
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wildix/wda-stream-client",
|
|
3
3
|
"description": "@wildix/wda-stream-client client",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.14",
|
|
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",
|