@wildix/wda-stream-client 1.1.14 → 1.1.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 +14 -14
- package/dist-es/models/models_0.js +12 -12
- package/dist-types/commands/ConsumeEventCommand.d.ts +16 -0
- package/dist-types/commands/DescribeEventCommand.d.ts +33 -16
- package/dist-types/commands/QueryConversationsCommand.d.ts +6 -0
- package/dist-types/models/models_0.d.ts +42 -23
- package/dist-types/runtimeConfig.browser.d.ts +6 -1
- package/dist-types/runtimeConfig.d.ts +6 -1
- package/dist-types/runtimeConfig.native.d.ts +6 -1
- package/package.json +1 -1
|
@@ -1,8 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ChatConsumeEventType = exports.CallFlowConsumeStatus = exports.CallEventType = exports.CallEndConsume = exports.CallFlowAttachmentConsumeType = exports.CallEndBy = exports.CallFlowStatus = exports.CallAnalyticsLiveProgressEventTrigger = exports.LiveEventType = exports.CallConsumeEventType = exports.ConferenceTranscriptionStatus = exports.ConferenceParticipantType = exports.ConferenceParticipantRole = exports.PbxLicenseType = exports.ConferenceDirection = exports.MessageWhatsAppStatus = exports.MessageType = exports.MessageSmsStatus = exports.Element = exports.ActionElement = exports.ButtonVariant = exports.ButtonHandler = exports.ChatTag = exports.ChatStatus = exports.ChatParticipantType = exports.ChatParticipantRole = exports.ChatDirection = exports.ChannelWhatsAppStatus = exports.ChannelContextSource = exports.ChannelContextEventAttendeeStatus = exports.ChannelType = exports.ChannelAccess = exports.CallTranscriptionSpeaker = exports.RecordType = exports.CallFlowTranscriptionStatus = exports.License = exports.CallDevice = exports.CallParticipantType = exports.CallParticipantRole = exports.CallFlowAttachmentType = exports.CallFlowAttachment = exports.CallRecordPauseReason = exports.CallFlowAttachmentStatus = exports.CallRecordOwner = exports.WhatsAppStatus = exports.WhatsAppEventType = exports.
|
|
3
|
+
exports.ChatConsumeEventType = exports.CallFlowConsumeStatus = exports.CallEventType = exports.CallEndConsume = exports.CallFlowAttachmentConsumeType = exports.CallEndBy = exports.CallFlowStatus = exports.CallAnalyticsLiveProgressEventTrigger = exports.LiveEventType = exports.CallConsumeEventType = exports.ConferenceTranscriptionStatus = exports.ConferenceParticipantType = exports.ConferenceParticipantRole = exports.PbxLicenseType = exports.ConferenceDirection = exports.MessageWhatsAppStatus = exports.MessageType = exports.MessageSmsStatus = exports.Element = exports.ActionElement = exports.ButtonVariant = exports.ButtonHandler = exports.ChatTag = exports.ChatStatus = exports.ChatParticipantType = exports.ChatParticipantRole = exports.ChatDirection = exports.ChannelWhatsAppStatus = exports.ChannelContextSource = exports.ChannelContextEventAttendeeStatus = exports.ChannelType = exports.ChannelAccess = exports.CallTranscriptionSpeaker = exports.RecordType = exports.CallFlowTranscriptionStatus = exports.License = exports.CallDevice = exports.CallParticipantType = exports.CallParticipantRole = exports.CallFlowAttachmentType = exports.CallFlowAttachment = exports.CallRecordPauseReason = exports.CallFlowAttachmentStatus = exports.CallRecordOwner = exports.WhatsAppStatus = exports.WhatsAppEventType = exports.ConversationStatus = exports.CallDirection = exports.ValidationException = exports.ForbiddenException = void 0;
|
|
4
4
|
exports.PresenceNotAvailableException = exports.TelephonyStatus = exports.PresenceStatus = exports.MatchNotFoundException = exports.WebsocketEvent = exports.WebhookEventType = exports.PresenceEventType = exports.PresenceAnalyticsEventType = exports.WebsocketTopic = exports.WebsocketAction = exports.ConsumeEventInputEvent = exports.UsageEventType = exports.LanguageDetection = exports.SmsStatus = exports.SmsChannelType = exports.SmsConsumeEventType = exports.PresenceConsumeEventType = exports.ConferenceTranscriptionSentiment = exports.ConferenceEventType = exports.ConferenceConsumeEventType = exports.ConferenceConsumeDirection = exports.ChatEventType = void 0;
|
|
5
5
|
const WdaStreamServiceException_1 = require("./WdaStreamServiceException");
|
|
6
|
+
class ForbiddenException extends WdaStreamServiceException_1.WdaStreamServiceException {
|
|
7
|
+
name = "ForbiddenException";
|
|
8
|
+
$fault = "client";
|
|
9
|
+
constructor(opts) {
|
|
10
|
+
super({
|
|
11
|
+
name: "ForbiddenException",
|
|
12
|
+
$fault: "client",
|
|
13
|
+
...opts
|
|
14
|
+
});
|
|
15
|
+
Object.setPrototypeOf(this, ForbiddenException.prototype);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
exports.ForbiddenException = ForbiddenException;
|
|
6
19
|
class ValidationException extends WdaStreamServiceException_1.WdaStreamServiceException {
|
|
7
20
|
name = "ValidationException";
|
|
8
21
|
$fault = "client";
|
|
@@ -26,19 +39,6 @@ exports.ConversationStatus = {
|
|
|
26
39
|
COMPLETED: "COMPLETED",
|
|
27
40
|
MISSED: "MISSED",
|
|
28
41
|
};
|
|
29
|
-
class ForbiddenException extends WdaStreamServiceException_1.WdaStreamServiceException {
|
|
30
|
-
name = "ForbiddenException";
|
|
31
|
-
$fault = "client";
|
|
32
|
-
constructor(opts) {
|
|
33
|
-
super({
|
|
34
|
-
name: "ForbiddenException",
|
|
35
|
-
$fault: "client",
|
|
36
|
-
...opts
|
|
37
|
-
});
|
|
38
|
-
Object.setPrototypeOf(this, ForbiddenException.prototype);
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
exports.ForbiddenException = ForbiddenException;
|
|
42
42
|
exports.WhatsAppEventType = {
|
|
43
43
|
WHATSAPP_INBOUND: "WHATSAPP.INBOUND",
|
|
44
44
|
WHATSAPP_STATUS: "WHATSAPP.STATUS",
|
|
@@ -1,4 +1,16 @@
|
|
|
1
1
|
import { WdaStreamServiceException as __BaseException } from "./WdaStreamServiceException";
|
|
2
|
+
export class ForbiddenException extends __BaseException {
|
|
3
|
+
name = "ForbiddenException";
|
|
4
|
+
$fault = "client";
|
|
5
|
+
constructor(opts) {
|
|
6
|
+
super({
|
|
7
|
+
name: "ForbiddenException",
|
|
8
|
+
$fault: "client",
|
|
9
|
+
...opts
|
|
10
|
+
});
|
|
11
|
+
Object.setPrototypeOf(this, ForbiddenException.prototype);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
2
14
|
export class ValidationException extends __BaseException {
|
|
3
15
|
name = "ValidationException";
|
|
4
16
|
$fault = "client";
|
|
@@ -21,18 +33,6 @@ export const ConversationStatus = {
|
|
|
21
33
|
COMPLETED: "COMPLETED",
|
|
22
34
|
MISSED: "MISSED",
|
|
23
35
|
};
|
|
24
|
-
export class ForbiddenException extends __BaseException {
|
|
25
|
-
name = "ForbiddenException";
|
|
26
|
-
$fault = "client";
|
|
27
|
-
constructor(opts) {
|
|
28
|
-
super({
|
|
29
|
-
name: "ForbiddenException",
|
|
30
|
-
$fault: "client",
|
|
31
|
-
...opts
|
|
32
|
-
});
|
|
33
|
-
Object.setPrototypeOf(this, ForbiddenException.prototype);
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
36
|
export const WhatsAppEventType = {
|
|
37
37
|
WHATSAPP_INBOUND: "WHATSAPP.INBOUND",
|
|
38
38
|
WHATSAPP_STATUS: "WHATSAPP.STATUS",
|
|
@@ -56,6 +56,9 @@ declare const ConsumeEventCommand_base: {
|
|
|
56
56
|
* groupName: "STRING_VALUE",
|
|
57
57
|
* device: "STRING_VALUE",
|
|
58
58
|
* sipCallId: "STRING_VALUE",
|
|
59
|
+
* publicAddress: "STRING_VALUE",
|
|
60
|
+
* privateAddress: "STRING_VALUE",
|
|
61
|
+
* location: "STRING_VALUE",
|
|
59
62
|
* },
|
|
60
63
|
* callee: {
|
|
61
64
|
* phone: "STRING_VALUE",
|
|
@@ -70,6 +73,9 @@ declare const ConsumeEventCommand_base: {
|
|
|
70
73
|
* groupName: "STRING_VALUE",
|
|
71
74
|
* device: "STRING_VALUE",
|
|
72
75
|
* sipCallId: "STRING_VALUE",
|
|
76
|
+
* publicAddress: "STRING_VALUE",
|
|
77
|
+
* privateAddress: "STRING_VALUE",
|
|
78
|
+
* location: "STRING_VALUE",
|
|
73
79
|
* },
|
|
74
80
|
* status: "connecting" || "talking" || "hold",
|
|
75
81
|
* destination: "STRING_VALUE",
|
|
@@ -115,6 +121,9 @@ declare const ConsumeEventCommand_base: {
|
|
|
115
121
|
* groupName: "STRING_VALUE",
|
|
116
122
|
* device: "STRING_VALUE",
|
|
117
123
|
* sipCallId: "STRING_VALUE",
|
|
124
|
+
* publicAddress: "STRING_VALUE",
|
|
125
|
+
* privateAddress: "STRING_VALUE",
|
|
126
|
+
* location: "STRING_VALUE",
|
|
118
127
|
* },
|
|
119
128
|
* callee: {
|
|
120
129
|
* phone: "STRING_VALUE",
|
|
@@ -129,6 +138,9 @@ declare const ConsumeEventCommand_base: {
|
|
|
129
138
|
* groupName: "STRING_VALUE",
|
|
130
139
|
* device: "STRING_VALUE",
|
|
131
140
|
* sipCallId: "STRING_VALUE",
|
|
141
|
+
* publicAddress: "STRING_VALUE",
|
|
142
|
+
* privateAddress: "STRING_VALUE",
|
|
143
|
+
* location: "STRING_VALUE",
|
|
132
144
|
* },
|
|
133
145
|
* status: "connecting" || "talking" || "hold",
|
|
134
146
|
* destination: "STRING_VALUE",
|
|
@@ -175,6 +187,9 @@ declare const ConsumeEventCommand_base: {
|
|
|
175
187
|
* groupName: "STRING_VALUE",
|
|
176
188
|
* device: "STRING_VALUE",
|
|
177
189
|
* sipCallId: "STRING_VALUE",
|
|
190
|
+
* publicAddress: "STRING_VALUE",
|
|
191
|
+
* privateAddress: "STRING_VALUE",
|
|
192
|
+
* location: "STRING_VALUE",
|
|
178
193
|
* },
|
|
179
194
|
* callee: "<CallFlowConsumeParticipant>",
|
|
180
195
|
* status: "connecting" || "talking" || "hold",
|
|
@@ -528,6 +543,7 @@ declare const ConsumeEventCommand_base: {
|
|
|
528
543
|
* external: true || false,
|
|
529
544
|
* autoRecord: true || false,
|
|
530
545
|
* transcriptionLanguage: "STRING_VALUE",
|
|
546
|
+
* wizyGuestViewOnly: true || false,
|
|
531
547
|
* channelId: "STRING_VALUE", // required
|
|
532
548
|
* channelType: "direct" || "group", // required
|
|
533
549
|
* memberCount: Number("int"), // required
|
|
@@ -158,6 +158,9 @@ declare const DescribeEventCommand_base: {
|
|
|
158
158
|
* // role: "CLIENT" || "AGENT", // required
|
|
159
159
|
* // license: "STRING_VALUE",
|
|
160
160
|
* // sipCallId: "STRING_VALUE",
|
|
161
|
+
* // publicAddress: "STRING_VALUE",
|
|
162
|
+
* // privateAddress: "STRING_VALUE",
|
|
163
|
+
* // location: "STRING_VALUE",
|
|
161
164
|
* // },
|
|
162
165
|
* // callee: {
|
|
163
166
|
* // type: "REMOTE" || "LOCAL", // required
|
|
@@ -175,6 +178,9 @@ declare const DescribeEventCommand_base: {
|
|
|
175
178
|
* // role: "CLIENT" || "AGENT", // required
|
|
176
179
|
* // license: "STRING_VALUE",
|
|
177
180
|
* // sipCallId: "STRING_VALUE",
|
|
181
|
+
* // publicAddress: "STRING_VALUE",
|
|
182
|
+
* // privateAddress: "STRING_VALUE",
|
|
183
|
+
* // location: "STRING_VALUE",
|
|
178
184
|
* // },
|
|
179
185
|
* // service: "STRING_VALUE",
|
|
180
186
|
* // serviceNumber: "STRING_VALUE",
|
|
@@ -358,6 +364,9 @@ declare const DescribeEventCommand_base: {
|
|
|
358
364
|
* // role: "CLIENT" || "AGENT", // required
|
|
359
365
|
* // license: "STRING_VALUE",
|
|
360
366
|
* // sipCallId: "STRING_VALUE",
|
|
367
|
+
* // publicAddress: "STRING_VALUE",
|
|
368
|
+
* // privateAddress: "STRING_VALUE",
|
|
369
|
+
* // location: "STRING_VALUE",
|
|
361
370
|
* // },
|
|
362
371
|
* // },
|
|
363
372
|
* // CallAnalyticsRecordEvent: { // CallAnalyticsRecordEvent
|
|
@@ -395,6 +404,9 @@ declare const DescribeEventCommand_base: {
|
|
|
395
404
|
* // role: "CLIENT" || "AGENT", // required
|
|
396
405
|
* // license: "STRING_VALUE",
|
|
397
406
|
* // sipCallId: "STRING_VALUE",
|
|
407
|
+
* // publicAddress: "STRING_VALUE",
|
|
408
|
+
* // privateAddress: "STRING_VALUE",
|
|
409
|
+
* // location: "STRING_VALUE",
|
|
398
410
|
* // },
|
|
399
411
|
* // callee: {
|
|
400
412
|
* // type: "REMOTE" || "LOCAL", // required
|
|
@@ -412,6 +424,9 @@ declare const DescribeEventCommand_base: {
|
|
|
412
424
|
* // role: "CLIENT" || "AGENT", // required
|
|
413
425
|
* // license: "STRING_VALUE",
|
|
414
426
|
* // sipCallId: "STRING_VALUE",
|
|
427
|
+
* // publicAddress: "STRING_VALUE",
|
|
428
|
+
* // privateAddress: "STRING_VALUE",
|
|
429
|
+
* // location: "STRING_VALUE",
|
|
415
430
|
* // },
|
|
416
431
|
* // service: "STRING_VALUE",
|
|
417
432
|
* // serviceNumber: "STRING_VALUE",
|
|
@@ -854,11 +869,11 @@ declare const DescribeEventCommand_base: {
|
|
|
854
869
|
* // time: Number("long"), // required
|
|
855
870
|
* // company: "STRING_VALUE", // required
|
|
856
871
|
* // pbx: "STRING_VALUE",
|
|
857
|
-
* // startTime: Number("long"),
|
|
858
|
-
* // endTime: Number("long"),
|
|
872
|
+
* // startTime: Number("long"), // required
|
|
873
|
+
* // endTime: Number("long"), // required
|
|
859
874
|
* // waitTime: Number("int"),
|
|
860
|
-
* // duration: Number("long"),
|
|
861
|
-
* // direction: "INTERNAL" || "INBOUND" || "OUTBOUND",
|
|
875
|
+
* // duration: Number("long"), // required
|
|
876
|
+
* // direction: "INTERNAL" || "INBOUND" || "OUTBOUND", // required
|
|
862
877
|
* // subject: "STRING_VALUE",
|
|
863
878
|
* // service: "STRING_VALUE",
|
|
864
879
|
* // serviceTitle: "STRING_VALUE",
|
|
@@ -914,6 +929,7 @@ declare const DescribeEventCommand_base: {
|
|
|
914
929
|
* // external: true || false,
|
|
915
930
|
* // autoRecord: true || false,
|
|
916
931
|
* // transcriptionLanguage: "STRING_VALUE",
|
|
932
|
+
* // wizyGuestViewOnly: true || false,
|
|
917
933
|
* // channelId: "STRING_VALUE", // required
|
|
918
934
|
* // channelType: "direct" || "group", // required
|
|
919
935
|
* // memberCount: Number("int"), // required
|
|
@@ -922,7 +938,7 @@ declare const DescribeEventCommand_base: {
|
|
|
922
938
|
* // updatedAt: "STRING_VALUE",
|
|
923
939
|
* // },
|
|
924
940
|
* // status: "WAITFIRSTREPLY" || "WAITREPLYFROMGUEST" || "WAITREPLYFROMAGENT" || "COMPLETED" || "MISSED",
|
|
925
|
-
* // participants: [ // ChatParticipantsList
|
|
941
|
+
* // participants: [ // ChatParticipantsList // required
|
|
926
942
|
* // { // ChatParticipant
|
|
927
943
|
* // id: "STRING_VALUE", // required
|
|
928
944
|
* // info: {
|
|
@@ -2313,11 +2329,11 @@ declare const DescribeEventCommand_base: {
|
|
|
2313
2329
|
* // time: Number("long"), // required
|
|
2314
2330
|
* // company: "STRING_VALUE", // required
|
|
2315
2331
|
* // pbx: "STRING_VALUE",
|
|
2316
|
-
* // startTime: Number("long"),
|
|
2317
|
-
* // endTime: Number("long"),
|
|
2332
|
+
* // startTime: Number("long"), // required
|
|
2333
|
+
* // endTime: Number("long"), // required
|
|
2318
2334
|
* // waitTime: Number("int"),
|
|
2319
|
-
* // duration: Number("long"),
|
|
2320
|
-
* // direction: "INTERNAL" || "INBOUND" || "OUTBOUND",
|
|
2335
|
+
* // duration: Number("long"), // required
|
|
2336
|
+
* // direction: "INTERNAL" || "INBOUND" || "OUTBOUND", // required
|
|
2321
2337
|
* // subject: "STRING_VALUE",
|
|
2322
2338
|
* // service: "STRING_VALUE",
|
|
2323
2339
|
* // serviceTitle: "STRING_VALUE",
|
|
@@ -2373,6 +2389,7 @@ declare const DescribeEventCommand_base: {
|
|
|
2373
2389
|
* // external: true || false,
|
|
2374
2390
|
* // autoRecord: true || false,
|
|
2375
2391
|
* // transcriptionLanguage: "STRING_VALUE",
|
|
2392
|
+
* // wizyGuestViewOnly: true || false,
|
|
2376
2393
|
* // channelId: "STRING_VALUE", // required
|
|
2377
2394
|
* // channelType: "direct" || "group", // required
|
|
2378
2395
|
* // memberCount: Number("int"), // required
|
|
@@ -2381,7 +2398,7 @@ declare const DescribeEventCommand_base: {
|
|
|
2381
2398
|
* // updatedAt: "STRING_VALUE",
|
|
2382
2399
|
* // },
|
|
2383
2400
|
* // status: "WAITFIRSTREPLY" || "WAITREPLYFROMGUEST" || "WAITREPLYFROMAGENT" || "COMPLETED" || "MISSED",
|
|
2384
|
-
* // participants: [
|
|
2401
|
+
* // participants: [ // required
|
|
2385
2402
|
* // {
|
|
2386
2403
|
* // id: "STRING_VALUE", // required
|
|
2387
2404
|
* // info: "<ChatParticipantInfo>", // required
|
|
@@ -2404,18 +2421,18 @@ declare const DescribeEventCommand_base: {
|
|
|
2404
2421
|
* // time: Number("long"), // required
|
|
2405
2422
|
* // company: "STRING_VALUE", // required
|
|
2406
2423
|
* // pbx: "STRING_VALUE",
|
|
2407
|
-
* // startTime: Number("long"),
|
|
2408
|
-
* // endTime: Number("long"),
|
|
2424
|
+
* // startTime: Number("long"), // required
|
|
2425
|
+
* // endTime: Number("long"), // required
|
|
2409
2426
|
* // waitTime: Number("int"),
|
|
2410
|
-
* // duration: Number("long"),
|
|
2411
|
-
* // direction: "INTERNAL" || "INBOUND" || "OUTBOUND",
|
|
2427
|
+
* // duration: Number("long"), // required
|
|
2428
|
+
* // direction: "INTERNAL" || "INBOUND" || "OUTBOUND", // required
|
|
2412
2429
|
* // subject: "STRING_VALUE",
|
|
2413
2430
|
* // service: "STRING_VALUE",
|
|
2414
2431
|
* // serviceTitle: "STRING_VALUE",
|
|
2415
2432
|
* // tags: "<ChatTags>",
|
|
2416
|
-
* // channel: "<Channel>",
|
|
2433
|
+
* // channel: "<Channel>", // required
|
|
2417
2434
|
* // status: "WAITFIRSTREPLY" || "WAITREPLYFROMGUEST" || "WAITREPLYFROMAGENT" || "COMPLETED" || "MISSED",
|
|
2418
|
-
* // participants: "<ChatParticipantsList>",
|
|
2435
|
+
* // participants: "<ChatParticipantsList>", // required
|
|
2419
2436
|
* // type: "call" || "call_transcription" || "conference" || "conference_transcription" || "chat" || "chat_transcription", // required
|
|
2420
2437
|
* // },
|
|
2421
2438
|
* // summary: {
|
|
@@ -86,6 +86,9 @@ declare const QueryConversationsCommand_base: {
|
|
|
86
86
|
* // role: "CLIENT" || "AGENT", // required
|
|
87
87
|
* // license: "STRING_VALUE",
|
|
88
88
|
* // sipCallId: "STRING_VALUE",
|
|
89
|
+
* // publicAddress: "STRING_VALUE",
|
|
90
|
+
* // privateAddress: "STRING_VALUE",
|
|
91
|
+
* // location: "STRING_VALUE",
|
|
89
92
|
* // },
|
|
90
93
|
* // callee: {
|
|
91
94
|
* // type: "REMOTE" || "LOCAL", // required
|
|
@@ -103,6 +106,9 @@ declare const QueryConversationsCommand_base: {
|
|
|
103
106
|
* // role: "CLIENT" || "AGENT", // required
|
|
104
107
|
* // license: "STRING_VALUE",
|
|
105
108
|
* // sipCallId: "STRING_VALUE",
|
|
109
|
+
* // publicAddress: "STRING_VALUE",
|
|
110
|
+
* // privateAddress: "STRING_VALUE",
|
|
111
|
+
* // location: "STRING_VALUE",
|
|
106
112
|
* // },
|
|
107
113
|
* // service: "STRING_VALUE",
|
|
108
114
|
* // serviceNumber: "STRING_VALUE",
|
|
@@ -1,6 +1,17 @@
|
|
|
1
1
|
import { WdaStreamServiceException as __BaseException } from "./WdaStreamServiceException";
|
|
2
2
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
3
3
|
import { DocumentType as __DocumentType } from "@smithy/types";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare class ForbiddenException extends __BaseException {
|
|
8
|
+
readonly name: "ForbiddenException";
|
|
9
|
+
readonly $fault: "client";
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
|
|
14
|
+
}
|
|
4
15
|
/**
|
|
5
16
|
* @public
|
|
6
17
|
*/
|
|
@@ -38,17 +49,6 @@ export declare const ConversationStatus: {
|
|
|
38
49
|
* @public
|
|
39
50
|
*/
|
|
40
51
|
export type ConversationStatus = typeof ConversationStatus[keyof typeof ConversationStatus];
|
|
41
|
-
/**
|
|
42
|
-
* @public
|
|
43
|
-
*/
|
|
44
|
-
export declare class ForbiddenException extends __BaseException {
|
|
45
|
-
readonly name: "ForbiddenException";
|
|
46
|
-
readonly $fault: "client";
|
|
47
|
-
/**
|
|
48
|
-
* @internal
|
|
49
|
-
*/
|
|
50
|
-
constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
|
|
51
|
-
}
|
|
52
52
|
/**
|
|
53
53
|
* @public
|
|
54
54
|
*/
|
|
@@ -334,6 +334,21 @@ export interface CallParticipant {
|
|
|
334
334
|
* @public
|
|
335
335
|
*/
|
|
336
336
|
sipCallId?: string | undefined;
|
|
337
|
+
/**
|
|
338
|
+
* Represents a network endpoint consisting of a public IP address and a port number. Example: '10.20.30.40:59317'
|
|
339
|
+
* @public
|
|
340
|
+
*/
|
|
341
|
+
publicAddress?: string | undefined;
|
|
342
|
+
/**
|
|
343
|
+
* Represents a network endpoint consisting of a private IP address and a port number. Example: '172.16.1.2:54003'
|
|
344
|
+
* @public
|
|
345
|
+
*/
|
|
346
|
+
privateAddress?: string | undefined;
|
|
347
|
+
/**
|
|
348
|
+
* The location specifies a geographic point using latitude and longitude coordinates. Example 'lat=29.3008&lon=1.7002'
|
|
349
|
+
* @public
|
|
350
|
+
*/
|
|
351
|
+
location?: string | undefined;
|
|
337
352
|
}
|
|
338
353
|
/**
|
|
339
354
|
* @public
|
|
@@ -665,6 +680,7 @@ export interface Channel {
|
|
|
665
680
|
external?: boolean | undefined;
|
|
666
681
|
autoRecord?: boolean | undefined;
|
|
667
682
|
transcriptionLanguage?: string | undefined;
|
|
683
|
+
wizyGuestViewOnly?: boolean | undefined;
|
|
668
684
|
channelId: string;
|
|
669
685
|
channelType: ChannelType;
|
|
670
686
|
memberCount: number;
|
|
@@ -785,18 +801,18 @@ export interface ChatRecord {
|
|
|
785
801
|
time: number;
|
|
786
802
|
company: string;
|
|
787
803
|
pbx?: string | undefined;
|
|
788
|
-
startTime
|
|
789
|
-
endTime
|
|
804
|
+
startTime: number;
|
|
805
|
+
endTime: number;
|
|
790
806
|
waitTime?: number | undefined;
|
|
791
|
-
duration
|
|
792
|
-
direction
|
|
807
|
+
duration: number;
|
|
808
|
+
direction: ChatDirection;
|
|
793
809
|
subject?: string | undefined;
|
|
794
810
|
service?: string | undefined;
|
|
795
811
|
serviceTitle?: string | undefined;
|
|
796
812
|
tags?: (ChatTag)[] | undefined;
|
|
797
|
-
channel
|
|
813
|
+
channel: Channel;
|
|
798
814
|
status?: ChatStatus | undefined;
|
|
799
|
-
participants
|
|
815
|
+
participants: (ChatParticipant)[];
|
|
800
816
|
type: RecordType;
|
|
801
817
|
}
|
|
802
818
|
/**
|
|
@@ -1301,6 +1317,9 @@ export interface CallFlowConsumeParticipant {
|
|
|
1301
1317
|
groupName?: string | undefined;
|
|
1302
1318
|
device?: string | undefined;
|
|
1303
1319
|
sipCallId?: string | undefined;
|
|
1320
|
+
publicAddress?: string | undefined;
|
|
1321
|
+
privateAddress?: string | undefined;
|
|
1322
|
+
location?: string | undefined;
|
|
1304
1323
|
}
|
|
1305
1324
|
/**
|
|
1306
1325
|
* @public
|
|
@@ -2153,18 +2172,18 @@ export interface ChatAnalyticsRecordEvent {
|
|
|
2153
2172
|
time: number;
|
|
2154
2173
|
company: string;
|
|
2155
2174
|
pbx?: string | undefined;
|
|
2156
|
-
startTime
|
|
2157
|
-
endTime
|
|
2175
|
+
startTime: number;
|
|
2176
|
+
endTime: number;
|
|
2158
2177
|
waitTime?: number | undefined;
|
|
2159
|
-
duration
|
|
2160
|
-
direction
|
|
2178
|
+
duration: number;
|
|
2179
|
+
direction: ChatDirection;
|
|
2161
2180
|
subject?: string | undefined;
|
|
2162
2181
|
service?: string | undefined;
|
|
2163
2182
|
serviceTitle?: string | undefined;
|
|
2164
2183
|
tags?: (ChatTag)[] | undefined;
|
|
2165
|
-
channel
|
|
2184
|
+
channel: Channel;
|
|
2166
2185
|
status?: ChatStatus | undefined;
|
|
2167
|
-
participants
|
|
2186
|
+
participants: (ChatParticipant)[];
|
|
2168
2187
|
type: string;
|
|
2169
2188
|
}
|
|
2170
2189
|
/**
|
|
@@ -15,8 +15,13 @@ export declare const getRuntimeConfig: (config: WdaStreamClientConfig) => {
|
|
|
15
15
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
16
16
|
env?: "stage" | "stable" | "prod" | undefined;
|
|
17
17
|
token: import("@wildix/smithy-utils").TokenProvider;
|
|
18
|
-
apiVersion: string;
|
|
19
18
|
cacheMiddleware?: boolean | undefined;
|
|
19
|
+
protocol?: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").$ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | import("@smithy/types").$ClientProtocolCtor<any, any> | undefined;
|
|
20
|
+
protocolSettings?: {
|
|
21
|
+
[setting: string]: unknown;
|
|
22
|
+
defaultNamespace?: string | undefined;
|
|
23
|
+
} | undefined;
|
|
24
|
+
apiVersion: string;
|
|
20
25
|
urlParser: import("@smithy/types").UrlParser;
|
|
21
26
|
base64Decoder: import("@smithy/types").Decoder;
|
|
22
27
|
base64Encoder: (_input: string | Uint8Array) => string;
|
|
@@ -16,8 +16,13 @@ export declare const getRuntimeConfig: (config: WdaStreamClientConfig) => {
|
|
|
16
16
|
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
17
17
|
env?: "stage" | "stable" | "prod" | undefined;
|
|
18
18
|
token: import("@wildix/smithy-utils").TokenProvider;
|
|
19
|
-
apiVersion: string;
|
|
20
19
|
cacheMiddleware?: boolean | undefined;
|
|
20
|
+
protocol?: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").$ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | import("@smithy/types").$ClientProtocolCtor<any, any> | undefined;
|
|
21
|
+
protocolSettings?: {
|
|
22
|
+
[setting: string]: unknown;
|
|
23
|
+
defaultNamespace?: string | undefined;
|
|
24
|
+
} | undefined;
|
|
25
|
+
apiVersion: string;
|
|
21
26
|
urlParser: import("@smithy/types").UrlParser;
|
|
22
27
|
base64Decoder: import("@smithy/types").Decoder;
|
|
23
28
|
base64Encoder: (_input: string | Uint8Array) => string;
|
|
@@ -8,8 +8,13 @@ export declare const getRuntimeConfig: (config: WdaStreamClientConfig) => {
|
|
|
8
8
|
env?: "stage" | "stable" | "prod" | undefined;
|
|
9
9
|
token: import("@wildix/smithy-utils").TokenProvider;
|
|
10
10
|
requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
11
|
-
apiVersion: string;
|
|
12
11
|
cacheMiddleware?: boolean | undefined;
|
|
12
|
+
protocol?: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").$ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | import("@smithy/types").$ClientProtocolCtor<any, any> | undefined;
|
|
13
|
+
protocolSettings?: {
|
|
14
|
+
[setting: string]: unknown;
|
|
15
|
+
defaultNamespace?: string | undefined;
|
|
16
|
+
} | undefined;
|
|
17
|
+
apiVersion: string;
|
|
13
18
|
urlParser: import("@smithy/types").UrlParser;
|
|
14
19
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
15
20
|
streamCollector: import("@smithy/types").StreamCollector;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wildix/wda-stream-client",
|
|
3
3
|
"description": "@wildix/wda-stream-client client",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.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",
|