@wildix/wda-stream-client 1.0.13 → 1.0.16
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 +25 -11
- package/dist-es/models/models_0.js +22 -8
- package/dist-types/commands/ConsumeEventCommand.d.ts +35 -2
- package/dist-types/commands/DescribeEventCommand.d.ts +55 -5
- package/dist-types/commands/GetConversationsCommand.d.ts +20 -2
- package/dist-types/models/models_0.d.ts +163 -15
- package/dist-types/runtimeConfig.browser.d.ts +3 -3
- package/dist-types/runtimeConfig.d.ts +3 -3
- package/dist-types/runtimeConfig.native.d.ts +3 -3
- package/dist-types/runtimeConfig.shared.d.ts +2 -2
- 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.ConferenceConsumeEventType = 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",
|
|
@@ -173,6 +182,9 @@ exports.ChatConsumeEventType = {
|
|
|
173
182
|
CHAT_NEW: "CHAT.NEW",
|
|
174
183
|
CHAT_UPDATE: "CHAT.UPDATE",
|
|
175
184
|
};
|
|
185
|
+
exports.ConferenceConsumeEventType = {
|
|
186
|
+
CONFERENCE_TIMEFRAMES: "CONFERENCE.TIMEFRAMES",
|
|
187
|
+
};
|
|
176
188
|
exports.SmsConsumeEventType = {
|
|
177
189
|
SMS_INBOUND: "SMS.INBOUND",
|
|
178
190
|
SMS_STATUS: "SMS.STATUS",
|
|
@@ -212,6 +224,8 @@ var ConsumeEventInputEvent;
|
|
|
212
224
|
return visitor.callAttachment(value.callAttachment);
|
|
213
225
|
if (value.callTranscription !== undefined)
|
|
214
226
|
return visitor.callTranscription(value.callTranscription);
|
|
227
|
+
if (value.conferenceTimeFrames !== undefined)
|
|
228
|
+
return visitor.conferenceTimeFrames(value.conferenceTimeFrames);
|
|
215
229
|
if (value.chatNew !== undefined)
|
|
216
230
|
return visitor.chatNew(value.chatNew);
|
|
217
231
|
if (value.chatUpdate !== undefined)
|
|
@@ -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",
|
|
@@ -168,6 +177,9 @@ export const ChatConsumeEventType = {
|
|
|
168
177
|
CHAT_NEW: "CHAT.NEW",
|
|
169
178
|
CHAT_UPDATE: "CHAT.UPDATE",
|
|
170
179
|
};
|
|
180
|
+
export const ConferenceConsumeEventType = {
|
|
181
|
+
CONFERENCE_TIMEFRAMES: "CONFERENCE.TIMEFRAMES",
|
|
182
|
+
};
|
|
171
183
|
export const SmsConsumeEventType = {
|
|
172
184
|
SMS_INBOUND: "SMS.INBOUND",
|
|
173
185
|
SMS_STATUS: "SMS.STATUS",
|
|
@@ -207,6 +219,8 @@ export var ConsumeEventInputEvent;
|
|
|
207
219
|
return visitor.callAttachment(value.callAttachment);
|
|
208
220
|
if (value.callTranscription !== undefined)
|
|
209
221
|
return visitor.callTranscription(value.callTranscription);
|
|
222
|
+
if (value.conferenceTimeFrames !== undefined)
|
|
223
|
+
return visitor.conferenceTimeFrames(value.conferenceTimeFrames);
|
|
210
224
|
if (value.chatNew !== undefined)
|
|
211
225
|
return visitor.chatNew(value.chatNew);
|
|
212
226
|
if (value.chatUpdate !== undefined)
|
|
@@ -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
|
+
* end: Number("long"),
|
|
273
|
+
* reason: "pause" || "hold",
|
|
274
|
+
* },
|
|
275
|
+
* ],
|
|
265
276
|
* },
|
|
266
277
|
* },
|
|
267
278
|
* callAttachment: { // CallAttachmentConsumeEvent
|
|
@@ -300,6 +311,28 @@ 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",
|
|
317
|
+
* },
|
|
318
|
+
* },
|
|
319
|
+
* conferenceTimeFrames: { // ConferenceTimeFramesConsumeEvent
|
|
320
|
+
* room: "STRING_VALUE", // required
|
|
321
|
+
* session: "STRING_VALUE", // required
|
|
322
|
+
* time: Number("long"), // required
|
|
323
|
+
* type: "CONFERENCE.TIMEFRAMES", // required
|
|
324
|
+
* data: { // ConferenceTimeFramesConsumeEventData
|
|
325
|
+
* timeFrames: [ // ConferenceTimeFramesList // required
|
|
326
|
+
* { // ConferenceTimeFramesListItem
|
|
327
|
+
* jid: "STRING_VALUE", // required
|
|
328
|
+
* frames: [ // ConferenceTimeFramesChunkList // required
|
|
329
|
+
* { // ConferenceTimeFramesChunk
|
|
330
|
+
* start: Number("long"), // required
|
|
331
|
+
* end: Number("long"), // required
|
|
332
|
+
* },
|
|
333
|
+
* ],
|
|
334
|
+
* },
|
|
335
|
+
* ],
|
|
303
336
|
* },
|
|
304
337
|
* },
|
|
305
338
|
* chatNew: { // ChatNewConsumeEvent
|
|
@@ -74,10 +74,11 @@ export interface DescribeEventCommandOutput extends DescribeEventOutput, __Metad
|
|
|
74
74
|
* // { // CallAnalyticsLiveProgressEventFlow
|
|
75
75
|
* // flowIndex: Number("int"), // required
|
|
76
76
|
* // startTime: Number("long"), // required
|
|
77
|
-
* // endTime: Number("long"),
|
|
77
|
+
* // endTime: Number("long"), // required
|
|
78
78
|
* // connectTime: Number("long"),
|
|
79
79
|
* // talkTime: Number("long"),
|
|
80
80
|
* // waitTime: Number("long"),
|
|
81
|
+
* // duration: Number("long"), // required
|
|
81
82
|
* // caller: { // CallParticipant
|
|
82
83
|
* // type: "REMOTE" || "LOCAL", // required
|
|
83
84
|
* // phone: "STRING_VALUE",
|
|
@@ -130,6 +131,22 @@ export interface DescribeEventCommandOutput extends DescribeEventOutput, __Metad
|
|
|
130
131
|
* // recordings: [ // CallFlowRecordings
|
|
131
132
|
* // "STRING_VALUE",
|
|
132
133
|
* // ],
|
|
134
|
+
* // recordingsData: [ // CallFlowRecordingsData
|
|
135
|
+
* // { // RecordingsData
|
|
136
|
+
* // fileName: "STRING_VALUE", // required
|
|
137
|
+
* // start: Number("long"), // required
|
|
138
|
+
* // end: Number("long"), // required
|
|
139
|
+
* // owner: "callee" || "caller" || "system", // required
|
|
140
|
+
* // url: "STRING_VALUE", // required
|
|
141
|
+
* // pauses: [ // CallRecordPausesList // required
|
|
142
|
+
* // { // CallRecordPause
|
|
143
|
+
* // start: Number("long"),
|
|
144
|
+
* // end: Number("long"),
|
|
145
|
+
* // reason: "pause" || "hold",
|
|
146
|
+
* // },
|
|
147
|
+
* // ],
|
|
148
|
+
* // },
|
|
149
|
+
* // ],
|
|
133
150
|
* // mergeWith: "STRING_VALUE",
|
|
134
151
|
* // splitReason: "STRING_VALUE",
|
|
135
152
|
* // splitTransferType: "STRING_VALUE",
|
|
@@ -138,7 +155,7 @@ export interface DescribeEventCommandOutput extends DescribeEventOutput, __Metad
|
|
|
138
155
|
* // remotePhoneCountryCodeStr: "STRING_VALUE",
|
|
139
156
|
* // remotePhoneLocation: "STRING_VALUE",
|
|
140
157
|
* // callStatus: "COMPLETED" || "MISSED",
|
|
141
|
-
* // transcriptionStatus: "AVAILABLE" || "UNAVAILABLE",
|
|
158
|
+
* // transcriptionStatus: "AVAILABLE" || "UNAVAILABLE",
|
|
142
159
|
* // transcriptionLanguage: "STRING_VALUE",
|
|
143
160
|
* // attachment: "STRING_VALUE",
|
|
144
161
|
* // attachmentType: "VOICEMAIL" || "FAX",
|
|
@@ -198,6 +215,9 @@ export interface DescribeEventCommandOutput extends DescribeEventOutput, __Metad
|
|
|
198
215
|
* // text: "STRING_VALUE", // required
|
|
199
216
|
* // language: "STRING_VALUE",
|
|
200
217
|
* // isFinal: true || false, // required
|
|
218
|
+
* // start: Number("long"), // required
|
|
219
|
+
* // end: Number("long"), // required
|
|
220
|
+
* // sentiment: "STRING_VALUE", // required
|
|
201
221
|
* // },
|
|
202
222
|
* // participant: {
|
|
203
223
|
* // type: "REMOTE" || "LOCAL", // required
|
|
@@ -228,10 +248,11 @@ export interface DescribeEventCommandOutput extends DescribeEventOutput, __Metad
|
|
|
228
248
|
* // { // CallAnalyticsRecordEventFlow
|
|
229
249
|
* // flowIndex: Number("int"), // required
|
|
230
250
|
* // startTime: Number("long"), // required
|
|
231
|
-
* // endTime: Number("long"),
|
|
251
|
+
* // endTime: Number("long"), // required
|
|
232
252
|
* // connectTime: Number("long"),
|
|
233
253
|
* // talkTime: Number("long"),
|
|
234
254
|
* // waitTime: Number("long"),
|
|
255
|
+
* // duration: Number("long"), // required
|
|
235
256
|
* // caller: {
|
|
236
257
|
* // type: "REMOTE" || "LOCAL", // required
|
|
237
258
|
* // phone: "STRING_VALUE",
|
|
@@ -284,6 +305,22 @@ export interface DescribeEventCommandOutput extends DescribeEventOutput, __Metad
|
|
|
284
305
|
* // recordings: [
|
|
285
306
|
* // "STRING_VALUE",
|
|
286
307
|
* // ],
|
|
308
|
+
* // recordingsData: [
|
|
309
|
+
* // {
|
|
310
|
+
* // fileName: "STRING_VALUE", // required
|
|
311
|
+
* // start: Number("long"), // required
|
|
312
|
+
* // end: Number("long"), // required
|
|
313
|
+
* // owner: "callee" || "caller" || "system", // required
|
|
314
|
+
* // url: "STRING_VALUE", // required
|
|
315
|
+
* // pauses: [ // required
|
|
316
|
+
* // {
|
|
317
|
+
* // start: Number("long"),
|
|
318
|
+
* // end: Number("long"),
|
|
319
|
+
* // reason: "pause" || "hold",
|
|
320
|
+
* // },
|
|
321
|
+
* // ],
|
|
322
|
+
* // },
|
|
323
|
+
* // ],
|
|
287
324
|
* // mergeWith: "STRING_VALUE",
|
|
288
325
|
* // splitReason: "STRING_VALUE",
|
|
289
326
|
* // splitTransferType: "STRING_VALUE",
|
|
@@ -292,7 +329,7 @@ export interface DescribeEventCommandOutput extends DescribeEventOutput, __Metad
|
|
|
292
329
|
* // remotePhoneCountryCodeStr: "STRING_VALUE",
|
|
293
330
|
* // remotePhoneLocation: "STRING_VALUE",
|
|
294
331
|
* // callStatus: "COMPLETED" || "MISSED",
|
|
295
|
-
* // transcriptionStatus: "AVAILABLE" || "UNAVAILABLE",
|
|
332
|
+
* // transcriptionStatus: "AVAILABLE" || "UNAVAILABLE",
|
|
296
333
|
* // transcriptionLanguage: "STRING_VALUE",
|
|
297
334
|
* // attachment: "STRING_VALUE",
|
|
298
335
|
* // attachmentType: "VOICEMAIL" || "FAX",
|
|
@@ -338,6 +375,9 @@ export interface DescribeEventCommandOutput extends DescribeEventOutput, __Metad
|
|
|
338
375
|
* // text: "STRING_VALUE", // required
|
|
339
376
|
* // language: "STRING_VALUE",
|
|
340
377
|
* // isFinal: true || false, // required
|
|
378
|
+
* // start: Number("long"), // required
|
|
379
|
+
* // end: Number("long"), // required
|
|
380
|
+
* // sentiment: "STRING_VALUE", // required
|
|
341
381
|
* // },
|
|
342
382
|
* // },
|
|
343
383
|
* // },
|
|
@@ -364,6 +404,7 @@ export interface DescribeEventCommandOutput extends DescribeEventOutput, __Metad
|
|
|
364
404
|
* // company: "STRING_VALUE",
|
|
365
405
|
* // pbxSerial: "STRING_VALUE",
|
|
366
406
|
* // pbxExtension: "STRING_VALUE",
|
|
407
|
+
* // pbxGroupId: "STRING_VALUE",
|
|
367
408
|
* // xbsId: "STRING_VALUE",
|
|
368
409
|
* // },
|
|
369
410
|
* // ],
|
|
@@ -396,6 +437,9 @@ export interface DescribeEventCommandOutput extends DescribeEventOutput, __Metad
|
|
|
396
437
|
* // text: "STRING_VALUE", // required
|
|
397
438
|
* // language: "STRING_VALUE",
|
|
398
439
|
* // isFinal: true || false, // required
|
|
440
|
+
* // start: Number("long"), // required
|
|
441
|
+
* // end: Number("long"), // required
|
|
442
|
+
* // sentiment: "STRING_VALUE", // required
|
|
399
443
|
* // },
|
|
400
444
|
* // participant: {
|
|
401
445
|
* // type: "EXTERNAL" || "EXTERNAL_DIAL_IN" || "PBX" || "PBX_SIP" || "XBS", // required
|
|
@@ -408,6 +452,7 @@ export interface DescribeEventCommandOutput extends DescribeEventOutput, __Metad
|
|
|
408
452
|
* // company: "STRING_VALUE",
|
|
409
453
|
* // pbxSerial: "STRING_VALUE",
|
|
410
454
|
* // pbxExtension: "STRING_VALUE",
|
|
455
|
+
* // pbxGroupId: "STRING_VALUE",
|
|
411
456
|
* // xbsId: "STRING_VALUE",
|
|
412
457
|
* // },
|
|
413
458
|
* // },
|
|
@@ -416,7 +461,9 @@ export interface DescribeEventCommandOutput extends DescribeEventOutput, __Metad
|
|
|
416
461
|
* // time: Number("long"), // required
|
|
417
462
|
* // company: "STRING_VALUE", // required
|
|
418
463
|
* // pbx: "STRING_VALUE",
|
|
419
|
-
* //
|
|
464
|
+
* // startTime: Number("long"), // required
|
|
465
|
+
* // endTime: Number("long"), // required
|
|
466
|
+
* // duration: Number("long"), // required
|
|
420
467
|
* // waitTime: Number("int"),
|
|
421
468
|
* // subject: "STRING_VALUE",
|
|
422
469
|
* // direction: "INTERNAL" || "INBOUND" || "OUTBOUND", // required
|
|
@@ -459,6 +506,9 @@ export interface DescribeEventCommandOutput extends DescribeEventOutput, __Metad
|
|
|
459
506
|
* // text: "STRING_VALUE", // required
|
|
460
507
|
* // language: "STRING_VALUE",
|
|
461
508
|
* // isFinal: true || false, // required
|
|
509
|
+
* // start: Number("long"), // required
|
|
510
|
+
* // end: Number("long"), // required
|
|
511
|
+
* // sentiment: "STRING_VALUE", // required
|
|
462
512
|
* // },
|
|
463
513
|
* // },
|
|
464
514
|
* // },
|
|
@@ -53,10 +53,11 @@ export interface GetConversationsCommandOutput extends GetConversationsOutput, _
|
|
|
53
53
|
* // { // CallAnalyticsLiveProgressEventFlow
|
|
54
54
|
* // flowIndex: Number("int"), // required
|
|
55
55
|
* // startTime: Number("long"), // required
|
|
56
|
-
* // endTime: Number("long"),
|
|
56
|
+
* // endTime: Number("long"), // required
|
|
57
57
|
* // connectTime: Number("long"),
|
|
58
58
|
* // talkTime: Number("long"),
|
|
59
59
|
* // waitTime: Number("long"),
|
|
60
|
+
* // duration: Number("long"), // required
|
|
60
61
|
* // caller: { // CallParticipant
|
|
61
62
|
* // type: "REMOTE" || "LOCAL", // required
|
|
62
63
|
* // phone: "STRING_VALUE",
|
|
@@ -109,6 +110,22 @@ export interface GetConversationsCommandOutput extends GetConversationsOutput, _
|
|
|
109
110
|
* // recordings: [ // CallFlowRecordings
|
|
110
111
|
* // "STRING_VALUE",
|
|
111
112
|
* // ],
|
|
113
|
+
* // recordingsData: [ // CallFlowRecordingsData
|
|
114
|
+
* // { // RecordingsData
|
|
115
|
+
* // fileName: "STRING_VALUE", // required
|
|
116
|
+
* // start: Number("long"), // required
|
|
117
|
+
* // end: Number("long"), // required
|
|
118
|
+
* // owner: "callee" || "caller" || "system", // required
|
|
119
|
+
* // url: "STRING_VALUE", // required
|
|
120
|
+
* // pauses: [ // CallRecordPausesList // required
|
|
121
|
+
* // { // CallRecordPause
|
|
122
|
+
* // start: Number("long"),
|
|
123
|
+
* // end: Number("long"),
|
|
124
|
+
* // reason: "pause" || "hold",
|
|
125
|
+
* // },
|
|
126
|
+
* // ],
|
|
127
|
+
* // },
|
|
128
|
+
* // ],
|
|
112
129
|
* // mergeWith: "STRING_VALUE",
|
|
113
130
|
* // splitReason: "STRING_VALUE",
|
|
114
131
|
* // splitTransferType: "STRING_VALUE",
|
|
@@ -117,7 +134,7 @@ export interface GetConversationsCommandOutput extends GetConversationsOutput, _
|
|
|
117
134
|
* // remotePhoneCountryCodeStr: "STRING_VALUE",
|
|
118
135
|
* // remotePhoneLocation: "STRING_VALUE",
|
|
119
136
|
* // callStatus: "COMPLETED" || "MISSED",
|
|
120
|
-
* // transcriptionStatus: "AVAILABLE" || "UNAVAILABLE",
|
|
137
|
+
* // transcriptionStatus: "AVAILABLE" || "UNAVAILABLE",
|
|
121
138
|
* // transcriptionLanguage: "STRING_VALUE",
|
|
122
139
|
* // attachment: "STRING_VALUE",
|
|
123
140
|
* // attachmentType: "VOICEMAIL" || "FAX",
|
|
@@ -159,6 +176,7 @@ export interface GetConversationsCommandOutput extends GetConversationsOutput, _
|
|
|
159
176
|
* // company: "STRING_VALUE",
|
|
160
177
|
* // pbxSerial: "STRING_VALUE",
|
|
161
178
|
* // pbxExtension: "STRING_VALUE",
|
|
179
|
+
* // pbxGroupId: "STRING_VALUE",
|
|
162
180
|
* // xbsId: "STRING_VALUE",
|
|
163
181
|
* // },
|
|
164
182
|
* // ],
|
|
@@ -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
|
+
end?: 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
|
|
@@ -239,6 +286,7 @@ export interface ConferenceParticipant {
|
|
|
239
286
|
company?: string;
|
|
240
287
|
pbxSerial?: string;
|
|
241
288
|
pbxExtension?: string;
|
|
289
|
+
pbxGroupId?: string;
|
|
242
290
|
xbsId?: string;
|
|
243
291
|
}
|
|
244
292
|
/**
|
|
@@ -281,6 +329,23 @@ export interface ConferenceTranscriptionChunk {
|
|
|
281
329
|
text: string;
|
|
282
330
|
language?: string;
|
|
283
331
|
isFinal: boolean;
|
|
332
|
+
start: number;
|
|
333
|
+
end: number;
|
|
334
|
+
sentiment: string;
|
|
335
|
+
}
|
|
336
|
+
/**
|
|
337
|
+
* @public
|
|
338
|
+
*/
|
|
339
|
+
export interface ConferenceTimeFramesChunk {
|
|
340
|
+
start: number;
|
|
341
|
+
end: number;
|
|
342
|
+
}
|
|
343
|
+
/**
|
|
344
|
+
* @public
|
|
345
|
+
*/
|
|
346
|
+
export interface ConferenceTimeFramesListItem {
|
|
347
|
+
jid: string;
|
|
348
|
+
frames: (ConferenceTimeFramesChunk)[];
|
|
284
349
|
}
|
|
285
350
|
/**
|
|
286
351
|
* @public
|
|
@@ -417,10 +482,11 @@ export type CallFlowStatus = typeof CallFlowStatus[keyof typeof CallFlowStatus];
|
|
|
417
482
|
export interface CallAnalyticsLiveProgressEventFlow {
|
|
418
483
|
flowIndex: number;
|
|
419
484
|
startTime: number;
|
|
420
|
-
endTime
|
|
485
|
+
endTime: number;
|
|
421
486
|
connectTime?: number;
|
|
422
487
|
talkTime?: number;
|
|
423
488
|
waitTime?: number;
|
|
489
|
+
duration: number;
|
|
424
490
|
caller?: CallParticipant;
|
|
425
491
|
callee?: CallParticipant;
|
|
426
492
|
service?: string;
|
|
@@ -437,6 +503,7 @@ export interface CallAnalyticsLiveProgressEventFlow {
|
|
|
437
503
|
calleeMos?: string;
|
|
438
504
|
xhoppersConfId?: string;
|
|
439
505
|
recordings?: (string)[];
|
|
506
|
+
recordingsData?: (RecordingsData)[];
|
|
440
507
|
mergeWith?: string;
|
|
441
508
|
splitReason?: string;
|
|
442
509
|
splitTransferType?: string;
|
|
@@ -445,7 +512,7 @@ export interface CallAnalyticsLiveProgressEventFlow {
|
|
|
445
512
|
remotePhoneCountryCodeStr?: string;
|
|
446
513
|
remotePhoneLocation?: string;
|
|
447
514
|
callStatus?: ConversationStatus | string;
|
|
448
|
-
transcriptionStatus
|
|
515
|
+
transcriptionStatus?: CallFlowTranscriptionStatus | string;
|
|
449
516
|
transcriptionLanguage?: string;
|
|
450
517
|
attachment?: string;
|
|
451
518
|
attachmentType?: CallFlowAttachmentType | string;
|
|
@@ -504,10 +571,11 @@ export type CallEndBy = typeof CallEndBy[keyof typeof CallEndBy];
|
|
|
504
571
|
export interface CallAnalyticsRecordEventFlow {
|
|
505
572
|
flowIndex: number;
|
|
506
573
|
startTime: number;
|
|
507
|
-
endTime
|
|
574
|
+
endTime: number;
|
|
508
575
|
connectTime?: number;
|
|
509
576
|
talkTime?: number;
|
|
510
577
|
waitTime?: number;
|
|
578
|
+
duration: number;
|
|
511
579
|
caller?: CallParticipant;
|
|
512
580
|
callee?: CallParticipant;
|
|
513
581
|
service?: string;
|
|
@@ -524,6 +592,7 @@ export interface CallAnalyticsRecordEventFlow {
|
|
|
524
592
|
calleeMos?: string;
|
|
525
593
|
xhoppersConfId?: string;
|
|
526
594
|
recordings?: (string)[];
|
|
595
|
+
recordingsData?: (RecordingsData)[];
|
|
527
596
|
mergeWith?: string;
|
|
528
597
|
splitReason?: string;
|
|
529
598
|
splitTransferType?: string;
|
|
@@ -532,7 +601,7 @@ export interface CallAnalyticsRecordEventFlow {
|
|
|
532
601
|
remotePhoneCountryCodeStr?: string;
|
|
533
602
|
remotePhoneLocation?: string;
|
|
534
603
|
callStatus?: ConversationStatus | string;
|
|
535
|
-
transcriptionStatus
|
|
604
|
+
transcriptionStatus?: CallFlowTranscriptionStatus | string;
|
|
536
605
|
transcriptionLanguage?: string;
|
|
537
606
|
attachment?: string;
|
|
538
607
|
attachmentType?: CallFlowAttachmentType | string;
|
|
@@ -688,8 +757,10 @@ export interface CallLiveConsumeEvent {
|
|
|
688
757
|
/**
|
|
689
758
|
* @public
|
|
690
759
|
*/
|
|
691
|
-
export interface
|
|
760
|
+
export interface CallRecordStartConsumeEventData {
|
|
692
761
|
fileName: string;
|
|
762
|
+
start: number;
|
|
763
|
+
owner: CallRecordOwner | string;
|
|
693
764
|
}
|
|
694
765
|
/**
|
|
695
766
|
* @public
|
|
@@ -700,7 +771,16 @@ export interface CallRecordStartConsumeEvent {
|
|
|
700
771
|
pbx: string;
|
|
701
772
|
company: string;
|
|
702
773
|
type: CallConsumeEventType | string;
|
|
703
|
-
data:
|
|
774
|
+
data: CallRecordStartConsumeEventData;
|
|
775
|
+
}
|
|
776
|
+
/**
|
|
777
|
+
* @public
|
|
778
|
+
*/
|
|
779
|
+
export interface CallRecordStopConsumeEventData {
|
|
780
|
+
fileName: string;
|
|
781
|
+
url: string;
|
|
782
|
+
end: number;
|
|
783
|
+
pauses: (CallRecordPause)[];
|
|
704
784
|
}
|
|
705
785
|
/**
|
|
706
786
|
* @public
|
|
@@ -711,7 +791,7 @@ export interface CallRecordStopConsumeEvent {
|
|
|
711
791
|
pbx: string;
|
|
712
792
|
company: string;
|
|
713
793
|
type: CallConsumeEventType | string;
|
|
714
|
-
data:
|
|
794
|
+
data: CallRecordStopConsumeEventData;
|
|
715
795
|
}
|
|
716
796
|
/**
|
|
717
797
|
* @public
|
|
@@ -780,6 +860,9 @@ export interface CallTranscribeConsumeEventData {
|
|
|
780
860
|
text: string;
|
|
781
861
|
language: string;
|
|
782
862
|
final: boolean;
|
|
863
|
+
start: number;
|
|
864
|
+
end: number;
|
|
865
|
+
sentiment?: string;
|
|
783
866
|
}
|
|
784
867
|
/**
|
|
785
868
|
* @public
|
|
@@ -1081,7 +1164,9 @@ export interface ConferenceAnalyticsRecordEvent {
|
|
|
1081
1164
|
time: number;
|
|
1082
1165
|
company: string;
|
|
1083
1166
|
pbx?: string;
|
|
1084
|
-
|
|
1167
|
+
startTime: number;
|
|
1168
|
+
endTime: number;
|
|
1169
|
+
duration: number;
|
|
1085
1170
|
waitTime?: number;
|
|
1086
1171
|
subject?: string;
|
|
1087
1172
|
direction: ConferenceDirection | string;
|
|
@@ -1114,6 +1199,33 @@ export interface ConferenceAnalyticsTranscriptionRecordEvent {
|
|
|
1114
1199
|
subject?: string;
|
|
1115
1200
|
participants?: Record<string, ConferenceParticipant>;
|
|
1116
1201
|
}
|
|
1202
|
+
/**
|
|
1203
|
+
* @public
|
|
1204
|
+
* @enum
|
|
1205
|
+
*/
|
|
1206
|
+
export declare const ConferenceConsumeEventType: {
|
|
1207
|
+
readonly CONFERENCE_TIMEFRAMES: "CONFERENCE.TIMEFRAMES";
|
|
1208
|
+
};
|
|
1209
|
+
/**
|
|
1210
|
+
* @public
|
|
1211
|
+
*/
|
|
1212
|
+
export type ConferenceConsumeEventType = typeof ConferenceConsumeEventType[keyof typeof ConferenceConsumeEventType];
|
|
1213
|
+
/**
|
|
1214
|
+
* @public
|
|
1215
|
+
*/
|
|
1216
|
+
export interface ConferenceTimeFramesConsumeEventData {
|
|
1217
|
+
timeFrames: (ConferenceTimeFramesListItem)[];
|
|
1218
|
+
}
|
|
1219
|
+
/**
|
|
1220
|
+
* @public
|
|
1221
|
+
*/
|
|
1222
|
+
export interface ConferenceTimeFramesConsumeEvent {
|
|
1223
|
+
room: string;
|
|
1224
|
+
session: string;
|
|
1225
|
+
time: number;
|
|
1226
|
+
type: ConferenceConsumeEventType | string;
|
|
1227
|
+
data: ConferenceTimeFramesConsumeEventData;
|
|
1228
|
+
}
|
|
1117
1229
|
/**
|
|
1118
1230
|
* @public
|
|
1119
1231
|
*/
|
|
@@ -1199,7 +1311,7 @@ export interface SmsStatusConsumeEvent {
|
|
|
1199
1311
|
/**
|
|
1200
1312
|
* @public
|
|
1201
1313
|
*/
|
|
1202
|
-
export type ConsumeEventInputEvent = ConsumeEventInputEvent.CallAgentsCancelMember | ConsumeEventInputEvent.CallAgentsStartMember | ConsumeEventInputEvent.CallAttachmentMember | ConsumeEventInputEvent.CallEndMember | ConsumeEventInputEvent.CallLiveMember | ConsumeEventInputEvent.CallRecordStartMember | ConsumeEventInputEvent.CallRecordStopMember | ConsumeEventInputEvent.CallSplitMember | ConsumeEventInputEvent.CallStartMember | ConsumeEventInputEvent.CallTranscriptionMember | ConsumeEventInputEvent.CallUpdateMember | ConsumeEventInputEvent.ChatNewMember | ConsumeEventInputEvent.ChatUpdateMember | ConsumeEventInputEvent.SmsInboundMember | ConsumeEventInputEvent.SmsStatusMember | ConsumeEventInputEvent.$UnknownMember;
|
|
1314
|
+
export type ConsumeEventInputEvent = ConsumeEventInputEvent.CallAgentsCancelMember | ConsumeEventInputEvent.CallAgentsStartMember | ConsumeEventInputEvent.CallAttachmentMember | ConsumeEventInputEvent.CallEndMember | ConsumeEventInputEvent.CallLiveMember | ConsumeEventInputEvent.CallRecordStartMember | ConsumeEventInputEvent.CallRecordStopMember | ConsumeEventInputEvent.CallSplitMember | ConsumeEventInputEvent.CallStartMember | ConsumeEventInputEvent.CallTranscriptionMember | ConsumeEventInputEvent.CallUpdateMember | ConsumeEventInputEvent.ChatNewMember | ConsumeEventInputEvent.ChatUpdateMember | ConsumeEventInputEvent.ConferenceTimeFramesMember | ConsumeEventInputEvent.SmsInboundMember | ConsumeEventInputEvent.SmsStatusMember | ConsumeEventInputEvent.$UnknownMember;
|
|
1203
1315
|
/**
|
|
1204
1316
|
* @public
|
|
1205
1317
|
*/
|
|
@@ -1216,6 +1328,7 @@ export declare namespace ConsumeEventInputEvent {
|
|
|
1216
1328
|
callRecordStop?: never;
|
|
1217
1329
|
callAttachment?: never;
|
|
1218
1330
|
callTranscription?: never;
|
|
1331
|
+
conferenceTimeFrames?: never;
|
|
1219
1332
|
chatNew?: never;
|
|
1220
1333
|
chatUpdate?: never;
|
|
1221
1334
|
smsInbound?: never;
|
|
@@ -1234,6 +1347,7 @@ export declare namespace ConsumeEventInputEvent {
|
|
|
1234
1347
|
callRecordStop?: never;
|
|
1235
1348
|
callAttachment?: never;
|
|
1236
1349
|
callTranscription?: never;
|
|
1350
|
+
conferenceTimeFrames?: never;
|
|
1237
1351
|
chatNew?: never;
|
|
1238
1352
|
chatUpdate?: never;
|
|
1239
1353
|
smsInbound?: never;
|
|
@@ -1252,6 +1366,7 @@ export declare namespace ConsumeEventInputEvent {
|
|
|
1252
1366
|
callRecordStop?: never;
|
|
1253
1367
|
callAttachment?: never;
|
|
1254
1368
|
callTranscription?: never;
|
|
1369
|
+
conferenceTimeFrames?: never;
|
|
1255
1370
|
chatNew?: never;
|
|
1256
1371
|
chatUpdate?: never;
|
|
1257
1372
|
smsInbound?: never;
|
|
@@ -1270,6 +1385,7 @@ export declare namespace ConsumeEventInputEvent {
|
|
|
1270
1385
|
callRecordStop?: never;
|
|
1271
1386
|
callAttachment?: never;
|
|
1272
1387
|
callTranscription?: never;
|
|
1388
|
+
conferenceTimeFrames?: never;
|
|
1273
1389
|
chatNew?: never;
|
|
1274
1390
|
chatUpdate?: never;
|
|
1275
1391
|
smsInbound?: never;
|
|
@@ -1288,6 +1404,7 @@ export declare namespace ConsumeEventInputEvent {
|
|
|
1288
1404
|
callRecordStop?: never;
|
|
1289
1405
|
callAttachment?: never;
|
|
1290
1406
|
callTranscription?: never;
|
|
1407
|
+
conferenceTimeFrames?: never;
|
|
1291
1408
|
chatNew?: never;
|
|
1292
1409
|
chatUpdate?: never;
|
|
1293
1410
|
smsInbound?: never;
|
|
@@ -1306,6 +1423,7 @@ export declare namespace ConsumeEventInputEvent {
|
|
|
1306
1423
|
callRecordStop?: never;
|
|
1307
1424
|
callAttachment?: never;
|
|
1308
1425
|
callTranscription?: never;
|
|
1426
|
+
conferenceTimeFrames?: never;
|
|
1309
1427
|
chatNew?: never;
|
|
1310
1428
|
chatUpdate?: never;
|
|
1311
1429
|
smsInbound?: never;
|
|
@@ -1324,6 +1442,7 @@ export declare namespace ConsumeEventInputEvent {
|
|
|
1324
1442
|
callRecordStop?: never;
|
|
1325
1443
|
callAttachment?: never;
|
|
1326
1444
|
callTranscription?: never;
|
|
1445
|
+
conferenceTimeFrames?: never;
|
|
1327
1446
|
chatNew?: never;
|
|
1328
1447
|
chatUpdate?: never;
|
|
1329
1448
|
smsInbound?: never;
|
|
@@ -1342,6 +1461,7 @@ export declare namespace ConsumeEventInputEvent {
|
|
|
1342
1461
|
callRecordStop?: never;
|
|
1343
1462
|
callAttachment?: never;
|
|
1344
1463
|
callTranscription?: never;
|
|
1464
|
+
conferenceTimeFrames?: never;
|
|
1345
1465
|
chatNew?: never;
|
|
1346
1466
|
chatUpdate?: never;
|
|
1347
1467
|
smsInbound?: never;
|
|
@@ -1360,6 +1480,7 @@ export declare namespace ConsumeEventInputEvent {
|
|
|
1360
1480
|
callRecordStop: CallRecordStopConsumeEvent;
|
|
1361
1481
|
callAttachment?: never;
|
|
1362
1482
|
callTranscription?: never;
|
|
1483
|
+
conferenceTimeFrames?: never;
|
|
1363
1484
|
chatNew?: never;
|
|
1364
1485
|
chatUpdate?: never;
|
|
1365
1486
|
smsInbound?: never;
|
|
@@ -1378,6 +1499,7 @@ export declare namespace ConsumeEventInputEvent {
|
|
|
1378
1499
|
callRecordStop?: never;
|
|
1379
1500
|
callAttachment: CallAttachmentConsumeEvent;
|
|
1380
1501
|
callTranscription?: never;
|
|
1502
|
+
conferenceTimeFrames?: never;
|
|
1381
1503
|
chatNew?: never;
|
|
1382
1504
|
chatUpdate?: never;
|
|
1383
1505
|
smsInbound?: never;
|
|
@@ -1396,6 +1518,26 @@ export declare namespace ConsumeEventInputEvent {
|
|
|
1396
1518
|
callRecordStop?: never;
|
|
1397
1519
|
callAttachment?: never;
|
|
1398
1520
|
callTranscription: CallTranscribeConsumeEvent;
|
|
1521
|
+
conferenceTimeFrames?: never;
|
|
1522
|
+
chatNew?: never;
|
|
1523
|
+
chatUpdate?: never;
|
|
1524
|
+
smsInbound?: never;
|
|
1525
|
+
smsStatus?: never;
|
|
1526
|
+
$unknown?: never;
|
|
1527
|
+
}
|
|
1528
|
+
interface ConferenceTimeFramesMember {
|
|
1529
|
+
callStart?: never;
|
|
1530
|
+
callUpdate?: never;
|
|
1531
|
+
callSplit?: never;
|
|
1532
|
+
callLive?: never;
|
|
1533
|
+
callAgentsStart?: never;
|
|
1534
|
+
callAgentsCancel?: never;
|
|
1535
|
+
callEnd?: never;
|
|
1536
|
+
callRecordStart?: never;
|
|
1537
|
+
callRecordStop?: never;
|
|
1538
|
+
callAttachment?: never;
|
|
1539
|
+
callTranscription?: never;
|
|
1540
|
+
conferenceTimeFrames: ConferenceTimeFramesConsumeEvent;
|
|
1399
1541
|
chatNew?: never;
|
|
1400
1542
|
chatUpdate?: never;
|
|
1401
1543
|
smsInbound?: never;
|
|
@@ -1414,6 +1556,7 @@ export declare namespace ConsumeEventInputEvent {
|
|
|
1414
1556
|
callRecordStop?: never;
|
|
1415
1557
|
callAttachment?: never;
|
|
1416
1558
|
callTranscription?: never;
|
|
1559
|
+
conferenceTimeFrames?: never;
|
|
1417
1560
|
chatNew: ChatNewConsumeEvent;
|
|
1418
1561
|
chatUpdate?: never;
|
|
1419
1562
|
smsInbound?: never;
|
|
@@ -1432,6 +1575,7 @@ export declare namespace ConsumeEventInputEvent {
|
|
|
1432
1575
|
callRecordStop?: never;
|
|
1433
1576
|
callAttachment?: never;
|
|
1434
1577
|
callTranscription?: never;
|
|
1578
|
+
conferenceTimeFrames?: never;
|
|
1435
1579
|
chatNew?: never;
|
|
1436
1580
|
chatUpdate: ChatUpdateConsumeEvent;
|
|
1437
1581
|
smsInbound?: never;
|
|
@@ -1450,6 +1594,7 @@ export declare namespace ConsumeEventInputEvent {
|
|
|
1450
1594
|
callRecordStop?: never;
|
|
1451
1595
|
callAttachment?: never;
|
|
1452
1596
|
callTranscription?: never;
|
|
1597
|
+
conferenceTimeFrames?: never;
|
|
1453
1598
|
chatNew?: never;
|
|
1454
1599
|
chatUpdate?: never;
|
|
1455
1600
|
smsInbound: SmsInboundConsumeEvent;
|
|
@@ -1468,6 +1613,7 @@ export declare namespace ConsumeEventInputEvent {
|
|
|
1468
1613
|
callRecordStop?: never;
|
|
1469
1614
|
callAttachment?: never;
|
|
1470
1615
|
callTranscription?: never;
|
|
1616
|
+
conferenceTimeFrames?: never;
|
|
1471
1617
|
chatNew?: never;
|
|
1472
1618
|
chatUpdate?: never;
|
|
1473
1619
|
smsInbound?: never;
|
|
@@ -1489,6 +1635,7 @@ export declare namespace ConsumeEventInputEvent {
|
|
|
1489
1635
|
callRecordStop?: never;
|
|
1490
1636
|
callAttachment?: never;
|
|
1491
1637
|
callTranscription?: never;
|
|
1638
|
+
conferenceTimeFrames?: never;
|
|
1492
1639
|
chatNew?: never;
|
|
1493
1640
|
chatUpdate?: never;
|
|
1494
1641
|
smsInbound?: never;
|
|
@@ -1507,6 +1654,7 @@ export declare namespace ConsumeEventInputEvent {
|
|
|
1507
1654
|
callRecordStop: (value: CallRecordStopConsumeEvent) => T;
|
|
1508
1655
|
callAttachment: (value: CallAttachmentConsumeEvent) => T;
|
|
1509
1656
|
callTranscription: (value: CallTranscribeConsumeEvent) => T;
|
|
1657
|
+
conferenceTimeFrames: (value: ConferenceTimeFramesConsumeEvent) => T;
|
|
1510
1658
|
chatNew: (value: ChatNewConsumeEvent) => T;
|
|
1511
1659
|
chatUpdate: (value: ChatUpdateConsumeEvent) => T;
|
|
1512
1660
|
smsInbound: (value: SmsInboundConsumeEvent) => T;
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: WdaStreamClientConfig) => {
|
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
10
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
11
|
-
requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
|
|
11
|
+
requestHandler: ((import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> | Record<string, unknown> | import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/fetch-http-handler").FetchHttpHandlerOptions) & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
|
|
12
12
|
updateHttpClientConfig(key: never, value: never): void;
|
|
13
13
|
httpHandlerConfigs(): {};
|
|
14
14
|
}) | RequestHandler;
|
|
@@ -20,9 +20,9 @@ export declare const getRuntimeConfig: (config: WdaStreamClientConfig) => {
|
|
|
20
20
|
apiVersion: string;
|
|
21
21
|
urlParser: import("@smithy/types").UrlParser;
|
|
22
22
|
base64Decoder: import("@smithy/types").Decoder;
|
|
23
|
-
base64Encoder:
|
|
23
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
24
24
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
25
|
-
utf8Encoder:
|
|
25
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
26
26
|
disableHostPrefix: boolean;
|
|
27
27
|
logger: import("@smithy/types").Logger;
|
|
28
28
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: WdaStreamClientConfig) => {
|
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
10
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
11
|
-
requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
|
|
11
|
+
requestHandler: ((import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> | Record<string, unknown> | import("@smithy/node-http-handler").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions) & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
|
|
12
12
|
updateHttpClientConfig(key: never, value: never): void;
|
|
13
13
|
httpHandlerConfigs(): {};
|
|
14
14
|
}) | RequestHandler;
|
|
@@ -20,9 +20,9 @@ export declare const getRuntimeConfig: (config: WdaStreamClientConfig) => {
|
|
|
20
20
|
apiVersion: string;
|
|
21
21
|
urlParser: import("@smithy/types").UrlParser;
|
|
22
22
|
base64Decoder: import("@smithy/types").Decoder;
|
|
23
|
-
base64Encoder:
|
|
23
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
24
24
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
25
|
-
utf8Encoder:
|
|
25
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
26
26
|
disableHostPrefix: boolean;
|
|
27
27
|
logger: import("@smithy/types").Logger;
|
|
28
28
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
@@ -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").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
|
|
10
|
+
requestHandler: ((import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> | Record<string, unknown> | import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions) & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
|
|
11
11
|
updateHttpClientConfig(key: never, value: never): void;
|
|
12
12
|
httpHandlerConfigs(): {};
|
|
13
13
|
}) | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
@@ -16,9 +16,9 @@ export declare const getRuntimeConfig: (config: WdaStreamClientConfig) => {
|
|
|
16
16
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
17
17
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
18
18
|
base64Decoder: import("@smithy/types").Decoder;
|
|
19
|
-
base64Encoder:
|
|
19
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
20
20
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
21
|
-
utf8Encoder:
|
|
21
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
22
22
|
disableHostPrefix: boolean;
|
|
23
23
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
24
24
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
@@ -5,11 +5,11 @@ import { WdaStreamClientConfig } from "./WdaStreamClient";
|
|
|
5
5
|
export declare const getRuntimeConfig: (config: WdaStreamClientConfig) => {
|
|
6
6
|
apiVersion: string;
|
|
7
7
|
base64Decoder: import("@smithy/types").Decoder;
|
|
8
|
-
base64Encoder:
|
|
8
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
9
9
|
disableHostPrefix: boolean;
|
|
10
10
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
11
11
|
logger: import("@smithy/types").Logger;
|
|
12
12
|
urlParser: import("@smithy/types").UrlParser;
|
|
13
13
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
14
|
-
utf8Encoder:
|
|
14
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
15
15
|
};
|
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.16",
|
|
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",
|