@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,43 +1,43 @@
|
|
|
1
|
-
import { LineError } from '../Errors/catalog/LineError';
|
|
2
|
-
import { CallError, CallingClientError } from '../Errors';
|
|
3
|
-
import { CallId, CorrelationId, IDeviceInfo } from '../common/types';
|
|
4
|
-
export declare enum METRIC_TYPE {
|
|
5
|
-
OPERATIONAL = "operational",
|
|
6
|
-
BEHAVIORAL = "behavioral"
|
|
7
|
-
}
|
|
8
|
-
export declare enum METRIC_EVENT {
|
|
9
|
-
CALL = "web-calling-sdk-callcontrol",
|
|
10
|
-
CALL_ERROR = "web-calling-sdk-callcontrol-error",
|
|
11
|
-
MEDIA = "web-calling-sdk-media",
|
|
12
|
-
MEDIA_ERROR = "web-calling-sdk-media-error",
|
|
13
|
-
REGISTRATION = "web-calling-sdk-registration",
|
|
14
|
-
REGISTRATION_ERROR = "web-calling-sdk-registration-error",
|
|
15
|
-
VOICEMAIL = "web-calling-sdk-voicemail",
|
|
16
|
-
VOICEMAIL_ERROR = "web-calling-sdk-voicemail-error"
|
|
17
|
-
}
|
|
18
|
-
export declare enum REG_ACTION {
|
|
19
|
-
REGISTER = "register",
|
|
20
|
-
DEREGISTER = "deregister",
|
|
21
|
-
KEEPALIVE_FAILURE = "keepaliveFailure"
|
|
22
|
-
}
|
|
23
|
-
export declare enum TRANSFER_ACTION {
|
|
24
|
-
BLIND = "TRANSFER_BLIND",
|
|
25
|
-
CONSULT = "TRANSFER_CONSULT"
|
|
26
|
-
}
|
|
27
|
-
export declare enum VOICEMAIL_ACTION {
|
|
28
|
-
GET_VOICEMAILS = "get_voicemails",
|
|
29
|
-
GET_VOICEMAIL_CONTENT = "get_voicemail_content",
|
|
30
|
-
GET_VOICEMAIL_SUMMARY = "get_voicemail_summary",
|
|
31
|
-
MARK_READ = "mark_read",
|
|
32
|
-
MARK_UNREAD = "mark_unread",
|
|
33
|
-
DELETE = "delete",
|
|
34
|
-
TRANSCRIPT = "transcript"
|
|
35
|
-
}
|
|
36
|
-
export interface IMetricManager {
|
|
37
|
-
setDeviceInfo: (deviceInfo: IDeviceInfo) => void;
|
|
38
|
-
submitRegistrationMetric: (name: METRIC_EVENT, metricAction: REG_ACTION, type: METRIC_TYPE, error: LineError | CallingClientError | undefined) => void;
|
|
39
|
-
submitCallMetric: (name: METRIC_EVENT, metricAction: string, type: METRIC_TYPE, callId: CallId, correlationId: CorrelationId, callError?: CallError) => void;
|
|
40
|
-
submitMediaMetric: (name: METRIC_EVENT, metricAction: string, type: METRIC_TYPE, callId: CallId, correlationId: CorrelationId, localSdp?: string, remoteSdp?: string, callError?: CallError) => void;
|
|
41
|
-
submitVoicemailMetric: (name: METRIC_EVENT, metricAction: string, type: METRIC_TYPE, messageId?: string, voicemailError?: string, statusCode?: number) => void;
|
|
42
|
-
}
|
|
1
|
+
import { LineError } from '../Errors/catalog/LineError';
|
|
2
|
+
import { CallError, CallingClientError } from '../Errors';
|
|
3
|
+
import { CallId, CorrelationId, IDeviceInfo } from '../common/types';
|
|
4
|
+
export declare enum METRIC_TYPE {
|
|
5
|
+
OPERATIONAL = "operational",
|
|
6
|
+
BEHAVIORAL = "behavioral"
|
|
7
|
+
}
|
|
8
|
+
export declare enum METRIC_EVENT {
|
|
9
|
+
CALL = "web-calling-sdk-callcontrol",
|
|
10
|
+
CALL_ERROR = "web-calling-sdk-callcontrol-error",
|
|
11
|
+
MEDIA = "web-calling-sdk-media",
|
|
12
|
+
MEDIA_ERROR = "web-calling-sdk-media-error",
|
|
13
|
+
REGISTRATION = "web-calling-sdk-registration",
|
|
14
|
+
REGISTRATION_ERROR = "web-calling-sdk-registration-error",
|
|
15
|
+
VOICEMAIL = "web-calling-sdk-voicemail",
|
|
16
|
+
VOICEMAIL_ERROR = "web-calling-sdk-voicemail-error"
|
|
17
|
+
}
|
|
18
|
+
export declare enum REG_ACTION {
|
|
19
|
+
REGISTER = "register",
|
|
20
|
+
DEREGISTER = "deregister",
|
|
21
|
+
KEEPALIVE_FAILURE = "keepaliveFailure"
|
|
22
|
+
}
|
|
23
|
+
export declare enum TRANSFER_ACTION {
|
|
24
|
+
BLIND = "TRANSFER_BLIND",
|
|
25
|
+
CONSULT = "TRANSFER_CONSULT"
|
|
26
|
+
}
|
|
27
|
+
export declare enum VOICEMAIL_ACTION {
|
|
28
|
+
GET_VOICEMAILS = "get_voicemails",
|
|
29
|
+
GET_VOICEMAIL_CONTENT = "get_voicemail_content",
|
|
30
|
+
GET_VOICEMAIL_SUMMARY = "get_voicemail_summary",
|
|
31
|
+
MARK_READ = "mark_read",
|
|
32
|
+
MARK_UNREAD = "mark_unread",
|
|
33
|
+
DELETE = "delete",
|
|
34
|
+
TRANSCRIPT = "transcript"
|
|
35
|
+
}
|
|
36
|
+
export interface IMetricManager {
|
|
37
|
+
setDeviceInfo: (deviceInfo: IDeviceInfo) => void;
|
|
38
|
+
submitRegistrationMetric: (name: METRIC_EVENT, metricAction: REG_ACTION, type: METRIC_TYPE, error: LineError | CallingClientError | undefined) => void;
|
|
39
|
+
submitCallMetric: (name: METRIC_EVENT, metricAction: string, type: METRIC_TYPE, callId: CallId, correlationId: CorrelationId, callError?: CallError) => void;
|
|
40
|
+
submitMediaMetric: (name: METRIC_EVENT, metricAction: string, type: METRIC_TYPE, callId: CallId, correlationId: CorrelationId, localSdp?: string, remoteSdp?: string, callError?: CallError) => void;
|
|
41
|
+
submitVoicemailMetric: (name: METRIC_EVENT, metricAction: string, type: METRIC_TYPE, messageId?: string, voicemailError?: string, statusCode?: number) => void;
|
|
42
|
+
}
|
|
43
43
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { WebexRequestPayload } from '../common/types';
|
|
2
|
-
import { ISDKConnector, WebexSDK } from './types';
|
|
3
|
-
declare class SDKConnector implements ISDKConnector {
|
|
4
|
-
setWebex(webexInstance: WebexSDK): void;
|
|
5
|
-
get(): ISDKConnector;
|
|
6
|
-
getWebex(): WebexSDK;
|
|
7
|
-
request<T>(request: WebexRequestPayload): Promise<T>;
|
|
8
|
-
registerListener<T>(event: string, cb: (data?: T) => void): void;
|
|
9
|
-
unregisterListener(event: string): void;
|
|
10
|
-
}
|
|
11
|
-
declare const _default: Readonly<SDKConnector>;
|
|
12
|
-
export default _default;
|
|
1
|
+
import { WebexRequestPayload } from '../common/types';
|
|
2
|
+
import { ISDKConnector, WebexSDK } from './types';
|
|
3
|
+
declare class SDKConnector implements ISDKConnector {
|
|
4
|
+
setWebex(webexInstance: WebexSDK): void;
|
|
5
|
+
get(): ISDKConnector;
|
|
6
|
+
getWebex(): WebexSDK;
|
|
7
|
+
request<T>(request: WebexRequestPayload): Promise<T>;
|
|
8
|
+
registerListener<T>(event: string, cb: (data?: T) => void): void;
|
|
9
|
+
unregisterListener(event: string): void;
|
|
10
|
+
}
|
|
11
|
+
declare const _default: Readonly<SDKConnector>;
|
|
12
|
+
export default _default;
|
|
13
13
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,129 +1,129 @@
|
|
|
1
|
-
import { DSSLookupResponse, KmsKey, KmsResourceObject, LookupOptions, PeopleListResponse, WebexRequestPayload } from '../common/types';
|
|
2
|
-
type Listener = (e: string, data?: unknown) => void;
|
|
3
|
-
type ListenerOff = (e: string) => void;
|
|
4
|
-
export type ServiceHost = {
|
|
5
|
-
host: string;
|
|
6
|
-
ttl: number;
|
|
7
|
-
priority: number;
|
|
8
|
-
id: string;
|
|
9
|
-
homeCluster: boolean;
|
|
10
|
-
};
|
|
11
|
-
export type Model = {
|
|
12
|
-
_values: {
|
|
13
|
-
key: string;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
export type ServiceCatalog = {
|
|
17
|
-
serviceGroups: {
|
|
18
|
-
postauth: [
|
|
19
|
-
{
|
|
20
|
-
_values: {
|
|
21
|
-
name: string;
|
|
22
|
-
hosts: ServiceHost[];
|
|
23
|
-
};
|
|
24
|
-
}
|
|
25
|
-
];
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
export type ClientRegionInfo = {
|
|
29
|
-
attribution: string;
|
|
30
|
-
clientAddress: string;
|
|
31
|
-
clientRegion: string;
|
|
32
|
-
countryCode: string;
|
|
33
|
-
disclaimer: string;
|
|
34
|
-
regionCode: string;
|
|
35
|
-
timezone: string;
|
|
36
|
-
};
|
|
37
|
-
export interface WebexSDK {
|
|
38
|
-
version: string;
|
|
39
|
-
canAuthorize: boolean;
|
|
40
|
-
credentials: {
|
|
41
|
-
getUserToken: () => Promise<string>;
|
|
42
|
-
};
|
|
43
|
-
ready: boolean;
|
|
44
|
-
request: <T>(payload: WebexRequestPayload) => Promise<T>;
|
|
45
|
-
internal: {
|
|
46
|
-
mercury: {
|
|
47
|
-
on: Listener;
|
|
48
|
-
off: ListenerOff;
|
|
49
|
-
connected: boolean;
|
|
50
|
-
connecting: boolean;
|
|
51
|
-
};
|
|
52
|
-
calendar: unknown;
|
|
53
|
-
device: {
|
|
54
|
-
url: string;
|
|
55
|
-
userId: string;
|
|
56
|
-
orgId: string;
|
|
57
|
-
version: string;
|
|
58
|
-
callingBehavior: string;
|
|
59
|
-
features: {
|
|
60
|
-
entitlement: {
|
|
61
|
-
models: Model[];
|
|
62
|
-
};
|
|
63
|
-
};
|
|
64
|
-
};
|
|
65
|
-
dss: {
|
|
66
|
-
lookup: (options: LookupOptions) => Promise<DSSLookupResponse[]>;
|
|
67
|
-
};
|
|
68
|
-
encryption: {
|
|
69
|
-
decryptText: (encryptionKeyUrl: string, encryptedData?: string) => Promise<string>;
|
|
70
|
-
encryptText: (encryptionKeyUrl: string, text?: string) => Promise<string>;
|
|
71
|
-
kms: {
|
|
72
|
-
createUnboundKeys: (arg0: {
|
|
73
|
-
count?: number;
|
|
74
|
-
}) => Promise<KmsKey[]>;
|
|
75
|
-
createResource: (arg0: {
|
|
76
|
-
keyUris: string[];
|
|
77
|
-
}) => Promise<KmsResourceObject>;
|
|
78
|
-
bindKey: (arg0: {
|
|
79
|
-
kroUri: string;
|
|
80
|
-
keyUri: string;
|
|
81
|
-
}) => Promise<KmsKey>;
|
|
82
|
-
};
|
|
83
|
-
};
|
|
84
|
-
presence: unknown;
|
|
85
|
-
support: unknown;
|
|
86
|
-
services: {
|
|
87
|
-
_serviceUrls: {
|
|
88
|
-
mobius: string;
|
|
89
|
-
identity: string;
|
|
90
|
-
janus: string;
|
|
91
|
-
wdm: string;
|
|
92
|
-
broadworksIdpProxy: string;
|
|
93
|
-
hydra: string;
|
|
94
|
-
mercuryApi: string;
|
|
95
|
-
'ucmgmt-gateway': string;
|
|
96
|
-
contactsService: string;
|
|
97
|
-
directorySearch: string;
|
|
98
|
-
};
|
|
99
|
-
fetchClientRegionInfo: () => Promise<ClientRegionInfo>;
|
|
100
|
-
};
|
|
101
|
-
metrics: {
|
|
102
|
-
submitClientMetrics: (name: string, data: unknown) => void;
|
|
103
|
-
};
|
|
104
|
-
};
|
|
105
|
-
logger: {
|
|
106
|
-
log: (payload: string) => void;
|
|
107
|
-
error: (payload: string) => void;
|
|
108
|
-
warn: (payload: string) => void;
|
|
109
|
-
info: (payload: string) => void;
|
|
110
|
-
trace: (payload: string) => void;
|
|
111
|
-
debug: (payload: string) => void;
|
|
112
|
-
};
|
|
113
|
-
messages: unknown;
|
|
114
|
-
memberships: unknown;
|
|
115
|
-
people: {
|
|
116
|
-
list: (arg: object) => Promise<PeopleListResponse>;
|
|
117
|
-
};
|
|
118
|
-
rooms: unknown;
|
|
119
|
-
teams: unknown;
|
|
120
|
-
}
|
|
121
|
-
export interface ISDKConnector {
|
|
122
|
-
setWebex: (webexInstance: WebexSDK) => void;
|
|
123
|
-
getWebex: () => WebexSDK;
|
|
124
|
-
get: () => ISDKConnector;
|
|
125
|
-
registerListener: <T>(event: string, cb: (data?: T) => unknown) => void;
|
|
126
|
-
unregisterListener: (event: string) => void;
|
|
127
|
-
}
|
|
128
|
-
export {};
|
|
1
|
+
import { DSSLookupResponse, KmsKey, KmsResourceObject, LookupOptions, PeopleListResponse, WebexRequestPayload } from '../common/types';
|
|
2
|
+
type Listener = (e: string, data?: unknown) => void;
|
|
3
|
+
type ListenerOff = (e: string) => void;
|
|
4
|
+
export type ServiceHost = {
|
|
5
|
+
host: string;
|
|
6
|
+
ttl: number;
|
|
7
|
+
priority: number;
|
|
8
|
+
id: string;
|
|
9
|
+
homeCluster: boolean;
|
|
10
|
+
};
|
|
11
|
+
export type Model = {
|
|
12
|
+
_values: {
|
|
13
|
+
key: string;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
export type ServiceCatalog = {
|
|
17
|
+
serviceGroups: {
|
|
18
|
+
postauth: [
|
|
19
|
+
{
|
|
20
|
+
_values: {
|
|
21
|
+
name: string;
|
|
22
|
+
hosts: ServiceHost[];
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
];
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
export type ClientRegionInfo = {
|
|
29
|
+
attribution: string;
|
|
30
|
+
clientAddress: string;
|
|
31
|
+
clientRegion: string;
|
|
32
|
+
countryCode: string;
|
|
33
|
+
disclaimer: string;
|
|
34
|
+
regionCode: string;
|
|
35
|
+
timezone: string;
|
|
36
|
+
};
|
|
37
|
+
export interface WebexSDK {
|
|
38
|
+
version: string;
|
|
39
|
+
canAuthorize: boolean;
|
|
40
|
+
credentials: {
|
|
41
|
+
getUserToken: () => Promise<string>;
|
|
42
|
+
};
|
|
43
|
+
ready: boolean;
|
|
44
|
+
request: <T>(payload: WebexRequestPayload) => Promise<T>;
|
|
45
|
+
internal: {
|
|
46
|
+
mercury: {
|
|
47
|
+
on: Listener;
|
|
48
|
+
off: ListenerOff;
|
|
49
|
+
connected: boolean;
|
|
50
|
+
connecting: boolean;
|
|
51
|
+
};
|
|
52
|
+
calendar: unknown;
|
|
53
|
+
device: {
|
|
54
|
+
url: string;
|
|
55
|
+
userId: string;
|
|
56
|
+
orgId: string;
|
|
57
|
+
version: string;
|
|
58
|
+
callingBehavior: string;
|
|
59
|
+
features: {
|
|
60
|
+
entitlement: {
|
|
61
|
+
models: Model[];
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
dss: {
|
|
66
|
+
lookup: (options: LookupOptions) => Promise<DSSLookupResponse[]>;
|
|
67
|
+
};
|
|
68
|
+
encryption: {
|
|
69
|
+
decryptText: (encryptionKeyUrl: string, encryptedData?: string) => Promise<string>;
|
|
70
|
+
encryptText: (encryptionKeyUrl: string, text?: string) => Promise<string>;
|
|
71
|
+
kms: {
|
|
72
|
+
createUnboundKeys: (arg0: {
|
|
73
|
+
count?: number;
|
|
74
|
+
}) => Promise<KmsKey[]>;
|
|
75
|
+
createResource: (arg0: {
|
|
76
|
+
keyUris: string[];
|
|
77
|
+
}) => Promise<KmsResourceObject>;
|
|
78
|
+
bindKey: (arg0: {
|
|
79
|
+
kroUri: string;
|
|
80
|
+
keyUri: string;
|
|
81
|
+
}) => Promise<KmsKey>;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
presence: unknown;
|
|
85
|
+
support: unknown;
|
|
86
|
+
services: {
|
|
87
|
+
_serviceUrls: {
|
|
88
|
+
mobius: string;
|
|
89
|
+
identity: string;
|
|
90
|
+
janus: string;
|
|
91
|
+
wdm: string;
|
|
92
|
+
broadworksIdpProxy: string;
|
|
93
|
+
hydra: string;
|
|
94
|
+
mercuryApi: string;
|
|
95
|
+
'ucmgmt-gateway': string;
|
|
96
|
+
contactsService: string;
|
|
97
|
+
directorySearch: string;
|
|
98
|
+
};
|
|
99
|
+
fetchClientRegionInfo: () => Promise<ClientRegionInfo>;
|
|
100
|
+
};
|
|
101
|
+
metrics: {
|
|
102
|
+
submitClientMetrics: (name: string, data: unknown) => void;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
logger: {
|
|
106
|
+
log: (payload: string) => void;
|
|
107
|
+
error: (payload: string) => void;
|
|
108
|
+
warn: (payload: string) => void;
|
|
109
|
+
info: (payload: string) => void;
|
|
110
|
+
trace: (payload: string) => void;
|
|
111
|
+
debug: (payload: string) => void;
|
|
112
|
+
};
|
|
113
|
+
messages: unknown;
|
|
114
|
+
memberships: unknown;
|
|
115
|
+
people: {
|
|
116
|
+
list: (arg: object) => Promise<PeopleListResponse>;
|
|
117
|
+
};
|
|
118
|
+
rooms: unknown;
|
|
119
|
+
teams: unknown;
|
|
120
|
+
}
|
|
121
|
+
export interface ISDKConnector {
|
|
122
|
+
setWebex: (webexInstance: WebexSDK) => void;
|
|
123
|
+
getWebex: () => WebexSDK;
|
|
124
|
+
get: () => ISDKConnector;
|
|
125
|
+
registerListener: <T>(event: string, cb: (data?: T) => unknown) => void;
|
|
126
|
+
unregisterListener: (event: string) => void;
|
|
127
|
+
}
|
|
128
|
+
export {};
|
|
129
129
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { WebexSDK } from './types';
|
|
2
|
-
export declare const validateWebex: (webexInstance: WebexSDK) => {
|
|
3
|
-
error: Error | undefined;
|
|
4
|
-
success: boolean;
|
|
5
|
-
};
|
|
1
|
+
import { WebexSDK } from './types';
|
|
2
|
+
export declare const validateWebex: (webexInstance: WebexSDK) => {
|
|
3
|
+
error: Error | undefined;
|
|
4
|
+
success: boolean;
|
|
5
|
+
};
|
|
6
6
|
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { ISDKConnector, WebexSDK } from '../SDKConnector/types';
|
|
2
|
-
import { LoggerInterface, IBroadworksCallBackendConnector, VoicemailResponseEvent, CallingPartyInfo } from './types';
|
|
3
|
-
import { DisplayInformation, SORT, WebexRequestPayload } from '../common/types';
|
|
4
|
-
export declare class BroadworksBackendConnector implements IBroadworksCallBackendConnector {
|
|
5
|
-
bwtoken: string;
|
|
6
|
-
userId: string;
|
|
7
|
-
xsiAccessToken: string;
|
|
8
|
-
xsiEndpoint: WebexRequestPayload;
|
|
9
|
-
private context;
|
|
10
|
-
private sdkConnector;
|
|
11
|
-
private webex;
|
|
12
|
-
private xsiVoiceMessageURI;
|
|
13
|
-
constructor(webex: WebexSDK, logger: LoggerInterface);
|
|
14
|
-
init(): VoicemailResponseEvent;
|
|
15
|
-
getSDKConnector(): ISDKConnector;
|
|
16
|
-
private getUserId;
|
|
17
|
-
private getBwToken;
|
|
18
|
-
private setXsiVoiceMessageURI;
|
|
19
|
-
getVoicemailList(offset: number, offsetLimit: number, sort: SORT, refresh?: boolean): Promise<VoicemailResponseEvent>;
|
|
20
|
-
getVoicemailContent(messageId: string): Promise<VoicemailResponseEvent>;
|
|
21
|
-
getVoicemailSummary(): Promise<VoicemailResponseEvent | null>;
|
|
22
|
-
voicemailMarkAsRead(messageId: string): Promise<VoicemailResponseEvent>;
|
|
23
|
-
voicemailMarkAsUnread(messageId: string): Promise<VoicemailResponseEvent>;
|
|
24
|
-
deleteVoicemail(messageId: string): Promise<VoicemailResponseEvent>;
|
|
25
|
-
getVMTranscript(messageId: string): Promise<VoicemailResponseEvent | null>;
|
|
26
|
-
resolveContact(callingPartyInfo: CallingPartyInfo): Promise<DisplayInformation | null>;
|
|
27
|
-
}
|
|
1
|
+
import { ISDKConnector, WebexSDK } from '../SDKConnector/types';
|
|
2
|
+
import { LoggerInterface, IBroadworksCallBackendConnector, VoicemailResponseEvent, CallingPartyInfo } from './types';
|
|
3
|
+
import { DisplayInformation, SORT, WebexRequestPayload } from '../common/types';
|
|
4
|
+
export declare class BroadworksBackendConnector implements IBroadworksCallBackendConnector {
|
|
5
|
+
bwtoken: string;
|
|
6
|
+
userId: string;
|
|
7
|
+
xsiAccessToken: string;
|
|
8
|
+
xsiEndpoint: WebexRequestPayload;
|
|
9
|
+
private context;
|
|
10
|
+
private sdkConnector;
|
|
11
|
+
private webex;
|
|
12
|
+
private xsiVoiceMessageURI;
|
|
13
|
+
constructor(webex: WebexSDK, logger: LoggerInterface);
|
|
14
|
+
init(): VoicemailResponseEvent;
|
|
15
|
+
getSDKConnector(): ISDKConnector;
|
|
16
|
+
private getUserId;
|
|
17
|
+
private getBwToken;
|
|
18
|
+
private setXsiVoiceMessageURI;
|
|
19
|
+
getVoicemailList(offset: number, offsetLimit: number, sort: SORT, refresh?: boolean): Promise<VoicemailResponseEvent>;
|
|
20
|
+
getVoicemailContent(messageId: string): Promise<VoicemailResponseEvent>;
|
|
21
|
+
getVoicemailSummary(): Promise<VoicemailResponseEvent | null>;
|
|
22
|
+
voicemailMarkAsRead(messageId: string): Promise<VoicemailResponseEvent>;
|
|
23
|
+
voicemailMarkAsUnread(messageId: string): Promise<VoicemailResponseEvent>;
|
|
24
|
+
deleteVoicemail(messageId: string): Promise<VoicemailResponseEvent>;
|
|
25
|
+
getVMTranscript(messageId: string): Promise<VoicemailResponseEvent | null>;
|
|
26
|
+
resolveContact(callingPartyInfo: CallingPartyInfo): Promise<DisplayInformation | null>;
|
|
27
|
+
}
|
|
28
28
|
//# sourceMappingURL=BroadworksBackendConnector.d.ts.map
|
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
import { ISDKConnector, WebexSDK } from '../SDKConnector/types';
|
|
2
|
-
import { SORT, DisplayInformation } from '../common/types';
|
|
3
|
-
import { CallingPartyInfo, IUcmBackendConnector, LoggerInterface, VoicemailResponseEvent } from './types';
|
|
4
|
-
export declare class UcmBackendConnector implements IUcmBackendConnector {
|
|
5
|
-
vgEndpoint: string | unknown;
|
|
6
|
-
userId: string;
|
|
7
|
-
orgId: string;
|
|
8
|
-
private sdkConnector;
|
|
9
|
-
private webex;
|
|
10
|
-
private vgVoiceMessageURI;
|
|
11
|
-
constructor(webex: WebexSDK, logger: LoggerInterface);
|
|
12
|
-
init(): VoicemailResponseEvent;
|
|
13
|
-
getSDKConnector(): ISDKConnector;
|
|
14
|
-
private setUcmVoiceMessageBaseURI;
|
|
15
|
-
getVoicemailList(offset: number, offsetLimit: number, sort: SORT): Promise<import("../CallHistory/types").JanusResponseEvent | VoicemailResponseEvent | import("../CallSettings/types").CallSettingResponse | import("../Contacts/types").ContactResponse>;
|
|
16
|
-
getVoicemailContent(messageId: string): Promise<VoicemailResponseEvent>;
|
|
17
|
-
getVoicemailSummary(): Promise<VoicemailResponseEvent | null>;
|
|
18
|
-
getVoicemailContentUcm(messageId: string): Promise<unknown>;
|
|
19
|
-
returnUcmPromise(voicemailContentUrl: string, mercuryApi: string): Promise<{
|
|
20
|
-
statusCode: number;
|
|
21
|
-
data: {
|
|
22
|
-
voicemailContent: {
|
|
23
|
-
type: string;
|
|
24
|
-
content: string;
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
message: string;
|
|
28
|
-
}>;
|
|
29
|
-
voicemailMarkAsRead(messageId: string): Promise<VoicemailResponseEvent>;
|
|
30
|
-
voicemailMarkAsUnread(messageId: string): Promise<VoicemailResponseEvent>;
|
|
31
|
-
deleteVoicemail(messageId: string): Promise<VoicemailResponseEvent>;
|
|
32
|
-
getVMTranscript(messageId: string): Promise<VoicemailResponseEvent | null>;
|
|
33
|
-
resolveContact(callingPartyInfo: CallingPartyInfo): Promise<DisplayInformation | null>;
|
|
34
|
-
}
|
|
1
|
+
import { ISDKConnector, WebexSDK } from '../SDKConnector/types';
|
|
2
|
+
import { SORT, DisplayInformation } from '../common/types';
|
|
3
|
+
import { CallingPartyInfo, IUcmBackendConnector, LoggerInterface, VoicemailResponseEvent } from './types';
|
|
4
|
+
export declare class UcmBackendConnector implements IUcmBackendConnector {
|
|
5
|
+
vgEndpoint: string | unknown;
|
|
6
|
+
userId: string;
|
|
7
|
+
orgId: string;
|
|
8
|
+
private sdkConnector;
|
|
9
|
+
private webex;
|
|
10
|
+
private vgVoiceMessageURI;
|
|
11
|
+
constructor(webex: WebexSDK, logger: LoggerInterface);
|
|
12
|
+
init(): VoicemailResponseEvent;
|
|
13
|
+
getSDKConnector(): ISDKConnector;
|
|
14
|
+
private setUcmVoiceMessageBaseURI;
|
|
15
|
+
getVoicemailList(offset: number, offsetLimit: number, sort: SORT): Promise<import("../CallHistory/types").JanusResponseEvent | VoicemailResponseEvent | import("../CallSettings/types").CallSettingResponse | import("../Contacts/types").ContactResponse>;
|
|
16
|
+
getVoicemailContent(messageId: string): Promise<VoicemailResponseEvent>;
|
|
17
|
+
getVoicemailSummary(): Promise<VoicemailResponseEvent | null>;
|
|
18
|
+
getVoicemailContentUcm(messageId: string): Promise<unknown>;
|
|
19
|
+
returnUcmPromise(voicemailContentUrl: string, mercuryApi: string): Promise<{
|
|
20
|
+
statusCode: number;
|
|
21
|
+
data: {
|
|
22
|
+
voicemailContent: {
|
|
23
|
+
type: string;
|
|
24
|
+
content: string;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
message: string;
|
|
28
|
+
}>;
|
|
29
|
+
voicemailMarkAsRead(messageId: string): Promise<VoicemailResponseEvent>;
|
|
30
|
+
voicemailMarkAsUnread(messageId: string): Promise<VoicemailResponseEvent>;
|
|
31
|
+
deleteVoicemail(messageId: string): Promise<VoicemailResponseEvent>;
|
|
32
|
+
getVMTranscript(messageId: string): Promise<VoicemailResponseEvent | null>;
|
|
33
|
+
resolveContact(callingPartyInfo: CallingPartyInfo): Promise<DisplayInformation | null>;
|
|
34
|
+
}
|
|
35
35
|
//# sourceMappingURL=UcmBackendConnector.d.ts.map
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { ISDKConnector, WebexSDK } from '../SDKConnector/types';
|
|
2
|
-
import { IVoicemail, VoicemailResponseEvent, LoggerInterface, CallingPartyInfo } from './types';
|
|
3
|
-
import { DisplayInformation, SORT } from '../common/types';
|
|
4
|
-
import { VoicemailEventTypes } from '../Events/types';
|
|
5
|
-
import { Eventing } from '../Events/impl';
|
|
6
|
-
export declare class Voicemail extends Eventing<VoicemailEventTypes> implements IVoicemail {
|
|
7
|
-
logger: LoggerInterface;
|
|
8
|
-
private sdkConnector;
|
|
9
|
-
private webex;
|
|
10
|
-
private callingBackend;
|
|
11
|
-
private backendConnector;
|
|
12
|
-
private metricManager;
|
|
13
|
-
constructor(webex: WebexSDK, logger: LoggerInterface);
|
|
14
|
-
init(): VoicemailResponseEvent;
|
|
15
|
-
private initializeBackendConnector;
|
|
16
|
-
private submitMetric;
|
|
17
|
-
getVoicemailList(offset: number, offsetLimit: number, sort: SORT, refresh?: boolean): Promise<VoicemailResponseEvent>;
|
|
18
|
-
getVoicemailContent(messageId: string): Promise<VoicemailResponseEvent>;
|
|
19
|
-
getVoicemailSummary(): Promise<VoicemailResponseEvent | null>;
|
|
20
|
-
voicemailMarkAsRead(messageId: string): Promise<VoicemailResponseEvent>;
|
|
21
|
-
voicemailMarkAsUnread(messageId: string): Promise<VoicemailResponseEvent>;
|
|
22
|
-
deleteVoicemail(messageId: string): Promise<VoicemailResponseEvent>;
|
|
23
|
-
getVMTranscript(messageId: string): Promise<VoicemailResponseEvent | null>;
|
|
24
|
-
resolveContact(callingPartyInfo: CallingPartyInfo): Promise<DisplayInformation | null>;
|
|
25
|
-
getSDKConnector(): ISDKConnector;
|
|
26
|
-
}
|
|
27
|
-
export declare const createVoicemailClient: (webex: WebexSDK, logger: LoggerInterface) => IVoicemail;
|
|
1
|
+
import { ISDKConnector, WebexSDK } from '../SDKConnector/types';
|
|
2
|
+
import { IVoicemail, VoicemailResponseEvent, LoggerInterface, CallingPartyInfo } from './types';
|
|
3
|
+
import { DisplayInformation, SORT } from '../common/types';
|
|
4
|
+
import { VoicemailEventTypes } from '../Events/types';
|
|
5
|
+
import { Eventing } from '../Events/impl';
|
|
6
|
+
export declare class Voicemail extends Eventing<VoicemailEventTypes> implements IVoicemail {
|
|
7
|
+
logger: LoggerInterface;
|
|
8
|
+
private sdkConnector;
|
|
9
|
+
private webex;
|
|
10
|
+
private callingBackend;
|
|
11
|
+
private backendConnector;
|
|
12
|
+
private metricManager;
|
|
13
|
+
constructor(webex: WebexSDK, logger: LoggerInterface);
|
|
14
|
+
init(): VoicemailResponseEvent;
|
|
15
|
+
private initializeBackendConnector;
|
|
16
|
+
private submitMetric;
|
|
17
|
+
getVoicemailList(offset: number, offsetLimit: number, sort: SORT, refresh?: boolean): Promise<VoicemailResponseEvent>;
|
|
18
|
+
getVoicemailContent(messageId: string): Promise<VoicemailResponseEvent>;
|
|
19
|
+
getVoicemailSummary(): Promise<VoicemailResponseEvent | null>;
|
|
20
|
+
voicemailMarkAsRead(messageId: string): Promise<VoicemailResponseEvent>;
|
|
21
|
+
voicemailMarkAsUnread(messageId: string): Promise<VoicemailResponseEvent>;
|
|
22
|
+
deleteVoicemail(messageId: string): Promise<VoicemailResponseEvent>;
|
|
23
|
+
getVMTranscript(messageId: string): Promise<VoicemailResponseEvent | null>;
|
|
24
|
+
resolveContact(callingPartyInfo: CallingPartyInfo): Promise<DisplayInformation | null>;
|
|
25
|
+
getSDKConnector(): ISDKConnector;
|
|
26
|
+
}
|
|
27
|
+
export declare const createVoicemailClient: (webex: WebexSDK, logger: LoggerInterface) => IVoicemail;
|
|
28
28
|
//# sourceMappingURL=Voicemail.d.ts.map
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { ISDKConnector, WebexSDK } from '../SDKConnector/types';
|
|
2
|
-
import { LoggerInterface, IWxCallBackendConnector, VoicemailResponseEvent, CallingPartyInfo } from './types';
|
|
3
|
-
import { DisplayInformation, SORT, WebexRequestPayload } from '../common/types';
|
|
4
|
-
export declare class WxCallBackendConnector implements IWxCallBackendConnector {
|
|
5
|
-
xsiEndpoint: WebexRequestPayload;
|
|
6
|
-
userId: string;
|
|
7
|
-
private context;
|
|
8
|
-
private sdkConnector;
|
|
9
|
-
private xsiVoiceMessageURI;
|
|
10
|
-
private webex;
|
|
11
|
-
constructor(webex: WebexSDK, logger: LoggerInterface);
|
|
12
|
-
init(): VoicemailResponseEvent;
|
|
13
|
-
getSDKConnector(): ISDKConnector;
|
|
14
|
-
private setXsiVoiceMessageURI;
|
|
15
|
-
getVoicemailList(offset: number, offsetLimit: number, sort: SORT, refresh?: boolean): Promise<import("../CallHistory/types").JanusResponseEvent | VoicemailResponseEvent | import("../CallSettings/types").CallSettingResponse | import("../Contacts/types").ContactResponse>;
|
|
16
|
-
getVoicemailContent(messageId: string): Promise<VoicemailResponseEvent>;
|
|
17
|
-
getVoicemailSummary(): Promise<VoicemailResponseEvent>;
|
|
18
|
-
voicemailMarkAsRead(messageId: string): Promise<VoicemailResponseEvent>;
|
|
19
|
-
voicemailMarkAsUnread(messageId: string): Promise<VoicemailResponseEvent>;
|
|
20
|
-
deleteVoicemail(messageId: string): Promise<VoicemailResponseEvent>;
|
|
21
|
-
getVMTranscript(messageId: string): Promise<VoicemailResponseEvent>;
|
|
22
|
-
resolveContact(callingPartyInfo: CallingPartyInfo): Promise<DisplayInformation | null>;
|
|
23
|
-
}
|
|
1
|
+
import { ISDKConnector, WebexSDK } from '../SDKConnector/types';
|
|
2
|
+
import { LoggerInterface, IWxCallBackendConnector, VoicemailResponseEvent, CallingPartyInfo } from './types';
|
|
3
|
+
import { DisplayInformation, SORT, WebexRequestPayload } from '../common/types';
|
|
4
|
+
export declare class WxCallBackendConnector implements IWxCallBackendConnector {
|
|
5
|
+
xsiEndpoint: WebexRequestPayload;
|
|
6
|
+
userId: string;
|
|
7
|
+
private context;
|
|
8
|
+
private sdkConnector;
|
|
9
|
+
private xsiVoiceMessageURI;
|
|
10
|
+
private webex;
|
|
11
|
+
constructor(webex: WebexSDK, logger: LoggerInterface);
|
|
12
|
+
init(): VoicemailResponseEvent;
|
|
13
|
+
getSDKConnector(): ISDKConnector;
|
|
14
|
+
private setXsiVoiceMessageURI;
|
|
15
|
+
getVoicemailList(offset: number, offsetLimit: number, sort: SORT, refresh?: boolean): Promise<import("../CallHistory/types").JanusResponseEvent | VoicemailResponseEvent | import("../CallSettings/types").CallSettingResponse | import("../Contacts/types").ContactResponse>;
|
|
16
|
+
getVoicemailContent(messageId: string): Promise<VoicemailResponseEvent>;
|
|
17
|
+
getVoicemailSummary(): Promise<VoicemailResponseEvent>;
|
|
18
|
+
voicemailMarkAsRead(messageId: string): Promise<VoicemailResponseEvent>;
|
|
19
|
+
voicemailMarkAsUnread(messageId: string): Promise<VoicemailResponseEvent>;
|
|
20
|
+
deleteVoicemail(messageId: string): Promise<VoicemailResponseEvent>;
|
|
21
|
+
getVMTranscript(messageId: string): Promise<VoicemailResponseEvent>;
|
|
22
|
+
resolveContact(callingPartyInfo: CallingPartyInfo): Promise<DisplayInformation | null>;
|
|
23
|
+
}
|
|
24
24
|
//# sourceMappingURL=WxCallBackendConnector.d.ts.map
|