@webex/plugin-meetings 3.5.0 → 3.6.0
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/annotation/annotation.types.d.ts +42 -0
- package/dist/annotation/constants.d.ts +31 -0
- package/dist/annotation/index.d.ts +117 -0
- package/dist/breakouts/breakout.d.ts +8 -0
- package/dist/breakouts/breakout.js +1 -1
- package/dist/breakouts/collection.d.ts +5 -0
- package/dist/breakouts/edit-lock-error.d.ts +15 -0
- package/dist/breakouts/events.d.ts +8 -0
- package/dist/breakouts/index.d.ts +5 -0
- package/dist/breakouts/index.js +1 -1
- package/dist/breakouts/request.d.ts +22 -0
- package/dist/breakouts/utils.d.ts +15 -0
- package/dist/common/browser-detection.d.ts +9 -0
- package/dist/common/collection.d.ts +48 -0
- package/dist/common/config.d.ts +2 -0
- package/dist/common/errors/captcha-error.d.ts +15 -0
- package/dist/common/errors/intent-to-join.d.ts +16 -0
- package/dist/common/errors/join-meeting.d.ts +17 -0
- package/dist/common/errors/media.d.ts +15 -0
- package/dist/common/errors/no-meeting-info.d.ts +14 -0
- package/dist/common/errors/parameter.d.ts +15 -0
- package/dist/common/errors/password-error.d.ts +15 -0
- package/dist/common/errors/permission.d.ts +14 -0
- package/dist/common/errors/reclaim-host-role-error.js +149 -0
- package/dist/common/errors/reclaim-host-role-error.js.map +1 -0
- package/dist/common/errors/reclaim-host-role-errors.d.ts +60 -0
- package/dist/common/errors/reconnection-in-progress.d.ts +9 -0
- package/dist/common/errors/reconnection-in-progress.js +33 -0
- package/dist/common/errors/reconnection-in-progress.js.map +1 -0
- package/dist/common/errors/reconnection.d.ts +15 -0
- package/dist/common/errors/stats.d.ts +15 -0
- package/dist/common/errors/webex-errors.d.ts +93 -0
- package/dist/common/errors/webex-meetings-error.d.ts +20 -0
- package/dist/common/events/events-scope.d.ts +17 -0
- package/dist/common/events/events.d.ts +12 -0
- package/dist/common/events/trigger-proxy.d.ts +2 -0
- package/dist/common/events/util.d.ts +2 -0
- package/dist/common/logs/logger-config.d.ts +2 -0
- package/dist/common/logs/logger-proxy.d.ts +2 -0
- package/dist/common/logs/request.d.ts +36 -0
- package/dist/common/queue.d.ts +34 -0
- package/dist/config.d.ts +72 -0
- package/dist/config.js +3 -1
- package/dist/config.js.map +1 -1
- package/dist/constants.d.ts +1088 -0
- package/dist/constants.js +1 -0
- package/dist/constants.js.map +1 -1
- package/dist/controls-options-manager/constants.d.ts +4 -0
- package/dist/controls-options-manager/enums.d.ts +15 -0
- package/dist/controls-options-manager/index.d.ts +136 -0
- package/dist/controls-options-manager/types.d.ts +43 -0
- package/dist/controls-options-manager/util.d.ts +1 -0
- package/dist/index.d.ts +7 -0
- package/dist/interceptors/index.d.ts +2 -0
- package/dist/interceptors/locusRetry.d.ts +27 -0
- package/dist/interpretation/collection.d.ts +5 -0
- package/dist/interpretation/index.d.ts +5 -0
- package/dist/interpretation/index.js +1 -1
- package/dist/interpretation/siLanguage.d.ts +5 -0
- package/dist/interpretation/siLanguage.js +1 -1
- package/dist/locus-info/controlsUtils.d.ts +2 -0
- package/dist/locus-info/embeddedAppsUtils.d.ts +2 -0
- package/dist/locus-info/fullState.d.ts +2 -0
- package/dist/locus-info/hostUtils.d.ts +2 -0
- package/dist/locus-info/index.d.ts +322 -0
- package/dist/locus-info/infoUtils.d.ts +2 -0
- package/dist/locus-info/mediaSharesUtils.d.ts +2 -0
- package/dist/locus-info/parser.d.ts +272 -0
- package/dist/locus-info/selfUtils.d.ts +2 -0
- package/dist/media/index.d.ts +34 -0
- package/dist/media/index.js +3 -1
- package/dist/media/index.js.map +1 -1
- package/dist/media/properties.d.ts +93 -0
- package/dist/media/util.d.ts +2 -0
- package/dist/mediaQualityMetrics/config.d.ts +241 -0
- package/dist/mediaQualityMetrics/config.js +502 -0
- package/dist/mediaQualityMetrics/config.js.map +1 -0
- package/dist/meeting/effectsState.js +260 -0
- package/dist/meeting/effectsState.js.map +1 -0
- package/dist/meeting/in-meeting-actions.d.ts +167 -0
- package/dist/meeting/in-meeting-actions.js +3 -1
- package/dist/meeting/in-meeting-actions.js.map +1 -1
- package/dist/meeting/index.d.ts +1825 -0
- package/dist/meeting/index.js +39 -4
- package/dist/meeting/index.js.map +1 -1
- package/dist/meeting/locusMediaRequest.d.ts +74 -0
- package/dist/meeting/muteState.d.ts +178 -0
- package/dist/meeting/request.d.ts +295 -0
- package/dist/meeting/request.type.d.ts +11 -0
- package/dist/meeting/state.d.ts +9 -0
- package/dist/meeting/util.d.ts +119 -0
- package/dist/meeting/util.js +5 -8
- package/dist/meeting/util.js.map +1 -1
- package/dist/meeting/voicea-meeting.d.ts +16 -0
- package/dist/meeting-info/collection.d.ts +20 -0
- package/dist/meeting-info/index.d.ts +69 -0
- package/dist/meeting-info/meeting-info-v2.d.ts +123 -0
- package/dist/meeting-info/request.d.ts +22 -0
- package/dist/meeting-info/util.d.ts +2 -0
- package/dist/meeting-info/utilv2.d.ts +2 -0
- package/dist/meetings/collection.d.ts +40 -0
- package/dist/meetings/index.d.ts +390 -0
- package/dist/meetings/index.js +79 -26
- package/dist/meetings/index.js.map +1 -1
- package/dist/meetings/meetings.types.d.ts +4 -0
- package/dist/meetings/request.d.ts +27 -0
- package/dist/meetings/util.d.ts +18 -0
- package/dist/member/index.d.ts +160 -0
- package/dist/member/member.types.js +17 -0
- package/dist/member/member.types.js.map +1 -0
- package/dist/member/types.d.ts +32 -0
- package/dist/member/util.d.ts +2 -0
- package/dist/members/collection.d.ts +29 -0
- package/dist/members/index.d.ts +353 -0
- package/dist/members/request.d.ts +114 -0
- package/dist/members/types.d.ts +25 -0
- package/dist/members/util.d.ts +215 -0
- package/dist/metrics/config.js +276 -0
- package/dist/metrics/config.js.map +1 -0
- package/dist/metrics/constants.d.ts +70 -0
- package/dist/metrics/index.d.ts +45 -0
- package/dist/multistream/mediaRequestManager.d.ts +119 -0
- package/dist/multistream/receiveSlot.d.ts +68 -0
- package/dist/multistream/receiveSlotManager.d.ts +56 -0
- package/dist/multistream/remoteMedia.d.ts +72 -0
- package/dist/multistream/remoteMediaGroup.d.ts +49 -0
- package/dist/multistream/remoteMediaManager.d.ts +300 -0
- package/dist/multistream/sendSlotManager.d.ts +69 -0
- package/dist/networkQualityMonitor/index.d.ts +70 -0
- package/dist/networkQualityMonitor/index.js +13 -19
- package/dist/networkQualityMonitor/index.js.map +1 -1
- package/dist/peer-connection-manager/index.js +671 -0
- package/dist/peer-connection-manager/index.js.map +1 -0
- package/dist/peer-connection-manager/util.js +109 -0
- package/dist/peer-connection-manager/util.js.map +1 -0
- package/dist/personal-meeting-room/index.d.ts +47 -0
- package/dist/personal-meeting-room/request.d.ts +14 -0
- package/dist/personal-meeting-room/util.d.ts +2 -0
- package/dist/reachability/clusterReachability.d.ts +109 -0
- package/dist/reachability/index.d.ts +105 -0
- package/dist/reachability/request.d.ts +39 -0
- package/dist/reachability/util.d.ts +8 -0
- package/dist/reactions/constants.d.ts +3 -0
- package/dist/reactions/reactions.d.ts +4 -0
- package/dist/reactions/reactions.type.d.ts +52 -0
- package/dist/reconnection-manager/index.d.ts +136 -0
- package/dist/recording-controller/enums.d.ts +7 -0
- package/dist/recording-controller/index.d.ts +207 -0
- package/dist/recording-controller/util.d.ts +14 -0
- package/dist/roap/collection.js +62 -0
- package/dist/roap/collection.js.map +1 -0
- package/dist/roap/handler.js +275 -0
- package/dist/roap/handler.js.map +1 -0
- package/dist/roap/index.d.ts +86 -0
- package/dist/roap/request.d.ts +39 -0
- package/dist/roap/state.js +126 -0
- package/dist/roap/state.js.map +1 -0
- package/dist/roap/turnDiscovery.d.ts +155 -0
- package/dist/roap/util.js +75 -0
- package/dist/roap/util.js.map +1 -0
- package/dist/rtcMetrics/constants.d.ts +4 -0
- package/dist/rtcMetrics/index.d.ts +61 -0
- package/dist/statsAnalyzer/global.d.ts +36 -0
- package/dist/statsAnalyzer/global.js +126 -0
- package/dist/statsAnalyzer/global.js.map +1 -0
- package/dist/statsAnalyzer/index.d.ts +217 -0
- package/dist/statsAnalyzer/index.js +1013 -0
- package/dist/statsAnalyzer/index.js.map +1 -0
- package/dist/statsAnalyzer/mqaUtil.d.ts +48 -0
- package/dist/statsAnalyzer/mqaUtil.js +179 -0
- package/dist/statsAnalyzer/mqaUtil.js.map +1 -0
- package/dist/transcription/index.d.ts +64 -0
- package/dist/types/common/errors/reconnection-in-progress.d.ts +9 -0
- package/dist/types/config.d.ts +1 -0
- package/dist/types/constants.d.ts +2 -1
- package/dist/types/mediaQualityMetrics/config.d.ts +241 -0
- package/dist/types/meeting/in-meeting-actions.d.ts +2 -0
- package/dist/types/meeting/index.d.ts +11 -0
- package/dist/types/meetings/index.d.ts +34 -2
- package/dist/types/statsAnalyzer/global.d.ts +36 -0
- package/dist/types/statsAnalyzer/index.d.ts +217 -0
- package/dist/types/statsAnalyzer/mqaUtil.d.ts +48 -0
- package/dist/webinar/collection.d.ts +16 -0
- package/dist/webinar/index.d.ts +5 -0
- package/dist/webinar/index.js +1 -1
- package/package.json +22 -22
- package/src/config.ts +2 -0
- package/src/constants.ts +1 -0
- package/src/media/index.ts +4 -1
- package/src/meeting/in-meeting-actions.ts +3 -0
- package/src/meeting/index.ts +42 -2
- package/src/meeting/util.ts +21 -29
- package/src/meetings/index.ts +107 -37
- package/test/unit/spec/media/index.ts +4 -0
- package/test/unit/spec/meeting/in-meeting-actions.ts +2 -0
- package/test/unit/spec/meeting/index.js +58 -17
- package/test/unit/spec/meeting/utils.js +34 -84
- package/test/unit/spec/meetings/index.js +112 -13
- package/src/rtcMetrics/constants.ts +0 -3
- package/src/rtcMetrics/index.ts +0 -186
- package/test/unit/spec/rtcMetrics/index.ts +0 -154
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import { StatelessWebexPlugin } from '@webex/webex-core';
|
|
2
|
+
/**
|
|
3
|
+
* @class MembersRequest
|
|
4
|
+
*/
|
|
5
|
+
export default class MembersRequest extends StatelessWebexPlugin {
|
|
6
|
+
namespace: string;
|
|
7
|
+
locusDeltaRequest: (options: object) => Promise<any>;
|
|
8
|
+
/**
|
|
9
|
+
* Constructor
|
|
10
|
+
* @param {Object} attrs
|
|
11
|
+
* @param {Object} options
|
|
12
|
+
*/
|
|
13
|
+
constructor(attrs: {
|
|
14
|
+
meeting: any;
|
|
15
|
+
}, options: object);
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @param {Object} options with format of {invitee: string, locusUrl: string}
|
|
19
|
+
* @returns {Promise}
|
|
20
|
+
* @throws {Error} if the options are not valid and complete, must have invitee with emailAddress OR email AND locusUrl
|
|
21
|
+
* @memberof MembersRequest
|
|
22
|
+
*/
|
|
23
|
+
addMembers(options: any): Promise<any>;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @param {Object} options
|
|
27
|
+
* @returns {Promise}
|
|
28
|
+
* @throws {Error} if the options are not valid and complete, must have memberIds AND locusUrl
|
|
29
|
+
* @memberof MembersRequest
|
|
30
|
+
*/
|
|
31
|
+
admitMember(options: any): Promise<any>;
|
|
32
|
+
/**
|
|
33
|
+
* Sends a request to remove a member
|
|
34
|
+
* @param {Object} options
|
|
35
|
+
* @param {String} options.locusUrl
|
|
36
|
+
* @param {String} options.memberId ID of member
|
|
37
|
+
* @returns {Promise}
|
|
38
|
+
*/
|
|
39
|
+
removeMember(options: any): Promise<any>;
|
|
40
|
+
/**
|
|
41
|
+
* Sends a request to mute a member
|
|
42
|
+
* @param {Object} options
|
|
43
|
+
* @param {String} options.locusUrl
|
|
44
|
+
* @param {String} options.memberId ID of member
|
|
45
|
+
* @returns {Promise}
|
|
46
|
+
*/
|
|
47
|
+
muteMember(options: any): Promise<any>;
|
|
48
|
+
/**
|
|
49
|
+
* Sends a request to the DTMF endpoint to send tones
|
|
50
|
+
* @param {Object} options
|
|
51
|
+
* @param {String} options.locusUrl
|
|
52
|
+
* @param {String} options.memberId ID of PSTN user
|
|
53
|
+
* @returns {Promise}
|
|
54
|
+
*/
|
|
55
|
+
assignRolesMember(options: any): Promise<any>;
|
|
56
|
+
/**
|
|
57
|
+
* Sends a request to raise or lower a member's hand
|
|
58
|
+
* @param {Object} options
|
|
59
|
+
* @param {String} options.locusUrl
|
|
60
|
+
* @param {String} options.memberId ID of member
|
|
61
|
+
* @returns {Promise}
|
|
62
|
+
*/
|
|
63
|
+
raiseOrLowerHandMember(options: any): Promise<any>;
|
|
64
|
+
/**
|
|
65
|
+
* Sends a request to lower all hands
|
|
66
|
+
* @param {Object} options
|
|
67
|
+
* @param {String} options.locusUrl
|
|
68
|
+
* @param {String} options.requestingParticipantId ID of requesting participant
|
|
69
|
+
* @returns {Promise}
|
|
70
|
+
*/
|
|
71
|
+
lowerAllHandsMember(options: any): Promise<any>;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @param {Object} options with format of {locusUrl: string, requestingParticipantId: string}
|
|
75
|
+
* @returns {Promise}
|
|
76
|
+
* @throws {Error} if the options are not valid and complete, must have requestingParticipantId AND locusUrl
|
|
77
|
+
* @memberof MembersRequest
|
|
78
|
+
*/
|
|
79
|
+
editDisplayNameMember(options: {
|
|
80
|
+
locusUrl: string;
|
|
81
|
+
requestingParticipantId: string;
|
|
82
|
+
}): Promise<any>;
|
|
83
|
+
/**
|
|
84
|
+
* Sends a request to raise or lower a member's hand
|
|
85
|
+
* @param {Object} options
|
|
86
|
+
* @param {String} options.locusUrl
|
|
87
|
+
* @param {String} options.memberId ID of member
|
|
88
|
+
* @param {String} options.moderator ID of moderator
|
|
89
|
+
* @returns {Promise}
|
|
90
|
+
*/
|
|
91
|
+
transferHostToMember(options: any): Promise<any>;
|
|
92
|
+
/**
|
|
93
|
+
* Sends a request to the DTMF endpoint to send tones
|
|
94
|
+
* @param {Object} options
|
|
95
|
+
* @param {String} options.locusUrl
|
|
96
|
+
* @param {String} options.url device url SIP user
|
|
97
|
+
* @param {String} options.tones a string of one or more DTMF tones to send
|
|
98
|
+
* @param {String} options.memberId ID of PSTN user
|
|
99
|
+
* @returns {Promise}
|
|
100
|
+
*/
|
|
101
|
+
sendDialPadKey(options: {
|
|
102
|
+
locusUrl: string;
|
|
103
|
+
url: string;
|
|
104
|
+
tones: string;
|
|
105
|
+
memberId: string;
|
|
106
|
+
}): Promise<any>;
|
|
107
|
+
/**
|
|
108
|
+
* @param {Object} options with format of {invitee: string, locusUrl: string}
|
|
109
|
+
* @returns {Promise}
|
|
110
|
+
* @throws {Error} if the options are not valid and complete, must have invitee with emailAddress OR email AND locusUrl
|
|
111
|
+
* @memberof MembersRequest
|
|
112
|
+
*/
|
|
113
|
+
cancelPhoneInvite(options: any): Promise<any>;
|
|
114
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export declare enum ServerRoles {
|
|
2
|
+
Cohost = "COHOST",
|
|
3
|
+
Moderator = "MODERATOR",
|
|
4
|
+
Presenter = "PRESENTER"
|
|
5
|
+
}
|
|
6
|
+
export type ServerRoleShape = {
|
|
7
|
+
type: ServerRoles;
|
|
8
|
+
hasRole: boolean;
|
|
9
|
+
hostKey?: string;
|
|
10
|
+
};
|
|
11
|
+
export type RoleAssignmentOptions = {
|
|
12
|
+
roles: Array<ServerRoleShape>;
|
|
13
|
+
locusUrl: string;
|
|
14
|
+
memberId: string;
|
|
15
|
+
};
|
|
16
|
+
export type RoleAssignmentBody = {
|
|
17
|
+
role: {
|
|
18
|
+
roles: Array<ServerRoleShape>;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
export type RoleAssignmentRequest = {
|
|
22
|
+
method: string;
|
|
23
|
+
uri: string;
|
|
24
|
+
body: RoleAssignmentBody;
|
|
25
|
+
};
|
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
import { RoleAssignmentOptions, RoleAssignmentRequest, ServerRoleShape } from './types';
|
|
2
|
+
declare const MembersUtil: {
|
|
3
|
+
/**
|
|
4
|
+
* @param {Object} invitee with emailAddress, email or phoneNumber
|
|
5
|
+
* @param {String} locusUrl
|
|
6
|
+
* @param {Boolean} alertIfActive
|
|
7
|
+
* @returns {Object} the format object
|
|
8
|
+
*/
|
|
9
|
+
generateAddMemberOptions: (invitee: object, locusUrl: string, alertIfActive: boolean) => {
|
|
10
|
+
invitee: object;
|
|
11
|
+
locusUrl: string;
|
|
12
|
+
alertIfActive: boolean;
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* @param {Array} memberIds
|
|
16
|
+
* @param {String} locusUrl
|
|
17
|
+
* @returns {Object} the format object
|
|
18
|
+
*/
|
|
19
|
+
generateAdmitMemberOptions: (memberIds: Array<any>, locusUrl: string) => {
|
|
20
|
+
locusUrl: string;
|
|
21
|
+
memberIds: any[];
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* @param {Object} options with {invitee: {emailAddress, email, phoneNumber}, alertIfActive}
|
|
25
|
+
* @returns {Object} with {invitees: [{address}], alertIfActive}
|
|
26
|
+
*/
|
|
27
|
+
getAddMemberBody: (options: any) => {
|
|
28
|
+
invitees: {
|
|
29
|
+
address: any;
|
|
30
|
+
}[];
|
|
31
|
+
alertIfActive: any;
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* @param {Object} options with {memberIds, authorizingLocusUrl}
|
|
35
|
+
* @returns {Object} admit with {memberIds}
|
|
36
|
+
*/
|
|
37
|
+
getAdmitMemberRequestBody: (options: any) => any;
|
|
38
|
+
/**
|
|
39
|
+
* @param {Object} format with {memberIds, locusUrl, sessionLocusUrls}
|
|
40
|
+
* @returns {Object} the request parameters (method, uri, body) needed to make a admitMember request
|
|
41
|
+
* if a host/cohost is in a breakout session, the locus url should be the main session locus url
|
|
42
|
+
*/
|
|
43
|
+
getAdmitMemberRequestParams: (format: any) => {
|
|
44
|
+
method: string;
|
|
45
|
+
uri: string;
|
|
46
|
+
body: any;
|
|
47
|
+
};
|
|
48
|
+
/**
|
|
49
|
+
* @param {Object} format with {invitee {emailAddress, email, phoneNumber}, locusUrl, alertIfActive}
|
|
50
|
+
* @returns {Object} the request parameters (method, uri, body) needed to make a addMember request
|
|
51
|
+
*/
|
|
52
|
+
getAddMemberRequestParams: (format: any) => {
|
|
53
|
+
method: string;
|
|
54
|
+
uri: any;
|
|
55
|
+
body: {
|
|
56
|
+
invitees: {
|
|
57
|
+
address: any;
|
|
58
|
+
}[];
|
|
59
|
+
alertIfActive: any;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
isInvalidInvitee: (invitee: any) => boolean;
|
|
63
|
+
getRemoveMemberRequestParams: (options: any) => {
|
|
64
|
+
method: string;
|
|
65
|
+
uri: string;
|
|
66
|
+
body: {
|
|
67
|
+
reason: any;
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
generateTransferHostMemberOptions: (transfer: any, moderator: any, locusUrl: any) => {
|
|
71
|
+
moderator: any;
|
|
72
|
+
locusUrl: any;
|
|
73
|
+
memberId: any;
|
|
74
|
+
};
|
|
75
|
+
generateRemoveMemberOptions: (removal: any, locusUrl: any) => {
|
|
76
|
+
reason: string;
|
|
77
|
+
memberId: any;
|
|
78
|
+
locusUrl: any;
|
|
79
|
+
};
|
|
80
|
+
generateMuteMemberOptions: (memberId: any, status: any, locusUrl: any, isAudio: any) => {
|
|
81
|
+
memberId: any;
|
|
82
|
+
muted: any;
|
|
83
|
+
locusUrl: any;
|
|
84
|
+
isAudio: any;
|
|
85
|
+
};
|
|
86
|
+
generateRaiseHandMemberOptions: (memberId: any, status: any, locusUrl: any) => {
|
|
87
|
+
memberId: any;
|
|
88
|
+
raised: any;
|
|
89
|
+
locusUrl: any;
|
|
90
|
+
};
|
|
91
|
+
/**
|
|
92
|
+
* @param {String} memberId
|
|
93
|
+
* @param {[ServerRoleShape]} roles
|
|
94
|
+
* @param {String} locusUrl
|
|
95
|
+
* @returns {RoleAssignmentOptions}
|
|
96
|
+
*/
|
|
97
|
+
generateRoleAssignmentMemberOptions: (memberId: string, roles: Array<ServerRoleShape>, locusUrl: string) => RoleAssignmentOptions;
|
|
98
|
+
generateLowerAllHandsMemberOptions: (requestingParticipantId: any, locusUrl: any) => {
|
|
99
|
+
requestingParticipantId: any;
|
|
100
|
+
locusUrl: any;
|
|
101
|
+
};
|
|
102
|
+
/**
|
|
103
|
+
* @param {String} memberId id of the participant who is receiving request
|
|
104
|
+
* @param {String} requestingParticipantId id of the participant who is sending request (optional)
|
|
105
|
+
* @param {String} alias alias name
|
|
106
|
+
* @param {String} locusUrl url
|
|
107
|
+
* @returns {Object} consists of {memberID: string, requestingParticipantId: string, alias: string, locusUrl: string}
|
|
108
|
+
*/
|
|
109
|
+
generateEditDisplayNameMemberOptions: (memberId: any, requestingParticipantId: any, alias: any, locusUrl: any) => {
|
|
110
|
+
memberId: any;
|
|
111
|
+
requestingParticipantId: any;
|
|
112
|
+
alias: any;
|
|
113
|
+
locusUrl: any;
|
|
114
|
+
};
|
|
115
|
+
getMuteMemberRequestParams: (options: any) => {
|
|
116
|
+
method: string;
|
|
117
|
+
uri: string;
|
|
118
|
+
body: {
|
|
119
|
+
[x: string]: {
|
|
120
|
+
muted: any;
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
/**
|
|
125
|
+
* @param {ServerRoleShape} role
|
|
126
|
+
* @returns {ServerRoleShape} the role shape to be added to the body
|
|
127
|
+
*/
|
|
128
|
+
getAddedRoleShape: (role: ServerRoleShape) => ServerRoleShape;
|
|
129
|
+
/**
|
|
130
|
+
* @param {RoleAssignmentOptions} options
|
|
131
|
+
* @returns {RoleAssignmentRequest} the request parameters (method, uri, body) needed to make a addMember request
|
|
132
|
+
*/
|
|
133
|
+
getRoleAssignmentMemberRequestParams: (options: RoleAssignmentOptions) => RoleAssignmentRequest;
|
|
134
|
+
getRaiseHandMemberRequestParams: (options: any) => {
|
|
135
|
+
method: string;
|
|
136
|
+
uri: string;
|
|
137
|
+
body: {
|
|
138
|
+
hand: {
|
|
139
|
+
raised: any;
|
|
140
|
+
};
|
|
141
|
+
};
|
|
142
|
+
};
|
|
143
|
+
getLowerAllHandsMemberRequestParams: (options: any) => {
|
|
144
|
+
method: string;
|
|
145
|
+
uri: string;
|
|
146
|
+
body: {
|
|
147
|
+
hand: {
|
|
148
|
+
raised: boolean;
|
|
149
|
+
};
|
|
150
|
+
requestingParticipantId: any;
|
|
151
|
+
};
|
|
152
|
+
};
|
|
153
|
+
/**
|
|
154
|
+
* @param {Object} options with format of {locusUrl: string, requestingParticipantId: string}
|
|
155
|
+
* @returns {Object} request parameters (method, uri, body) needed to make a editDisplayName request
|
|
156
|
+
*/
|
|
157
|
+
editDisplayNameMemberRequestParams: (options: any) => {
|
|
158
|
+
method: string;
|
|
159
|
+
uri: string;
|
|
160
|
+
body: {
|
|
161
|
+
aliasValue: any;
|
|
162
|
+
requestingParticipantId: any;
|
|
163
|
+
};
|
|
164
|
+
};
|
|
165
|
+
getTransferHostToMemberRequestParams: (options: any) => {
|
|
166
|
+
method: string;
|
|
167
|
+
uri: string;
|
|
168
|
+
body: {
|
|
169
|
+
role: {
|
|
170
|
+
moderator: any;
|
|
171
|
+
};
|
|
172
|
+
};
|
|
173
|
+
};
|
|
174
|
+
genderateSendDTMFOptions: (url: any, tones: any, memberId: any, locusUrl: any) => {
|
|
175
|
+
url: any;
|
|
176
|
+
tones: any;
|
|
177
|
+
memberId: any;
|
|
178
|
+
locusUrl: any;
|
|
179
|
+
};
|
|
180
|
+
generateSendDTMFRequestParams: ({ url, tones, memberId, locusUrl }: {
|
|
181
|
+
url: any;
|
|
182
|
+
tones: any;
|
|
183
|
+
memberId: any;
|
|
184
|
+
locusUrl: any;
|
|
185
|
+
}) => {
|
|
186
|
+
method: string;
|
|
187
|
+
uri: string;
|
|
188
|
+
body: {
|
|
189
|
+
device: {
|
|
190
|
+
url: any;
|
|
191
|
+
};
|
|
192
|
+
memberId: any;
|
|
193
|
+
dtmf: {
|
|
194
|
+
correlationId: string;
|
|
195
|
+
tones: any;
|
|
196
|
+
direction: string;
|
|
197
|
+
};
|
|
198
|
+
};
|
|
199
|
+
};
|
|
200
|
+
cancelPhoneInviteOptions: (invitee: any, locusUrl: any) => {
|
|
201
|
+
invitee: any;
|
|
202
|
+
locusUrl: any;
|
|
203
|
+
};
|
|
204
|
+
generateCancelInviteRequestParams: (options: any) => {
|
|
205
|
+
method: string;
|
|
206
|
+
uri: any;
|
|
207
|
+
body: {
|
|
208
|
+
actionType: string;
|
|
209
|
+
invitees: {
|
|
210
|
+
address: any;
|
|
211
|
+
}[];
|
|
212
|
+
};
|
|
213
|
+
};
|
|
214
|
+
};
|
|
215
|
+
export default MembersUtil;
|
|
@@ -0,0 +1,276 @@
|
|
|
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.trigger = exports.statusCodes = exports.reconnection = exports.pstnAudioType = exports.mediaType = exports.eventType = exports.errorObjects = exports.errorCodes = exports.error = exports.displayLocation = exports.UNKNOWN = exports.PLATFORM = exports.CLIENT_NAME = void 0;
|
|
8
|
+
var errorDescription = {
|
|
9
|
+
UNKNOWN_CALL_FAILURE: 'UnknownCallFailure',
|
|
10
|
+
LOCUS_RATE_LIMITED_INCOMING: 'LocusRateLimitedIncoming',
|
|
11
|
+
LOCUS_RATE_LIMITED_OUTGOING: 'LocusRateLimitedOutgoing',
|
|
12
|
+
LOCUS_UNAVAILABLE: 'LocusUnavailable',
|
|
13
|
+
LOCUS_CONFLICT: 'LocusConflict',
|
|
14
|
+
TIMEOUT: 'Timeout',
|
|
15
|
+
LOCUS_INVALID_SEQUENCE_HASH: 'LocusInvalidSequenceHash',
|
|
16
|
+
UPDATE_MEDIA_FAILED: 'UpdateMediaFailed',
|
|
17
|
+
FAILED_TO_CONNECT_MEDIA: 'FailedToConnectMedia',
|
|
18
|
+
MEDIA_ENGINE_LOST: 'MediaEngineLost',
|
|
19
|
+
MEDIA_CONNECTION_LOST: 'MediaConnectionLost',
|
|
20
|
+
ICE_FAILURE: 'IceFailure',
|
|
21
|
+
MEDIA_ENGINE_HANG: 'MediaEngineHang',
|
|
22
|
+
ICE_SERVER_REJECTED: 'IceServerRejected',
|
|
23
|
+
CALL_FULL: 'CallFull',
|
|
24
|
+
ROOM_TOO_LARGE: 'RoomTooLarge',
|
|
25
|
+
GUEST_ALREADY_ADDED: 'GuestAlreadyAdded',
|
|
26
|
+
LOCUS_USER_NOT_AUTHORISED: 'LocusUserNotAuthorised',
|
|
27
|
+
CLOUDBERRY_UNAVAILABLE: 'CloudberryUnavailable',
|
|
28
|
+
ROOM_TOO_LARGE_FREE_ACCOUNT: 'RoomTooLarge_FreeAccount',
|
|
29
|
+
MEETING_INACTIVE: 'MeetingInactive',
|
|
30
|
+
MEETING_LOCKED: 'MeetingLocked',
|
|
31
|
+
MEETING_TERMINATING: 'MeetingTerminating',
|
|
32
|
+
MODERATOR_PIN_OR_GUEST_REQUIRED: 'Moderator_Pin_Or_Guest_Required',
|
|
33
|
+
MODERATOR_PIN_OR_GUEST_PIN_REQUIRED: 'Moderator_Pin_Or_Guest_PIN_Required',
|
|
34
|
+
MODERATOR_REQUIRED: 'Moderator_Required',
|
|
35
|
+
USER_NOT_MEMBER_OF_ROOM: 'UserNotMemberOfRoom',
|
|
36
|
+
NEW_LOCUS_ERROR: 'NewLocusError',
|
|
37
|
+
NET_WORK_UNAVAILABLE: 'NetworkUnavailable',
|
|
38
|
+
MEETING_UNAVAILABLE: 'MeetingUnavailable',
|
|
39
|
+
MEETING_ID_INVALID: 'MeetingIDInvalid',
|
|
40
|
+
MEETING_SITE_INVALID: 'MeetingSiteInvalid',
|
|
41
|
+
LOCUS_INVALID_JOINTIME: 'LocusInvalidJoinTime',
|
|
42
|
+
LOBBY_EXPIRED: 'LobbyExpired',
|
|
43
|
+
MEDIA_CONNECTION_LOST_PAIRED: 'MediaConnectionLostPaired',
|
|
44
|
+
PHONE_NUMBER_NOT_A_NUMBER: 'PhoneNumberNotANumber',
|
|
45
|
+
PHONE_NUMBER_TOO_LONG: 'PhoneNumberTooLong',
|
|
46
|
+
INVALID_DIALABLE_KEY: 'InvalidDialableKey',
|
|
47
|
+
ONE_ON_ONE_TO_SELF_NOT_ALLOWED: 'OneOnOneToSelfNotAllowed',
|
|
48
|
+
REMOVED_PARTICIPANT: 'RemovedParticipant',
|
|
49
|
+
MEETING_LINK_NOT_FOUND: 'MeetingLinkNotFound',
|
|
50
|
+
PHONE_NUMBER_TOO_SHORT_AFTER_IDD: 'PhoneNumberTooShortAfterIdd',
|
|
51
|
+
INVALID_INVITEE_ADDRESS: 'InvalidInviteeAddress',
|
|
52
|
+
PMR_USER_ACCOUNT_LOCKED_OUT: 'PMRUserAccountLockedOut',
|
|
53
|
+
GUEST_FORBIDDEN: 'GuestForbidden',
|
|
54
|
+
PMR_ACCOUNT_SUSPENDED: 'PMRAccountSuspended',
|
|
55
|
+
EMPTY_PHONE_NUMBER_OR_COUNTRY_CODE: 'EmptyPhoneNumberOrCountryCode',
|
|
56
|
+
CONVERSATION_NOT_FOUND: 'ConversationNotFound',
|
|
57
|
+
SIP_CALLEE_BUSY: 'SIPCalleeBusy',
|
|
58
|
+
SIP_CALLEE_NOT_FOUND: 'SIPCalleeNotFound',
|
|
59
|
+
START_RECORDING_FAILED: 'StartRecordingFailed',
|
|
60
|
+
RECORDING_IN_PROGRESS_FAILED: 'RecordingInProgressFailed'
|
|
61
|
+
};
|
|
62
|
+
var errorCategory = {
|
|
63
|
+
SIGNALING: 'signaling',
|
|
64
|
+
MEDIA: 'media',
|
|
65
|
+
OTHER: 'other',
|
|
66
|
+
EXPECTED: 'expected'
|
|
67
|
+
};
|
|
68
|
+
var errorFailureType = {
|
|
69
|
+
CALL_INITIATION_FAILURE: 'CallInitiationFailure',
|
|
70
|
+
MEDIA_CONNECTION_FAILURE: 'MediaConnectionFailure',
|
|
71
|
+
EXPECTED_FAILURE: 'ExpectedFailure',
|
|
72
|
+
ACCESS_RIGHTS: 'AccessRights'
|
|
73
|
+
};
|
|
74
|
+
var eventType = exports.eventType = {
|
|
75
|
+
// media quality events every 60 seconds
|
|
76
|
+
MEDIA_QUALITY: 'client.mediaquality.event',
|
|
77
|
+
CALL_INITIATED: 'client.call.initiated',
|
|
78
|
+
MERCURY_CONNECTION_LOST: 'client.mercury.connection.lost',
|
|
79
|
+
MERCURY_CONNECTION_RESTORED: 'client.mercury.connection.restored',
|
|
80
|
+
MOVE_MEDIA: 'client.call.move-media',
|
|
81
|
+
LOCAL_SDP_GENERATED: 'client.media-engine.local-sdp-generated',
|
|
82
|
+
REMOTE_SDP_RECEIVED: 'client.media-engine.remote-sdp-received',
|
|
83
|
+
LOCUS_JOIN_REQUEST: 'client.locus.join.request',
|
|
84
|
+
LOCUS_JOIN_RESPONSE: 'client.locus.join.response',
|
|
85
|
+
ALERT_DISPLAYED: 'client.alert.displayed',
|
|
86
|
+
// when ICE negotiation starts
|
|
87
|
+
ICE_START: 'client.ice.start',
|
|
88
|
+
ICE_END: 'client.ice.end',
|
|
89
|
+
ICE_DISCONNECT: 'client.ice.disconnect',
|
|
90
|
+
// Fired when the media engine reports receiving a new media stream. Media events MUST have the mediaType property.
|
|
91
|
+
RECEIVING_MEDIA_START: 'client.media.rx.start',
|
|
92
|
+
// Fired when the media engine reports the end of receiving a media stream.
|
|
93
|
+
// Media events MUST have the mediaType property.
|
|
94
|
+
RECEIVING_MEDIA_STOP: 'client.media.rx.stop',
|
|
95
|
+
// Fired when the media engine reports sending a new media stream. Media events MUST have the mediaType property.
|
|
96
|
+
SENDING_MEDIA_START: 'client.media.tx.start',
|
|
97
|
+
// Fired when the media engine reports it stopped sending a media stream.
|
|
98
|
+
// Media events MUST have the mediaType property.
|
|
99
|
+
SENDING_MEDIA_STOP: 'client.media.tx.stop',
|
|
100
|
+
MEDIA_RENDER_START: 'client.media.render.start',
|
|
101
|
+
MEDIA_RENDER_STOP: 'client.media.render.stop',
|
|
102
|
+
// static media event when outside of the normal scenario
|
|
103
|
+
// call-analyzer assumes that a client is capable of receiving audio, video, and share
|
|
104
|
+
// fired on change, or at beginning of a call
|
|
105
|
+
// every media type is required, so must be indicated with boolean
|
|
106
|
+
MEDIA_CAPABILITIES: 'client.media.capabilities',
|
|
107
|
+
// Sent when the client notices that a media session has been lost
|
|
108
|
+
MEDIA_RECONNECTING: 'client.media.reconnecting',
|
|
109
|
+
// Sent when the client recovers a media session that was lost
|
|
110
|
+
MEDIA_RECOVERED: 'client.media.recovered',
|
|
111
|
+
CALL_ABORTED: 'client.call.aborted',
|
|
112
|
+
// Fired when the "please enter your PIN" or similar prompt is displayed
|
|
113
|
+
// to the user, to authenticate them into the meeting
|
|
114
|
+
PIN_PROMPT: 'client.pin.prompt',
|
|
115
|
+
// Fired when PIN entry has been completed
|
|
116
|
+
PIN_COLLECTED: 'client.pin.collected',
|
|
117
|
+
// Fired when the client displays the native lobby
|
|
118
|
+
LOBBY_ENTERED: 'client.lobby.entered',
|
|
119
|
+
// Fired when the client leaves the native lobby
|
|
120
|
+
LOBBY_EXITED: 'client.lobby.exited',
|
|
121
|
+
// Fired when the user of the client starts a share (e.g. click 'Share' button).
|
|
122
|
+
// This should be sent from all clients that support sending a share.
|
|
123
|
+
SHARE_INITIATED: 'client.share.initiated',
|
|
124
|
+
// Fired when the user stops sharing (usually when they click the 'Stop' button for share)
|
|
125
|
+
SHARE_STOPPED: 'client.share.stopped',
|
|
126
|
+
// When the client receives a successful response from locus indicating that it has the floor for content sharing.
|
|
127
|
+
LOCAL_SHARE_FLOOR_GRANTED: 'client.share.floor-granted.local',
|
|
128
|
+
// Fired when the client changes its local UI/layout to a content sharing view,
|
|
129
|
+
// because it is expecting to display share media.
|
|
130
|
+
SHARE_LAYOUT_DISPLAYED: 'client.share.layout.displayed',
|
|
131
|
+
// Fired when the user of the client starts a whiteboard share (e.g. click 'Share Live' button).
|
|
132
|
+
WHITEBOARD_SHARE_INITIATED: 'client.whiteboard.share.initiated',
|
|
133
|
+
// Fired when the meeting floor is released for whiteboard share
|
|
134
|
+
WHITEBOARD_SHARE_STOPPED: 'client.whiteboard.share.stopped',
|
|
135
|
+
// When the client receives a successful response from locus indicating that it has the floor for whiteboard sharing.
|
|
136
|
+
WHITEBOARD_SHARE_FLOOR_GRANTED: 'client.whiteboard.share.floor-granted',
|
|
137
|
+
MUTED: 'client.muted',
|
|
138
|
+
UNMUTED: 'client.unmuted',
|
|
139
|
+
LEAVE: 'client.call.leave',
|
|
140
|
+
REMOTE_ENDED: 'client.call.remote-ended',
|
|
141
|
+
REMOTE_STARTED: 'client.call.remote-started',
|
|
142
|
+
MEDIA_REQUEST: 'client.locus.media.request',
|
|
143
|
+
MEDIA_RESPONSE: 'client.locus.media.response',
|
|
144
|
+
PSTN_AUDIO_ATTEMPT_START: 'client.pstnaudio.attempt.start',
|
|
145
|
+
PSTN_AUDIO_ATTEMPT_FINISH: 'client.pstnaudio.attempt.finish',
|
|
146
|
+
PSTN_AUDIO_ATTEMPT_SKIP: 'client.pstnaudio.attempt.skip'
|
|
147
|
+
};
|
|
148
|
+
var error = exports.error = {
|
|
149
|
+
name: {
|
|
150
|
+
MEDIA_ENGINE: 'media-engine',
|
|
151
|
+
ICE_FAILED: 'ice.failed',
|
|
152
|
+
LOCUS_RESPONSE: 'locus.response',
|
|
153
|
+
LOCUS_LEAVE: 'locus.leave',
|
|
154
|
+
OTHER: 'other'
|
|
155
|
+
},
|
|
156
|
+
notFatalErrorList: [3003, 3004, 4004, 4005, 4006, 4015],
|
|
157
|
+
errors: {
|
|
158
|
+
// https://sqbu-github.cisco.com/WebExSquared/event-dictionary/wiki/Error-codes-for-metric-events
|
|
159
|
+
// [errorDescription, errorFailureType, errorCategory]
|
|
160
|
+
1000: [errorDescription.UNKNOWN_CALL_FAILURE, errorFailureType.CALL_INITIATION_FAILURE, errorCategory.SIGNALING],
|
|
161
|
+
1001: [errorDescription.LOCUS_RATE_LIMITED_INCOMING, errorFailureType.CALL_INITIATION_FAILURE, errorCategory.SIGNALING],
|
|
162
|
+
1002: [errorDescription.LOCUS_RATE_LIMITED_OUTGOING, errorFailureType.CALL_INITIATION_FAILURE, errorCategory.SIGNALING],
|
|
163
|
+
1003: [errorDescription.LOCUS_UNAVAILABLE, errorFailureType.CALL_INITIATION_FAILURE, errorCategory.SIGNALING],
|
|
164
|
+
1004: [errorDescription.LOCUS_CONFLICT, errorFailureType.CALL_INITIATION_FAILURE, errorCategory.SIGNALING],
|
|
165
|
+
1005: [errorDescription.TIMEOUT, errorFailureType.CALL_INITIATION_FAILURE, errorCategory.SIGNALING],
|
|
166
|
+
1006: [errorDescription.LOCUS_INVALID_SEQUENCE_HASH, errorFailureType.CALL_INITIATION_FAILURE, errorCategory.SIGNALING],
|
|
167
|
+
1007: [errorDescription.UPDATE_MEDIA_FAILED, errorFailureType.CALL_INITIATION_FAILURE, errorCategory.SIGNALING],
|
|
168
|
+
2001: [errorDescription.FAILED_TO_CONNECT_MEDIA, errorFailureType.MEDIA_CONNECTION_FAILURE, errorCategory.SIGNALING],
|
|
169
|
+
2002: [errorDescription.MEDIA_ENGINE_LOST, errorFailureType.MEDIA_CONNECTION_FAILURE, errorCategory.SIGNALING],
|
|
170
|
+
2003: [errorDescription.MEDIA_CONNECTION_LOST, errorFailureType.MEDIA_CONNECTION_FAILURE, errorCategory.SIGNALING],
|
|
171
|
+
2004: [errorDescription.ICE_FAILURE, errorFailureType.MEDIA_CONNECTION_FAILURE, errorCategory.SIGNALING],
|
|
172
|
+
2005: [errorDescription.MEDIA_ENGINE_HANG, errorFailureType.MEDIA_CONNECTION_FAILURE, errorCategory.SIGNALING],
|
|
173
|
+
2006: [errorDescription.ICE_SERVER_REJECTED, errorFailureType.MEDIA_CONNECTION_FAILURE, errorCategory.SIGNALING],
|
|
174
|
+
3001: [errorDescription.CALL_FULL, errorFailureType.EXPECTED_FAILURE, errorCategory.EXPECTED],
|
|
175
|
+
3002: [errorDescription.ROOM_TOO_LARGE, errorFailureType.EXPECTED_FAILURE, errorCategory.EXPECTED],
|
|
176
|
+
3004: [errorDescription.GUEST_ALREADY_ADDED, errorFailureType.EXPECTED_FAILURE, errorCategory.EXPECTED],
|
|
177
|
+
3005: [errorDescription.LOCUS_USER_NOT_AUTHORISED, errorFailureType.EXPECTED_FAILURE, errorCategory.EXPECTED],
|
|
178
|
+
3006: [errorDescription.CLOUDBERRY_UNAVAILABLE, errorFailureType.EXPECTED_FAILURE, errorCategory.EXPECTED],
|
|
179
|
+
3007: [errorDescription.ROOM_TOO_LARGE_FREE_ACCOUNT, errorFailureType.EXPECTED_FAILURE, errorCategory.EXPECTED],
|
|
180
|
+
4001: [errorDescription.MEETING_INACTIVE, errorFailureType.CALL_INITIATION_FAILURE, errorCategory.EXPECTED],
|
|
181
|
+
4002: [errorDescription.MEETING_LOCKED, errorFailureType.CALL_INITIATION_FAILURE, errorCategory.EXPECTED],
|
|
182
|
+
4003: [errorDescription.MEETING_TERMINATING, errorFailureType.CALL_INITIATION_FAILURE, errorCategory.EXPECTED],
|
|
183
|
+
4004: [errorDescription.MODERATOR_PIN_OR_GUEST_REQUIRED, errorFailureType.ACCESS_RIGHTS, errorCategory.EXPECTED],
|
|
184
|
+
4005: [errorDescription.MODERATOR_PIN_OR_GUEST_PIN_REQUIRED, errorFailureType.ACCESS_RIGHTS, errorCategory.EXPECTED],
|
|
185
|
+
4006: [errorDescription.MODERATOR_REQUIRED, errorFailureType.ACCESS_RIGHTS, errorCategory.EXPECTED],
|
|
186
|
+
4007: [errorDescription.USER_NOT_MEMBER_OF_ROOM, errorFailureType.ACCESS_RIGHTS, errorCategory.EXPECTED],
|
|
187
|
+
4008: [errorDescription.NEW_LOCUS_ERROR, errorFailureType.CALL_INITIATION_FAILURE, errorCategory.EXPECTED],
|
|
188
|
+
4009: [errorDescription.NET_WORK_UNAVAILABLE, errorFailureType.CALL_INITIATION_FAILURE, errorCategory.EXPECTED],
|
|
189
|
+
4010: [errorDescription.MEETING_UNAVAILABLE, errorFailureType.CALL_INITIATION_FAILURE, errorCategory.EXPECTED],
|
|
190
|
+
4011: [errorDescription.MEETING_ID_INVALID, errorFailureType.EXPECTED_FAILURE, errorCategory.EXPECTED],
|
|
191
|
+
4012: [errorDescription.MEETING_SITE_INVALID, errorFailureType.EXPECTED_FAILURE, errorCategory.EXPECTED],
|
|
192
|
+
4013: [errorDescription.LOCUS_INVALID_JOINTIME, errorFailureType.EXPECTED_FAILURE, errorCategory.EXPECTED],
|
|
193
|
+
4014: [errorDescription.LOBBY_EXPIRED, errorFailureType.EXPECTED_FAILURE, errorCategory.EXPECTED],
|
|
194
|
+
4015: [errorDescription.MEDIA_CONNECTION_LOST_PAIRED, errorFailureType.MEDIA_CONNECTION_FAILURE, errorCategory.EXPECTED],
|
|
195
|
+
4016: [errorDescription.PHONE_NUMBER_NOT_A_NUMBER, errorFailureType.EXPECTED_FAILURE, errorCategory.EXPECTED],
|
|
196
|
+
4017: [errorDescription.PHONE_NUMBER_TOO_LONG, errorFailureType.EXPECTED_FAILURE, errorCategory.EXPECTED],
|
|
197
|
+
4018: [errorDescription.INVALID_DIALABLE_KEY, errorFailureType.EXPECTED_FAILURE, errorCategory.EXPECTED],
|
|
198
|
+
4019: [errorDescription.ONE_ON_ONE_TO_SELF_NOT_ALLOWED, errorFailureType.EXPECTED_FAILURE, errorCategory.EXPECTED],
|
|
199
|
+
4020: [errorDescription.REMOVED_PARTICIPANT, errorFailureType.EXPECTED_FAILURE, errorCategory.EXPECTED],
|
|
200
|
+
4021: [errorDescription.MEETING_LINK_NOT_FOUND, errorFailureType.EXPECTED_FAILURE, errorCategory.EXPECTED],
|
|
201
|
+
4022: [errorDescription.PHONE_NUMBER_TOO_SHORT_AFTER_IDD, errorFailureType.EXPECTED_FAILURE, errorCategory.EXPECTED],
|
|
202
|
+
4023: [errorDescription.INVALID_INVITEE_ADDRESS, errorFailureType.EXPECTED_FAILURE, errorCategory.EXPECTED],
|
|
203
|
+
4024: [errorDescription.PMR_USER_ACCOUNT_LOCKED_OUT, errorFailureType.EXPECTED_FAILURE, errorCategory.EXPECTED],
|
|
204
|
+
4025: [errorDescription.GUEST_FORBIDDEN, errorFailureType.EXPECTED_FAILURE, errorCategory.EXPECTED],
|
|
205
|
+
4026: [errorDescription.PMR_ACCOUNT_SUSPENDED, errorFailureType.EXPECTED_FAILURE, errorCategory.EXPECTED],
|
|
206
|
+
4027: [errorDescription.EMPTY_PHONE_NUMBER_OR_COUNTRY_CODE, errorFailureType.EXPECTED_FAILURE, errorCategory.EXPECTED],
|
|
207
|
+
4028: [errorDescription.CONVERSATION_NOT_FOUND, errorFailureType.EXPECTED_FAILURE, errorCategory.EXPECTED],
|
|
208
|
+
4029: [errorDescription.START_RECORDING_FAILED, errorFailureType.EXPECTED_FAILURE, errorCategory.EXPECTED],
|
|
209
|
+
4030: [errorDescription.RECORDING_IN_PROGRESS_FAILED, errorFailureType.EXPECTED_FAILURE, errorCategory.EXPECTED],
|
|
210
|
+
5000: [errorDescription.SIP_CALLEE_BUSY, errorFailureType.EXPECTED_FAILURE, errorCategory.EXPECTED],
|
|
211
|
+
5001: [errorDescription.SIP_CALLEE_NOT_FOUND, errorFailureType.EXPECTED_FAILURE, errorCategory.EXPECTED]
|
|
212
|
+
}
|
|
213
|
+
};
|
|
214
|
+
var trigger = exports.trigger = {
|
|
215
|
+
USER_INTERACTION: 'user-interaction',
|
|
216
|
+
MERCURY_EVENT: 'mercury-event',
|
|
217
|
+
LOCI_UPDATE: 'loci-update',
|
|
218
|
+
MEDIA_ENGINE_EVENT: 'media-engine-event',
|
|
219
|
+
TIMEOUT: 'timeout',
|
|
220
|
+
SIGNALING: 'signaling',
|
|
221
|
+
OTHER: 'other'
|
|
222
|
+
};
|
|
223
|
+
var pstnAudioType = exports.pstnAudioType = {
|
|
224
|
+
DIAL_IN: 'dial-in',
|
|
225
|
+
DIAL_OUT: 'dial-out'
|
|
226
|
+
};
|
|
227
|
+
var displayLocation = exports.displayLocation = {
|
|
228
|
+
TOAST: 'toast',
|
|
229
|
+
ROOM_LIST: 'room-list',
|
|
230
|
+
CALL_PANE: 'call-pane',
|
|
231
|
+
CALL_VIEW: 'call-view',
|
|
232
|
+
OTHER: 'other'
|
|
233
|
+
};
|
|
234
|
+
var mediaType = exports.mediaType = {
|
|
235
|
+
AUDIO: 'audio',
|
|
236
|
+
VIDEO: 'video',
|
|
237
|
+
SHARE: 'share',
|
|
238
|
+
WHITEBOARD: 'whiteboard'
|
|
239
|
+
};
|
|
240
|
+
var reconnection = exports.reconnection = {
|
|
241
|
+
RECOVERED_BY_NEW: 'new',
|
|
242
|
+
// always set to new due to /media request, no retries with ice restart
|
|
243
|
+
RECOVERED_BY_RETRY: 'retry'
|
|
244
|
+
};
|
|
245
|
+
var errorCodes = exports.errorCodes = {
|
|
246
|
+
// ordered by error code values
|
|
247
|
+
USER_CREATE_FAILED: 1400006,
|
|
248
|
+
USER_ALREADY_PARTICIPANT: 1403001,
|
|
249
|
+
CONVO_ALREADY_EXISTS: 1403010,
|
|
250
|
+
ALREADY_ANNOUNCEMENT_SPACE: 1403014,
|
|
251
|
+
NOT_ANNOUNCEMENT_SPACE: 1403015,
|
|
252
|
+
USER_NOT_MODERATOR_IN_ANNOUNCEMENT_SPACE: 1403016,
|
|
253
|
+
TEMP_ID_ALREADY_EXISTS: 1409001,
|
|
254
|
+
PARENT_ACTIVITY_ID_NOT_FOUND_OR_INVALID: 14000015
|
|
255
|
+
};
|
|
256
|
+
var statusCodes = exports.statusCodes = {
|
|
257
|
+
// ordered by status codes
|
|
258
|
+
NETWORK_OR_CORS: 0,
|
|
259
|
+
BAD_REQUEST: 400,
|
|
260
|
+
FORBIDDEN: 403,
|
|
261
|
+
NOT_FOUND: 404,
|
|
262
|
+
CONFLICT: 409
|
|
263
|
+
};
|
|
264
|
+
var errorObjects = exports.errorObjects = {
|
|
265
|
+
category: {
|
|
266
|
+
media: 'media',
|
|
267
|
+
expected: 'expected'
|
|
268
|
+
},
|
|
269
|
+
name: {
|
|
270
|
+
mediaEngine: 'media-engine'
|
|
271
|
+
}
|
|
272
|
+
};
|
|
273
|
+
var UNKNOWN = exports.UNKNOWN = 'unknown';
|
|
274
|
+
var CLIENT_NAME = exports.CLIENT_NAME = 'webex-js-sdk';
|
|
275
|
+
var PLATFORM = exports.PLATFORM = 'Web';
|
|
276
|
+
//# sourceMappingURL=config.js.map
|