webitel-sdk 0.1.174 → 0.1.176
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/bundles/index.esm.js +22 -3
- package/bundles/index.esm.js.map +1 -1
- package/bundles/index.esm.min.js +1 -1
- package/bundles/index.esm.min.js.map +1 -1
- package/bundles/index.umd.js +24 -2
- package/bundles/index.umd.js.map +1 -1
- package/bundles/index.umd.min.js +1 -1
- package/bundles/index.umd.min.js.map +1 -1
- package/esm2015/socket/call.js +13 -1
- package/esm2015/socket/call.js.map +1 -1
- package/esm2015/socket/conversation.js +7 -0
- package/esm2015/socket/conversation.js.map +1 -1
- package/esm5/socket/call.js +13 -1
- package/esm5/socket/call.js.map +1 -1
- package/esm5/socket/conversation.js +11 -0
- package/esm5/socket/conversation.js.map +1 -1
- package/package.json +1 -1
- package/types/socket/call.d.ts +13 -9
- package/types/socket/call.d.ts.map +1 -1
- package/types/socket/conversation.d.ts +4 -1
- package/types/socket/conversation.d.ts.map +1 -1
package/bundles/index.esm.js
CHANGED
|
@@ -30394,7 +30394,7 @@ async function getMediaStream(constraints) {
|
|
|
30394
30394
|
|
|
30395
30395
|
const getVersion = () => {
|
|
30396
30396
|
// @ts-ignore
|
|
30397
|
-
return '"0.1.
|
|
30397
|
+
return '"0.1.176"';
|
|
30398
30398
|
};
|
|
30399
30399
|
var version$1 = getVersion();
|
|
30400
30400
|
|
|
@@ -30903,6 +30903,12 @@ var EavesdropState;
|
|
|
30903
30903
|
EavesdropState["Conference"] = "conference";
|
|
30904
30904
|
EavesdropState["Prompt"] = "prompt";
|
|
30905
30905
|
})(EavesdropState || (EavesdropState = {}));
|
|
30906
|
+
var EavesdropType;
|
|
30907
|
+
(function (EavesdropType) {
|
|
30908
|
+
EavesdropType["Joined"] = "joined";
|
|
30909
|
+
EavesdropType["Leave"] = "leave";
|
|
30910
|
+
EavesdropType["Hide"] = "hide";
|
|
30911
|
+
})(EavesdropType || (EavesdropType = {}));
|
|
30906
30912
|
var CallActions;
|
|
30907
30913
|
(function (CallActions) {
|
|
30908
30914
|
CallActions["Ringing"] = "ringing";
|
|
@@ -31129,7 +31135,13 @@ class Call {
|
|
|
31129
31135
|
this.digits.push(s.digit);
|
|
31130
31136
|
}
|
|
31131
31137
|
setEavesdropState(e) {
|
|
31132
|
-
if (
|
|
31138
|
+
if (e.type === EavesdropType.Joined) {
|
|
31139
|
+
this._eavesdrop = e;
|
|
31140
|
+
}
|
|
31141
|
+
else if (e.type === EavesdropType.Leave) {
|
|
31142
|
+
this._eavesdrop = null;
|
|
31143
|
+
}
|
|
31144
|
+
else {
|
|
31133
31145
|
this._eavesdrop.state = e.state;
|
|
31134
31146
|
}
|
|
31135
31147
|
}
|
|
@@ -31368,6 +31380,7 @@ var DeclineCause;
|
|
|
31368
31380
|
DeclineCause["Timeout"] = "TIMEOUT";
|
|
31369
31381
|
DeclineCause["Busy"] = "BUSY";
|
|
31370
31382
|
DeclineCause["Cancel"] = "CANCEL";
|
|
31383
|
+
DeclineCause["Transfer"] = "TRANSFER";
|
|
31371
31384
|
})(DeclineCause || (DeclineCause = {}));
|
|
31372
31385
|
var ChatActions;
|
|
31373
31386
|
(function (ChatActions) {
|
|
@@ -31457,6 +31470,9 @@ class Conversation {
|
|
|
31457
31470
|
this._cause = e.cause || null;
|
|
31458
31471
|
}
|
|
31459
31472
|
setLeave(e) {
|
|
31473
|
+
if (e.cause) {
|
|
31474
|
+
this._cause = e.cause;
|
|
31475
|
+
}
|
|
31460
31476
|
this.setClosed(e.timestamp);
|
|
31461
31477
|
}
|
|
31462
31478
|
setDeletedMessage(d) {
|
|
@@ -31539,6 +31555,9 @@ class Conversation {
|
|
|
31539
31555
|
get attempt() {
|
|
31540
31556
|
return this.task;
|
|
31541
31557
|
}
|
|
31558
|
+
get isTransferred() {
|
|
31559
|
+
return (this._cause && this._cause.toUpperCase()) === DeclineCause.Transfer;
|
|
31560
|
+
}
|
|
31542
31561
|
/*
|
|
31543
31562
|
Actions
|
|
31544
31563
|
*/
|
|
@@ -33005,5 +33024,5 @@ class ExternalClient extends ee_3 {
|
|
|
33005
33024
|
|
|
33006
33025
|
// tslint:disable
|
|
33007
33026
|
|
|
33008
|
-
export { AgentPauseCauseServiceApiAxiosParamCreator, AgentPauseCauseServiceApiFp, AgentPauseCauseServiceApiFactory, AgentPauseCauseServiceApi, AgentServiceApiAxiosParamCreator, AgentServiceApiFp, AgentServiceApiFactory, AgentServiceApi, AgentSkillServiceApiAxiosParamCreator, AgentSkillServiceApiFp, AgentSkillServiceApiFactory, AgentSkillServiceApi, AgentTeamServiceApiAxiosParamCreator, AgentTeamServiceApiFp, AgentTeamServiceApiFactory, AgentTeamServiceApi, BackendProfileServiceApiAxiosParamCreator, BackendProfileServiceApiFp, BackendProfileServiceApiFactory, BackendProfileServiceApi, BucketServiceApiAxiosParamCreator, BucketServiceApiFp, BucketServiceApiFactory, BucketServiceApi, CalendarServiceApiAxiosParamCreator, CalendarServiceApiFp, CalendarServiceApiFactory, CalendarServiceApi, CallServiceApiAxiosParamCreator, CallServiceApiFp, CallServiceApiFactory, CallServiceApi, ChatHelperServiceApiAxiosParamCreator, ChatHelperServiceApiFp, ChatHelperServiceApiFactory, ChatHelperServiceApi, CognitiveProfileServiceApiAxiosParamCreator, CognitiveProfileServiceApiFp, CognitiveProfileServiceApiFactory, CognitiveProfileServiceApi, CommunicationTypeServiceApiAxiosParamCreator, CommunicationTypeServiceApiFp, CommunicationTypeServiceApiFactory, CommunicationTypeServiceApi, EmailProfileServiceApiAxiosParamCreator, EmailProfileServiceApiFp, EmailProfileServiceApiFactory, EmailProfileServiceApi, FileServiceApiAxiosParamCreator, FileServiceApiFp, FileServiceApiFactory, FileServiceApi, FileTranscriptServiceApiAxiosParamCreator, FileTranscriptServiceApiFp, FileTranscriptServiceApiFactory, FileTranscriptServiceApi, ImportTemplateServiceApiAxiosParamCreator, ImportTemplateServiceApiFp, ImportTemplateServiceApiFactory, ImportTemplateServiceApi, ListServiceApiAxiosParamCreator, ListServiceApiFp, ListServiceApiFactory, ListServiceApi, MediaFileServiceApiAxiosParamCreator, MediaFileServiceApiFp, MediaFileServiceApiFactory, MediaFileServiceApi, MemberServiceApiAxiosParamCreator, MemberServiceApiFp, MemberServiceApiFactory, MemberServiceApi, OutboundResourceGroupServiceApiAxiosParamCreator, OutboundResourceGroupServiceApiFp, OutboundResourceGroupServiceApiFactory, OutboundResourceGroupServiceApi, OutboundResourceServiceApiAxiosParamCreator, OutboundResourceServiceApiFp, OutboundResourceServiceApiFactory, OutboundResourceServiceApi, QueueBucketServiceApiAxiosParamCreator, QueueBucketServiceApiFp, QueueBucketServiceApiFactory, QueueBucketServiceApi, QueueHookServiceApiAxiosParamCreator, QueueHookServiceApiFp, QueueHookServiceApiFactory, QueueHookServiceApi, QueueResourcesServiceApiAxiosParamCreator, QueueResourcesServiceApiFp, QueueResourcesServiceApiFactory, QueueResourcesServiceApi, QueueServiceApiAxiosParamCreator, QueueServiceApiFp, QueueServiceApiFactory, QueueServiceApi, QueueSkillServiceApiAxiosParamCreator, QueueSkillServiceApiFp, QueueSkillServiceApiFactory, QueueSkillServiceApi, RegionServiceApiAxiosParamCreator, RegionServiceApiFp, RegionServiceApiFactory, RegionServiceApi, RoutingChatPlanServiceApiAxiosParamCreator, RoutingChatPlanServiceApiFp, RoutingChatPlanServiceApiFactory, RoutingChatPlanServiceApi, RoutingOutboundCallServiceApiAxiosParamCreator, RoutingOutboundCallServiceApiFp, RoutingOutboundCallServiceApiFactory, RoutingOutboundCallServiceApi, RoutingSchemaServiceApiAxiosParamCreator, RoutingSchemaServiceApiFp, RoutingSchemaServiceApiFactory, RoutingSchemaServiceApi, RoutingVariableServiceApiAxiosParamCreator, RoutingVariableServiceApiFp, RoutingVariableServiceApiFactory, RoutingVariableServiceApi, SkillServiceApiAxiosParamCreator, SkillServiceApiFp, SkillServiceApiFactory, SkillServiceApi, TriggerServiceApiAxiosParamCreator, TriggerServiceApiFp, TriggerServiceApiFactory, TriggerServiceApi, UserHelperServiceApiAxiosParamCreator, UserHelperServiceApiFp, UserHelperServiceApiFactory, UserHelperServiceApi, Configuration, EngineBoolFilter, EngineRoutingSchemaType, EngineTriggerJobState, EngineTriggerType, HistoryFileJobHistoryFileJobAction, HistoryFileJobHistoryFileJobState, ProtobufNullValue, StorageImportSourceType, StorageProviderType, StorageServiceType, StorageUploadStatusCode, JobState, Response, Client, CallReportingStatus, EavesdropState, CallActions, CallDirection, Call, AgentStatus, ChannelState, ChannelType, Agent, DeclineCause, ChatActions, ConversationState, Conversation, TypeErrors, DeviceNotFoundError, DeviceNotAllowPermissionError, RolePermissionError, LicencePermissionError, SipClient, ExternalClient, SipPhone, Log };
|
|
33027
|
+
export { AgentPauseCauseServiceApiAxiosParamCreator, AgentPauseCauseServiceApiFp, AgentPauseCauseServiceApiFactory, AgentPauseCauseServiceApi, AgentServiceApiAxiosParamCreator, AgentServiceApiFp, AgentServiceApiFactory, AgentServiceApi, AgentSkillServiceApiAxiosParamCreator, AgentSkillServiceApiFp, AgentSkillServiceApiFactory, AgentSkillServiceApi, AgentTeamServiceApiAxiosParamCreator, AgentTeamServiceApiFp, AgentTeamServiceApiFactory, AgentTeamServiceApi, BackendProfileServiceApiAxiosParamCreator, BackendProfileServiceApiFp, BackendProfileServiceApiFactory, BackendProfileServiceApi, BucketServiceApiAxiosParamCreator, BucketServiceApiFp, BucketServiceApiFactory, BucketServiceApi, CalendarServiceApiAxiosParamCreator, CalendarServiceApiFp, CalendarServiceApiFactory, CalendarServiceApi, CallServiceApiAxiosParamCreator, CallServiceApiFp, CallServiceApiFactory, CallServiceApi, ChatHelperServiceApiAxiosParamCreator, ChatHelperServiceApiFp, ChatHelperServiceApiFactory, ChatHelperServiceApi, CognitiveProfileServiceApiAxiosParamCreator, CognitiveProfileServiceApiFp, CognitiveProfileServiceApiFactory, CognitiveProfileServiceApi, CommunicationTypeServiceApiAxiosParamCreator, CommunicationTypeServiceApiFp, CommunicationTypeServiceApiFactory, CommunicationTypeServiceApi, EmailProfileServiceApiAxiosParamCreator, EmailProfileServiceApiFp, EmailProfileServiceApiFactory, EmailProfileServiceApi, FileServiceApiAxiosParamCreator, FileServiceApiFp, FileServiceApiFactory, FileServiceApi, FileTranscriptServiceApiAxiosParamCreator, FileTranscriptServiceApiFp, FileTranscriptServiceApiFactory, FileTranscriptServiceApi, ImportTemplateServiceApiAxiosParamCreator, ImportTemplateServiceApiFp, ImportTemplateServiceApiFactory, ImportTemplateServiceApi, ListServiceApiAxiosParamCreator, ListServiceApiFp, ListServiceApiFactory, ListServiceApi, MediaFileServiceApiAxiosParamCreator, MediaFileServiceApiFp, MediaFileServiceApiFactory, MediaFileServiceApi, MemberServiceApiAxiosParamCreator, MemberServiceApiFp, MemberServiceApiFactory, MemberServiceApi, OutboundResourceGroupServiceApiAxiosParamCreator, OutboundResourceGroupServiceApiFp, OutboundResourceGroupServiceApiFactory, OutboundResourceGroupServiceApi, OutboundResourceServiceApiAxiosParamCreator, OutboundResourceServiceApiFp, OutboundResourceServiceApiFactory, OutboundResourceServiceApi, QueueBucketServiceApiAxiosParamCreator, QueueBucketServiceApiFp, QueueBucketServiceApiFactory, QueueBucketServiceApi, QueueHookServiceApiAxiosParamCreator, QueueHookServiceApiFp, QueueHookServiceApiFactory, QueueHookServiceApi, QueueResourcesServiceApiAxiosParamCreator, QueueResourcesServiceApiFp, QueueResourcesServiceApiFactory, QueueResourcesServiceApi, QueueServiceApiAxiosParamCreator, QueueServiceApiFp, QueueServiceApiFactory, QueueServiceApi, QueueSkillServiceApiAxiosParamCreator, QueueSkillServiceApiFp, QueueSkillServiceApiFactory, QueueSkillServiceApi, RegionServiceApiAxiosParamCreator, RegionServiceApiFp, RegionServiceApiFactory, RegionServiceApi, RoutingChatPlanServiceApiAxiosParamCreator, RoutingChatPlanServiceApiFp, RoutingChatPlanServiceApiFactory, RoutingChatPlanServiceApi, RoutingOutboundCallServiceApiAxiosParamCreator, RoutingOutboundCallServiceApiFp, RoutingOutboundCallServiceApiFactory, RoutingOutboundCallServiceApi, RoutingSchemaServiceApiAxiosParamCreator, RoutingSchemaServiceApiFp, RoutingSchemaServiceApiFactory, RoutingSchemaServiceApi, RoutingVariableServiceApiAxiosParamCreator, RoutingVariableServiceApiFp, RoutingVariableServiceApiFactory, RoutingVariableServiceApi, SkillServiceApiAxiosParamCreator, SkillServiceApiFp, SkillServiceApiFactory, SkillServiceApi, TriggerServiceApiAxiosParamCreator, TriggerServiceApiFp, TriggerServiceApiFactory, TriggerServiceApi, UserHelperServiceApiAxiosParamCreator, UserHelperServiceApiFp, UserHelperServiceApiFactory, UserHelperServiceApi, Configuration, EngineBoolFilter, EngineRoutingSchemaType, EngineTriggerJobState, EngineTriggerType, HistoryFileJobHistoryFileJobAction, HistoryFileJobHistoryFileJobState, ProtobufNullValue, StorageImportSourceType, StorageProviderType, StorageServiceType, StorageUploadStatusCode, JobState, Response, Client, CallReportingStatus, EavesdropState, EavesdropType, CallActions, CallDirection, Call, AgentStatus, ChannelState, ChannelType, Agent, DeclineCause, ChatActions, ConversationState, Conversation, TypeErrors, DeviceNotFoundError, DeviceNotAllowPermissionError, RolePermissionError, LicencePermissionError, SipClient, ExternalClient, SipPhone, Log };
|
|
33009
33028
|
//# sourceMappingURL=index.esm.js.map
|