@webex/calling 3.11.0-webex-services-ready.1 → 3.12.0-llmrefactor.1
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/CallHistory/CallHistory.js +68 -51
- package/dist/CallHistory/CallHistory.js.map +1 -1
- package/dist/CallRecording/CallRecording.js +160 -0
- package/dist/CallRecording/CallRecording.js.map +1 -0
- package/dist/CallRecording/CallRecording.test.js +257 -0
- package/dist/CallRecording/CallRecording.test.js.map +1 -0
- package/dist/CallRecording/WxcCallRecordingConnector.js +577 -0
- package/dist/CallRecording/WxcCallRecordingConnector.js.map +1 -0
- package/dist/CallRecording/WxcCallRecordingConnector.test.js +652 -0
- package/dist/CallRecording/WxcCallRecordingConnector.test.js.map +1 -0
- package/dist/CallRecording/callRecordingFixtures.js +235 -0
- package/dist/CallRecording/callRecordingFixtures.js.map +1 -0
- package/dist/CallRecording/constants.js +50 -0
- package/dist/CallRecording/constants.js.map +1 -0
- package/dist/CallRecording/types.js +137 -0
- package/dist/CallRecording/types.js.map +1 -0
- package/dist/CallRecording/utils.js +42 -0
- package/dist/CallRecording/utils.js.map +1 -0
- package/dist/CallRecording/utils.test.js +97 -0
- package/dist/CallRecording/utils.test.js.map +1 -0
- package/dist/CallingClient/CallingClient.js +522 -195
- package/dist/CallingClient/CallingClient.js.map +1 -1
- package/dist/CallingClient/CallingClient.test.js +607 -133
- package/dist/CallingClient/CallingClient.test.js.map +1 -1
- package/dist/CallingClient/calling/call.js +643 -462
- package/dist/CallingClient/calling/call.js.map +1 -1
- package/dist/CallingClient/calling/call.test.js +850 -453
- package/dist/CallingClient/calling/call.test.js.map +1 -1
- package/dist/CallingClient/calling/callManager.js +106 -35
- package/dist/CallingClient/calling/callManager.js.map +1 -1
- package/dist/CallingClient/calling/callManager.test.js +140 -0
- package/dist/CallingClient/calling/callManager.test.js.map +1 -1
- package/dist/CallingClient/calling/types.js +5 -0
- package/dist/CallingClient/calling/types.js.map +1 -1
- package/dist/CallingClient/constants.js +32 -3
- package/dist/CallingClient/constants.js.map +1 -1
- package/dist/CallingClient/line/index.js +4 -1
- package/dist/CallingClient/line/index.js.map +1 -1
- package/dist/CallingClient/line/line.test.js +16 -1
- package/dist/CallingClient/line/line.test.js.map +1 -1
- package/dist/CallingClient/registration/register.js +740 -407
- package/dist/CallingClient/registration/register.js.map +1 -1
- package/dist/CallingClient/registration/register.test.js +380 -58
- package/dist/CallingClient/registration/register.test.js.map +1 -1
- package/dist/CallingClient/registration/types.js.map +1 -1
- package/dist/CallingClient/registration/webWorker.js +41 -104
- package/dist/CallingClient/registration/webWorker.js.map +1 -1
- package/dist/CallingClient/registration/webWorker.test.js +39 -153
- package/dist/CallingClient/registration/webWorker.test.js.map +1 -1
- package/dist/CallingClient/registration/webWorkerStr.js +1 -1
- package/dist/CallingClient/registration/webWorkerStr.js.map +1 -1
- package/dist/CallingClient/types.js +7 -0
- package/dist/CallingClient/types.js.map +1 -1
- package/dist/CallingClient/utils/constants.js +58 -0
- package/dist/CallingClient/utils/constants.js.map +1 -0
- package/dist/CallingClient/utils/index.js +63 -0
- package/dist/CallingClient/utils/index.js.map +1 -0
- package/dist/CallingClient/utils/mobiusSocketMapper.js +122 -0
- package/dist/CallingClient/utils/mobiusSocketMapper.js.map +1 -0
- package/dist/CallingClient/utils/mobiusSocketMapper.test.js +221 -0
- package/dist/CallingClient/utils/mobiusSocketMapper.test.js.map +1 -0
- package/dist/CallingClient/utils/request.js +435 -0
- package/dist/CallingClient/utils/request.js.map +1 -0
- package/dist/CallingClient/utils/request.test.js +999 -0
- package/dist/CallingClient/utils/request.test.js.map +1 -0
- package/dist/CallingClient/utils/types.js +7 -0
- package/dist/CallingClient/utils/types.js.map +1 -0
- package/dist/CallingClient/utils/wsFeatureFlag.js +70 -0
- package/dist/CallingClient/utils/wsFeatureFlag.js.map +1 -0
- package/dist/CallingClient/utils/wsFeatureFlag.test.js +139 -0
- package/dist/CallingClient/utils/wsFeatureFlag.test.js.map +1 -0
- package/dist/Contacts/ContactsClient.js +13 -11
- package/dist/Contacts/ContactsClient.js.map +1 -1
- package/dist/Contacts/ContactsClient.test.js +3 -8
- package/dist/Contacts/ContactsClient.test.js.map +1 -1
- package/dist/Events/types.js +38 -11
- package/dist/Events/types.js.map +1 -1
- package/dist/Metrics/index.js +63 -2
- package/dist/Metrics/index.js.map +1 -1
- package/dist/Metrics/index.test.js +357 -1
- package/dist/Metrics/index.test.js.map +1 -1
- package/dist/Metrics/types.js +19 -1
- package/dist/Metrics/types.js.map +1 -1
- package/dist/SDKConnector/types.js.map +1 -1
- package/dist/api.js +56 -0
- package/dist/api.js.map +1 -1
- package/dist/common/Utils.js +159 -53
- package/dist/common/Utils.js.map +1 -1
- package/dist/common/Utils.test.js +205 -44
- package/dist/common/Utils.test.js.map +1 -1
- package/dist/common/testUtil.js +10 -5
- package/dist/common/testUtil.js.map +1 -1
- package/dist/common/types.js +3 -0
- package/dist/common/types.js.map +1 -1
- package/dist/index.js +171 -40
- package/dist/index.js.map +1 -1
- package/dist/mobius-socket/config.js +24 -0
- package/dist/mobius-socket/config.js.map +1 -0
- package/dist/mobius-socket/errors.js +143 -0
- package/dist/mobius-socket/errors.js.map +1 -0
- package/dist/mobius-socket/errors.test.js +20 -0
- package/dist/mobius-socket/errors.test.js.map +1 -0
- package/dist/mobius-socket/index.js +57 -0
- package/dist/mobius-socket/index.js.map +1 -0
- package/dist/mobius-socket/mobius-socket-events.test.js +492 -0
- package/dist/mobius-socket/mobius-socket-events.test.js.map +1 -0
- package/dist/mobius-socket/mobius-socket.js +849 -0
- package/dist/mobius-socket/mobius-socket.js.map +1 -0
- package/dist/mobius-socket/mobius-socket.test.js +1898 -0
- package/dist/mobius-socket/mobius-socket.test.js.map +1 -0
- package/dist/mobius-socket/socket/constants.js +55 -0
- package/dist/mobius-socket/socket/constants.js.map +1 -0
- package/dist/mobius-socket/socket/index.js +15 -0
- package/dist/mobius-socket/socket/index.js.map +1 -0
- package/dist/mobius-socket/socket/socket-base.js +604 -0
- package/dist/mobius-socket/socket/socket-base.js.map +1 -0
- package/dist/mobius-socket/socket/socket.js +19 -0
- package/dist/mobius-socket/socket/socket.js.map +1 -0
- package/dist/mobius-socket/socket/socket.shim.js +26 -0
- package/dist/mobius-socket/socket/socket.shim.js.map +1 -0
- package/dist/mobius-socket/socket/types.js +7 -0
- package/dist/mobius-socket/socket/types.js.map +1 -0
- package/dist/mobius-socket/socket.test.js +727 -0
- package/dist/mobius-socket/socket.test.js.map +1 -0
- package/dist/mobius-socket/test/mocha-helpers.js +23 -0
- package/dist/mobius-socket/test/mocha-helpers.js.map +1 -0
- package/dist/mobius-socket/test/promise-tick.js +28 -0
- package/dist/mobius-socket/test/promise-tick.js.map +1 -0
- package/dist/mobius-socket/types.js +7 -0
- package/dist/mobius-socket/types.js.map +1 -0
- package/dist/module/CallHistory/CallHistory.js +28 -17
- package/dist/module/CallRecording/CallRecording.js +56 -0
- package/dist/module/CallRecording/WxcCallRecordingConnector.js +257 -0
- package/dist/module/CallRecording/callRecordingFixtures.js +201 -0
- package/dist/module/CallRecording/constants.js +28 -0
- package/dist/module/CallRecording/types.js +19 -0
- package/dist/module/CallRecording/utils.js +14 -0
- package/dist/module/CallingClient/CallingClient.js +166 -8
- package/dist/module/CallingClient/calling/call.js +201 -68
- package/dist/module/CallingClient/calling/callManager.js +51 -11
- package/dist/module/CallingClient/calling/types.js +2 -0
- package/dist/module/CallingClient/constants.js +27 -0
- package/dist/module/CallingClient/line/index.js +2 -2
- package/dist/module/CallingClient/registration/register.js +247 -63
- package/dist/module/CallingClient/registration/webWorker.js +42 -61
- package/dist/module/CallingClient/registration/webWorkerStr.js +47 -82
- package/dist/module/CallingClient/utils/constants.js +36 -0
- package/dist/module/CallingClient/utils/index.js +5 -0
- package/dist/module/CallingClient/utils/mobiusSocketMapper.js +72 -0
- package/dist/module/CallingClient/utils/request.js +211 -0
- package/dist/module/CallingClient/utils/types.js +1 -0
- package/dist/module/CallingClient/utils/wsFeatureFlag.js +41 -0
- package/dist/module/Contacts/ContactsClient.js +1 -1
- package/dist/module/Events/types.js +23 -10
- package/dist/module/Metrics/index.js +48 -1
- package/dist/module/Metrics/types.js +18 -0
- package/dist/module/api.js +3 -2
- package/dist/module/common/Utils.js +63 -18
- package/dist/module/common/testUtil.js +6 -1
- package/dist/module/common/types.js +3 -0
- package/dist/module/index.js +7 -3
- package/dist/module/mobius-socket/config.js +15 -0
- package/dist/module/mobius-socket/errors.js +58 -0
- package/dist/module/mobius-socket/index.js +24 -0
- package/dist/module/mobius-socket/mobius-socket.js +593 -0
- package/dist/module/mobius-socket/socket/constants.js +26 -0
- package/dist/module/mobius-socket/socket/index.js +4 -0
- package/dist/module/mobius-socket/socket/socket-base.js +368 -0
- package/dist/module/mobius-socket/socket/socket.js +9 -0
- package/dist/module/mobius-socket/socket/socket.shim.js +12 -0
- package/dist/module/mobius-socket/socket/types.js +1 -0
- package/dist/module/mobius-socket/types.js +1 -0
- package/dist/types/CallHistory/CallHistory.d.ts.map +1 -1
- package/dist/types/CallRecording/CallRecording.d.ts +18 -0
- package/dist/types/CallRecording/CallRecording.d.ts.map +1 -0
- package/dist/types/CallRecording/WxcCallRecordingConnector.d.ts +23 -0
- package/dist/types/CallRecording/WxcCallRecordingConnector.d.ts.map +1 -0
- package/dist/types/CallRecording/callRecordingFixtures.d.ts +61 -0
- package/dist/types/CallRecording/callRecordingFixtures.d.ts.map +1 -0
- package/dist/types/CallRecording/constants.d.ts +29 -0
- package/dist/types/CallRecording/constants.d.ts.map +1 -0
- package/dist/types/CallRecording/types.d.ts +176 -0
- package/dist/types/CallRecording/types.d.ts.map +1 -0
- package/dist/types/CallRecording/utils.d.ts +3 -0
- package/dist/types/CallRecording/utils.d.ts.map +1 -0
- package/dist/types/CallingClient/CallingClient.d.ts +10 -1
- package/dist/types/CallingClient/CallingClient.d.ts.map +1 -1
- package/dist/types/CallingClient/calling/call.d.ts +17 -3
- package/dist/types/CallingClient/calling/call.d.ts.map +1 -1
- package/dist/types/CallingClient/calling/callManager.d.ts +8 -4
- package/dist/types/CallingClient/calling/callManager.d.ts.map +1 -1
- package/dist/types/CallingClient/calling/types.d.ts +38 -9
- package/dist/types/CallingClient/calling/types.d.ts.map +1 -1
- package/dist/types/CallingClient/constants.d.ts +27 -0
- package/dist/types/CallingClient/constants.d.ts.map +1 -1
- package/dist/types/CallingClient/line/index.d.ts +1 -1
- package/dist/types/CallingClient/line/index.d.ts.map +1 -1
- package/dist/types/CallingClient/registration/register.d.ts +9 -2
- package/dist/types/CallingClient/registration/register.d.ts.map +1 -1
- package/dist/types/CallingClient/registration/types.d.ts +6 -3
- package/dist/types/CallingClient/registration/types.d.ts.map +1 -1
- package/dist/types/CallingClient/registration/webWorker.d.ts.map +1 -1
- package/dist/types/CallingClient/registration/webWorkerStr.d.ts +1 -1
- package/dist/types/CallingClient/registration/webWorkerStr.d.ts.map +1 -1
- package/dist/types/CallingClient/types.d.ts +6 -3
- package/dist/types/CallingClient/types.d.ts.map +1 -1
- package/dist/types/CallingClient/utils/constants.d.ts +35 -0
- package/dist/types/CallingClient/utils/constants.d.ts.map +1 -0
- package/dist/types/CallingClient/utils/index.d.ts +6 -0
- package/dist/types/CallingClient/utils/index.d.ts.map +1 -0
- package/dist/types/CallingClient/utils/mobiusSocketMapper.d.ts +5 -0
- package/dist/types/CallingClient/utils/mobiusSocketMapper.d.ts.map +1 -0
- package/dist/types/CallingClient/utils/request.d.ts +28 -0
- package/dist/types/CallingClient/utils/request.d.ts.map +1 -0
- package/dist/types/CallingClient/utils/types.d.ts +34 -0
- package/dist/types/CallingClient/utils/types.d.ts.map +1 -0
- package/dist/types/CallingClient/utils/wsFeatureFlag.d.ts +4 -0
- package/dist/types/CallingClient/utils/wsFeatureFlag.d.ts.map +1 -0
- package/dist/types/Events/types.d.ts +79 -15
- package/dist/types/Events/types.d.ts.map +1 -1
- package/dist/types/Metrics/index.d.ts.map +1 -1
- package/dist/types/Metrics/types.d.ts +19 -2
- package/dist/types/Metrics/types.d.ts.map +1 -1
- package/dist/types/SDKConnector/types.d.ts +39 -12
- package/dist/types/SDKConnector/types.d.ts.map +1 -1
- package/dist/types/api.d.ts +6 -4
- package/dist/types/api.d.ts.map +1 -1
- package/dist/types/common/Utils.d.ts +11 -3
- package/dist/types/common/Utils.d.ts.map +1 -1
- package/dist/types/common/testUtil.d.ts +5 -1
- package/dist/types/common/testUtil.d.ts.map +1 -1
- package/dist/types/common/types.d.ts +9 -1
- package/dist/types/common/types.d.ts.map +1 -1
- package/dist/types/index.d.ts +9 -4
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/mobius-socket/config.d.ts +17 -0
- package/dist/types/mobius-socket/config.d.ts.map +1 -0
- package/dist/types/mobius-socket/errors.d.ts +32 -0
- package/dist/types/mobius-socket/errors.d.ts.map +1 -0
- package/dist/types/mobius-socket/index.d.ts +14 -0
- package/dist/types/mobius-socket/index.d.ts.map +1 -0
- package/dist/types/mobius-socket/mobius-socket.d.ts +48 -0
- package/dist/types/mobius-socket/mobius-socket.d.ts.map +1 -0
- package/dist/types/mobius-socket/socket/constants.d.ts +27 -0
- package/dist/types/mobius-socket/socket/constants.d.ts.map +1 -0
- package/dist/types/mobius-socket/socket/index.d.ts +5 -0
- package/dist/types/mobius-socket/socket/index.d.ts.map +1 -0
- package/dist/types/mobius-socket/socket/socket-base.d.ts +43 -0
- package/dist/types/mobius-socket/socket/socket-base.d.ts.map +1 -0
- package/dist/types/mobius-socket/socket/socket.d.ts +6 -0
- package/dist/types/mobius-socket/socket/socket.d.ts.map +1 -0
- package/dist/types/mobius-socket/socket/socket.shim.d.ts +6 -0
- package/dist/types/mobius-socket/socket/socket.shim.d.ts.map +1 -0
- package/dist/types/mobius-socket/socket/types.d.ts +61 -0
- package/dist/types/mobius-socket/socket/types.d.ts.map +1 -0
- package/dist/types/mobius-socket/types.d.ts +21 -0
- package/dist/types/mobius-socket/types.d.ts.map +1 -0
- package/package.json +21 -5
- package/src/mobius-socket/socket/socket.shim.ts +22 -0
- package/src/mobius-socket/socket/socket.ts +14 -0
package/dist/index.js
CHANGED
|
@@ -5,34 +5,40 @@ var _interopRequireDefault = require("@babel/runtime-corejs2/helpers/interopRequ
|
|
|
5
5
|
_Object$defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
|
+
_Object$defineProperty(exports, "CALLING_BACKEND", {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function get() {
|
|
11
|
+
return _types0.CALLING_BACKEND;
|
|
12
|
+
}
|
|
13
|
+
});
|
|
8
14
|
_Object$defineProperty(exports, "CALLING_CLIENT_EVENT_KEYS", {
|
|
9
15
|
enumerable: true,
|
|
10
16
|
get: function get() {
|
|
11
|
-
return
|
|
17
|
+
return _types9.CALLING_CLIENT_EVENT_KEYS;
|
|
12
18
|
}
|
|
13
19
|
});
|
|
14
20
|
_Object$defineProperty(exports, "CALL_EVENT_KEYS", {
|
|
15
21
|
enumerable: true,
|
|
16
22
|
get: function get() {
|
|
17
|
-
return
|
|
23
|
+
return _types9.CALL_EVENT_KEYS;
|
|
18
24
|
}
|
|
19
25
|
});
|
|
20
26
|
_Object$defineProperty(exports, "COMMON_EVENT_KEYS", {
|
|
21
27
|
enumerable: true,
|
|
22
28
|
get: function get() {
|
|
23
|
-
return
|
|
29
|
+
return _types9.COMMON_EVENT_KEYS;
|
|
24
30
|
}
|
|
25
31
|
});
|
|
26
32
|
_Object$defineProperty(exports, "CallDetails", {
|
|
27
33
|
enumerable: true,
|
|
28
34
|
get: function get() {
|
|
29
|
-
return
|
|
35
|
+
return _types0.CallDetails;
|
|
30
36
|
}
|
|
31
37
|
});
|
|
32
38
|
_Object$defineProperty(exports, "CallDirection", {
|
|
33
39
|
enumerable: true,
|
|
34
40
|
get: function get() {
|
|
35
|
-
return
|
|
41
|
+
return _types0.CallDirection;
|
|
36
42
|
}
|
|
37
43
|
});
|
|
38
44
|
_Object$defineProperty(exports, "CallError", {
|
|
@@ -44,31 +50,31 @@ _Object$defineProperty(exports, "CallError", {
|
|
|
44
50
|
_Object$defineProperty(exports, "CallForwardAlwaysSetting", {
|
|
45
51
|
enumerable: true,
|
|
46
52
|
get: function get() {
|
|
47
|
-
return
|
|
53
|
+
return _types5.CallForwardAlwaysSetting;
|
|
48
54
|
}
|
|
49
55
|
});
|
|
50
56
|
_Object$defineProperty(exports, "CallForwardSetting", {
|
|
51
57
|
enumerable: true,
|
|
52
58
|
get: function get() {
|
|
53
|
-
return
|
|
59
|
+
return _types5.CallForwardSetting;
|
|
54
60
|
}
|
|
55
61
|
});
|
|
56
62
|
_Object$defineProperty(exports, "CallSettingResponse", {
|
|
57
63
|
enumerable: true,
|
|
58
64
|
get: function get() {
|
|
59
|
-
return
|
|
65
|
+
return _types5.CallSettingResponse;
|
|
60
66
|
}
|
|
61
67
|
});
|
|
62
68
|
_Object$defineProperty(exports, "CallType", {
|
|
63
69
|
enumerable: true,
|
|
64
70
|
get: function get() {
|
|
65
|
-
return
|
|
71
|
+
return _types0.CallType;
|
|
66
72
|
}
|
|
67
73
|
});
|
|
68
74
|
_Object$defineProperty(exports, "CallerIdDisplay", {
|
|
69
75
|
enumerable: true,
|
|
70
76
|
get: function get() {
|
|
71
|
-
return
|
|
77
|
+
return _types9.CallerIdDisplay;
|
|
72
78
|
}
|
|
73
79
|
});
|
|
74
80
|
_Object$defineProperty(exports, "CallingClientConfig", {
|
|
@@ -80,25 +86,31 @@ _Object$defineProperty(exports, "CallingClientConfig", {
|
|
|
80
86
|
_Object$defineProperty(exports, "Contact", {
|
|
81
87
|
enumerable: true,
|
|
82
88
|
get: function get() {
|
|
83
|
-
return
|
|
89
|
+
return _types6.Contact;
|
|
84
90
|
}
|
|
85
91
|
});
|
|
86
92
|
_Object$defineProperty(exports, "ContactResponse", {
|
|
87
93
|
enumerable: true,
|
|
88
94
|
get: function get() {
|
|
89
|
-
return
|
|
95
|
+
return _types6.ContactResponse;
|
|
96
|
+
}
|
|
97
|
+
});
|
|
98
|
+
_Object$defineProperty(exports, "DeleteRecordingOptions", {
|
|
99
|
+
enumerable: true,
|
|
100
|
+
get: function get() {
|
|
101
|
+
return _types4.DeleteRecordingOptions;
|
|
90
102
|
}
|
|
91
103
|
});
|
|
92
104
|
_Object$defineProperty(exports, "DisplayInformation", {
|
|
93
105
|
enumerable: true,
|
|
94
106
|
get: function get() {
|
|
95
|
-
return
|
|
107
|
+
return _types0.DisplayInformation;
|
|
96
108
|
}
|
|
97
109
|
});
|
|
98
110
|
_Object$defineProperty(exports, "Disposition", {
|
|
99
111
|
enumerable: true,
|
|
100
112
|
get: function get() {
|
|
101
|
-
return
|
|
113
|
+
return _types9.Disposition;
|
|
102
114
|
}
|
|
103
115
|
});
|
|
104
116
|
_Object$defineProperty(exports, "ERROR_LAYER", {
|
|
@@ -113,16 +125,28 @@ _Object$defineProperty(exports, "ERROR_TYPE", {
|
|
|
113
125
|
return _types.ERROR_TYPE;
|
|
114
126
|
}
|
|
115
127
|
});
|
|
128
|
+
_Object$defineProperty(exports, "GetCallRecordingRequest", {
|
|
129
|
+
enumerable: true,
|
|
130
|
+
get: function get() {
|
|
131
|
+
return _types4.GetCallRecordingRequest;
|
|
132
|
+
}
|
|
133
|
+
});
|
|
134
|
+
_Object$defineProperty(exports, "GetRecordingsOptions", {
|
|
135
|
+
enumerable: true,
|
|
136
|
+
get: function get() {
|
|
137
|
+
return _types4.GetRecordingsOptions;
|
|
138
|
+
}
|
|
139
|
+
});
|
|
116
140
|
_Object$defineProperty(exports, "GroupType", {
|
|
117
141
|
enumerable: true,
|
|
118
142
|
get: function get() {
|
|
119
|
-
return
|
|
143
|
+
return _types6.GroupType;
|
|
120
144
|
}
|
|
121
145
|
});
|
|
122
146
|
_Object$defineProperty(exports, "ICall", {
|
|
123
147
|
enumerable: true,
|
|
124
148
|
get: function get() {
|
|
125
|
-
return
|
|
149
|
+
return _types10.ICall;
|
|
126
150
|
}
|
|
127
151
|
});
|
|
128
152
|
_Object$defineProperty(exports, "ICallHistory", {
|
|
@@ -131,10 +155,16 @@ _Object$defineProperty(exports, "ICallHistory", {
|
|
|
131
155
|
return _types3.ICallHistory;
|
|
132
156
|
}
|
|
133
157
|
});
|
|
158
|
+
_Object$defineProperty(exports, "ICallRecording", {
|
|
159
|
+
enumerable: true,
|
|
160
|
+
get: function get() {
|
|
161
|
+
return _types4.ICallRecording;
|
|
162
|
+
}
|
|
163
|
+
});
|
|
134
164
|
_Object$defineProperty(exports, "ICallSettings", {
|
|
135
165
|
enumerable: true,
|
|
136
166
|
get: function get() {
|
|
137
|
-
return
|
|
167
|
+
return _types5.ICallSettings;
|
|
138
168
|
}
|
|
139
169
|
});
|
|
140
170
|
_Object$defineProperty(exports, "ICallingClient", {
|
|
@@ -146,19 +176,25 @@ _Object$defineProperty(exports, "ICallingClient", {
|
|
|
146
176
|
_Object$defineProperty(exports, "IContacts", {
|
|
147
177
|
enumerable: true,
|
|
148
178
|
get: function get() {
|
|
149
|
-
return
|
|
179
|
+
return _types6.IContacts;
|
|
150
180
|
}
|
|
151
181
|
});
|
|
152
182
|
_Object$defineProperty(exports, "ILine", {
|
|
153
183
|
enumerable: true,
|
|
154
184
|
get: function get() {
|
|
155
|
-
return
|
|
185
|
+
return _types8.ILine;
|
|
156
186
|
}
|
|
157
187
|
});
|
|
158
188
|
_Object$defineProperty(exports, "IVoicemail", {
|
|
159
189
|
enumerable: true,
|
|
160
190
|
get: function get() {
|
|
161
|
-
return
|
|
191
|
+
return _types7.IVoicemail;
|
|
192
|
+
}
|
|
193
|
+
});
|
|
194
|
+
_Object$defineProperty(exports, "IceGatheringConfig", {
|
|
195
|
+
enumerable: true,
|
|
196
|
+
get: function get() {
|
|
197
|
+
return _types2.IceGatheringConfig;
|
|
162
198
|
}
|
|
163
199
|
});
|
|
164
200
|
_Object$defineProperty(exports, "JanusResponseEvent", {
|
|
@@ -170,19 +206,19 @@ _Object$defineProperty(exports, "JanusResponseEvent", {
|
|
|
170
206
|
_Object$defineProperty(exports, "LINE_EVENTS", {
|
|
171
207
|
enumerable: true,
|
|
172
208
|
get: function get() {
|
|
173
|
-
return
|
|
209
|
+
return _types8.LINE_EVENTS;
|
|
174
210
|
}
|
|
175
211
|
});
|
|
176
212
|
_Object$defineProperty(exports, "LINE_EVENT_KEYS", {
|
|
177
213
|
enumerable: true,
|
|
178
214
|
get: function get() {
|
|
179
|
-
return
|
|
215
|
+
return _types9.LINE_EVENT_KEYS;
|
|
180
216
|
}
|
|
181
217
|
});
|
|
182
218
|
_Object$defineProperty(exports, "LOGGER", {
|
|
183
219
|
enumerable: true,
|
|
184
220
|
get: function get() {
|
|
185
|
-
return
|
|
221
|
+
return _types11.LOGGER;
|
|
186
222
|
}
|
|
187
223
|
});
|
|
188
224
|
_Object$defineProperty(exports, "LineError", {
|
|
@@ -203,64 +239,136 @@ _Object$defineProperty(exports, "Logger", {
|
|
|
203
239
|
return _Logger.default;
|
|
204
240
|
}
|
|
205
241
|
});
|
|
242
|
+
_Object$defineProperty(exports, "MOBIUS_SOCKET_DISCONNECT_REASON", {
|
|
243
|
+
enumerable: true,
|
|
244
|
+
get: function get() {
|
|
245
|
+
return _types9.MOBIUS_SOCKET_DISCONNECT_REASON;
|
|
246
|
+
}
|
|
247
|
+
});
|
|
248
|
+
_Object$defineProperty(exports, "MobiusSocketDisconnectedEvent", {
|
|
249
|
+
enumerable: true,
|
|
250
|
+
get: function get() {
|
|
251
|
+
return _types9.MobiusSocketDisconnectedEvent;
|
|
252
|
+
}
|
|
253
|
+
});
|
|
206
254
|
_Object$defineProperty(exports, "NoiseReductionEffect", {
|
|
207
255
|
enumerable: true,
|
|
208
256
|
get: function get() {
|
|
209
257
|
return _mediaHelpers.NoiseReductionEffect;
|
|
210
258
|
}
|
|
211
259
|
});
|
|
260
|
+
_Object$defineProperty(exports, "Recording", {
|
|
261
|
+
enumerable: true,
|
|
262
|
+
get: function get() {
|
|
263
|
+
return _types4.Recording;
|
|
264
|
+
}
|
|
265
|
+
});
|
|
266
|
+
_Object$defineProperty(exports, "RecordingDeleteResponse", {
|
|
267
|
+
enumerable: true,
|
|
268
|
+
get: function get() {
|
|
269
|
+
return _types4.RecordingDeleteResponse;
|
|
270
|
+
}
|
|
271
|
+
});
|
|
272
|
+
_Object$defineProperty(exports, "RecordingListResponse", {
|
|
273
|
+
enumerable: true,
|
|
274
|
+
get: function get() {
|
|
275
|
+
return _types4.RecordingListResponse;
|
|
276
|
+
}
|
|
277
|
+
});
|
|
278
|
+
_Object$defineProperty(exports, "RecordingMetadata", {
|
|
279
|
+
enumerable: true,
|
|
280
|
+
get: function get() {
|
|
281
|
+
return _types4.RecordingMetadata;
|
|
282
|
+
}
|
|
283
|
+
});
|
|
284
|
+
_Object$defineProperty(exports, "RecordingMetadataResponse", {
|
|
285
|
+
enumerable: true,
|
|
286
|
+
get: function get() {
|
|
287
|
+
return _types4.RecordingMetadataResponse;
|
|
288
|
+
}
|
|
289
|
+
});
|
|
290
|
+
_Object$defineProperty(exports, "RecordingRequestType", {
|
|
291
|
+
enumerable: true,
|
|
292
|
+
get: function get() {
|
|
293
|
+
return _types4.RecordingRequestType;
|
|
294
|
+
}
|
|
295
|
+
});
|
|
296
|
+
_Object$defineProperty(exports, "RecordingResponse", {
|
|
297
|
+
enumerable: true,
|
|
298
|
+
get: function get() {
|
|
299
|
+
return _types4.RecordingResponse;
|
|
300
|
+
}
|
|
301
|
+
});
|
|
302
|
+
_Object$defineProperty(exports, "RecordingResponseFor", {
|
|
303
|
+
enumerable: true,
|
|
304
|
+
get: function get() {
|
|
305
|
+
return _types4.RecordingResponseFor;
|
|
306
|
+
}
|
|
307
|
+
});
|
|
308
|
+
_Object$defineProperty(exports, "RecordingStatus", {
|
|
309
|
+
enumerable: true,
|
|
310
|
+
get: function get() {
|
|
311
|
+
return _types4.RecordingStatus;
|
|
312
|
+
}
|
|
313
|
+
});
|
|
212
314
|
_Object$defineProperty(exports, "SORT", {
|
|
213
315
|
enumerable: true,
|
|
214
316
|
get: function get() {
|
|
215
|
-
return
|
|
317
|
+
return _types0.SORT;
|
|
216
318
|
}
|
|
217
319
|
});
|
|
218
320
|
_Object$defineProperty(exports, "SORT_BY", {
|
|
219
321
|
enumerable: true,
|
|
220
322
|
get: function get() {
|
|
221
|
-
return
|
|
323
|
+
return _types0.SORT_BY;
|
|
222
324
|
}
|
|
223
325
|
});
|
|
224
326
|
_Object$defineProperty(exports, "ServiceIndicator", {
|
|
225
327
|
enumerable: true,
|
|
226
328
|
get: function get() {
|
|
227
|
-
return
|
|
329
|
+
return _types0.ServiceIndicator;
|
|
228
330
|
}
|
|
229
331
|
});
|
|
230
332
|
_Object$defineProperty(exports, "SummaryInfo", {
|
|
231
333
|
enumerable: true,
|
|
232
334
|
get: function get() {
|
|
233
|
-
return
|
|
335
|
+
return _types7.SummaryInfo;
|
|
234
336
|
}
|
|
235
337
|
});
|
|
236
338
|
_Object$defineProperty(exports, "ToggleSetting", {
|
|
237
339
|
enumerable: true,
|
|
238
340
|
get: function get() {
|
|
239
|
-
return
|
|
341
|
+
return _types5.ToggleSetting;
|
|
240
342
|
}
|
|
241
343
|
});
|
|
242
344
|
_Object$defineProperty(exports, "TransferType", {
|
|
243
345
|
enumerable: true,
|
|
244
346
|
get: function get() {
|
|
245
|
-
return
|
|
347
|
+
return _types10.TransferType;
|
|
246
348
|
}
|
|
247
349
|
});
|
|
248
350
|
_Object$defineProperty(exports, "UserSession", {
|
|
249
351
|
enumerable: true,
|
|
250
352
|
get: function get() {
|
|
251
|
-
return
|
|
353
|
+
return _types9.UserSession;
|
|
252
354
|
}
|
|
253
355
|
});
|
|
254
356
|
_Object$defineProperty(exports, "VoicemailResponseEvent", {
|
|
255
357
|
enumerable: true,
|
|
256
358
|
get: function get() {
|
|
257
|
-
return
|
|
359
|
+
return _types7.VoicemailResponseEvent;
|
|
258
360
|
}
|
|
259
361
|
});
|
|
260
362
|
_Object$defineProperty(exports, "VoicemailSetting", {
|
|
261
363
|
enumerable: true,
|
|
262
364
|
get: function get() {
|
|
263
|
-
return
|
|
365
|
+
return _types5.VoicemailSetting;
|
|
366
|
+
}
|
|
367
|
+
});
|
|
368
|
+
_Object$defineProperty(exports, "WDMDevice", {
|
|
369
|
+
enumerable: true,
|
|
370
|
+
get: function get() {
|
|
371
|
+
return _types1.WDMDevice;
|
|
264
372
|
}
|
|
265
373
|
});
|
|
266
374
|
_Object$defineProperty(exports, "createCallHistoryClient", {
|
|
@@ -269,6 +377,12 @@ _Object$defineProperty(exports, "createCallHistoryClient", {
|
|
|
269
377
|
return _CallHistory.createCallHistoryClient;
|
|
270
378
|
}
|
|
271
379
|
});
|
|
380
|
+
_Object$defineProperty(exports, "createCallRecordingClient", {
|
|
381
|
+
enumerable: true,
|
|
382
|
+
get: function get() {
|
|
383
|
+
return _CallRecording.createCallRecordingClient;
|
|
384
|
+
}
|
|
385
|
+
});
|
|
272
386
|
_Object$defineProperty(exports, "createCallSettingsClient", {
|
|
273
387
|
enumerable: true,
|
|
274
388
|
get: function get() {
|
|
@@ -299,23 +413,40 @@ _Object$defineProperty(exports, "createVoicemailClient", {
|
|
|
299
413
|
return _Voicemail.createVoicemailClient;
|
|
300
414
|
}
|
|
301
415
|
});
|
|
416
|
+
_Object$defineProperty(exports, "getRemoteParty", {
|
|
417
|
+
enumerable: true,
|
|
418
|
+
get: function get() {
|
|
419
|
+
return _utils.getRemoteParty;
|
|
420
|
+
}
|
|
421
|
+
});
|
|
422
|
+
_Object$defineProperty(exports, "resolveCallingBackend", {
|
|
423
|
+
enumerable: true,
|
|
424
|
+
get: function get() {
|
|
425
|
+
return _Utils.resolveCallingBackend;
|
|
426
|
+
}
|
|
427
|
+
});
|
|
302
428
|
var _mediaHelpers = require("@webex/media-helpers");
|
|
303
429
|
var _CallSettings = require("./CallSettings/CallSettings");
|
|
304
430
|
var _ContactsClient = require("./Contacts/ContactsClient");
|
|
305
431
|
var _CallingClient = require("./CallingClient/CallingClient");
|
|
306
432
|
var _CallHistory = require("./CallHistory/CallHistory");
|
|
307
433
|
var _Voicemail = require("./Voicemail/Voicemail");
|
|
434
|
+
var _CallRecording = require("./CallRecording/CallRecording");
|
|
308
435
|
var _Logger = _interopRequireDefault(require("./Logger"));
|
|
309
436
|
var _types = require("./Errors/types");
|
|
310
437
|
var _types2 = require("./CallingClient/types");
|
|
311
438
|
var _types3 = require("./CallHistory/types");
|
|
312
|
-
var _types4 = require("./
|
|
313
|
-
var
|
|
314
|
-
var
|
|
315
|
-
var
|
|
316
|
-
var
|
|
317
|
-
var
|
|
439
|
+
var _types4 = require("./CallRecording/types");
|
|
440
|
+
var _utils = require("./CallRecording/utils");
|
|
441
|
+
var _types5 = require("./CallSettings/types");
|
|
442
|
+
var _types6 = require("./Contacts/types");
|
|
443
|
+
var _types7 = require("./Voicemail/types");
|
|
444
|
+
var _types8 = require("./CallingClient/line/types");
|
|
445
|
+
var _types9 = require("./Events/types");
|
|
446
|
+
var _types0 = require("./common/types");
|
|
447
|
+
var _Utils = require("./common/Utils");
|
|
448
|
+
var _types1 = require("./SDKConnector/types");
|
|
318
449
|
var _Errors = require("./Errors");
|
|
319
|
-
var
|
|
320
|
-
var
|
|
450
|
+
var _types10 = require("./CallingClient/calling/types");
|
|
451
|
+
var _types11 = require("./Logger/types");
|
|
321
452
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_mediaHelpers","require","_CallSettings","_ContactsClient","_CallingClient","_CallHistory","_Voicemail","_Logger","_interopRequireDefault","_types","_types2","_types3","_types4","_types5","_types6","_types7","_types8","_types9","
|
|
1
|
+
{"version":3,"names":["_mediaHelpers","require","_CallSettings","_ContactsClient","_CallingClient","_CallHistory","_Voicemail","_CallRecording","_Logger","_interopRequireDefault","_types","_types2","_types3","_types4","_utils","_types5","_types6","_types7","_types8","_types9","_types0","_Utils","_types1","_Errors","_types10","_types11"],"sources":["index.ts"],"sourcesContent":["import {NoiseReductionEffect, createMicrophoneStream} from '@webex/media-helpers';\nimport {createCallSettingsClient} from './CallSettings/CallSettings';\nimport {createContactsClient} from './Contacts/ContactsClient';\nimport {createClient} from './CallingClient/CallingClient';\nimport {createCallHistoryClient} from './CallHistory/CallHistory';\nimport {createVoicemailClient} from './Voicemail/Voicemail';\nimport {createCallRecordingClient} from './CallRecording/CallRecording';\nimport Logger from './Logger';\n\nexport {\n createClient,\n createCallHistoryClient,\n createCallSettingsClient,\n createContactsClient,\n createMicrophoneStream,\n createVoicemailClient,\n createCallRecordingClient,\n Logger,\n NoiseReductionEffect,\n};\n\nexport {ERROR_LAYER, ERROR_TYPE} from './Errors/types';\nexport {ICallingClient} from './CallingClient/types';\nexport {ICallHistory, JanusResponseEvent} from './CallHistory/types';\nexport {\n ICallRecording,\n Recording,\n RecordingListResponse,\n RecordingMetadata,\n RecordingMetadataResponse,\n RecordingResponse,\n RecordingStatus,\n RecordingDeleteResponse,\n DeleteRecordingOptions,\n GetRecordingsOptions,\n RecordingRequestType,\n GetCallRecordingRequest,\n RecordingResponseFor,\n} from './CallRecording/types';\nexport {getRemoteParty} from './CallRecording/utils';\nexport {\n CallForwardSetting,\n CallForwardAlwaysSetting,\n CallSettingResponse,\n ICallSettings,\n ToggleSetting,\n VoicemailSetting,\n} from './CallSettings/types';\nexport {Contact, ContactResponse, GroupType, IContacts} from './Contacts/types';\nexport {IVoicemail, SummaryInfo, VoicemailResponseEvent} from './Voicemail/types';\nexport {ILine, LINE_EVENTS} from './CallingClient/line/types';\nexport {\n CALLING_CLIENT_EVENT_KEYS,\n CALL_EVENT_KEYS,\n CallerIdDisplay,\n Disposition,\n LINE_EVENT_KEYS,\n COMMON_EVENT_KEYS,\n MOBIUS_SOCKET_DISCONNECT_REASON,\n MobiusSocketDisconnectedEvent,\n UserSession,\n} from './Events/types';\nexport {\n CallDetails,\n CallDirection,\n CallType,\n CALLING_BACKEND,\n DisplayInformation,\n SORT,\n SORT_BY,\n} from './common/types';\nexport {resolveCallingBackend} from './common/Utils';\nexport {WDMDevice} from './SDKConnector/types';\nexport {CallError, LineError} from './Errors';\nexport {ICall, TransferType} from './CallingClient/calling/types';\nexport {LOGGER} from './Logger/types';\nexport {LocalMicrophoneStream} from '@webex/media-helpers';\nexport {CallingClientConfig, IceGatheringConfig} from './CallingClient/types';\nexport {ServiceIndicator} from './common/types';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,aAAA,GAAAC,OAAA;AACA,IAAAC,aAAA,GAAAD,OAAA;AACA,IAAAE,eAAA,GAAAF,OAAA;AACA,IAAAG,cAAA,GAAAH,OAAA;AACA,IAAAI,YAAA,GAAAJ,OAAA;AACA,IAAAK,UAAA,GAAAL,OAAA;AACA,IAAAM,cAAA,GAAAN,OAAA;AACA,IAAAO,OAAA,GAAAC,sBAAA,CAAAR,OAAA;AAcA,IAAAS,MAAA,GAAAT,OAAA;AACA,IAAAU,OAAA,GAAAV,OAAA;AACA,IAAAW,OAAA,GAAAX,OAAA;AACA,IAAAY,OAAA,GAAAZ,OAAA;AAeA,IAAAa,MAAA,GAAAb,OAAA;AACA,IAAAc,OAAA,GAAAd,OAAA;AAQA,IAAAe,OAAA,GAAAf,OAAA;AACA,IAAAgB,OAAA,GAAAhB,OAAA;AACA,IAAAiB,OAAA,GAAAjB,OAAA;AACA,IAAAkB,OAAA,GAAAlB,OAAA;AAWA,IAAAmB,OAAA,GAAAnB,OAAA;AASA,IAAAoB,MAAA,GAAApB,OAAA;AACA,IAAAqB,OAAA,GAAArB,OAAA;AACA,IAAAsB,OAAA,GAAAtB,OAAA;AACA,IAAAuB,QAAA,GAAAvB,OAAA;AACA,IAAAwB,QAAA,GAAAxB,OAAA","ignoreList":[]}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _Object$defineProperty = require("@babel/runtime-corejs2/core-js/object/define-property");
|
|
4
|
+
_Object$defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.default = void 0;
|
|
8
|
+
/*!
|
|
9
|
+
* Copyright (c) 2015-2020 Cisco Systems, Inc. See LICENSE file.
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
var mobiusSocketConfig = {
|
|
13
|
+
wssResponseTimeout: 10000,
|
|
14
|
+
backoffTimeMax: 32000,
|
|
15
|
+
backoffTimeReset: 1000,
|
|
16
|
+
initialConnectionMaxRetries: 0,
|
|
17
|
+
maxRetries: 3,
|
|
18
|
+
forceCloseDelay: 2000,
|
|
19
|
+
dedupCacheMaxSize: 1000
|
|
20
|
+
};
|
|
21
|
+
var _default = exports.default = {
|
|
22
|
+
mobiusSocket: mobiusSocketConfig
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=config.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["mobiusSocketConfig","wssResponseTimeout","backoffTimeMax","backoffTimeReset","initialConnectionMaxRetries","maxRetries","forceCloseDelay","dedupCacheMaxSize","_default","exports","default","mobiusSocket"],"sources":["config.ts"],"sourcesContent":["/*!\n * Copyright (c) 2015-2020 Cisco Systems, Inc. See LICENSE file.\n */\n\nexport interface MobiusSocketConfig {\n /** Milliseconds to wait for websocket request/response messages, including auth. */\n wssResponseTimeout: number;\n /** Maximum milliseconds between connection attempts. */\n backoffTimeMax: number;\n /** Initial milliseconds between connection attempts. */\n backoffTimeReset: number;\n /** Maximum number of retries for the initial connect() flow before rejecting. */\n initialConnectionMaxRetries: number;\n /** Maximum number of retries for reconnect attempts. 0 means unlimited. */\n maxRetries: number;\n /** Milliseconds to wait for a close frame before forcing closure. */\n forceCloseDelay: number;\n /** Maximum eventIds retained in the dedup cache to suppress duplicate async_event messages. */\n dedupCacheMaxSize: number;\n}\n\nconst mobiusSocketConfig: MobiusSocketConfig = {\n wssResponseTimeout: 10000,\n backoffTimeMax: 32000,\n backoffTimeReset: 1000,\n initialConnectionMaxRetries: 0,\n maxRetries: 3,\n forceCloseDelay: 2000,\n dedupCacheMaxSize: 1000,\n};\n\nexport default {\n mobiusSocket: mobiusSocketConfig,\n};\n"],"mappings":";;;;;;;AAAA;AACA;AACA;;AAmBA,IAAMA,kBAAsC,GAAG;EAC7CC,kBAAkB,EAAE,KAAK;EACzBC,cAAc,EAAE,KAAK;EACrBC,gBAAgB,EAAE,IAAI;EACtBC,2BAA2B,EAAE,CAAC;EAC9BC,UAAU,EAAE,CAAC;EACbC,eAAe,EAAE,IAAI;EACrBC,iBAAiB,EAAE;AACrB,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAEa;EACbC,YAAY,EAAEX;AAChB,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _Reflect$construct = require("@babel/runtime-corejs2/core-js/reflect/construct");
|
|
4
|
+
var _Object$defineProperty = require("@babel/runtime-corejs2/core-js/object/define-property");
|
|
5
|
+
var _interopRequireDefault = require("@babel/runtime-corejs2/helpers/interopRequireDefault");
|
|
6
|
+
_Object$defineProperty(exports, "__esModule", {
|
|
7
|
+
value: true
|
|
8
|
+
});
|
|
9
|
+
exports.UnknownResponse = exports.NotAuthorized = exports.Forbidden = exports.ConnectionError = exports.BadRequest = void 0;
|
|
10
|
+
exports.createTimeoutError = createTimeoutError;
|
|
11
|
+
exports.createWssResponseError = createWssResponseError;
|
|
12
|
+
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime-corejs2/helpers/classCallCheck"));
|
|
13
|
+
var _createClass2 = _interopRequireDefault(require("@babel/runtime-corejs2/helpers/createClass"));
|
|
14
|
+
var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime-corejs2/helpers/possibleConstructorReturn"));
|
|
15
|
+
var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime-corejs2/helpers/getPrototypeOf"));
|
|
16
|
+
var _inherits2 = _interopRequireDefault(require("@babel/runtime-corejs2/helpers/inherits"));
|
|
17
|
+
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime-corejs2/helpers/defineProperty"));
|
|
18
|
+
var _common = require("@webex/common");
|
|
19
|
+
function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? _Reflect$construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); }
|
|
20
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(_Reflect$construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } /*!
|
|
21
|
+
* Copyright (c) 2015-2020 Cisco Systems, Inc. See LICENSE file.
|
|
22
|
+
*/ // @ts-expect-error `@webex/common` is still JS-only and does not ship declarations.
|
|
23
|
+
/**
|
|
24
|
+
* Exception thrown when a websocket gets closed.
|
|
25
|
+
*/
|
|
26
|
+
var ConnectionError = exports.ConnectionError = /*#__PURE__*/function (_Exception) {
|
|
27
|
+
function ConnectionError() {
|
|
28
|
+
var _this;
|
|
29
|
+
var event = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
30
|
+
(0, _classCallCheck2.default)(this, ConnectionError);
|
|
31
|
+
_this = _callSuper(this, ConnectionError, [event]);
|
|
32
|
+
(0, _defineProperty2.default)(_this, "code", void 0);
|
|
33
|
+
(0, _defineProperty2.default)(_this, "reason", void 0);
|
|
34
|
+
_this.code = event.code;
|
|
35
|
+
_this.reason = event.reason;
|
|
36
|
+
return _this;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Parses a close event and sets the code and reason properties.
|
|
41
|
+
* @param event - Socket close event to parse
|
|
42
|
+
* @returns The reason string from the event
|
|
43
|
+
*/
|
|
44
|
+
(0, _inherits2.default)(ConnectionError, _Exception);
|
|
45
|
+
return (0, _createClass2.default)(ConnectionError, [{
|
|
46
|
+
key: "parse",
|
|
47
|
+
value: function parse() {
|
|
48
|
+
var event = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
49
|
+
return event.reason;
|
|
50
|
+
}
|
|
51
|
+
}]);
|
|
52
|
+
}(_common.Exception);
|
|
53
|
+
/**
|
|
54
|
+
* Thrown for CloseCode 1005.
|
|
55
|
+
* UnknownResponse is produced by IE when we receive a 4XXX close code.
|
|
56
|
+
* This should typically be treated like a NotFound error.
|
|
57
|
+
*/
|
|
58
|
+
(0, _defineProperty2.default)(ConnectionError, "defaultMessage", 'Failed to connect to socket');
|
|
59
|
+
var UnknownResponse = exports.UnknownResponse = /*#__PURE__*/function (_ConnectionError2) {
|
|
60
|
+
// eslint-disable-next-line no-useless-constructor
|
|
61
|
+
function UnknownResponse(event) {
|
|
62
|
+
(0, _classCallCheck2.default)(this, UnknownResponse);
|
|
63
|
+
return _callSuper(this, UnknownResponse, [event]);
|
|
64
|
+
}
|
|
65
|
+
(0, _inherits2.default)(UnknownResponse, _ConnectionError2);
|
|
66
|
+
return (0, _createClass2.default)(UnknownResponse);
|
|
67
|
+
}(ConnectionError);
|
|
68
|
+
/**
|
|
69
|
+
* Thrown for CloseCode 4400.
|
|
70
|
+
* BadRequest usually implies an attempt to use service account credentials.
|
|
71
|
+
*/
|
|
72
|
+
(0, _defineProperty2.default)(UnknownResponse, "defaultMessage", 'UnknownResponse is produced by IE when we receive a 4XXX. You probably want to treat this like a NotFound');
|
|
73
|
+
var BadRequest = exports.BadRequest = /*#__PURE__*/function (_ConnectionError3) {
|
|
74
|
+
// eslint-disable-next-line no-useless-constructor
|
|
75
|
+
function BadRequest(event) {
|
|
76
|
+
(0, _classCallCheck2.default)(this, BadRequest);
|
|
77
|
+
return _callSuper(this, BadRequest, [event]);
|
|
78
|
+
}
|
|
79
|
+
(0, _inherits2.default)(BadRequest, _ConnectionError3);
|
|
80
|
+
return (0, _createClass2.default)(BadRequest);
|
|
81
|
+
}(ConnectionError);
|
|
82
|
+
/**
|
|
83
|
+
* Thrown for CloseCode 4401.
|
|
84
|
+
* Indicates an authorization failure requiring a token refresh.
|
|
85
|
+
*/
|
|
86
|
+
(0, _defineProperty2.default)(BadRequest, "defaultMessage", 'BadRequest usually implies an attempt to use service account credentials');
|
|
87
|
+
var NotAuthorized = exports.NotAuthorized = /*#__PURE__*/function (_ConnectionError4) {
|
|
88
|
+
// eslint-disable-next-line no-useless-constructor
|
|
89
|
+
function NotAuthorized(event) {
|
|
90
|
+
(0, _classCallCheck2.default)(this, NotAuthorized);
|
|
91
|
+
return _callSuper(this, NotAuthorized, [event]);
|
|
92
|
+
}
|
|
93
|
+
(0, _inherits2.default)(NotAuthorized, _ConnectionError4);
|
|
94
|
+
return (0, _createClass2.default)(NotAuthorized);
|
|
95
|
+
}(ConnectionError);
|
|
96
|
+
/**
|
|
97
|
+
* Thrown for CloseCode 4403.
|
|
98
|
+
* Forbidden usually implies the credentials are not entitled for Webex.
|
|
99
|
+
*/
|
|
100
|
+
(0, _defineProperty2.default)(NotAuthorized, "defaultMessage", 'Please refresh your access token');
|
|
101
|
+
var Forbidden = exports.Forbidden = /*#__PURE__*/function (_ConnectionError5) {
|
|
102
|
+
// eslint-disable-next-line no-useless-constructor
|
|
103
|
+
function Forbidden(event) {
|
|
104
|
+
(0, _classCallCheck2.default)(this, Forbidden);
|
|
105
|
+
return _callSuper(this, Forbidden, [event]);
|
|
106
|
+
}
|
|
107
|
+
(0, _inherits2.default)(Forbidden, _ConnectionError5);
|
|
108
|
+
return (0, _createClass2.default)(Forbidden);
|
|
109
|
+
}(ConnectionError);
|
|
110
|
+
/**
|
|
111
|
+
* Creates a MobiusSocketResponseError from a socket response.
|
|
112
|
+
*
|
|
113
|
+
* @param response - The socket response that triggered the error
|
|
114
|
+
* @param statusCode - HTTP-style status code for the error
|
|
115
|
+
* @param statusMessage - Human-readable status message
|
|
116
|
+
* @returns A formatted error object with response details
|
|
117
|
+
*/
|
|
118
|
+
(0, _defineProperty2.default)(Forbidden, "defaultMessage", 'Forbidden usually implies these credentials are not entitled for Webex');
|
|
119
|
+
function createWssResponseError(response, statusCode, statusMessage) {
|
|
120
|
+
var error = new Error(statusMessage || "Mobius websocket request failed with status ".concat(statusCode || 'unknown'));
|
|
121
|
+
error.name = 'MobiusSocketResponseError';
|
|
122
|
+
error.statusCode = statusCode;
|
|
123
|
+
error.statusMessage = statusMessage;
|
|
124
|
+
error.response = response;
|
|
125
|
+
error.trackingId = response === null || response === void 0 ? void 0 : response.trackingId;
|
|
126
|
+
return error;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* Creates a timeout error for a socket request that didn't receive a response.
|
|
131
|
+
*
|
|
132
|
+
* @param request - The socket request that timed out
|
|
133
|
+
* @returns A timeout error with status code 408
|
|
134
|
+
*/
|
|
135
|
+
function createTimeoutError(request) {
|
|
136
|
+
var errorPayload = {
|
|
137
|
+
type: 'response_event',
|
|
138
|
+
subtype: request.type,
|
|
139
|
+
trackingId: request.trackingId
|
|
140
|
+
};
|
|
141
|
+
return createWssResponseError(errorPayload, 408, 'Mobius websocket response timed out');
|
|
142
|
+
}
|
|
143
|
+
//# sourceMappingURL=errors.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_common","require","_callSuper","t","o","e","_getPrototypeOf2","default","_possibleConstructorReturn2","_isNativeReflectConstruct","_Reflect$construct","constructor","apply","Boolean","prototype","valueOf","call","ConnectionError","exports","_Exception","_this","event","arguments","length","undefined","_classCallCheck2","_defineProperty2","code","reason","_inherits2","_createClass2","key","value","parse","Exception","UnknownResponse","_ConnectionError2","BadRequest","_ConnectionError3","NotAuthorized","_ConnectionError4","Forbidden","_ConnectionError5","createWssResponseError","response","statusCode","statusMessage","error","Error","concat","name","trackingId","createTimeoutError","request","errorPayload","type","subtype"],"sources":["errors.ts"],"sourcesContent":["/*!\n * Copyright (c) 2015-2020 Cisco Systems, Inc. See LICENSE file.\n */\n\n// @ts-expect-error `@webex/common` is still JS-only and does not ship declarations.\nimport {Exception} from '@webex/common';\nimport type {SocketCloseEvent, SocketResponse} from './socket/types';\nimport {MobiusSocketResponseError} from './types';\n\n/**\n * Exception thrown when a websocket gets closed.\n */\nexport class ConnectionError extends Exception {\n static defaultMessage = 'Failed to connect to socket';\n\n code?: number;\n\n reason?: string;\n\n constructor(event: SocketCloseEvent = {}) {\n super(event);\n this.code = event.code;\n this.reason = event.reason;\n }\n\n /**\n * Parses a close event and sets the code and reason properties.\n * @param event - Socket close event to parse\n * @returns The reason string from the event\n */\n parse(event: SocketCloseEvent = {}) {\n return event.reason;\n }\n}\n\n/**\n * Thrown for CloseCode 1005.\n * UnknownResponse is produced by IE when we receive a 4XXX close code.\n * This should typically be treated like a NotFound error.\n */\nexport class UnknownResponse extends ConnectionError {\n static defaultMessage =\n 'UnknownResponse is produced by IE when we receive a 4XXX. You probably want to treat this like a NotFound';\n\n // eslint-disable-next-line no-useless-constructor\n constructor(event?: SocketCloseEvent) {\n super(event);\n }\n}\n\n/**\n * Thrown for CloseCode 4400.\n * BadRequest usually implies an attempt to use service account credentials.\n */\nexport class BadRequest extends ConnectionError {\n static defaultMessage =\n 'BadRequest usually implies an attempt to use service account credentials';\n\n // eslint-disable-next-line no-useless-constructor\n constructor(event?: SocketCloseEvent) {\n super(event);\n }\n}\n\n/**\n * Thrown for CloseCode 4401.\n * Indicates an authorization failure requiring a token refresh.\n */\nexport class NotAuthorized extends ConnectionError {\n static defaultMessage = 'Please refresh your access token';\n\n // eslint-disable-next-line no-useless-constructor\n constructor(event?: SocketCloseEvent) {\n super(event);\n }\n}\n\n/**\n * Thrown for CloseCode 4403.\n * Forbidden usually implies the credentials are not entitled for Webex.\n */\nexport class Forbidden extends ConnectionError {\n static defaultMessage = 'Forbidden usually implies these credentials are not entitled for Webex';\n\n // eslint-disable-next-line no-useless-constructor\n constructor(event?: SocketCloseEvent) {\n super(event);\n }\n}\n\n/**\n * Creates a MobiusSocketResponseError from a socket response.\n *\n * @param response - The socket response that triggered the error\n * @param statusCode - HTTP-style status code for the error\n * @param statusMessage - Human-readable status message\n * @returns A formatted error object with response details\n */\nexport function createWssResponseError(\n response: SocketResponse,\n statusCode?: number,\n statusMessage?: string\n): MobiusSocketResponseError {\n const error = new Error(\n statusMessage || `Mobius websocket request failed with status ${statusCode || 'unknown'}`\n ) as MobiusSocketResponseError;\n\n error.name = 'MobiusSocketResponseError';\n error.statusCode = statusCode;\n error.statusMessage = statusMessage;\n error.response = response;\n error.trackingId = response?.trackingId;\n\n return error;\n}\n\n/**\n * Creates a timeout error for a socket request that didn't receive a response.\n *\n * @param request - The socket request that timed out\n * @returns A timeout error with status code 408\n */\nexport function createTimeoutError(request: SocketResponse): MobiusSocketResponseError {\n const errorPayload = {\n type: 'response_event',\n subtype: request.type,\n trackingId: request.trackingId,\n };\n\n return createWssResponseError(errorPayload, 408, 'Mobius websocket response timed out');\n}\n"],"mappings":"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","ignoreList":[]}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _errors = require("./errors");
|
|
4
|
+
describe('Mobius socket errors', function () {
|
|
5
|
+
it('preserves close-event details assigned after super(event)', function () {
|
|
6
|
+
var error = new _errors.ConnectionError({
|
|
7
|
+
code: 3050,
|
|
8
|
+
reason: 'done (permanent)'
|
|
9
|
+
});
|
|
10
|
+
expect(error.code).toBe(3050);
|
|
11
|
+
expect(error.reason).toBe('done (permanent)');
|
|
12
|
+
expect(error.parse({
|
|
13
|
+
code: 3051,
|
|
14
|
+
reason: 'retry'
|
|
15
|
+
})).toBe('retry');
|
|
16
|
+
expect(error.code).toBe(3050);
|
|
17
|
+
expect(error.reason).toBe('done (permanent)');
|
|
18
|
+
});
|
|
19
|
+
});
|
|
20
|
+
//# sourceMappingURL=errors.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_errors","require","describe","it","error","ConnectionError","code","reason","expect","toBe","parse"],"sources":["errors.test.ts"],"sourcesContent":["import {ConnectionError} from './errors';\n\ndescribe('Mobius socket errors', () => {\n it('preserves close-event details assigned after super(event)', () => {\n const error = new ConnectionError({code: 3050, reason: 'done (permanent)'});\n\n expect(error.code).toBe(3050);\n expect(error.reason).toBe('done (permanent)');\n expect(error.parse({code: 3051, reason: 'retry'})).toBe('retry');\n expect(error.code).toBe(3050);\n expect(error.reason).toBe('done (permanent)');\n });\n});\n"],"mappings":";;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAEAC,QAAQ,CAAC,sBAAsB,EAAE,YAAM;EACrCC,EAAE,CAAC,2DAA2D,EAAE,YAAM;IACpE,IAAMC,KAAK,GAAG,IAAIC,uBAAe,CAAC;MAACC,IAAI,EAAE,IAAI;MAAEC,MAAM,EAAE;IAAkB,CAAC,CAAC;IAE3EC,MAAM,CAACJ,KAAK,CAACE,IAAI,CAAC,CAACG,IAAI,CAAC,IAAI,CAAC;IAC7BD,MAAM,CAACJ,KAAK,CAACG,MAAM,CAAC,CAACE,IAAI,CAAC,kBAAkB,CAAC;IAC7CD,MAAM,CAACJ,KAAK,CAACM,KAAK,CAAC;MAACJ,IAAI,EAAE,IAAI;MAAEC,MAAM,EAAE;IAAO,CAAC,CAAC,CAAC,CAACE,IAAI,CAAC,OAAO,CAAC;IAChED,MAAM,CAACJ,KAAK,CAACE,IAAI,CAAC,CAACG,IAAI,CAAC,IAAI,CAAC;IAC7BD,MAAM,CAACJ,KAAK,CAACG,MAAM,CAAC,CAACE,IAAI,CAAC,kBAAkB,CAAC;EAC/C,CAAC,CAAC;AACJ,CAAC,CAAC","ignoreList":[]}
|