@webex/calling 3.0.0-next.2 → 3.0.0-next.4
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/CHANGELOG.md +1403 -0
- package/README.md +74 -74
- package/dist/module/CallHistory/CallHistory.js +81 -81
- package/dist/module/CallHistory/callHistoryFixtures.js +307 -307
- package/dist/module/CallHistory/constants.js +9 -9
- package/dist/module/CallHistory/types.js +1 -1
- package/dist/module/CallSettings/CallSettings.js +65 -65
- package/dist/module/CallSettings/UcmBackendConnector.js +100 -100
- package/dist/module/CallSettings/WxCallBackendConnector.js +287 -287
- package/dist/module/CallSettings/constants.js +11 -11
- package/dist/module/CallSettings/testFixtures.js +62 -62
- package/dist/module/CallSettings/types.js +1 -1
- package/dist/module/CallingClient/CallingClient.js +248 -248
- package/dist/module/CallingClient/callRecordFixtures.js +93 -93
- package/dist/module/CallingClient/calling/CallerId/index.js +169 -169
- package/dist/module/CallingClient/calling/CallerId/types.js +1 -1
- package/dist/module/CallingClient/calling/call.js +1658 -1658
- package/dist/module/CallingClient/calling/callManager.js +284 -284
- package/dist/module/CallingClient/calling/index.js +2 -2
- package/dist/module/CallingClient/calling/types.js +53 -53
- package/dist/module/CallingClient/callingClientFixtures.js +38 -38
- package/dist/module/CallingClient/constants.js +122 -122
- package/dist/module/CallingClient/line/index.js +158 -158
- package/dist/module/CallingClient/line/types.js +15 -15
- package/dist/module/CallingClient/registration/index.js +1 -1
- package/dist/module/CallingClient/registration/register.js +507 -507
- package/dist/module/CallingClient/registration/registerFixtures.js +28 -28
- package/dist/module/CallingClient/registration/types.js +1 -1
- package/dist/module/CallingClient/types.js +1 -1
- package/dist/module/Contacts/ContactsClient.js +484 -484
- package/dist/module/Contacts/constants.js +20 -20
- package/dist/module/Contacts/contactFixtures.js +284 -284
- package/dist/module/Contacts/types.js +10 -10
- package/dist/module/Errors/catalog/CallError.js +26 -26
- package/dist/module/Errors/catalog/CallingDeviceError.js +18 -18
- package/dist/module/Errors/catalog/ExtendedError.js +10 -10
- package/dist/module/Errors/catalog/LineError.js +24 -24
- package/dist/module/Errors/index.js +2 -2
- package/dist/module/Errors/types.js +48 -48
- package/dist/module/Events/impl/index.js +19 -19
- package/dist/module/Events/types.js +83 -83
- package/dist/module/Logger/index.js +114 -114
- package/dist/module/Logger/types.js +25 -25
- package/dist/module/Metrics/index.js +232 -232
- package/dist/module/Metrics/types.js +37 -37
- package/dist/module/SDKConnector/index.js +39 -39
- package/dist/module/SDKConnector/types.js +1 -1
- package/dist/module/SDKConnector/utils.js +12 -12
- package/dist/module/Voicemail/BroadworksBackendConnector.js +291 -291
- package/dist/module/Voicemail/UcmBackendConnector.js +279 -279
- package/dist/module/Voicemail/Voicemail.js +110 -110
- package/dist/module/Voicemail/WxCallBackendConnector.js +279 -279
- package/dist/module/Voicemail/constants.js +29 -29
- package/dist/module/Voicemail/types.js +1 -1
- package/dist/module/Voicemail/voicemailFixture.js +510 -510
- package/dist/module/api.js +6 -6
- package/dist/module/common/Utils.js +802 -802
- package/dist/module/common/constants.js +41 -41
- package/dist/module/common/index.js +1 -1
- package/dist/module/common/testUtil.js +938 -938
- package/dist/module/common/types.js +57 -57
- package/dist/module/index.js +8 -8
- package/dist/types/CallHistory/CallHistory.d.ts +17 -17
- package/dist/types/CallHistory/callHistoryFixtures.d.ts +94 -94
- package/dist/types/CallHistory/constants.d.ts +9 -9
- package/dist/types/CallHistory/types.d.ts +18 -18
- package/dist/types/CallSettings/CallSettings.d.ts +19 -19
- package/dist/types/CallSettings/UcmBackendConnector.d.ts +19 -19
- package/dist/types/CallSettings/WxCallBackendConnector.d.ts +21 -21
- package/dist/types/CallSettings/constants.d.ts +11 -11
- package/dist/types/CallSettings/testFixtures.d.ts +15 -15
- package/dist/types/CallSettings/types.d.ts +107 -107
- package/dist/types/CallingClient/CallingClient.d.ts +35 -35
- package/dist/types/CallingClient/callRecordFixtures.d.ts +3 -3
- package/dist/types/CallingClient/calling/CallerId/index.d.ts +17 -17
- package/dist/types/CallingClient/calling/CallerId/types.d.ts +41 -41
- package/dist/types/CallingClient/calling/call.d.ts +96 -96
- package/dist/types/CallingClient/calling/callManager.d.ts +25 -25
- package/dist/types/CallingClient/calling/index.d.ts +2 -2
- package/dist/types/CallingClient/calling/types.d.ts +206 -206
- package/dist/types/CallingClient/callingClientFixtures.d.ts +18 -18
- package/dist/types/CallingClient/constants.d.ts +122 -122
- package/dist/types/CallingClient/line/index.d.ts +43 -43
- package/dist/types/CallingClient/line/types.d.ts +55 -55
- package/dist/types/CallingClient/registration/index.d.ts +1 -1
- package/dist/types/CallingClient/registration/register.d.ts +64 -64
- package/dist/types/CallingClient/registration/registerFixtures.d.ts +28 -28
- package/dist/types/CallingClient/registration/types.d.ts +20 -20
- package/dist/types/CallingClient/types.d.ts +29 -29
- package/dist/types/Contacts/ContactsClient.d.ts +26 -26
- package/dist/types/Contacts/constants.d.ts +19 -19
- package/dist/types/Contacts/contactFixtures.d.ts +280 -280
- package/dist/types/Contacts/types.d.ts +72 -72
- package/dist/types/Errors/catalog/CallError.d.ts +11 -11
- package/dist/types/Errors/catalog/CallingDeviceError.d.ts +10 -10
- package/dist/types/Errors/catalog/ExtendedError.d.ts +6 -6
- package/dist/types/Errors/catalog/LineError.d.ts +10 -10
- package/dist/types/Errors/index.d.ts +2 -2
- package/dist/types/Errors/types.d.ts +60 -60
- package/dist/types/Events/impl/index.d.ts +8 -8
- package/dist/types/Events/types.d.ts +288 -288
- package/dist/types/Logger/index.d.ts +12 -12
- package/dist/types/Logger/types.d.ts +25 -25
- package/dist/types/Metrics/index.d.ts +5 -5
- package/dist/types/Metrics/types.d.ts +42 -42
- package/dist/types/SDKConnector/index.d.ts +12 -12
- package/dist/types/SDKConnector/types.d.ts +128 -128
- package/dist/types/SDKConnector/utils.d.ts +5 -5
- package/dist/types/Voicemail/BroadworksBackendConnector.d.ts +27 -27
- package/dist/types/Voicemail/UcmBackendConnector.d.ts +34 -34
- package/dist/types/Voicemail/Voicemail.d.ts +27 -27
- package/dist/types/Voicemail/WxCallBackendConnector.d.ts +23 -23
- package/dist/types/Voicemail/constants.d.ts +29 -29
- package/dist/types/Voicemail/types.d.ts +133 -133
- package/dist/types/Voicemail/voicemailFixture.d.ts +417 -417
- package/dist/types/api.d.ts +16 -16
- package/dist/types/common/Utils.d.ts +34 -34
- package/dist/types/common/constants.d.ts +41 -41
- package/dist/types/common/index.d.ts +1 -1
- package/dist/types/common/testUtil.d.ts +3611 -3611
- package/dist/types/common/types.d.ts +191 -191
- package/dist/types/index.d.ts +8 -8
- package/package.json +4 -4
- package/dist/CallHistory/CallHistory.js +0 -203
- package/dist/CallHistory/CallHistory.js.map +0 -1
- package/dist/CallHistory/CallHistory.test.js +0 -133
- package/dist/CallHistory/CallHistory.test.js.map +0 -1
- package/dist/CallHistory/callHistoryFixtures.js +0 -310
- package/dist/CallHistory/callHistoryFixtures.js.map +0 -1
- package/dist/CallHistory/constants.js +0 -26
- package/dist/CallHistory/constants.js.map +0 -1
- package/dist/CallHistory/types.js +0 -7
- package/dist/CallHistory/types.js.map +0 -1
- package/dist/CallSettings/CallSettings.js +0 -276
- package/dist/CallSettings/CallSettings.js.map +0 -1
- package/dist/CallSettings/CallSettings.test.js +0 -122
- package/dist/CallSettings/CallSettings.test.js.map +0 -1
- package/dist/CallSettings/UcmBackendConnector.js +0 -217
- package/dist/CallSettings/UcmBackendConnector.js.map +0 -1
- package/dist/CallSettings/UcmBackendConnector.test.js +0 -227
- package/dist/CallSettings/UcmBackendConnector.test.js.map +0 -1
- package/dist/CallSettings/WxCallBackendConnector.js +0 -541
- package/dist/CallSettings/WxCallBackendConnector.js.map +0 -1
- package/dist/CallSettings/WxCallBackendConnector.test.js +0 -802
- package/dist/CallSettings/WxCallBackendConnector.test.js.map +0 -1
- package/dist/CallSettings/constants.js +0 -30
- package/dist/CallSettings/constants.js.map +0 -1
- package/dist/CallSettings/testFixtures.js +0 -72
- package/dist/CallSettings/testFixtures.js.map +0 -1
- package/dist/CallSettings/types.js +0 -7
- package/dist/CallSettings/types.js.map +0 -1
- package/dist/CallingClient/CallingClient.js +0 -572
- package/dist/CallingClient/CallingClient.js.map +0 -1
- package/dist/CallingClient/CallingClient.test.js +0 -931
- package/dist/CallingClient/CallingClient.test.js.map +0 -1
- package/dist/CallingClient/callRecordFixtures.js +0 -103
- package/dist/CallingClient/callRecordFixtures.js.map +0 -1
- package/dist/CallingClient/calling/CallerId/index.js +0 -287
- package/dist/CallingClient/calling/CallerId/index.js.map +0 -1
- package/dist/CallingClient/calling/CallerId/index.test.js +0 -274
- package/dist/CallingClient/calling/CallerId/index.test.js.map +0 -1
- package/dist/CallingClient/calling/CallerId/types.js +0 -7
- package/dist/CallingClient/calling/CallerId/types.js.map +0 -1
- package/dist/CallingClient/calling/call.js +0 -2995
- package/dist/CallingClient/calling/call.js.map +0 -1
- package/dist/CallingClient/calling/call.test.js +0 -2614
- package/dist/CallingClient/calling/call.test.js.map +0 -1
- package/dist/CallingClient/calling/callManager.js +0 -443
- package/dist/CallingClient/calling/callManager.js.map +0 -1
- package/dist/CallingClient/calling/callManager.test.js +0 -683
- package/dist/CallingClient/calling/callManager.test.js.map +0 -1
- package/dist/CallingClient/calling/index.js +0 -30
- package/dist/CallingClient/calling/index.js.map +0 -1
- package/dist/CallingClient/calling/types.js +0 -71
- package/dist/CallingClient/calling/types.js.map +0 -1
- package/dist/CallingClient/callingClientFixtures.js +0 -53
- package/dist/CallingClient/callingClientFixtures.js.map +0 -1
- package/dist/CallingClient/constants.js +0 -226
- package/dist/CallingClient/constants.js.map +0 -1
- package/dist/CallingClient/line/index.js +0 -312
- package/dist/CallingClient/line/index.js.map +0 -1
- package/dist/CallingClient/line/line.test.js +0 -270
- package/dist/CallingClient/line/line.test.js.map +0 -1
- package/dist/CallingClient/line/types.js +0 -25
- package/dist/CallingClient/line/types.js.map +0 -1
- package/dist/CallingClient/registration/index.js +0 -19
- package/dist/CallingClient/registration/index.js.map +0 -1
- package/dist/CallingClient/registration/register.js +0 -1295
- package/dist/CallingClient/registration/register.js.map +0 -1
- package/dist/CallingClient/registration/register.test.js +0 -838
- package/dist/CallingClient/registration/register.test.js.map +0 -1
- package/dist/CallingClient/registration/registerFixtures.js +0 -41
- package/dist/CallingClient/registration/registerFixtures.js.map +0 -1
- package/dist/CallingClient/registration/types.js +0 -7
- package/dist/CallingClient/registration/types.js.map +0 -1
- package/dist/CallingClient/types.js +0 -7
- package/dist/CallingClient/types.js.map +0 -1
- package/dist/Contacts/ContactsClient.js +0 -1139
- package/dist/Contacts/ContactsClient.js.map +0 -1
- package/dist/Contacts/ContactsClient.test.js +0 -725
- package/dist/Contacts/ContactsClient.test.js.map +0 -1
- package/dist/Contacts/constants.js +0 -36
- package/dist/Contacts/constants.js.map +0 -1
- package/dist/Contacts/contactFixtures.js +0 -340
- package/dist/Contacts/contactFixtures.js.map +0 -1
- package/dist/Contacts/types.js +0 -20
- package/dist/Contacts/types.js.map +0 -1
- package/dist/Errors/catalog/CallError.js +0 -94
- package/dist/Errors/catalog/CallError.js.map +0 -1
- package/dist/Errors/catalog/CallingDeviceError.js +0 -88
- package/dist/Errors/catalog/CallingDeviceError.js.map +0 -1
- package/dist/Errors/catalog/ExtendedError.js +0 -45
- package/dist/Errors/catalog/ExtendedError.js.map +0 -1
- package/dist/Errors/catalog/LineError.js +0 -90
- package/dist/Errors/catalog/LineError.js.map +0 -1
- package/dist/Errors/index.js +0 -21
- package/dist/Errors/index.js.map +0 -1
- package/dist/Errors/types.js +0 -62
- package/dist/Errors/types.js.map +0 -1
- package/dist/Events/impl/index.js +0 -82
- package/dist/Events/impl/index.js.map +0 -1
- package/dist/Events/types.js +0 -111
- package/dist/Events/types.js.map +0 -1
- package/dist/Logger/index.js +0 -221
- package/dist/Logger/index.js.map +0 -1
- package/dist/Logger/index.test.js +0 -62
- package/dist/Logger/index.test.js.map +0 -1
- package/dist/Logger/types.js +0 -37
- package/dist/Logger/types.js.map +0 -1
- package/dist/Metrics/index.js +0 -329
- package/dist/Metrics/index.js.map +0 -1
- package/dist/Metrics/index.test.js +0 -291
- package/dist/Metrics/index.test.js.map +0 -1
- package/dist/Metrics/types.js +0 -50
- package/dist/Metrics/types.js.map +0 -1
- package/dist/SDKConnector/index.js +0 -105
- package/dist/SDKConnector/index.js.map +0 -1
- package/dist/SDKConnector/index.test.js +0 -9
- package/dist/SDKConnector/index.test.js.map +0 -1
- package/dist/SDKConnector/types.js +0 -7
- package/dist/SDKConnector/types.js.map +0 -1
- package/dist/SDKConnector/utils.js +0 -40
- package/dist/SDKConnector/utils.js.map +0 -1
- package/dist/SDKConnector/utils.test.js +0 -9
- package/dist/SDKConnector/utils.test.js.map +0 -1
- package/dist/Voicemail/BroadworksBackendConnector.js +0 -632
- package/dist/Voicemail/BroadworksBackendConnector.js.map +0 -1
- package/dist/Voicemail/BroadworksBackendConnector.test.js +0 -733
- package/dist/Voicemail/BroadworksBackendConnector.test.js.map +0 -1
- package/dist/Voicemail/UcmBackendConnector.js +0 -566
- package/dist/Voicemail/UcmBackendConnector.js.map +0 -1
- package/dist/Voicemail/UcmBackendConnector.test.js +0 -628
- package/dist/Voicemail/UcmBackendConnector.test.js.map +0 -1
- package/dist/Voicemail/Voicemail.js +0 -378
- package/dist/Voicemail/Voicemail.js.map +0 -1
- package/dist/Voicemail/Voicemail.test.js +0 -226
- package/dist/Voicemail/Voicemail.test.js.map +0 -1
- package/dist/Voicemail/WxCallBackendConnector.js +0 -540
- package/dist/Voicemail/WxCallBackendConnector.js.map +0 -1
- package/dist/Voicemail/WxCallBackendConnector.test.js +0 -942
- package/dist/Voicemail/WxCallBackendConnector.test.js.map +0 -1
- package/dist/Voicemail/constants.js +0 -66
- package/dist/Voicemail/constants.js.map +0 -1
- package/dist/Voicemail/types.js +0 -7
- package/dist/Voicemail/types.js.map +0 -1
- package/dist/Voicemail/voicemailFixture.js +0 -559
- package/dist/Voicemail/voicemailFixture.js.map +0 -1
- package/dist/api.js +0 -134
- package/dist/api.js.map +0 -1
- package/dist/common/Utils.js +0 -1264
- package/dist/common/Utils.js.map +0 -1
- package/dist/common/Utils.test.js +0 -1227
- package/dist/common/Utils.test.js.map +0 -1
- package/dist/common/constants.js +0 -90
- package/dist/common/constants.js.map +0 -1
- package/dist/common/index.js +0 -19
- package/dist/common/index.js.map +0 -1
- package/dist/common/testUtil.js +0 -968
- package/dist/common/testUtil.js.map +0 -1
- package/dist/common/types.js +0 -75
- package/dist/common/types.js.map +0 -1
- package/dist/index.js +0 -63
- package/dist/index.js.map +0 -1
|
@@ -1,57 +1,57 @@
|
|
|
1
|
-
export var ALLOWED_SERVICES;
|
|
2
|
-
(function (ALLOWED_SERVICES) {
|
|
3
|
-
ALLOWED_SERVICES["MOBIUS"] = "mobius";
|
|
4
|
-
ALLOWED_SERVICES["JANUS"] = "janus";
|
|
5
|
-
})(ALLOWED_SERVICES || (ALLOWED_SERVICES = {}));
|
|
6
|
-
export var HTTP_METHODS;
|
|
7
|
-
(function (HTTP_METHODS) {
|
|
8
|
-
HTTP_METHODS["GET"] = "GET";
|
|
9
|
-
HTTP_METHODS["POST"] = "POST";
|
|
10
|
-
HTTP_METHODS["PATCH"] = "PATCH";
|
|
11
|
-
HTTP_METHODS["PUT"] = "PUT";
|
|
12
|
-
HTTP_METHODS["DELETE"] = "DELETE";
|
|
13
|
-
})(HTTP_METHODS || (HTTP_METHODS = {}));
|
|
14
|
-
export var MobiusStatus;
|
|
15
|
-
(function (MobiusStatus) {
|
|
16
|
-
MobiusStatus["ACTIVE"] = "active";
|
|
17
|
-
MobiusStatus["DEFAULT"] = "default";
|
|
18
|
-
})(MobiusStatus || (MobiusStatus = {}));
|
|
19
|
-
export var CALLING_BACKEND;
|
|
20
|
-
(function (CALLING_BACKEND) {
|
|
21
|
-
CALLING_BACKEND["WXC"] = "WEBEX_CALLING";
|
|
22
|
-
CALLING_BACKEND["BWRKS"] = "BROADWORKS_CALLING";
|
|
23
|
-
CALLING_BACKEND["UCM"] = "UCM_CALLING";
|
|
24
|
-
CALLING_BACKEND["INVALID"] = "Calling backend is currently not supported";
|
|
25
|
-
})(CALLING_BACKEND || (CALLING_BACKEND = {}));
|
|
26
|
-
export var CallType;
|
|
27
|
-
(function (CallType) {
|
|
28
|
-
CallType["URI"] = "uri";
|
|
29
|
-
CallType["TEL"] = "tel";
|
|
30
|
-
})(CallType || (CallType = {}));
|
|
31
|
-
export var CallDirection;
|
|
32
|
-
(function (CallDirection) {
|
|
33
|
-
CallDirection["INBOUND"] = "inbound";
|
|
34
|
-
CallDirection["OUTBOUND"] = "outbound";
|
|
35
|
-
})(CallDirection || (CallDirection = {}));
|
|
36
|
-
export var SORT;
|
|
37
|
-
(function (SORT) {
|
|
38
|
-
SORT["ASC"] = "ASC";
|
|
39
|
-
SORT["DESC"] = "DESC";
|
|
40
|
-
SORT["DEFAULT"] = "DESC";
|
|
41
|
-
})(SORT || (SORT = {}));
|
|
42
|
-
export var SORT_BY;
|
|
43
|
-
(function (SORT_BY) {
|
|
44
|
-
SORT_BY["END_TIME"] = "endTime";
|
|
45
|
-
SORT_BY["DEFAULT"] = "endTime";
|
|
46
|
-
SORT_BY["START_TIME"] = "startTime";
|
|
47
|
-
})(SORT_BY || (SORT_BY = {}));
|
|
48
|
-
export var ServiceIndicator;
|
|
49
|
-
(function (ServiceIndicator) {
|
|
50
|
-
ServiceIndicator["CALLING"] = "calling";
|
|
51
|
-
ServiceIndicator["CONTACT_CENTER"] = "contactcenter";
|
|
52
|
-
})(ServiceIndicator || (ServiceIndicator = {}));
|
|
53
|
-
export var DecodeType;
|
|
54
|
-
(function (DecodeType) {
|
|
55
|
-
DecodeType["PEOPLE"] = "PEOPLE";
|
|
56
|
-
DecodeType["ORGANIZATION"] = "ORGANIZATION";
|
|
57
|
-
})(DecodeType || (DecodeType = {}));
|
|
1
|
+
export var ALLOWED_SERVICES;
|
|
2
|
+
(function (ALLOWED_SERVICES) {
|
|
3
|
+
ALLOWED_SERVICES["MOBIUS"] = "mobius";
|
|
4
|
+
ALLOWED_SERVICES["JANUS"] = "janus";
|
|
5
|
+
})(ALLOWED_SERVICES || (ALLOWED_SERVICES = {}));
|
|
6
|
+
export var HTTP_METHODS;
|
|
7
|
+
(function (HTTP_METHODS) {
|
|
8
|
+
HTTP_METHODS["GET"] = "GET";
|
|
9
|
+
HTTP_METHODS["POST"] = "POST";
|
|
10
|
+
HTTP_METHODS["PATCH"] = "PATCH";
|
|
11
|
+
HTTP_METHODS["PUT"] = "PUT";
|
|
12
|
+
HTTP_METHODS["DELETE"] = "DELETE";
|
|
13
|
+
})(HTTP_METHODS || (HTTP_METHODS = {}));
|
|
14
|
+
export var MobiusStatus;
|
|
15
|
+
(function (MobiusStatus) {
|
|
16
|
+
MobiusStatus["ACTIVE"] = "active";
|
|
17
|
+
MobiusStatus["DEFAULT"] = "default";
|
|
18
|
+
})(MobiusStatus || (MobiusStatus = {}));
|
|
19
|
+
export var CALLING_BACKEND;
|
|
20
|
+
(function (CALLING_BACKEND) {
|
|
21
|
+
CALLING_BACKEND["WXC"] = "WEBEX_CALLING";
|
|
22
|
+
CALLING_BACKEND["BWRKS"] = "BROADWORKS_CALLING";
|
|
23
|
+
CALLING_BACKEND["UCM"] = "UCM_CALLING";
|
|
24
|
+
CALLING_BACKEND["INVALID"] = "Calling backend is currently not supported";
|
|
25
|
+
})(CALLING_BACKEND || (CALLING_BACKEND = {}));
|
|
26
|
+
export var CallType;
|
|
27
|
+
(function (CallType) {
|
|
28
|
+
CallType["URI"] = "uri";
|
|
29
|
+
CallType["TEL"] = "tel";
|
|
30
|
+
})(CallType || (CallType = {}));
|
|
31
|
+
export var CallDirection;
|
|
32
|
+
(function (CallDirection) {
|
|
33
|
+
CallDirection["INBOUND"] = "inbound";
|
|
34
|
+
CallDirection["OUTBOUND"] = "outbound";
|
|
35
|
+
})(CallDirection || (CallDirection = {}));
|
|
36
|
+
export var SORT;
|
|
37
|
+
(function (SORT) {
|
|
38
|
+
SORT["ASC"] = "ASC";
|
|
39
|
+
SORT["DESC"] = "DESC";
|
|
40
|
+
SORT["DEFAULT"] = "DESC";
|
|
41
|
+
})(SORT || (SORT = {}));
|
|
42
|
+
export var SORT_BY;
|
|
43
|
+
(function (SORT_BY) {
|
|
44
|
+
SORT_BY["END_TIME"] = "endTime";
|
|
45
|
+
SORT_BY["DEFAULT"] = "endTime";
|
|
46
|
+
SORT_BY["START_TIME"] = "startTime";
|
|
47
|
+
})(SORT_BY || (SORT_BY = {}));
|
|
48
|
+
export var ServiceIndicator;
|
|
49
|
+
(function (ServiceIndicator) {
|
|
50
|
+
ServiceIndicator["CALLING"] = "calling";
|
|
51
|
+
ServiceIndicator["CONTACT_CENTER"] = "contactcenter";
|
|
52
|
+
})(ServiceIndicator || (ServiceIndicator = {}));
|
|
53
|
+
export var DecodeType;
|
|
54
|
+
(function (DecodeType) {
|
|
55
|
+
DecodeType["PEOPLE"] = "PEOPLE";
|
|
56
|
+
DecodeType["ORGANIZATION"] = "ORGANIZATION";
|
|
57
|
+
})(DecodeType || (DecodeType = {}));
|
package/dist/module/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { NoiseReductionEffect, createMicrophoneStream } from '@webex/media-helpers';
|
|
2
|
-
import { createCallSettingsClient } from './CallSettings/CallSettings';
|
|
3
|
-
import { createContactsClient } from './Contacts/ContactsClient';
|
|
4
|
-
import { createClient } from './CallingClient/CallingClient';
|
|
5
|
-
import { createCallHistoryClient } from './CallHistory/CallHistory';
|
|
6
|
-
import { createVoicemailClient } from './Voicemail/Voicemail';
|
|
7
|
-
import Logger from './Logger';
|
|
8
|
-
export { createClient, createCallHistoryClient, createCallSettingsClient, createContactsClient, createMicrophoneStream, createVoicemailClient, Logger, NoiseReductionEffect, };
|
|
1
|
+
import { NoiseReductionEffect, createMicrophoneStream } from '@webex/media-helpers';
|
|
2
|
+
import { createCallSettingsClient } from './CallSettings/CallSettings';
|
|
3
|
+
import { createContactsClient } from './Contacts/ContactsClient';
|
|
4
|
+
import { createClient } from './CallingClient/CallingClient';
|
|
5
|
+
import { createCallHistoryClient } from './CallHistory/CallHistory';
|
|
6
|
+
import { createVoicemailClient } from './Voicemail/Voicemail';
|
|
7
|
+
import Logger from './Logger';
|
|
8
|
+
export { createClient, createCallHistoryClient, createCallSettingsClient, createContactsClient, createMicrophoneStream, createVoicemailClient, Logger, NoiseReductionEffect, };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { WebexSDK } from '../SDKConnector/types';
|
|
2
|
-
import { SORT, SORT_BY } from '../common/types';
|
|
3
|
-
import { ICallHistory, JanusResponseEvent, LoggerInterface } from './types';
|
|
4
|
-
import { CallHistoryEventTypes } from '../Events/types';
|
|
5
|
-
import { Eventing } from '../Events/impl';
|
|
6
|
-
export declare class CallHistory extends Eventing<CallHistoryEventTypes> implements ICallHistory {
|
|
7
|
-
private sdkConnector;
|
|
8
|
-
private webex;
|
|
9
|
-
private janusUrl;
|
|
10
|
-
private fromDate;
|
|
11
|
-
private loggerContext;
|
|
12
|
-
private userSessions;
|
|
13
|
-
constructor(webex: WebexSDK, logger: LoggerInterface);
|
|
14
|
-
getCallHistoryData(days?: number, limit?: number, sort?: SORT, sortBy?: SORT_BY): Promise<JanusResponseEvent>;
|
|
15
|
-
private registerSessionsListener;
|
|
16
|
-
}
|
|
17
|
-
export declare const createCallHistoryClient: (webex: WebexSDK, logger: LoggerInterface) => ICallHistory;
|
|
1
|
+
import { WebexSDK } from '../SDKConnector/types';
|
|
2
|
+
import { SORT, SORT_BY } from '../common/types';
|
|
3
|
+
import { ICallHistory, JanusResponseEvent, LoggerInterface } from './types';
|
|
4
|
+
import { CallHistoryEventTypes } from '../Events/types';
|
|
5
|
+
import { Eventing } from '../Events/impl';
|
|
6
|
+
export declare class CallHistory extends Eventing<CallHistoryEventTypes> implements ICallHistory {
|
|
7
|
+
private sdkConnector;
|
|
8
|
+
private webex;
|
|
9
|
+
private janusUrl;
|
|
10
|
+
private fromDate;
|
|
11
|
+
private loggerContext;
|
|
12
|
+
private userSessions;
|
|
13
|
+
constructor(webex: WebexSDK, logger: LoggerInterface);
|
|
14
|
+
getCallHistoryData(days?: number, limit?: number, sort?: SORT, sortBy?: SORT_BY): Promise<JanusResponseEvent>;
|
|
15
|
+
private registerSessionsListener;
|
|
16
|
+
}
|
|
17
|
+
export declare const createCallHistoryClient: (webex: WebexSDK, logger: LoggerInterface) => ICallHistory;
|
|
18
18
|
//# sourceMappingURL=CallHistory.d.ts.map
|
|
@@ -1,95 +1,95 @@
|
|
|
1
|
-
import { CallSessionEvent } from '../Events/types';
|
|
2
|
-
export declare const sortedCallHistory: {
|
|
3
|
-
body: {
|
|
4
|
-
statusCode: number;
|
|
5
|
-
userSessions: {
|
|
6
|
-
id: string;
|
|
7
|
-
durationSecs: number;
|
|
8
|
-
self: {
|
|
9
|
-
id: string;
|
|
10
|
-
name: string;
|
|
11
|
-
incomingCallProtocols: never[];
|
|
12
|
-
callbackInfo: {
|
|
13
|
-
callbackAddress: string;
|
|
14
|
-
callbackType: string;
|
|
15
|
-
};
|
|
16
|
-
lookUpInfo: {
|
|
17
|
-
lookupLink: string;
|
|
18
|
-
type: string;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
url: string;
|
|
22
|
-
sessionId: string;
|
|
23
|
-
sessionType: string;
|
|
24
|
-
startTime: string;
|
|
25
|
-
endTime: string;
|
|
26
|
-
direction: string;
|
|
27
|
-
disposition: string;
|
|
28
|
-
other: {
|
|
29
|
-
id: string;
|
|
30
|
-
name: string;
|
|
31
|
-
isPrivate: boolean;
|
|
32
|
-
callbackAddress: string;
|
|
33
|
-
};
|
|
34
|
-
durationSeconds: number;
|
|
35
|
-
joinedDurationSeconds: number;
|
|
36
|
-
participantCount: number;
|
|
37
|
-
links: {
|
|
38
|
-
locusUrl: string;
|
|
39
|
-
conversationUrl: string;
|
|
40
|
-
callbackAddress: string;
|
|
41
|
-
};
|
|
42
|
-
isDeleted: boolean;
|
|
43
|
-
isPMR: boolean;
|
|
44
|
-
correlationIds: string[];
|
|
45
|
-
}[];
|
|
46
|
-
};
|
|
47
|
-
};
|
|
48
|
-
export declare const mockCallHistoryBody: {
|
|
49
|
-
body: {
|
|
50
|
-
statusCode: number;
|
|
51
|
-
userSessions: {
|
|
52
|
-
id: string;
|
|
53
|
-
durationSecs: number;
|
|
54
|
-
self: {
|
|
55
|
-
id: string;
|
|
56
|
-
name: string;
|
|
57
|
-
incomingCallProtocols: never[];
|
|
58
|
-
callbackInfo: {
|
|
59
|
-
callbackAddress: string;
|
|
60
|
-
callbackType: string;
|
|
61
|
-
};
|
|
62
|
-
lookUpInfo: {
|
|
63
|
-
lookupLink: string;
|
|
64
|
-
type: string;
|
|
65
|
-
};
|
|
66
|
-
};
|
|
67
|
-
url: string;
|
|
68
|
-
sessionId: string;
|
|
69
|
-
sessionType: string;
|
|
70
|
-
startTime: string;
|
|
71
|
-
endTime: string;
|
|
72
|
-
direction: string;
|
|
73
|
-
disposition: string;
|
|
74
|
-
other: {
|
|
75
|
-
id: string;
|
|
76
|
-
name: string;
|
|
77
|
-
isPrivate: boolean;
|
|
78
|
-
callbackAddress: string;
|
|
79
|
-
};
|
|
80
|
-
durationSeconds: number;
|
|
81
|
-
joinedDurationSeconds: number;
|
|
82
|
-
participantCount: number;
|
|
83
|
-
links: {
|
|
84
|
-
locusUrl: string;
|
|
85
|
-
conversationUrl: string;
|
|
86
|
-
callbackAddress: string;
|
|
87
|
-
};
|
|
88
|
-
isDeleted: boolean;
|
|
89
|
-
isPMR: boolean;
|
|
90
|
-
correlationIds: string[];
|
|
91
|
-
}[];
|
|
92
|
-
};
|
|
93
|
-
};
|
|
94
|
-
export declare const MOCK_SESSION_EVENT: CallSessionEvent;
|
|
1
|
+
import { CallSessionEvent } from '../Events/types';
|
|
2
|
+
export declare const sortedCallHistory: {
|
|
3
|
+
body: {
|
|
4
|
+
statusCode: number;
|
|
5
|
+
userSessions: {
|
|
6
|
+
id: string;
|
|
7
|
+
durationSecs: number;
|
|
8
|
+
self: {
|
|
9
|
+
id: string;
|
|
10
|
+
name: string;
|
|
11
|
+
incomingCallProtocols: never[];
|
|
12
|
+
callbackInfo: {
|
|
13
|
+
callbackAddress: string;
|
|
14
|
+
callbackType: string;
|
|
15
|
+
};
|
|
16
|
+
lookUpInfo: {
|
|
17
|
+
lookupLink: string;
|
|
18
|
+
type: string;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
url: string;
|
|
22
|
+
sessionId: string;
|
|
23
|
+
sessionType: string;
|
|
24
|
+
startTime: string;
|
|
25
|
+
endTime: string;
|
|
26
|
+
direction: string;
|
|
27
|
+
disposition: string;
|
|
28
|
+
other: {
|
|
29
|
+
id: string;
|
|
30
|
+
name: string;
|
|
31
|
+
isPrivate: boolean;
|
|
32
|
+
callbackAddress: string;
|
|
33
|
+
};
|
|
34
|
+
durationSeconds: number;
|
|
35
|
+
joinedDurationSeconds: number;
|
|
36
|
+
participantCount: number;
|
|
37
|
+
links: {
|
|
38
|
+
locusUrl: string;
|
|
39
|
+
conversationUrl: string;
|
|
40
|
+
callbackAddress: string;
|
|
41
|
+
};
|
|
42
|
+
isDeleted: boolean;
|
|
43
|
+
isPMR: boolean;
|
|
44
|
+
correlationIds: string[];
|
|
45
|
+
}[];
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
export declare const mockCallHistoryBody: {
|
|
49
|
+
body: {
|
|
50
|
+
statusCode: number;
|
|
51
|
+
userSessions: {
|
|
52
|
+
id: string;
|
|
53
|
+
durationSecs: number;
|
|
54
|
+
self: {
|
|
55
|
+
id: string;
|
|
56
|
+
name: string;
|
|
57
|
+
incomingCallProtocols: never[];
|
|
58
|
+
callbackInfo: {
|
|
59
|
+
callbackAddress: string;
|
|
60
|
+
callbackType: string;
|
|
61
|
+
};
|
|
62
|
+
lookUpInfo: {
|
|
63
|
+
lookupLink: string;
|
|
64
|
+
type: string;
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
url: string;
|
|
68
|
+
sessionId: string;
|
|
69
|
+
sessionType: string;
|
|
70
|
+
startTime: string;
|
|
71
|
+
endTime: string;
|
|
72
|
+
direction: string;
|
|
73
|
+
disposition: string;
|
|
74
|
+
other: {
|
|
75
|
+
id: string;
|
|
76
|
+
name: string;
|
|
77
|
+
isPrivate: boolean;
|
|
78
|
+
callbackAddress: string;
|
|
79
|
+
};
|
|
80
|
+
durationSeconds: number;
|
|
81
|
+
joinedDurationSeconds: number;
|
|
82
|
+
participantCount: number;
|
|
83
|
+
links: {
|
|
84
|
+
locusUrl: string;
|
|
85
|
+
conversationUrl: string;
|
|
86
|
+
callbackAddress: string;
|
|
87
|
+
};
|
|
88
|
+
isDeleted: boolean;
|
|
89
|
+
isPMR: boolean;
|
|
90
|
+
correlationIds: string[];
|
|
91
|
+
}[];
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
export declare const MOCK_SESSION_EVENT: CallSessionEvent;
|
|
95
95
|
//# sourceMappingURL=callHistoryFixtures.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export declare const CALL_HISTORY_FILE = "CallHistory";
|
|
2
|
-
export declare const FROM_DATE = "?from";
|
|
3
|
-
export declare const HISTORY = "history";
|
|
4
|
-
export declare const LIMIT = 50;
|
|
5
|
-
export declare const NUMBER_OF_DAYS = 10;
|
|
6
|
-
export declare const RESPONSE_MESSAGE = "responseMessage";
|
|
7
|
-
export declare const SUCCESS_MESSAGE = "SUCCESS";
|
|
8
|
-
export declare const STATUS_CODE = "statusCode";
|
|
9
|
-
export declare const USER_SESSIONS = "userSessions";
|
|
1
|
+
export declare const CALL_HISTORY_FILE = "CallHistory";
|
|
2
|
+
export declare const FROM_DATE = "?from";
|
|
3
|
+
export declare const HISTORY = "history";
|
|
4
|
+
export declare const LIMIT = 50;
|
|
5
|
+
export declare const NUMBER_OF_DAYS = 10;
|
|
6
|
+
export declare const RESPONSE_MESSAGE = "responseMessage";
|
|
7
|
+
export declare const SUCCESS_MESSAGE = "SUCCESS";
|
|
8
|
+
export declare const STATUS_CODE = "statusCode";
|
|
9
|
+
export declare const USER_SESSIONS = "userSessions";
|
|
10
10
|
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { Eventing } from '../Events/impl';
|
|
2
|
-
import { CallHistoryEventTypes, UserSession } from '../Events/types';
|
|
3
|
-
import { LOGGER } from '../Logger/types';
|
|
4
|
-
import { SORT, SORT_BY } from '../common/types';
|
|
5
|
-
export interface LoggerInterface {
|
|
6
|
-
level: LOGGER;
|
|
7
|
-
}
|
|
8
|
-
export type JanusResponseEvent = {
|
|
9
|
-
statusCode: number;
|
|
10
|
-
data: {
|
|
11
|
-
userSessions?: UserSession[];
|
|
12
|
-
error?: string;
|
|
13
|
-
};
|
|
14
|
-
message: string | null;
|
|
15
|
-
};
|
|
16
|
-
export interface ICallHistory extends Eventing<CallHistoryEventTypes> {
|
|
17
|
-
getCallHistoryData(days: number, limit: number, sort: SORT, sortBy: SORT_BY): Promise<JanusResponseEvent>;
|
|
18
|
-
}
|
|
1
|
+
import { Eventing } from '../Events/impl';
|
|
2
|
+
import { CallHistoryEventTypes, UserSession } from '../Events/types';
|
|
3
|
+
import { LOGGER } from '../Logger/types';
|
|
4
|
+
import { SORT, SORT_BY } from '../common/types';
|
|
5
|
+
export interface LoggerInterface {
|
|
6
|
+
level: LOGGER;
|
|
7
|
+
}
|
|
8
|
+
export type JanusResponseEvent = {
|
|
9
|
+
statusCode: number;
|
|
10
|
+
data: {
|
|
11
|
+
userSessions?: UserSession[];
|
|
12
|
+
error?: string;
|
|
13
|
+
};
|
|
14
|
+
message: string | null;
|
|
15
|
+
};
|
|
16
|
+
export interface ICallHistory extends Eventing<CallHistoryEventTypes> {
|
|
17
|
+
getCallHistoryData(days: number, limit: number, sort: SORT, sortBy: SORT_BY): Promise<JanusResponseEvent>;
|
|
18
|
+
}
|
|
19
19
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { WebexSDK } from '../SDKConnector/types';
|
|
2
|
-
import { ICallSettings, LoggerInterface, CallForwardSetting, CallSettingResponse, VoicemailSetting } from './types';
|
|
3
|
-
export declare class CallSettings implements ICallSettings {
|
|
4
|
-
private sdkConnector;
|
|
5
|
-
private webex;
|
|
6
|
-
private callingBackend;
|
|
7
|
-
private backendConnector;
|
|
8
|
-
constructor(webex: WebexSDK, logger: LoggerInterface, useProdWebexApis?: boolean);
|
|
9
|
-
private initializeBackendConnector;
|
|
10
|
-
getCallWaitingSetting(): Promise<CallSettingResponse>;
|
|
11
|
-
getDoNotDisturbSetting(): Promise<CallSettingResponse>;
|
|
12
|
-
setDoNotDisturbSetting(enabled: boolean): Promise<CallSettingResponse>;
|
|
13
|
-
getCallForwardSetting(): Promise<CallSettingResponse>;
|
|
14
|
-
setCallForwardSetting(callForwardingRequest: CallForwardSetting): Promise<CallSettingResponse>;
|
|
15
|
-
getVoicemailSetting(): Promise<CallSettingResponse>;
|
|
16
|
-
setVoicemailSetting(voicemailRequest: VoicemailSetting): Promise<CallSettingResponse>;
|
|
17
|
-
getCallForwardAlwaysSetting(directoryNumber?: string): Promise<CallSettingResponse>;
|
|
18
|
-
}
|
|
19
|
-
export declare const createCallSettingsClient: (webex: WebexSDK, logger: LoggerInterface, useProdWebexApis?: boolean) => ICallSettings;
|
|
1
|
+
import { WebexSDK } from '../SDKConnector/types';
|
|
2
|
+
import { ICallSettings, LoggerInterface, CallForwardSetting, CallSettingResponse, VoicemailSetting } from './types';
|
|
3
|
+
export declare class CallSettings implements ICallSettings {
|
|
4
|
+
private sdkConnector;
|
|
5
|
+
private webex;
|
|
6
|
+
private callingBackend;
|
|
7
|
+
private backendConnector;
|
|
8
|
+
constructor(webex: WebexSDK, logger: LoggerInterface, useProdWebexApis?: boolean);
|
|
9
|
+
private initializeBackendConnector;
|
|
10
|
+
getCallWaitingSetting(): Promise<CallSettingResponse>;
|
|
11
|
+
getDoNotDisturbSetting(): Promise<CallSettingResponse>;
|
|
12
|
+
setDoNotDisturbSetting(enabled: boolean): Promise<CallSettingResponse>;
|
|
13
|
+
getCallForwardSetting(): Promise<CallSettingResponse>;
|
|
14
|
+
setCallForwardSetting(callForwardingRequest: CallForwardSetting): Promise<CallSettingResponse>;
|
|
15
|
+
getVoicemailSetting(): Promise<CallSettingResponse>;
|
|
16
|
+
setVoicemailSetting(voicemailRequest: VoicemailSetting): Promise<CallSettingResponse>;
|
|
17
|
+
getCallForwardAlwaysSetting(directoryNumber?: string): Promise<CallSettingResponse>;
|
|
18
|
+
}
|
|
19
|
+
export declare const createCallSettingsClient: (webex: WebexSDK, logger: LoggerInterface, useProdWebexApis?: boolean) => ICallSettings;
|
|
20
20
|
//# sourceMappingURL=CallSettings.d.ts.map
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { WebexSDK } from '../SDKConnector/types';
|
|
2
|
-
import { LoggerInterface, CallSettingResponse, IUcmBackendConnector } from './types';
|
|
3
|
-
export declare class UcmBackendConnector implements IUcmBackendConnector {
|
|
4
|
-
private sdkConnector;
|
|
5
|
-
private webex;
|
|
6
|
-
private userId;
|
|
7
|
-
private orgId;
|
|
8
|
-
private useProdWebexApis;
|
|
9
|
-
constructor(webex: WebexSDK, logger: LoggerInterface, useProdWebexApis?: boolean);
|
|
10
|
-
getCallWaitingSetting(): Promise<CallSettingResponse>;
|
|
11
|
-
getDoNotDisturbSetting(): Promise<CallSettingResponse>;
|
|
12
|
-
setDoNotDisturbSetting(): Promise<CallSettingResponse>;
|
|
13
|
-
getCallForwardSetting(): Promise<CallSettingResponse>;
|
|
14
|
-
setCallForwardSetting(): Promise<CallSettingResponse>;
|
|
15
|
-
getVoicemailSetting(): Promise<CallSettingResponse>;
|
|
16
|
-
setVoicemailSetting(): Promise<CallSettingResponse>;
|
|
17
|
-
private getMethodNotSupportedResponse;
|
|
18
|
-
getCallForwardAlwaysSetting(directoryNumber?: string): Promise<CallSettingResponse>;
|
|
19
|
-
}
|
|
1
|
+
import { WebexSDK } from '../SDKConnector/types';
|
|
2
|
+
import { LoggerInterface, CallSettingResponse, IUcmBackendConnector } from './types';
|
|
3
|
+
export declare class UcmBackendConnector implements IUcmBackendConnector {
|
|
4
|
+
private sdkConnector;
|
|
5
|
+
private webex;
|
|
6
|
+
private userId;
|
|
7
|
+
private orgId;
|
|
8
|
+
private useProdWebexApis;
|
|
9
|
+
constructor(webex: WebexSDK, logger: LoggerInterface, useProdWebexApis?: boolean);
|
|
10
|
+
getCallWaitingSetting(): Promise<CallSettingResponse>;
|
|
11
|
+
getDoNotDisturbSetting(): Promise<CallSettingResponse>;
|
|
12
|
+
setDoNotDisturbSetting(): Promise<CallSettingResponse>;
|
|
13
|
+
getCallForwardSetting(): Promise<CallSettingResponse>;
|
|
14
|
+
setCallForwardSetting(): Promise<CallSettingResponse>;
|
|
15
|
+
getVoicemailSetting(): Promise<CallSettingResponse>;
|
|
16
|
+
setVoicemailSetting(): Promise<CallSettingResponse>;
|
|
17
|
+
private getMethodNotSupportedResponse;
|
|
18
|
+
getCallForwardAlwaysSetting(directoryNumber?: string): Promise<CallSettingResponse>;
|
|
19
|
+
}
|
|
20
20
|
//# sourceMappingURL=UcmBackendConnector.d.ts.map
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { WebexSDK } from '../SDKConnector/types';
|
|
2
|
-
import { LoggerInterface, CallForwardSetting, CallSettingResponse, VoicemailSetting, IWxCallBackendConnector } from './types';
|
|
3
|
-
export declare class WxCallBackendConnector implements IWxCallBackendConnector {
|
|
4
|
-
private sdkConnector;
|
|
5
|
-
private webex;
|
|
6
|
-
private userId;
|
|
7
|
-
private personId;
|
|
8
|
-
private orgId;
|
|
9
|
-
private xsiEndpoint;
|
|
10
|
-
private hydraEndpoint;
|
|
11
|
-
private VOICEMAIL;
|
|
12
|
-
constructor(webex: WebexSDK, logger: LoggerInterface);
|
|
13
|
-
getCallWaitingSetting(): Promise<CallSettingResponse>;
|
|
14
|
-
getDoNotDisturbSetting(): Promise<CallSettingResponse>;
|
|
15
|
-
setDoNotDisturbSetting(enabled: boolean): Promise<CallSettingResponse>;
|
|
16
|
-
getCallForwardSetting(): Promise<CallSettingResponse>;
|
|
17
|
-
setCallForwardSetting(callForwardingRequest: CallForwardSetting): Promise<CallSettingResponse>;
|
|
18
|
-
getVoicemailSetting(): Promise<CallSettingResponse>;
|
|
19
|
-
setVoicemailSetting(voicemailRequest: VoicemailSetting): Promise<CallSettingResponse>;
|
|
20
|
-
getCallForwardAlwaysSetting(): Promise<CallSettingResponse>;
|
|
21
|
-
}
|
|
1
|
+
import { WebexSDK } from '../SDKConnector/types';
|
|
2
|
+
import { LoggerInterface, CallForwardSetting, CallSettingResponse, VoicemailSetting, IWxCallBackendConnector } from './types';
|
|
3
|
+
export declare class WxCallBackendConnector implements IWxCallBackendConnector {
|
|
4
|
+
private sdkConnector;
|
|
5
|
+
private webex;
|
|
6
|
+
private userId;
|
|
7
|
+
private personId;
|
|
8
|
+
private orgId;
|
|
9
|
+
private xsiEndpoint;
|
|
10
|
+
private hydraEndpoint;
|
|
11
|
+
private VOICEMAIL;
|
|
12
|
+
constructor(webex: WebexSDK, logger: LoggerInterface);
|
|
13
|
+
getCallWaitingSetting(): Promise<CallSettingResponse>;
|
|
14
|
+
getDoNotDisturbSetting(): Promise<CallSettingResponse>;
|
|
15
|
+
setDoNotDisturbSetting(enabled: boolean): Promise<CallSettingResponse>;
|
|
16
|
+
getCallForwardSetting(): Promise<CallSettingResponse>;
|
|
17
|
+
setCallForwardSetting(callForwardingRequest: CallForwardSetting): Promise<CallSettingResponse>;
|
|
18
|
+
getVoicemailSetting(): Promise<CallSettingResponse>;
|
|
19
|
+
setVoicemailSetting(voicemailRequest: VoicemailSetting): Promise<CallSettingResponse>;
|
|
20
|
+
getCallForwardAlwaysSetting(): Promise<CallSettingResponse>;
|
|
21
|
+
}
|
|
22
22
|
//# sourceMappingURL=WxCallBackendConnector.d.ts.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export declare const CALL_SETTINGS_FILE = "CallSettings";
|
|
2
|
-
export declare const PEOPLE_ENDPOINT = "people";
|
|
3
|
-
export declare const USER_ENDPOINT = "user";
|
|
4
|
-
export declare const ORG_ENDPOINT = "orgId";
|
|
5
|
-
export declare const DND_ENDPOINT = "features/doNotDisturb";
|
|
6
|
-
export declare const CF_ENDPOINT = "features/callForwarding";
|
|
7
|
-
export declare const VM_ENDPOINT = "features/voicemail";
|
|
8
|
-
export declare const CALL_WAITING_ENDPOINT = "CallWaiting";
|
|
9
|
-
export declare const XSI_VERSION = "v2.0";
|
|
10
|
-
export declare const WEBEX_APIS_INT_URL = "https://integration.webexapis.com/v1/uc/config";
|
|
11
|
-
export declare const WEBEX_APIS_PROD_URL = "https://webexapis.com/v1/uc/config";
|
|
1
|
+
export declare const CALL_SETTINGS_FILE = "CallSettings";
|
|
2
|
+
export declare const PEOPLE_ENDPOINT = "people";
|
|
3
|
+
export declare const USER_ENDPOINT = "user";
|
|
4
|
+
export declare const ORG_ENDPOINT = "orgId";
|
|
5
|
+
export declare const DND_ENDPOINT = "features/doNotDisturb";
|
|
6
|
+
export declare const CF_ENDPOINT = "features/callForwarding";
|
|
7
|
+
export declare const VM_ENDPOINT = "features/voicemail";
|
|
8
|
+
export declare const CALL_WAITING_ENDPOINT = "CallWaiting";
|
|
9
|
+
export declare const XSI_VERSION = "v2.0";
|
|
10
|
+
export declare const WEBEX_APIS_INT_URL = "https://integration.webexapis.com/v1/uc/config";
|
|
11
|
+
export declare const WEBEX_APIS_PROD_URL = "https://webexapis.com/v1/uc/config";
|
|
12
12
|
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { CallForwardSetting, VoicemailSetting } from './types';
|
|
2
|
-
export declare const xsiEndpointUrlResponse: {
|
|
3
|
-
items: {
|
|
4
|
-
id: string;
|
|
5
|
-
displayName: string;
|
|
6
|
-
created: string;
|
|
7
|
-
xsiDomain: string;
|
|
8
|
-
xsiActionsEndpoint: string;
|
|
9
|
-
xsiEventsEndpoint: string;
|
|
10
|
-
xsiEventsChannelEndpoint: string;
|
|
11
|
-
}[];
|
|
12
|
-
};
|
|
13
|
-
export declare const callForwardPayload: CallForwardSetting;
|
|
14
|
-
export declare const dummyEmail = "abc@test.com";
|
|
15
|
-
export declare const voicemailPayload: VoicemailSetting;
|
|
1
|
+
import { CallForwardSetting, VoicemailSetting } from './types';
|
|
2
|
+
export declare const xsiEndpointUrlResponse: {
|
|
3
|
+
items: {
|
|
4
|
+
id: string;
|
|
5
|
+
displayName: string;
|
|
6
|
+
created: string;
|
|
7
|
+
xsiDomain: string;
|
|
8
|
+
xsiActionsEndpoint: string;
|
|
9
|
+
xsiEventsEndpoint: string;
|
|
10
|
+
xsiEventsChannelEndpoint: string;
|
|
11
|
+
}[];
|
|
12
|
+
};
|
|
13
|
+
export declare const callForwardPayload: CallForwardSetting;
|
|
14
|
+
export declare const dummyEmail = "abc@test.com";
|
|
15
|
+
export declare const voicemailPayload: VoicemailSetting;
|
|
16
16
|
//# sourceMappingURL=testFixtures.d.ts.map
|