@wildix/wda-stream-client 1.1.40 → 1.1.44
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/WdaStream.js +2 -6
- package/dist-cjs/commands/{GetOngoingConferenceCommand.js → ListServicesCommand.js} +7 -7
- package/dist-cjs/commands/index.js +1 -3
- package/dist-cjs/models/index.js +1 -0
- package/dist-cjs/models/models_0.js +65 -41
- package/dist-cjs/models/models_1.js +44 -0
- package/dist-cjs/protocols/Aws_restJson1.js +33 -77
- package/dist-es/WdaStream.js +2 -6
- package/dist-es/commands/ListServicesCommand.js +17 -0
- package/dist-es/commands/index.js +1 -3
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +64 -38
- package/dist-es/models/models_1.js +39 -0
- package/dist-es/protocols/Aws_restJson1.js +28 -68
- package/dist-types/WdaStream.d.ts +6 -19
- package/dist-types/WdaStreamClient.d.ts +3 -5
- package/dist-types/commands/ConsumeEventCommand.d.ts +178 -1
- package/dist-types/commands/DescribeEventCommand.d.ts +120 -44
- package/dist-types/commands/GetOngoingCallCommand.d.ts +47 -1
- package/dist-types/commands/ListServicesCommand.d.ts +87 -0
- package/dist-types/commands/QueryConversationsCommand.d.ts +4 -4
- package/dist-types/commands/QueryPresenceCommand.d.ts +1 -1
- package/dist-types/commands/QueryPresencesCommand.d.ts +1 -1
- package/dist-types/commands/UpdatePresenceLastSeenCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +1 -3
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +1191 -386
- package/dist-types/models/models_1.d.ts +272 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +5 -23
- package/package.json +1 -1
- package/dist-cjs/commands/GetOngoingCallTranscriptionCommand.js +0 -21
- package/dist-cjs/commands/GetOngoingConferenceTranscriptionCommand.js +0 -21
- package/dist-es/commands/GetOngoingCallTranscriptionCommand.js +0 -17
- package/dist-es/commands/GetOngoingConferenceCommand.js +0 -17
- package/dist-es/commands/GetOngoingConferenceTranscriptionCommand.js +0 -17
- package/dist-types/commands/GetOngoingCallTranscriptionCommand.d.ts +0 -297
- package/dist-types/commands/GetOngoingConferenceCommand.d.ts +0 -106
- package/dist-types/commands/GetOngoingConferenceTranscriptionCommand.d.ts +0 -142
package/dist-cjs/WdaStream.js
CHANGED
|
@@ -6,9 +6,7 @@ const ConsumeEventCommand_1 = require("./commands/ConsumeEventCommand");
|
|
|
6
6
|
const DescribeEventCommand_1 = require("./commands/DescribeEventCommand");
|
|
7
7
|
const GetConferenceIdCommand_1 = require("./commands/GetConferenceIdCommand");
|
|
8
8
|
const GetOngoingCallCommand_1 = require("./commands/GetOngoingCallCommand");
|
|
9
|
-
const
|
|
10
|
-
const GetOngoingConferenceCommand_1 = require("./commands/GetOngoingConferenceCommand");
|
|
11
|
-
const GetOngoingConferenceTranscriptionCommand_1 = require("./commands/GetOngoingConferenceTranscriptionCommand");
|
|
9
|
+
const ListServicesCommand_1 = require("./commands/ListServicesCommand");
|
|
12
10
|
const QueryConversationsCommand_1 = require("./commands/QueryConversationsCommand");
|
|
13
11
|
const QueryPresenceCommand_1 = require("./commands/QueryPresenceCommand");
|
|
14
12
|
const QueryPresencesCommand_1 = require("./commands/QueryPresencesCommand");
|
|
@@ -19,9 +17,7 @@ const commands = {
|
|
|
19
17
|
DescribeEventCommand: DescribeEventCommand_1.DescribeEventCommand,
|
|
20
18
|
GetConferenceIdCommand: GetConferenceIdCommand_1.GetConferenceIdCommand,
|
|
21
19
|
GetOngoingCallCommand: GetOngoingCallCommand_1.GetOngoingCallCommand,
|
|
22
|
-
|
|
23
|
-
GetOngoingConferenceCommand: GetOngoingConferenceCommand_1.GetOngoingConferenceCommand,
|
|
24
|
-
GetOngoingConferenceTranscriptionCommand: GetOngoingConferenceTranscriptionCommand_1.GetOngoingConferenceTranscriptionCommand,
|
|
20
|
+
ListServicesCommand: ListServicesCommand_1.ListServicesCommand,
|
|
25
21
|
QueryConversationsCommand: QueryConversationsCommand_1.QueryConversationsCommand,
|
|
26
22
|
QueryPresenceCommand: QueryPresenceCommand_1.QueryPresenceCommand,
|
|
27
23
|
QueryPresencesCommand: QueryPresencesCommand_1.QueryPresencesCommand,
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.ListServicesCommand = exports.$Command = void 0;
|
|
4
4
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
class
|
|
8
|
+
class ListServicesCommand extends smithy_client_1.Command.classBuilder()
|
|
9
9
|
.m(function (Command, cs, config, o) {
|
|
10
10
|
return [
|
|
11
11
|
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
12
|
];
|
|
13
13
|
})
|
|
14
|
-
.s("WdaStream", "
|
|
15
|
-
.n("WdaStreamClient", "
|
|
14
|
+
.s("WdaStream", "ListServices", {})
|
|
15
|
+
.n("WdaStreamClient", "ListServicesCommand")
|
|
16
16
|
.f(void 0, void 0)
|
|
17
|
-
.ser(Aws_restJson1_1.
|
|
18
|
-
.de(Aws_restJson1_1.
|
|
17
|
+
.ser(Aws_restJson1_1.se_ListServicesCommand)
|
|
18
|
+
.de(Aws_restJson1_1.de_ListServicesCommand)
|
|
19
19
|
.build() {
|
|
20
20
|
}
|
|
21
|
-
exports.
|
|
21
|
+
exports.ListServicesCommand = ListServicesCommand;
|
|
@@ -5,9 +5,7 @@ tslib_1.__exportStar(require("./ConsumeEventCommand"), exports);
|
|
|
5
5
|
tslib_1.__exportStar(require("./DescribeEventCommand"), exports);
|
|
6
6
|
tslib_1.__exportStar(require("./GetConferenceIdCommand"), exports);
|
|
7
7
|
tslib_1.__exportStar(require("./GetOngoingCallCommand"), exports);
|
|
8
|
-
tslib_1.__exportStar(require("./
|
|
9
|
-
tslib_1.__exportStar(require("./GetOngoingConferenceCommand"), exports);
|
|
10
|
-
tslib_1.__exportStar(require("./GetOngoingConferenceTranscriptionCommand"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./ListServicesCommand"), exports);
|
|
11
9
|
tslib_1.__exportStar(require("./QueryConversationsCommand"), exports);
|
|
12
10
|
tslib_1.__exportStar(require("./QueryPresenceCommand"), exports);
|
|
13
11
|
tslib_1.__exportStar(require("./QueryPresencesCommand"), exports);
|
package/dist-cjs/models/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
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
|
-
exports.
|
|
4
|
+
exports.WebsocketEvent = exports.WebhookEventType = exports.ServiceEventType = exports.ServiceCallEventType = exports.PresenceEventType = exports.PresenceAnalyticsEventType = exports.WebsocketTopic = exports.WebsocketAction = exports.ConsumeEventInputEvent = exports.UsageEventType = exports.LanguageDetection = exports.SmsStatus = exports.SmsChannelType = exports.SmsConsumeEventType = exports.ServiceCallAction = exports.ServiceConsumeEventType = exports.ServiceAgentType = exports.ServiceAnalyticsEventTrigger = exports.PresenceConsumeEventType = exports.ConferenceTranscriptionSentiment = exports.ConferenceEventType = exports.ConferenceConsumeEventType = exports.ConferenceConsumeDirection = exports.ChatEventType = void 0;
|
|
5
5
|
const WdaStreamServiceException_1 = require("./WdaStreamServiceException");
|
|
6
6
|
class ForbiddenException extends WdaStreamServiceException_1.WdaStreamServiceException {
|
|
7
7
|
name = "ForbiddenException";
|
|
@@ -276,6 +276,11 @@ exports.LiveEventType = {
|
|
|
276
276
|
CONFERENCE_JOIN: "conference_join",
|
|
277
277
|
CONFERENCE_LEAVE: "conference_leave",
|
|
278
278
|
CONFERENCE_TRANSCRIPTION: "conference_transcription",
|
|
279
|
+
SERVICE: "service",
|
|
280
|
+
SERVICE_AGENT: "service_agent",
|
|
281
|
+
SERVICE_CALL: "service_call",
|
|
282
|
+
SERVICE_CALL_COMPLETE: "service_call_complete",
|
|
283
|
+
SERVICE_COMPLETE: "service_complete",
|
|
279
284
|
};
|
|
280
285
|
exports.CallAnalyticsLiveProgressEventTrigger = {
|
|
281
286
|
AGENTS_CANCEL: "call.agents_cancel",
|
|
@@ -371,6 +376,38 @@ exports.PresenceConsumeEventType = {
|
|
|
371
376
|
PRESENCE: "PRESENCE",
|
|
372
377
|
PRESENCE_TELEPHONY: "PRESENCE.TELEPHONY",
|
|
373
378
|
};
|
|
379
|
+
exports.ServiceAnalyticsEventTrigger = {
|
|
380
|
+
SERVICE_AGENT_JOIN: "service.agent_join",
|
|
381
|
+
SERVICE_AGENT_LEAVE: "service.agent_leave",
|
|
382
|
+
SERVICE_AGENT_UPDATE: "service.agent_update",
|
|
383
|
+
SERVICE_CALL_END: "service.call_end",
|
|
384
|
+
SERVICE_CALL_INIT: "service.call_init",
|
|
385
|
+
SERVICE_CALL_UPDATE: "service.call_update",
|
|
386
|
+
SERVICE_END: "service.end",
|
|
387
|
+
SERVICE_INIT: "service.init",
|
|
388
|
+
SERVICE_UPDATE: "service.update",
|
|
389
|
+
};
|
|
390
|
+
exports.ServiceAgentType = {
|
|
391
|
+
DYNAMIC: "DYNAMIC",
|
|
392
|
+
STATIC: "STATIC",
|
|
393
|
+
};
|
|
394
|
+
exports.ServiceConsumeEventType = {
|
|
395
|
+
SERVICE_AGENT_JOIN: "SERVICE.AGENT_JOIN",
|
|
396
|
+
SERVICE_AGENT_LEAVE: "SERVICE.AGENT_LEAVE",
|
|
397
|
+
SERVICE_AGENT_UPDATE: "SERVICE.AGENT_UPDATE",
|
|
398
|
+
SERVICE_CALL_END: "SERVICE.CALL_END",
|
|
399
|
+
SERVICE_CALL_INIT: "SERVICE.CALL_INIT",
|
|
400
|
+
SERVICE_CALL_UPDATE: "SERVICE.CALL_UPDATE",
|
|
401
|
+
SERVICE_END: "SERVICE.END",
|
|
402
|
+
SERVICE_INIT: "SERVICE.INIT",
|
|
403
|
+
SERVICE_UPDATE: "SERVICE.UPDATE",
|
|
404
|
+
};
|
|
405
|
+
exports.ServiceCallAction = {
|
|
406
|
+
ANSWER: "ANSWER",
|
|
407
|
+
CANCEL: "CANCEL",
|
|
408
|
+
REJECT: "REJECT",
|
|
409
|
+
RING: "RING",
|
|
410
|
+
};
|
|
374
411
|
exports.SmsConsumeEventType = {
|
|
375
412
|
SMS_INBOUND: "SMS.INBOUND",
|
|
376
413
|
SMS_STATUS: "SMS.STATUS",
|
|
@@ -457,6 +494,24 @@ var ConsumeEventInputEvent;
|
|
|
457
494
|
return visitor.presence(value.presence);
|
|
458
495
|
if (value.presenceTelephony !== undefined)
|
|
459
496
|
return visitor.presenceTelephony(value.presenceTelephony);
|
|
497
|
+
if (value.serviceInit !== undefined)
|
|
498
|
+
return visitor.serviceInit(value.serviceInit);
|
|
499
|
+
if (value.serviceUpdate !== undefined)
|
|
500
|
+
return visitor.serviceUpdate(value.serviceUpdate);
|
|
501
|
+
if (value.serviceEnd !== undefined)
|
|
502
|
+
return visitor.serviceEnd(value.serviceEnd);
|
|
503
|
+
if (value.serviceCallInit !== undefined)
|
|
504
|
+
return visitor.serviceCallInit(value.serviceCallInit);
|
|
505
|
+
if (value.serviceCallUpdate !== undefined)
|
|
506
|
+
return visitor.serviceCallUpdate(value.serviceCallUpdate);
|
|
507
|
+
if (value.serviceCallEnd !== undefined)
|
|
508
|
+
return visitor.serviceCallEnd(value.serviceCallEnd);
|
|
509
|
+
if (value.serviceAgentJoin !== undefined)
|
|
510
|
+
return visitor.serviceAgentJoin(value.serviceAgentJoin);
|
|
511
|
+
if (value.serviceAgentUpdate !== undefined)
|
|
512
|
+
return visitor.serviceAgentUpdate(value.serviceAgentUpdate);
|
|
513
|
+
if (value.serviceAgentLeave !== undefined)
|
|
514
|
+
return visitor.serviceAgentLeave(value.serviceAgentLeave);
|
|
460
515
|
if (value.usageStt !== undefined)
|
|
461
516
|
return visitor.usageStt(value.usageStt);
|
|
462
517
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
@@ -470,6 +525,7 @@ exports.WebsocketAction = {
|
|
|
470
525
|
exports.WebsocketTopic = {
|
|
471
526
|
CONVERSATIONS: "conversations",
|
|
472
527
|
PRESENCE: "presence",
|
|
528
|
+
SERVICES: "services",
|
|
473
529
|
TRANSCRIPTIONS: "transcriptions",
|
|
474
530
|
};
|
|
475
531
|
exports.PresenceAnalyticsEventType = {
|
|
@@ -481,6 +537,14 @@ exports.PresenceEventType = {
|
|
|
481
537
|
STATUS_EVENT: "PresenceAnalyticsStatusEvent",
|
|
482
538
|
TELEPHONY_EVENT: "PresenceAnalyticsTelephonyEvent",
|
|
483
539
|
};
|
|
540
|
+
exports.ServiceCallEventType = {
|
|
541
|
+
LIVE_COMPLETE_EVENT: "ServiceCallAnalyticsLiveCompleteEvent",
|
|
542
|
+
LIVE_PROGRESS_EVENT: "ServiceCallAnalyticsLiveProgressEvent",
|
|
543
|
+
};
|
|
544
|
+
exports.ServiceEventType = {
|
|
545
|
+
LIVE_COMPLETE_EVENT: "ServiceAnalyticsLiveCompleteEvent",
|
|
546
|
+
LIVE_PROGRESS_EVENT: "ServiceAnalyticsLiveProgressEvent",
|
|
547
|
+
};
|
|
484
548
|
exports.WebhookEventType = {
|
|
485
549
|
CALL_COMPLETED: "call:completed",
|
|
486
550
|
CALL_LIVE_COMPLETED: "call:live:completed",
|
|
@@ -521,43 +585,3 @@ exports.WebsocketEvent = {
|
|
|
521
585
|
SUBSCRIBED: "subscribed",
|
|
522
586
|
UNSUBSCRIBE: "unsubscribed",
|
|
523
587
|
};
|
|
524
|
-
class MatchNotFoundException extends WdaStreamServiceException_1.WdaStreamServiceException {
|
|
525
|
-
name = "MatchNotFoundException";
|
|
526
|
-
$fault = "client";
|
|
527
|
-
constructor(opts) {
|
|
528
|
-
super({
|
|
529
|
-
name: "MatchNotFoundException",
|
|
530
|
-
$fault: "client",
|
|
531
|
-
...opts
|
|
532
|
-
});
|
|
533
|
-
Object.setPrototypeOf(this, MatchNotFoundException.prototype);
|
|
534
|
-
}
|
|
535
|
-
}
|
|
536
|
-
exports.MatchNotFoundException = MatchNotFoundException;
|
|
537
|
-
exports.PresenceStatus = {
|
|
538
|
-
AWAY: "AWAY",
|
|
539
|
-
DND: "DND",
|
|
540
|
-
OFFLINE: "OFFLINE",
|
|
541
|
-
ONLINE: "ONLINE",
|
|
542
|
-
ONLY_SIP: "ONLY_SIP",
|
|
543
|
-
};
|
|
544
|
-
exports.TelephonyStatus = {
|
|
545
|
-
REGISTERED: "REGISTERED",
|
|
546
|
-
RINGING: "RINGING",
|
|
547
|
-
RT: "RT",
|
|
548
|
-
TALKING: "TALKING",
|
|
549
|
-
UNREGISTERED: "UNREGISTERED",
|
|
550
|
-
};
|
|
551
|
-
class PresenceNotAvailableException extends WdaStreamServiceException_1.WdaStreamServiceException {
|
|
552
|
-
name = "PresenceNotAvailableException";
|
|
553
|
-
$fault = "client";
|
|
554
|
-
constructor(opts) {
|
|
555
|
-
super({
|
|
556
|
-
name: "PresenceNotAvailableException",
|
|
557
|
-
$fault: "client",
|
|
558
|
-
...opts
|
|
559
|
-
});
|
|
560
|
-
Object.setPrototypeOf(this, PresenceNotAvailableException.prototype);
|
|
561
|
-
}
|
|
562
|
-
}
|
|
563
|
-
exports.PresenceNotAvailableException = PresenceNotAvailableException;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PresenceNotAvailableException = exports.TelephonyStatus = exports.PresenceStatus = exports.MatchNotFoundException = void 0;
|
|
4
|
+
const WdaStreamServiceException_1 = require("./WdaStreamServiceException");
|
|
5
|
+
class MatchNotFoundException extends WdaStreamServiceException_1.WdaStreamServiceException {
|
|
6
|
+
name = "MatchNotFoundException";
|
|
7
|
+
$fault = "client";
|
|
8
|
+
constructor(opts) {
|
|
9
|
+
super({
|
|
10
|
+
name: "MatchNotFoundException",
|
|
11
|
+
$fault: "client",
|
|
12
|
+
...opts
|
|
13
|
+
});
|
|
14
|
+
Object.setPrototypeOf(this, MatchNotFoundException.prototype);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.MatchNotFoundException = MatchNotFoundException;
|
|
18
|
+
exports.PresenceStatus = {
|
|
19
|
+
AWAY: "AWAY",
|
|
20
|
+
DND: "DND",
|
|
21
|
+
OFFLINE: "OFFLINE",
|
|
22
|
+
ONLINE: "ONLINE",
|
|
23
|
+
ONLY_SIP: "ONLY_SIP",
|
|
24
|
+
};
|
|
25
|
+
exports.TelephonyStatus = {
|
|
26
|
+
REGISTERED: "REGISTERED",
|
|
27
|
+
RINGING: "RINGING",
|
|
28
|
+
RT: "RT",
|
|
29
|
+
TALKING: "TALKING",
|
|
30
|
+
UNREGISTERED: "UNREGISTERED",
|
|
31
|
+
};
|
|
32
|
+
class PresenceNotAvailableException extends WdaStreamServiceException_1.WdaStreamServiceException {
|
|
33
|
+
name = "PresenceNotAvailableException";
|
|
34
|
+
$fault = "client";
|
|
35
|
+
constructor(opts) {
|
|
36
|
+
super({
|
|
37
|
+
name: "PresenceNotAvailableException",
|
|
38
|
+
$fault: "client",
|
|
39
|
+
...opts
|
|
40
|
+
});
|
|
41
|
+
Object.setPrototypeOf(this, PresenceNotAvailableException.prototype);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
exports.PresenceNotAvailableException = PresenceNotAvailableException;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.de_UpdatePresenceLastSeenCommand = exports.de_QueryPresencesCommand = exports.de_QueryPresenceCommand = exports.de_QueryConversationsCommand = exports.
|
|
3
|
+
exports.de_UpdatePresenceLastSeenCommand = exports.de_QueryPresencesCommand = exports.de_QueryPresenceCommand = exports.de_QueryConversationsCommand = exports.de_ListServicesCommand = exports.de_GetOngoingCallCommand = exports.de_GetConferenceIdCommand = exports.de_DescribeEventCommand = exports.de_ConsumeEventCommand = exports.se_UpdatePresenceLastSeenCommand = exports.se_QueryPresencesCommand = exports.se_QueryPresenceCommand = exports.se_QueryConversationsCommand = exports.se_ListServicesCommand = exports.se_GetOngoingCallCommand = exports.se_GetConferenceIdCommand = exports.se_DescribeEventCommand = exports.se_ConsumeEventCommand = void 0;
|
|
4
4
|
const WdaStreamServiceException_1 = require("../models/WdaStreamServiceException");
|
|
5
5
|
const models_0_1 = require("../models/models_0");
|
|
6
|
+
const models_1_1 = require("../models/models_1");
|
|
6
7
|
const core_1 = require("@aws-sdk/core");
|
|
7
8
|
const core_2 = require("@smithy/core");
|
|
8
9
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
@@ -76,54 +77,26 @@ const se_GetOngoingCallCommand = async (input, context) => {
|
|
|
76
77
|
return b.build();
|
|
77
78
|
};
|
|
78
79
|
exports.se_GetOngoingCallCommand = se_GetOngoingCallCommand;
|
|
79
|
-
const
|
|
80
|
+
const se_ListServicesCommand = async (input, context) => {
|
|
80
81
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
81
|
-
const headers = {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
[_c]: [, input[_c]],
|
|
86
|
-
});
|
|
87
|
-
let body;
|
|
88
|
-
b.m("GET")
|
|
89
|
-
.h(headers)
|
|
90
|
-
.q(query)
|
|
91
|
-
.b(body);
|
|
92
|
-
return b.build();
|
|
93
|
-
};
|
|
94
|
-
exports.se_GetOngoingCallTranscriptionCommand = se_GetOngoingCallTranscriptionCommand;
|
|
95
|
-
const se_GetOngoingConferenceCommand = async (input, context) => {
|
|
96
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
97
|
-
const headers = {};
|
|
98
|
-
b.bp("/v2/stream/conferences/{conferenceId}");
|
|
99
|
-
b.p('conferenceId', () => input.conferenceId, '{conferenceId}', false);
|
|
100
|
-
const query = (0, smithy_client_1.map)({
|
|
101
|
-
[_c]: [, input[_c]],
|
|
102
|
-
});
|
|
103
|
-
let body;
|
|
104
|
-
b.m("GET")
|
|
105
|
-
.h(headers)
|
|
106
|
-
.q(query)
|
|
107
|
-
.b(body);
|
|
108
|
-
return b.build();
|
|
109
|
-
};
|
|
110
|
-
exports.se_GetOngoingConferenceCommand = se_GetOngoingConferenceCommand;
|
|
111
|
-
const se_GetOngoingConferenceTranscriptionCommand = async (input, context) => {
|
|
112
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
113
|
-
const headers = {};
|
|
114
|
-
b.bp("/v2/stream/conferences/{conferenceId}/transcription");
|
|
115
|
-
b.p('conferenceId', () => input.conferenceId, '{conferenceId}', false);
|
|
82
|
+
const headers = {
|
|
83
|
+
'content-type': 'application/json',
|
|
84
|
+
};
|
|
85
|
+
b.bp("/v2/stream/services");
|
|
116
86
|
const query = (0, smithy_client_1.map)({
|
|
117
87
|
[_c]: [, input[_c]],
|
|
118
88
|
});
|
|
119
89
|
let body;
|
|
120
|
-
|
|
90
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
91
|
+
'filter': _ => (0, smithy_client_1._json)(_),
|
|
92
|
+
}));
|
|
93
|
+
b.m("POST")
|
|
121
94
|
.h(headers)
|
|
122
95
|
.q(query)
|
|
123
96
|
.b(body);
|
|
124
97
|
return b.build();
|
|
125
98
|
};
|
|
126
|
-
exports.
|
|
99
|
+
exports.se_ListServicesCommand = se_ListServicesCommand;
|
|
127
100
|
const se_QueryConversationsCommand = async (input, context) => {
|
|
128
101
|
const b = (0, core_2.requestBuilder)(input, context);
|
|
129
102
|
const headers = {
|
|
@@ -240,6 +213,12 @@ const de_DescribeEventCommand = async (output, context) => {
|
|
|
240
213
|
'PresenceAnalyticsStatusEvent': smithy_client_1._json,
|
|
241
214
|
'PresenceAnalyticsTelephonyEvent': smithy_client_1._json,
|
|
242
215
|
'PresenceEventType': smithy_client_1.expectString,
|
|
216
|
+
'ServiceAnalyticsLiveCompleteEvent': smithy_client_1._json,
|
|
217
|
+
'ServiceAnalyticsLiveProgressEvent': smithy_client_1._json,
|
|
218
|
+
'ServiceCallAnalyticsLiveCompleteEvent': smithy_client_1._json,
|
|
219
|
+
'ServiceCallAnalyticsLiveProgressEvent': smithy_client_1._json,
|
|
220
|
+
'ServiceCallEventType': smithy_client_1.expectString,
|
|
221
|
+
'ServiceEventType': smithy_client_1.expectString,
|
|
243
222
|
'WebhookCallCompletedEvent': smithy_client_1._json,
|
|
244
223
|
'WebhookCallLiveCompletedEvent': smithy_client_1._json,
|
|
245
224
|
'WebhookCallLiveInterruptedEvent': smithy_client_1._json,
|
|
@@ -301,22 +280,6 @@ const de_GetConferenceIdCommand = async (output, context) => {
|
|
|
301
280
|
};
|
|
302
281
|
exports.de_GetConferenceIdCommand = de_GetConferenceIdCommand;
|
|
303
282
|
const de_GetOngoingCallCommand = async (output, context) => {
|
|
304
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
305
|
-
return de_CommandError(output, context);
|
|
306
|
-
}
|
|
307
|
-
const contents = (0, smithy_client_1.map)({
|
|
308
|
-
$metadata: deserializeMetadata(output),
|
|
309
|
-
});
|
|
310
|
-
const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
|
|
311
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
312
|
-
'company': smithy_client_1.expectString,
|
|
313
|
-
'flows': smithy_client_1._json,
|
|
314
|
-
});
|
|
315
|
-
Object.assign(contents, doc);
|
|
316
|
-
return contents;
|
|
317
|
-
};
|
|
318
|
-
exports.de_GetOngoingCallCommand = de_GetOngoingCallCommand;
|
|
319
|
-
const de_GetOngoingCallTranscriptionCommand = async (output, context) => {
|
|
320
283
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
321
284
|
return de_CommandError(output, context);
|
|
322
285
|
}
|
|
@@ -332,23 +295,8 @@ const de_GetOngoingCallTranscriptionCommand = async (output, context) => {
|
|
|
332
295
|
Object.assign(contents, doc);
|
|
333
296
|
return contents;
|
|
334
297
|
};
|
|
335
|
-
exports.
|
|
336
|
-
const
|
|
337
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
338
|
-
return de_CommandError(output, context);
|
|
339
|
-
}
|
|
340
|
-
const contents = (0, smithy_client_1.map)({
|
|
341
|
-
$metadata: deserializeMetadata(output),
|
|
342
|
-
});
|
|
343
|
-
const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
|
|
344
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
345
|
-
'conference': smithy_client_1._json,
|
|
346
|
-
});
|
|
347
|
-
Object.assign(contents, doc);
|
|
348
|
-
return contents;
|
|
349
|
-
};
|
|
350
|
-
exports.de_GetOngoingConferenceCommand = de_GetOngoingConferenceCommand;
|
|
351
|
-
const de_GetOngoingConferenceTranscriptionCommand = async (output, context) => {
|
|
298
|
+
exports.de_GetOngoingCallCommand = de_GetOngoingCallCommand;
|
|
299
|
+
const de_ListServicesCommand = async (output, context) => {
|
|
352
300
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
353
301
|
return de_CommandError(output, context);
|
|
354
302
|
}
|
|
@@ -357,13 +305,12 @@ const de_GetOngoingConferenceTranscriptionCommand = async (output, context) => {
|
|
|
357
305
|
});
|
|
358
306
|
const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context))), "body");
|
|
359
307
|
const doc = (0, smithy_client_1.take)(data, {
|
|
360
|
-
'
|
|
361
|
-
'transcriptions': smithy_client_1._json,
|
|
308
|
+
'services': smithy_client_1._json,
|
|
362
309
|
});
|
|
363
310
|
Object.assign(contents, doc);
|
|
364
311
|
return contents;
|
|
365
312
|
};
|
|
366
|
-
exports.
|
|
313
|
+
exports.de_ListServicesCommand = de_ListServicesCommand;
|
|
367
314
|
const de_QueryConversationsCommand = async (output, context) => {
|
|
368
315
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
369
316
|
return de_CommandError(output, context);
|
|
@@ -484,7 +431,7 @@ const de_MatchNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
484
431
|
'message': smithy_client_1.expectString,
|
|
485
432
|
});
|
|
486
433
|
Object.assign(contents, doc);
|
|
487
|
-
const exception = new
|
|
434
|
+
const exception = new models_1_1.MatchNotFoundException({
|
|
488
435
|
$metadata: deserializeMetadata(parsedOutput),
|
|
489
436
|
...contents
|
|
490
437
|
});
|
|
@@ -497,7 +444,7 @@ const de_PresenceNotAvailableExceptionRes = async (parsedOutput, context) => {
|
|
|
497
444
|
'message': smithy_client_1.expectString,
|
|
498
445
|
});
|
|
499
446
|
Object.assign(contents, doc);
|
|
500
|
-
const exception = new
|
|
447
|
+
const exception = new models_1_1.PresenceNotAvailableException({
|
|
501
448
|
$metadata: deserializeMetadata(parsedOutput),
|
|
502
449
|
...contents
|
|
503
450
|
});
|
|
@@ -535,6 +482,15 @@ const se_ConsumeEventInputEvent = (input, context) => {
|
|
|
535
482
|
conferenceTranscription: value => ({ "conferenceTranscription": (0, smithy_client_1._json)(value) }),
|
|
536
483
|
presence: value => ({ "presence": (0, smithy_client_1._json)(value) }),
|
|
537
484
|
presenceTelephony: value => ({ "presenceTelephony": (0, smithy_client_1._json)(value) }),
|
|
485
|
+
serviceAgentJoin: value => ({ "serviceAgentJoin": (0, smithy_client_1._json)(value) }),
|
|
486
|
+
serviceAgentLeave: value => ({ "serviceAgentLeave": (0, smithy_client_1._json)(value) }),
|
|
487
|
+
serviceAgentUpdate: value => ({ "serviceAgentUpdate": (0, smithy_client_1._json)(value) }),
|
|
488
|
+
serviceCallEnd: value => ({ "serviceCallEnd": (0, smithy_client_1._json)(value) }),
|
|
489
|
+
serviceCallInit: value => ({ "serviceCallInit": (0, smithy_client_1._json)(value) }),
|
|
490
|
+
serviceCallUpdate: value => ({ "serviceCallUpdate": (0, smithy_client_1._json)(value) }),
|
|
491
|
+
serviceEnd: value => ({ "serviceEnd": (0, smithy_client_1._json)(value) }),
|
|
492
|
+
serviceInit: value => ({ "serviceInit": (0, smithy_client_1._json)(value) }),
|
|
493
|
+
serviceUpdate: value => ({ "serviceUpdate": (0, smithy_client_1._json)(value) }),
|
|
538
494
|
smsInbound: value => ({ "smsInbound": (0, smithy_client_1._json)(value) }),
|
|
539
495
|
smsStatus: value => ({ "smsStatus": (0, smithy_client_1._json)(value) }),
|
|
540
496
|
usageStt: value => ({ "usageStt": (0, smithy_client_1._json)(value) }),
|
package/dist-es/WdaStream.js
CHANGED
|
@@ -3,9 +3,7 @@ import { ConsumeEventCommand, } from "./commands/ConsumeEventCommand";
|
|
|
3
3
|
import { DescribeEventCommand, } from "./commands/DescribeEventCommand";
|
|
4
4
|
import { GetConferenceIdCommand, } from "./commands/GetConferenceIdCommand";
|
|
5
5
|
import { GetOngoingCallCommand, } from "./commands/GetOngoingCallCommand";
|
|
6
|
-
import {
|
|
7
|
-
import { GetOngoingConferenceCommand, } from "./commands/GetOngoingConferenceCommand";
|
|
8
|
-
import { GetOngoingConferenceTranscriptionCommand, } from "./commands/GetOngoingConferenceTranscriptionCommand";
|
|
6
|
+
import { ListServicesCommand, } from "./commands/ListServicesCommand";
|
|
9
7
|
import { QueryConversationsCommand, } from "./commands/QueryConversationsCommand";
|
|
10
8
|
import { QueryPresenceCommand, } from "./commands/QueryPresenceCommand";
|
|
11
9
|
import { QueryPresencesCommand, } from "./commands/QueryPresencesCommand";
|
|
@@ -16,9 +14,7 @@ const commands = {
|
|
|
16
14
|
DescribeEventCommand,
|
|
17
15
|
GetConferenceIdCommand,
|
|
18
16
|
GetOngoingCallCommand,
|
|
19
|
-
|
|
20
|
-
GetOngoingConferenceCommand,
|
|
21
|
-
GetOngoingConferenceTranscriptionCommand,
|
|
17
|
+
ListServicesCommand,
|
|
22
18
|
QueryConversationsCommand,
|
|
23
19
|
QueryPresenceCommand,
|
|
24
20
|
QueryPresencesCommand,
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { de_ListServicesCommand, se_ListServicesCommand, } from "../protocols/Aws_restJson1";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
export { $Command };
|
|
5
|
+
export class ListServicesCommand extends $Command.classBuilder()
|
|
6
|
+
.m(function (Command, cs, config, o) {
|
|
7
|
+
return [
|
|
8
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
9
|
+
];
|
|
10
|
+
})
|
|
11
|
+
.s("WdaStream", "ListServices", {})
|
|
12
|
+
.n("WdaStreamClient", "ListServicesCommand")
|
|
13
|
+
.f(void 0, void 0)
|
|
14
|
+
.ser(se_ListServicesCommand)
|
|
15
|
+
.de(de_ListServicesCommand)
|
|
16
|
+
.build() {
|
|
17
|
+
}
|
|
@@ -2,9 +2,7 @@ export * from "./ConsumeEventCommand";
|
|
|
2
2
|
export * from "./DescribeEventCommand";
|
|
3
3
|
export * from "./GetConferenceIdCommand";
|
|
4
4
|
export * from "./GetOngoingCallCommand";
|
|
5
|
-
export * from "./
|
|
6
|
-
export * from "./GetOngoingConferenceCommand";
|
|
7
|
-
export * from "./GetOngoingConferenceTranscriptionCommand";
|
|
5
|
+
export * from "./ListServicesCommand";
|
|
8
6
|
export * from "./QueryConversationsCommand";
|
|
9
7
|
export * from "./QueryPresenceCommand";
|
|
10
8
|
export * from "./QueryPresencesCommand";
|
package/dist-es/models/index.js
CHANGED
|
@@ -270,6 +270,11 @@ export const LiveEventType = {
|
|
|
270
270
|
CONFERENCE_JOIN: "conference_join",
|
|
271
271
|
CONFERENCE_LEAVE: "conference_leave",
|
|
272
272
|
CONFERENCE_TRANSCRIPTION: "conference_transcription",
|
|
273
|
+
SERVICE: "service",
|
|
274
|
+
SERVICE_AGENT: "service_agent",
|
|
275
|
+
SERVICE_CALL: "service_call",
|
|
276
|
+
SERVICE_CALL_COMPLETE: "service_call_complete",
|
|
277
|
+
SERVICE_COMPLETE: "service_complete",
|
|
273
278
|
};
|
|
274
279
|
export const CallAnalyticsLiveProgressEventTrigger = {
|
|
275
280
|
AGENTS_CANCEL: "call.agents_cancel",
|
|
@@ -365,6 +370,38 @@ export const PresenceConsumeEventType = {
|
|
|
365
370
|
PRESENCE: "PRESENCE",
|
|
366
371
|
PRESENCE_TELEPHONY: "PRESENCE.TELEPHONY",
|
|
367
372
|
};
|
|
373
|
+
export const ServiceAnalyticsEventTrigger = {
|
|
374
|
+
SERVICE_AGENT_JOIN: "service.agent_join",
|
|
375
|
+
SERVICE_AGENT_LEAVE: "service.agent_leave",
|
|
376
|
+
SERVICE_AGENT_UPDATE: "service.agent_update",
|
|
377
|
+
SERVICE_CALL_END: "service.call_end",
|
|
378
|
+
SERVICE_CALL_INIT: "service.call_init",
|
|
379
|
+
SERVICE_CALL_UPDATE: "service.call_update",
|
|
380
|
+
SERVICE_END: "service.end",
|
|
381
|
+
SERVICE_INIT: "service.init",
|
|
382
|
+
SERVICE_UPDATE: "service.update",
|
|
383
|
+
};
|
|
384
|
+
export const ServiceAgentType = {
|
|
385
|
+
DYNAMIC: "DYNAMIC",
|
|
386
|
+
STATIC: "STATIC",
|
|
387
|
+
};
|
|
388
|
+
export const ServiceConsumeEventType = {
|
|
389
|
+
SERVICE_AGENT_JOIN: "SERVICE.AGENT_JOIN",
|
|
390
|
+
SERVICE_AGENT_LEAVE: "SERVICE.AGENT_LEAVE",
|
|
391
|
+
SERVICE_AGENT_UPDATE: "SERVICE.AGENT_UPDATE",
|
|
392
|
+
SERVICE_CALL_END: "SERVICE.CALL_END",
|
|
393
|
+
SERVICE_CALL_INIT: "SERVICE.CALL_INIT",
|
|
394
|
+
SERVICE_CALL_UPDATE: "SERVICE.CALL_UPDATE",
|
|
395
|
+
SERVICE_END: "SERVICE.END",
|
|
396
|
+
SERVICE_INIT: "SERVICE.INIT",
|
|
397
|
+
SERVICE_UPDATE: "SERVICE.UPDATE",
|
|
398
|
+
};
|
|
399
|
+
export const ServiceCallAction = {
|
|
400
|
+
ANSWER: "ANSWER",
|
|
401
|
+
CANCEL: "CANCEL",
|
|
402
|
+
REJECT: "REJECT",
|
|
403
|
+
RING: "RING",
|
|
404
|
+
};
|
|
368
405
|
export const SmsConsumeEventType = {
|
|
369
406
|
SMS_INBOUND: "SMS.INBOUND",
|
|
370
407
|
SMS_STATUS: "SMS.STATUS",
|
|
@@ -451,6 +488,24 @@ export var ConsumeEventInputEvent;
|
|
|
451
488
|
return visitor.presence(value.presence);
|
|
452
489
|
if (value.presenceTelephony !== undefined)
|
|
453
490
|
return visitor.presenceTelephony(value.presenceTelephony);
|
|
491
|
+
if (value.serviceInit !== undefined)
|
|
492
|
+
return visitor.serviceInit(value.serviceInit);
|
|
493
|
+
if (value.serviceUpdate !== undefined)
|
|
494
|
+
return visitor.serviceUpdate(value.serviceUpdate);
|
|
495
|
+
if (value.serviceEnd !== undefined)
|
|
496
|
+
return visitor.serviceEnd(value.serviceEnd);
|
|
497
|
+
if (value.serviceCallInit !== undefined)
|
|
498
|
+
return visitor.serviceCallInit(value.serviceCallInit);
|
|
499
|
+
if (value.serviceCallUpdate !== undefined)
|
|
500
|
+
return visitor.serviceCallUpdate(value.serviceCallUpdate);
|
|
501
|
+
if (value.serviceCallEnd !== undefined)
|
|
502
|
+
return visitor.serviceCallEnd(value.serviceCallEnd);
|
|
503
|
+
if (value.serviceAgentJoin !== undefined)
|
|
504
|
+
return visitor.serviceAgentJoin(value.serviceAgentJoin);
|
|
505
|
+
if (value.serviceAgentUpdate !== undefined)
|
|
506
|
+
return visitor.serviceAgentUpdate(value.serviceAgentUpdate);
|
|
507
|
+
if (value.serviceAgentLeave !== undefined)
|
|
508
|
+
return visitor.serviceAgentLeave(value.serviceAgentLeave);
|
|
454
509
|
if (value.usageStt !== undefined)
|
|
455
510
|
return visitor.usageStt(value.usageStt);
|
|
456
511
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
@@ -464,6 +519,7 @@ export const WebsocketAction = {
|
|
|
464
519
|
export const WebsocketTopic = {
|
|
465
520
|
CONVERSATIONS: "conversations",
|
|
466
521
|
PRESENCE: "presence",
|
|
522
|
+
SERVICES: "services",
|
|
467
523
|
TRANSCRIPTIONS: "transcriptions",
|
|
468
524
|
};
|
|
469
525
|
export const PresenceAnalyticsEventType = {
|
|
@@ -475,6 +531,14 @@ export const PresenceEventType = {
|
|
|
475
531
|
STATUS_EVENT: "PresenceAnalyticsStatusEvent",
|
|
476
532
|
TELEPHONY_EVENT: "PresenceAnalyticsTelephonyEvent",
|
|
477
533
|
};
|
|
534
|
+
export const ServiceCallEventType = {
|
|
535
|
+
LIVE_COMPLETE_EVENT: "ServiceCallAnalyticsLiveCompleteEvent",
|
|
536
|
+
LIVE_PROGRESS_EVENT: "ServiceCallAnalyticsLiveProgressEvent",
|
|
537
|
+
};
|
|
538
|
+
export const ServiceEventType = {
|
|
539
|
+
LIVE_COMPLETE_EVENT: "ServiceAnalyticsLiveCompleteEvent",
|
|
540
|
+
LIVE_PROGRESS_EVENT: "ServiceAnalyticsLiveProgressEvent",
|
|
541
|
+
};
|
|
478
542
|
export const WebhookEventType = {
|
|
479
543
|
CALL_COMPLETED: "call:completed",
|
|
480
544
|
CALL_LIVE_COMPLETED: "call:live:completed",
|
|
@@ -515,41 +579,3 @@ export const WebsocketEvent = {
|
|
|
515
579
|
SUBSCRIBED: "subscribed",
|
|
516
580
|
UNSUBSCRIBE: "unsubscribed",
|
|
517
581
|
};
|
|
518
|
-
export class MatchNotFoundException extends __BaseException {
|
|
519
|
-
name = "MatchNotFoundException";
|
|
520
|
-
$fault = "client";
|
|
521
|
-
constructor(opts) {
|
|
522
|
-
super({
|
|
523
|
-
name: "MatchNotFoundException",
|
|
524
|
-
$fault: "client",
|
|
525
|
-
...opts
|
|
526
|
-
});
|
|
527
|
-
Object.setPrototypeOf(this, MatchNotFoundException.prototype);
|
|
528
|
-
}
|
|
529
|
-
}
|
|
530
|
-
export const PresenceStatus = {
|
|
531
|
-
AWAY: "AWAY",
|
|
532
|
-
DND: "DND",
|
|
533
|
-
OFFLINE: "OFFLINE",
|
|
534
|
-
ONLINE: "ONLINE",
|
|
535
|
-
ONLY_SIP: "ONLY_SIP",
|
|
536
|
-
};
|
|
537
|
-
export const TelephonyStatus = {
|
|
538
|
-
REGISTERED: "REGISTERED",
|
|
539
|
-
RINGING: "RINGING",
|
|
540
|
-
RT: "RT",
|
|
541
|
-
TALKING: "TALKING",
|
|
542
|
-
UNREGISTERED: "UNREGISTERED",
|
|
543
|
-
};
|
|
544
|
-
export class PresenceNotAvailableException extends __BaseException {
|
|
545
|
-
name = "PresenceNotAvailableException";
|
|
546
|
-
$fault = "client";
|
|
547
|
-
constructor(opts) {
|
|
548
|
-
super({
|
|
549
|
-
name: "PresenceNotAvailableException",
|
|
550
|
-
$fault: "client",
|
|
551
|
-
...opts
|
|
552
|
-
});
|
|
553
|
-
Object.setPrototypeOf(this, PresenceNotAvailableException.prototype);
|
|
554
|
-
}
|
|
555
|
-
}
|