@webex/internal-plugin-metrics 2.60.0-next.8 → 2.60.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (68) hide show
  1. package/dist/batcher.js +3 -3
  2. package/dist/batcher.js.map +1 -1
  3. package/dist/call-diagnostic-events-batcher.js +60 -0
  4. package/dist/call-diagnostic-events-batcher.js.map +1 -0
  5. package/dist/client-metrics-batcher.js +3 -3
  6. package/dist/client-metrics-batcher.js.map +1 -1
  7. package/dist/config.js +9 -6
  8. package/dist/config.js.map +1 -1
  9. package/dist/index.js +2 -21
  10. package/dist/index.js.map +1 -1
  11. package/dist/metrics.js +22 -24
  12. package/dist/metrics.js.map +1 -1
  13. package/package.json +19 -24
  14. package/src/batcher.js +0 -1
  15. package/src/call-diagnostic-events-batcher.js +62 -0
  16. package/src/client-metrics-batcher.js +0 -1
  17. package/src/config.js +0 -1
  18. package/src/index.js +15 -0
  19. package/src/metrics.js +16 -17
  20. package/test/unit/spec/batcher.js +0 -2
  21. package/test/unit/spec/call-diagnostic-events-batcher.js +195 -0
  22. package/test/unit/spec/client-metrics-batcher.js +0 -2
  23. package/test/unit/spec/metrics.js +94 -65
  24. package/dist/call-diagnostic/call-diagnostic-metrics-batcher.js +0 -67
  25. package/dist/call-diagnostic/call-diagnostic-metrics-batcher.js.map +0 -1
  26. package/dist/call-diagnostic/call-diagnostic-metrics-latencies.js +0 -454
  27. package/dist/call-diagnostic/call-diagnostic-metrics-latencies.js.map +0 -1
  28. package/dist/call-diagnostic/call-diagnostic-metrics.js +0 -821
  29. package/dist/call-diagnostic/call-diagnostic-metrics.js.map +0 -1
  30. package/dist/call-diagnostic/call-diagnostic-metrics.util.js +0 -323
  31. package/dist/call-diagnostic/call-diagnostic-metrics.util.js.map +0 -1
  32. package/dist/call-diagnostic/config.js +0 -593
  33. package/dist/call-diagnostic/config.js.map +0 -1
  34. package/dist/metrics.types.js +0 -7
  35. package/dist/metrics.types.js.map +0 -1
  36. package/dist/new-metrics.js +0 -336
  37. package/dist/new-metrics.js.map +0 -1
  38. package/dist/types/batcher.d.ts +0 -2
  39. package/dist/types/call-diagnostic/call-diagnostic-metrics-batcher.d.ts +0 -2
  40. package/dist/types/call-diagnostic/call-diagnostic-metrics-latencies.d.ts +0 -194
  41. package/dist/types/call-diagnostic/call-diagnostic-metrics.d.ts +0 -418
  42. package/dist/types/call-diagnostic/call-diagnostic-metrics.util.d.ts +0 -96
  43. package/dist/types/call-diagnostic/config.d.ts +0 -172
  44. package/dist/types/client-metrics-batcher.d.ts +0 -2
  45. package/dist/types/config.d.ts +0 -36
  46. package/dist/types/index.d.ts +0 -13
  47. package/dist/types/metrics.d.ts +0 -3
  48. package/dist/types/metrics.types.d.ts +0 -104
  49. package/dist/types/new-metrics.d.ts +0 -139
  50. package/dist/types/utils.d.ts +0 -6
  51. package/dist/utils.js +0 -26
  52. package/dist/utils.js.map +0 -1
  53. package/src/call-diagnostic/call-diagnostic-metrics-batcher.ts +0 -75
  54. package/src/call-diagnostic/call-diagnostic-metrics-latencies.ts +0 -419
  55. package/src/call-diagnostic/call-diagnostic-metrics.ts +0 -875
  56. package/src/call-diagnostic/call-diagnostic-metrics.util.ts +0 -362
  57. package/src/call-diagnostic/config.ts +0 -666
  58. package/src/index.ts +0 -43
  59. package/src/metrics.types.ts +0 -160
  60. package/src/new-metrics.ts +0 -317
  61. package/src/utils.ts +0 -17
  62. package/test/unit/spec/call-diagnostic/call-diagnostic-metrics-batcher.ts +0 -453
  63. package/test/unit/spec/call-diagnostic/call-diagnostic-metrics-latencies.ts +0 -506
  64. package/test/unit/spec/call-diagnostic/call-diagnostic-metrics.ts +0 -2078
  65. package/test/unit/spec/call-diagnostic/call-diagnostic-metrics.util.ts +0 -565
  66. package/test/unit/spec/new-metrics.ts +0 -266
  67. package/test/unit/spec/utils.ts +0 -22
  68. package/tsconfig.json +0 -6
@@ -1,593 +0,0 @@
1
- "use strict";
2
-
3
- var _Object$defineProperty = require("@babel/runtime-corejs2/core-js/object/define-property");
4
- var _interopRequireDefault = require("@babel/runtime-corejs2/helpers/interopRequireDefault");
5
- _Object$defineProperty(exports, "__esModule", {
6
- value: true
7
- });
8
- exports.WEBEX_SUB_SERVICE_TYPES = exports.WBX_APP_API_URL = exports.UNKNOWN_ERROR = exports.SERVICE_ERROR_CODES_TO_CLIENT_ERROR_CODES_MAP = exports.NEW_LOCUS_ERROR_CLIENT_CODE = exports.NETWORK_ERROR = exports.MISSING_ROAP_ANSWER_CLIENT_CODE = exports.MEETING_INFO_LOOKUP_ERROR_CLIENT_CODE = exports.ICE_FAILURE_CLIENT_CODE = exports.ICE_FAILED_WITH_TURN_TLS_CLIENT_CODE = exports.ICE_FAILED_WITHOUT_TURN_TLS_CLIENT_CODE = exports.ERROR_DESCRIPTIONS = exports.DTLS_HANDSHAKE_FAILED_CLIENT_CODE = exports.CLIENT_ERROR_CODE_TO_ERROR_PAYLOAD = exports.CALL_DIAGNOSTIC_LOG_IDENTIFIER = exports.CALL_DIAGNOSTIC_EVENT_FAILED_TO_SEND = exports.BROWSER_MEDIA_ERROR_NAME_TO_CLIENT_ERROR_CODES_MAP = exports.AUTHENTICATION_FAILED_CODE = void 0;
9
- var _defineProperty2 = _interopRequireDefault(require("@babel/runtime-corejs2/helpers/defineProperty"));
10
- var _CLIENT_ERROR_CODE_TO;
11
- /* eslint-disable import/prefer-default-export */
12
- // Most client error codes are mapped based on
13
- // https://sqbu-github.cisco.com/WebExSquared/event-dictionary/wiki/Error-codes-for-metric-events
14
-
15
- var CALL_DIAGNOSTIC_LOG_IDENTIFIER = exports.CALL_DIAGNOSTIC_LOG_IDENTIFIER = 'call-diagnostic-events -> ';
16
- var AUTHENTICATION_FAILED_CODE = exports.AUTHENTICATION_FAILED_CODE = 1010;
17
- var NETWORK_ERROR = exports.NETWORK_ERROR = 1026;
18
- var NEW_LOCUS_ERROR_CLIENT_CODE = exports.NEW_LOCUS_ERROR_CLIENT_CODE = 4008;
19
- var MEETING_INFO_LOOKUP_ERROR_CLIENT_CODE = exports.MEETING_INFO_LOOKUP_ERROR_CLIENT_CODE = 4100;
20
- var UNKNOWN_ERROR = exports.UNKNOWN_ERROR = 9999; // Unexpected error that is not a meetingInfo error, locus error or browser media error.
21
- var ICE_FAILURE_CLIENT_CODE = exports.ICE_FAILURE_CLIENT_CODE = 2004;
22
- var MISSING_ROAP_ANSWER_CLIENT_CODE = exports.MISSING_ROAP_ANSWER_CLIENT_CODE = 2007;
23
- var DTLS_HANDSHAKE_FAILED_CLIENT_CODE = exports.DTLS_HANDSHAKE_FAILED_CLIENT_CODE = 2008;
24
- var ICE_FAILED_WITH_TURN_TLS_CLIENT_CODE = exports.ICE_FAILED_WITH_TURN_TLS_CLIENT_CODE = 2010;
25
- var ICE_FAILED_WITHOUT_TURN_TLS_CLIENT_CODE = exports.ICE_FAILED_WITHOUT_TURN_TLS_CLIENT_CODE = 2009;
26
- var WBX_APP_API_URL = exports.WBX_APP_API_URL = 'wbxappapi'; // MeetingInfo WebexAppApi response object normally contains a body.url that includes the string 'wbxappapi'
27
-
28
- var WEBEX_SUB_SERVICE_TYPES = exports.WEBEX_SUB_SERVICE_TYPES = {
29
- PMR: 'PMR',
30
- SCHEDULED_MEETING: 'ScheduledMeeting',
31
- WEBINAR: 'Webinar'
32
- };
33
-
34
- // Found in https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia
35
- var BROWSER_MEDIA_ERROR_NAMES = {
36
- PERMISSION_DENIED_ERROR: 'PermissionDeniedError',
37
- NOT_ALLOWED_ERROR: 'NotAllowedError',
38
- NOT_READABLE_ERROR: 'NotReadableError',
39
- ABORT_ERROR: 'AbortError',
40
- NOT_FOUND_ERROR: 'NotFoundError',
41
- OVERCONSTRAINED_ERROR: 'OverconstrainedError',
42
- SECURITY_ERROR: 'SecurityError',
43
- TYPE_ERROR: 'TypeError'
44
- };
45
- var BROWSER_MEDIA_ERROR_NAME_TO_CLIENT_ERROR_CODES_MAP = exports.BROWSER_MEDIA_ERROR_NAME_TO_CLIENT_ERROR_CODES_MAP = (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)({}, BROWSER_MEDIA_ERROR_NAMES.PERMISSION_DENIED_ERROR, 4032), BROWSER_MEDIA_ERROR_NAMES.NOT_ALLOWED_ERROR, 4032), BROWSER_MEDIA_ERROR_NAMES.NOT_READABLE_ERROR, 2729), BROWSER_MEDIA_ERROR_NAMES.ABORT_ERROR, 2729), BROWSER_MEDIA_ERROR_NAMES.NOT_FOUND_ERROR, 2729), BROWSER_MEDIA_ERROR_NAMES.OVERCONSTRAINED_ERROR, 2729), BROWSER_MEDIA_ERROR_NAMES.SECURITY_ERROR, 2729), BROWSER_MEDIA_ERROR_NAMES.TYPE_ERROR, 2729);
46
- var ERROR_DESCRIPTIONS = exports.ERROR_DESCRIPTIONS = {
47
- UNKNOWN_CALL_FAILURE: 'UnknownCallFailure',
48
- LOCUS_RATE_LIMITED_INCOMING: 'LocusRateLimitedIncoming',
49
- LOCUS_RATE_LIMITED_OUTGOING: 'LocusRateLimitedOutgoing',
50
- LOCUS_UNAVAILABLE: 'LocusUnavailable',
51
- LOCUS_CONFLICT: 'LocusConflict',
52
- TIMEOUT: 'Timeout',
53
- LOCUS_INVALID_SEQUENCE_HASH: 'LocusInvalidSequenceHash',
54
- AUTHENTICATION_FAILED: 'AuthenticationFailed',
55
- NETWORK_ERROR: 'NetworkError',
56
- UPDATE_MEDIA_FAILED: 'UpdateMediaFailed',
57
- FAILED_TO_CONNECT_MEDIA: 'FailedToConnectMedia',
58
- MEDIA_ENGINE_LOST: 'MediaEngineLost',
59
- MEDIA_CONNECTION_LOST: 'MediaConnectionLost',
60
- ICE_FAILURE: 'IceFailure',
61
- MEDIA_ENGINE_HANG: 'MediaEngineHang',
62
- ICE_SERVER_REJECTED: 'IceServerRejected',
63
- CALL_FULL: 'CallFull',
64
- ROOM_TOO_LARGE: 'RoomTooLarge',
65
- GUEST_ALREADY_ADDED: 'GuestAlreadyAdded',
66
- LOCUS_USER_NOT_AUTHORISED: 'LocusUserNotAuthorised',
67
- CLOUDBERRY_UNAVAILABLE: 'CloudberryUnavailable',
68
- ROOM_TOO_LARGE_FREE_ACCOUNT: 'RoomTooLarge_FreeAccount',
69
- MEETING_INACTIVE: 'MeetingInactive',
70
- MEETING_LOCKED: 'MeetingLocked',
71
- MEETING_TERMINATING: 'MeetingTerminating',
72
- MODERATOR_PIN_OR_GUEST_REQUIRED: 'Moderator_Pin_Or_Guest_Required',
73
- MODERATOR_PIN_OR_GUEST_PIN_REQUIRED: 'Moderator_Pin_Or_Guest_PIN_Required',
74
- MODERATOR_REQUIRED: 'Moderator_Required',
75
- USER_NOT_MEMBER_OF_ROOM: 'UserNotMemberOfRoom',
76
- NEW_LOCUS_ERROR: 'NewLocusError',
77
- NETWORK_UNAVAILABLE: 'NetworkUnavailable',
78
- MEETING_UNAVAILABLE: 'MeetingUnavailable',
79
- MEETING_ID_INVALID: 'MeetingIDInvalid',
80
- MEETING_SITE_INVALID: 'MeetingSiteInvalid',
81
- LOCUS_INVALID_JOINTIME: 'LocusInvalidJoinTime',
82
- LOBBY_EXPIRED: 'LobbyExpired',
83
- MEDIA_CONNECTION_LOST_PAIRED: 'MediaConnectionLostPaired',
84
- PHONE_NUMBER_NOT_A_NUMBER: 'PhoneNumberNotANumber',
85
- PHONE_NUMBER_TOO_LONG: 'PhoneNumberTooLong',
86
- INVALID_DIALABLE_KEY: 'InvalidDialableKey',
87
- ONE_ON_ONE_TO_SELF_NOT_ALLOWED: 'OneOnOneToSelfNotAllowed',
88
- REMOVED_PARTICIPANT: 'RemovedParticipant',
89
- MEETING_LINK_NOT_FOUND: 'MeetingLinkNotFound',
90
- PHONE_NUMBER_TOO_SHORT_AFTER_IDD: 'PhoneNumberTooShortAfterIdd',
91
- INVALID_INVITEE_ADDRESS: 'InvalidInviteeAddress',
92
- PMR_USER_ACCOUNT_LOCKED_OUT: 'PMRUserAccountLockedOut',
93
- GUEST_FORBIDDEN: 'GuestForbidden',
94
- PMR_ACCOUNT_SUSPENDED: 'PMRAccountSuspended',
95
- EMPTY_PHONE_NUMBER_OR_COUNTRY_CODE: 'EmptyPhoneNumberOrCountryCode',
96
- CONVERSATION_NOT_FOUND: 'ConversationNotFound',
97
- SIP_CALLEE_BUSY: 'SIPCalleeBusy',
98
- SIP_CALLEE_NOT_FOUND: 'SIPCalleeNotFound',
99
- START_RECORDING_FAILED: 'StartRecordingFailed',
100
- RECORDING_IN_PROGRESS_FAILED: 'RecordingInProgressFailed',
101
- MEETING_INFO_LOOKUP_ERROR: 'MeetingInfoLookupError',
102
- CALL_FULL_ADD_GUEST: 'CallFullAddGuest',
103
- REQUIRE_WEBEX_LOGIN: 'RequireWebexLogin',
104
- USER_NOT_ALLOWED_ACCESS_MEETING: 'UserNotAllowedAccessMeeting',
105
- USER_NEEDS_ACTIVATION: 'UserNeedsActivation',
106
- SIGN_UP_INVALID_EMAIL: 'SignUpInvalidEmail',
107
- UNKNOWN_ERROR: 'UnknownError',
108
- NO_MEDIA_FOUND: 'NoMediaFound',
109
- STREAM_ERROR_NO_MEDIA: 'StreamErrorNoMedia',
110
- CAMERA_PERMISSION_DENIED: 'CameraPermissionDenied',
111
- FRAUD_DETECTION: 'FraudDetection',
112
- E2EE_NOT_SUPPORTED: 'E2EENotSupported',
113
- LOCUS_LOBBY_FULL_CMR: 'LocusLobbyFullCMR',
114
- USER_NOT_INVITED_TO_JOIN: 'UserNotInvitedToJoin',
115
- MISSING_ROAP_ANSWER: 'MissingRoapAnswer',
116
- DTLS_HANDSHAKE_FAILED: 'DTLSHandshakeFailed',
117
- ICE_FAILED_WITHOUT_TURN_TLS: 'ICEFailedWithoutTURN_TLS',
118
- ICE_FAILED_WITH_TURN_TLS: 'ICEFailedWithTURN_TLS'
119
- };
120
- var SERVICE_ERROR_CODES_TO_CLIENT_ERROR_CODES_MAP = exports.SERVICE_ERROR_CODES_TO_CLIENT_ERROR_CODES_MAP = {
121
- // ---- Webex API ----
122
- // Taken from https://wiki.cisco.com/display/HFWEB/MeetingInfo+API and https://sqbu-github.cisco.com/WebExSquared/spark-client-framework/blob/master/spark-client-framework/Services/WebexMeetingService/WebexMeetingModel.h
123
- // Site not support the URL's domain
124
- 58400: 4100,
125
- 99002: 4100,
126
- // Cannot find the data. Unkown meeting.
127
- 99009: 4100,
128
- // Meeting is not allow to cross env
129
- 58500: 4100,
130
- // Input parameters contain invalit item
131
- 400001: 4100,
132
- // Empty password or token. Meeting is not allow to access since require password
133
- 403004: 4005,
134
- // Wrong password. Meeting is not allow to access since password error
135
- 403028: 4005,
136
- // Wrong or expired permission. Meeting is not allow to access since permissionToken error or expire
137
- 403032: 4005,
138
- // Meeting is required login for current user
139
- 403034: 4036,
140
- // Meeting is not allow to access since require password or hostKey
141
- // Empty password or host key
142
- 403036: 4005,
143
- // Meeting is not allow to access since password or hostKey error
144
- // Wrong password or host key
145
- 403038: 4005,
146
- // CMR Meeting Not Supported (meeting exists, but not CMR meeting)
147
- 403040: 4100,
148
- // Requires Moderator Pin or Guest Pin
149
- 403041: 4005,
150
- // Email blocked
151
- 403047: 4101,
152
- // Device not authenticated for your organization
153
- 403408: 4101,
154
- // Invalid panelist Pin
155
- 403043: 4005,
156
- // Device not registered in org. Device not authenticated.
157
- 403048: 4101,
158
- // Not allowed to join external meetings. Violate meeting join policy. Your organization settings don't allow you to join this meeting.
159
- 403049: 4101,
160
- // Invalid email. Requires sign in meeting's current site.
161
- 403100: 4101,
162
- // Enforce sign in: need login before access when policy enforce sign in. GuestForceUserSignInPolicy
163
- 403101: 4036,
164
- // Enforce sign in: sign in with your email address that is approved by your organization
165
- 403102: 4036,
166
- // Join internal Meeting: need login before access when policy enforce sign in. Guest force user sign in internal meeting policy.
167
- 403103: 4036,
168
- // Join internal Meeting: The host's organization policy doesn't allow your account to join this meeting. Try switching to another account
169
- 403104: 4101,
170
- 404001: 4101,
171
- // Site data not found. Unkonwn meeting. Site data not found(or null).
172
- 404006: 4100,
173
- // Invalid input with too many requests. Too many requests access, please input captcha code
174
- 423001: 4005,
175
- // Wrong password with too many requests. PasswordError too many time, please input captcha code
176
- 423005: 4005,
177
- // Wrong password or host key with too many requests
178
- 423006: 4005,
179
- // PasswordError with right captcha, please input captcha code
180
- 423010: 4005,
181
- // PasswordOrHostKeyError with right captcha, please input captcha code
182
- 423012: 4005,
183
- // Unverified or invalid input. Force show captcha. Please input captcha code"
184
- 423013: 4005,
185
- // Too many requests access
186
- 429005: 4100,
187
- // ---- Locus ------
188
- // FREE_USER_MAX_PARTICIPANTS_EXCEEDED
189
- 2403001: 3007,
190
- // PAID_USER_MAX_PARTICIPANTS_EXCEEDED
191
- 2403002: 3002,
192
- // SERVICE_MAX_PARTICIPANTS_EXCEEDED
193
- 2403003: 3002,
194
- // LOCUS_INACTIVE
195
- 2403004: 4001,
196
- // LOCUS_FREE_USER_MAX_PARTICIPANTS_JOINED_EXCEEDED
197
- 2403018: 3001,
198
- // LOCUS_PAID_USER_MAX_PARTICIPANTS_JOINED_EXCEEDED
199
- 2403019: 3001,
200
- // LOCUS_LOCKED
201
- 2423003: 4002,
202
- // LOCUS_TERMINATING
203
- 2423004: 4003,
204
- // LOCUS_REQUIRES_MODERATOR_PIN_OR_GUEST
205
- 2423005: 4005,
206
- 2423006: 4005,
207
- 2423016: 4005,
208
- 2423017: 4005,
209
- 2423018: 4005,
210
- // LOCUS_OWNER_CONCURRENT_ACTIVE_MEETING_LIMIT_EXCEEDED
211
- 2423012: 12000,
212
- // LOCUS_LOBBY_FULL_CMR
213
- 2423021: 12001,
214
- // LOCUS_REQUIRES_MODERATOR_ROLE
215
- 2423007: 4006,
216
- // LOCUS_JOIN_RESTRICTED_USER_NOT_IN_ROOM
217
- 2403010: 4007,
218
- // LOCUS_MEETING_NOT_FOUND
219
- 2403014: 4011,
220
- // LOCUS_NOT_WEBEX_SITE
221
- 2403015: 4012,
222
- // LOCUS_INVALID_JOIN_TIME
223
- 2423010: 4013,
224
- // LOCUS_PHONE_NUMBER_NOT_A_NUMBER
225
- 2400008: 4016,
226
- // LOCUS_PHONE_NUMBER_TOO_LONG
227
- 2400011: 4017,
228
- // LOCUS_INVALID_DIALABLE_KEY
229
- 2400012: 4018,
230
- // LOCUS_ONE_ON_ONE_TO_SELF_NOT_ALLOWED
231
- 2403007: 4019,
232
- // LOCUS_REMOVED_PARTICIPANT
233
- 2401002: 4020,
234
- // LOCUS_MEETING_LINK_NOT_FOUND
235
- 2404002: 4021,
236
- // LOCUS_PHONE_NUMBER_TOO_SHORT_AFTER_IDD
237
- 2400009: 4022,
238
- // LOCUS_INVALID_INVITEE_ADDRESS
239
- 2400025: 4023,
240
- // LOCUS_PMR_USER_ACCOUNT_LOCKEDOUT
241
- 2423009: 4024,
242
- // LOCUS_RESOURCE_GUEST_FORBIDDEN
243
- 2403022: 4025,
244
- // LOCUS_PMR_SUSPENDED
245
- 2423008: 4026,
246
- // LOCUS_EMPTY_PHONE_NUMBER_OR_COUNTRY_CODE
247
- 2400006: 4027,
248
- // LOCUS_INVALID_SINCE_OR_SEQUENCE_HASH_IN_REQUEST
249
- 2400014: 1006,
250
- // LOCUS_CONVERSATION_NOT_FOUND
251
- 2404001: 4028,
252
- // LOCUS_RECORDING_CONTROL_NOT_SUPPORTED
253
- 2403025: 4029,
254
- // LOCUS_RECORDING_NOT_STARTED
255
- 2405001: 4029,
256
- // LOCUS_RECORDING_NOT_ENABLED
257
- 2409005: 4029,
258
- // E2EE_NOT_SUPPORTED
259
- 2409062: 12002,
260
- // LOCUS: ONLY_INVITED_USERS_CAN_ATTEND_THIS_MEETING
261
- 2423025: 12003,
262
- // ---- U2C Sign in catalog ------
263
- // The user exists, but hasn't completed activation. Needs to visit Atlas for more processing.
264
- 100002: 4102,
265
- // The user exists, had completed activation earlier, but requires re-activation because of change in login strategy.
266
- // Common example is: user signed up using an OAuth provider, but that OAuth provider was removed by org's admin. Now the user needs to re-activate using alternate login strategies: password-pin, new OAuth provider, SSO, etc.
267
- 100007: 4102,
268
- // The user does not exist
269
- 100001: 4103,
270
- // The user wasn't found, and the organization used for search is a domain-claimed organization.
271
- 100006: 4103,
272
- 100005: 4103,
273
- // Depracated because of an issue in the UCF Clients
274
- // If both email-hash and domain-hash are null or undefined.
275
- 100004: 4103
276
- };
277
- var CLIENT_ERROR_CODE_TO_ERROR_PAYLOAD = exports.CLIENT_ERROR_CODE_TO_ERROR_PAYLOAD = (_CLIENT_ERROR_CODE_TO = {
278
- 1000: {
279
- errorDescription: ERROR_DESCRIPTIONS.UNKNOWN_CALL_FAILURE,
280
- category: 'signaling',
281
- fatal: true,
282
- name: 'locus.response'
283
- },
284
- 1001: {
285
- errorDescription: ERROR_DESCRIPTIONS.LOCUS_RATE_LIMITED_INCOMING,
286
- category: 'signaling',
287
- fatal: true,
288
- name: 'locus.response'
289
- },
290
- 1002: {
291
- errorDescription: ERROR_DESCRIPTIONS.LOCUS_RATE_LIMITED_OUTGOING,
292
- category: 'signaling',
293
- fatal: true,
294
- name: 'locus.response'
295
- },
296
- 1003: {
297
- errorDescription: ERROR_DESCRIPTIONS.LOCUS_UNAVAILABLE,
298
- category: 'signaling',
299
- fatal: true,
300
- name: 'locus.response'
301
- },
302
- 1004: {
303
- errorDescription: ERROR_DESCRIPTIONS.LOCUS_CONFLICT,
304
- category: 'signaling',
305
- fatal: true,
306
- name: 'locus.response'
307
- },
308
- 1005: {
309
- errorDescription: ERROR_DESCRIPTIONS.TIMEOUT,
310
- category: 'signaling',
311
- fatal: true,
312
- name: 'locus.response'
313
- },
314
- 1006: {
315
- errorDescription: ERROR_DESCRIPTIONS.LOCUS_INVALID_SEQUENCE_HASH,
316
- category: 'signaling',
317
- fatal: true
318
- },
319
- 1007: {
320
- errorDescription: ERROR_DESCRIPTIONS.UPDATE_MEDIA_FAILED,
321
- category: 'signaling',
322
- fatal: true
323
- }
324
- }, (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)(_CLIENT_ERROR_CODE_TO, AUTHENTICATION_FAILED_CODE, {
325
- errorDescription: ERROR_DESCRIPTIONS.AUTHENTICATION_FAILED,
326
- category: 'network',
327
- fatal: true
328
- }), 1026, {
329
- errorDescription: ERROR_DESCRIPTIONS.NETWORK_ERROR,
330
- category: 'network',
331
- fatal: true
332
- }), 2001, {
333
- errorDescription: ERROR_DESCRIPTIONS.FAILED_TO_CONNECT_MEDIA,
334
- category: 'signaling',
335
- fatal: true
336
- }), 2002, {
337
- errorDescription: ERROR_DESCRIPTIONS.MEDIA_ENGINE_LOST,
338
- category: 'signaling',
339
- fatal: true
340
- }), 2003, {
341
- errorDescription: ERROR_DESCRIPTIONS.MEDIA_CONNECTION_LOST,
342
- category: 'signaling',
343
- fatal: true
344
- }), ICE_FAILURE_CLIENT_CODE, {
345
- errorDescription: ERROR_DESCRIPTIONS.ICE_FAILURE,
346
- category: 'media',
347
- fatal: true
348
- }), 2005, {
349
- errorDescription: ERROR_DESCRIPTIONS.MEDIA_ENGINE_HANG,
350
- category: 'signaling',
351
- fatal: true
352
- }), 2006, {
353
- errorDescription: ERROR_DESCRIPTIONS.ICE_SERVER_REJECTED,
354
- category: 'signaling',
355
- fatal: true
356
- }), MISSING_ROAP_ANSWER_CLIENT_CODE, {
357
- errorDescription: ERROR_DESCRIPTIONS.MISSING_ROAP_ANSWER,
358
- category: 'signaling',
359
- fatal: true
360
- }), DTLS_HANDSHAKE_FAILED_CLIENT_CODE, {
361
- errorDescription: ERROR_DESCRIPTIONS.DTLS_HANDSHAKE_FAILED,
362
- category: 'media',
363
- fatal: true
364
- }), (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)(_CLIENT_ERROR_CODE_TO, ICE_FAILED_WITHOUT_TURN_TLS_CLIENT_CODE, {
365
- errorDescription: ERROR_DESCRIPTIONS.ICE_FAILED_WITHOUT_TURN_TLS,
366
- category: 'media',
367
- fatal: true
368
- }), ICE_FAILED_WITH_TURN_TLS_CLIENT_CODE, {
369
- errorDescription: ERROR_DESCRIPTIONS.ICE_FAILED_WITH_TURN_TLS,
370
- category: 'media',
371
- fatal: true
372
- }), 3001, {
373
- errorDescription: ERROR_DESCRIPTIONS.CALL_FULL,
374
- category: 'expected',
375
- fatal: true
376
- }), 3002, {
377
- errorDescription: ERROR_DESCRIPTIONS.ROOM_TOO_LARGE,
378
- category: 'expected',
379
- fatal: true
380
- }), 3004, {
381
- errorDescription: ERROR_DESCRIPTIONS.GUEST_ALREADY_ADDED,
382
- category: 'expected',
383
- fatal: false
384
- }), 3005, {
385
- errorDescription: ERROR_DESCRIPTIONS.LOCUS_USER_NOT_AUTHORISED,
386
- category: 'expected',
387
- fatal: true
388
- }), 3006, {
389
- errorDescription: ERROR_DESCRIPTIONS.CLOUDBERRY_UNAVAILABLE,
390
- category: 'expected',
391
- fatal: true
392
- }), 3007, {
393
- errorDescription: ERROR_DESCRIPTIONS.STREAM_ERROR_NO_MEDIA,
394
- category: 'expected',
395
- fatal: true
396
- }), 3013, {
397
- errorDescription: ERROR_DESCRIPTIONS.ROOM_TOO_LARGE_FREE_ACCOUNT,
398
- category: 'expected',
399
- fatal: false
400
- }), 4001, {
401
- errorDescription: ERROR_DESCRIPTIONS.MEETING_INACTIVE,
402
- category: 'expected',
403
- fatal: true
404
- }), (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)(_CLIENT_ERROR_CODE_TO, 4002, {
405
- errorDescription: ERROR_DESCRIPTIONS.MEETING_LOCKED,
406
- category: 'expected',
407
- fatal: true,
408
- name: 'locus.response'
409
- }), 4003, {
410
- errorDescription: ERROR_DESCRIPTIONS.MEETING_TERMINATING,
411
- category: 'expected',
412
- fatal: true,
413
- name: 'locus.leave'
414
- }), 4004, {
415
- errorDescription: ERROR_DESCRIPTIONS.MODERATOR_PIN_OR_GUEST_REQUIRED,
416
- category: 'expected',
417
- fatal: false
418
- }), 4005, {
419
- errorDescription: ERROR_DESCRIPTIONS.MODERATOR_PIN_OR_GUEST_PIN_REQUIRED,
420
- category: 'expected',
421
- fatal: false
422
- }), 4006, {
423
- errorDescription: ERROR_DESCRIPTIONS.MODERATOR_REQUIRED,
424
- category: 'expected',
425
- fatal: false
426
- }), 4007, {
427
- errorDescription: ERROR_DESCRIPTIONS.USER_NOT_MEMBER_OF_ROOM,
428
- category: 'expected',
429
- fatal: true
430
- }), 4008, {
431
- errorDescription: ERROR_DESCRIPTIONS.NEW_LOCUS_ERROR,
432
- category: 'signaling',
433
- fatal: true
434
- }), 4009, {
435
- errorDescription: ERROR_DESCRIPTIONS.NETWORK_UNAVAILABLE,
436
- category: 'network',
437
- fatal: true
438
- }), 4010, {
439
- errorDescription: ERROR_DESCRIPTIONS.MEETING_UNAVAILABLE,
440
- category: 'expected',
441
- fatal: true
442
- }), 4011, {
443
- errorDescription: ERROR_DESCRIPTIONS.MEETING_ID_INVALID,
444
- category: 'expected',
445
- fatal: true
446
- }), (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)(_CLIENT_ERROR_CODE_TO, 4012, {
447
- errorDescription: ERROR_DESCRIPTIONS.MEETING_SITE_INVALID,
448
- category: 'expected',
449
- fatal: true
450
- }), 4013, {
451
- errorDescription: ERROR_DESCRIPTIONS.LOCUS_INVALID_JOINTIME,
452
- category: 'expected',
453
- fatal: true
454
- }), 4014, {
455
- errorDescription: ERROR_DESCRIPTIONS.LOBBY_EXPIRED,
456
- category: 'expected',
457
- fatal: true
458
- }), 4015, {
459
- errorDescription: ERROR_DESCRIPTIONS.MEDIA_CONNECTION_LOST_PAIRED,
460
- category: 'expected',
461
- fatal: false
462
- }), 4016, {
463
- errorDescription: ERROR_DESCRIPTIONS.PHONE_NUMBER_NOT_A_NUMBER,
464
- category: 'expected',
465
- fatal: true,
466
- name: 'locus.response'
467
- }), 4017, {
468
- errorDescription: ERROR_DESCRIPTIONS.PHONE_NUMBER_TOO_LONG,
469
- category: 'expected',
470
- fatal: true,
471
- name: 'locus.response'
472
- }), 4018, {
473
- errorDescription: ERROR_DESCRIPTIONS.INVALID_DIALABLE_KEY,
474
- category: 'expected',
475
- fatal: true,
476
- name: 'locus.response'
477
- }), 4019, {
478
- errorDescription: ERROR_DESCRIPTIONS.ONE_ON_ONE_TO_SELF_NOT_ALLOWED,
479
- category: 'expected',
480
- fatal: true
481
- }), 4020, {
482
- errorDescription: ERROR_DESCRIPTIONS.REMOVED_PARTICIPANT,
483
- category: 'expected',
484
- fatal: true
485
- }), 4021, {
486
- errorDescription: ERROR_DESCRIPTIONS.MEETING_LINK_NOT_FOUND,
487
- category: 'expected',
488
- fatal: true
489
- }), (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)(_CLIENT_ERROR_CODE_TO, 4022, {
490
- errorDescription: ERROR_DESCRIPTIONS.PHONE_NUMBER_TOO_SHORT_AFTER_IDD,
491
- category: 'expected',
492
- fatal: true
493
- }), 4023, {
494
- errorDescription: ERROR_DESCRIPTIONS.INVALID_INVITEE_ADDRESS,
495
- category: 'expected',
496
- fatal: true
497
- }), 4024, {
498
- errorDescription: ERROR_DESCRIPTIONS.PMR_USER_ACCOUNT_LOCKED_OUT,
499
- category: 'expected',
500
- fatal: true
501
- }), 4025, {
502
- errorDescription: ERROR_DESCRIPTIONS.GUEST_FORBIDDEN,
503
- category: 'expected',
504
- fatal: true
505
- }), 4026, {
506
- errorDescription: ERROR_DESCRIPTIONS.PMR_ACCOUNT_SUSPENDED,
507
- category: 'expected',
508
- fatal: true
509
- }), 4027, {
510
- errorDescription: ERROR_DESCRIPTIONS.EMPTY_PHONE_NUMBER_OR_COUNTRY_CODE,
511
- category: 'expected',
512
- fatal: true
513
- }), 4028, {
514
- errorDescription: ERROR_DESCRIPTIONS.CONVERSATION_NOT_FOUND,
515
- category: 'expected',
516
- fatal: true
517
- }), 4029, {
518
- errorDescription: ERROR_DESCRIPTIONS.START_RECORDING_FAILED,
519
- category: 'expected',
520
- fatal: true
521
- }), 4030, {
522
- errorDescription: ERROR_DESCRIPTIONS.RECORDING_IN_PROGRESS_FAILED,
523
- category: 'expected',
524
- fatal: true
525
- }), 4032, {
526
- errorDescription: ERROR_DESCRIPTIONS.CAMERA_PERMISSION_DENIED,
527
- category: 'expected',
528
- fatal: true
529
- }), (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)(_CLIENT_ERROR_CODE_TO, 4036, {
530
- errorDescription: ERROR_DESCRIPTIONS.REQUIRE_WEBEX_LOGIN,
531
- category: 'expected',
532
- fatal: true
533
- }), 5000, {
534
- errorDescription: ERROR_DESCRIPTIONS.SIP_CALLEE_BUSY,
535
- category: 'expected',
536
- fatal: true
537
- }), 5001, {
538
- errorDescription: ERROR_DESCRIPTIONS.SIP_CALLEE_NOT_FOUND,
539
- category: 'expected',
540
- fatal: true
541
- }), 4100, {
542
- errorDescription: ERROR_DESCRIPTIONS.MEETING_INFO_LOOKUP_ERROR,
543
- category: 'signaling',
544
- fatal: true
545
- }), 3003, {
546
- errorDescription: ERROR_DESCRIPTIONS.CALL_FULL_ADD_GUEST,
547
- category: 'expected',
548
- fatal: false
549
- }), 4101, {
550
- errorDescription: ERROR_DESCRIPTIONS.USER_NOT_ALLOWED_ACCESS_MEETING,
551
- category: 'expected',
552
- fatal: true
553
- }), 4102, {
554
- errorDescription: ERROR_DESCRIPTIONS.USER_NEEDS_ACTIVATION,
555
- category: 'expected',
556
- fatal: true
557
- }), 4103, {
558
- errorDescription: ERROR_DESCRIPTIONS.SIGN_UP_INVALID_EMAIL,
559
- category: 'expected',
560
- fatal: true
561
- }), 2729, {
562
- errorDescription: ERROR_DESCRIPTIONS.NO_MEDIA_FOUND,
563
- category: 'expected',
564
- fatal: false
565
- }), 9999, {
566
- errorDescription: ERROR_DESCRIPTIONS.UNKNOWN_ERROR,
567
- category: 'other',
568
- fatal: true
569
- }), (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)(_CLIENT_ERROR_CODE_TO, 12000, {
570
- errorDescription: ERROR_DESCRIPTIONS.FRAUD_DETECTION,
571
- category: 'expected',
572
- fatal: true,
573
- name: 'locus.response',
574
- shownToUser: true
575
- }), 12001, {
576
- errorDescription: ERROR_DESCRIPTIONS.LOCUS_LOBBY_FULL_CMR,
577
- category: 'expected',
578
- fatal: true,
579
- name: 'locus.response',
580
- shownToUser: true
581
- }), 12002, {
582
- errorDescription: ERROR_DESCRIPTIONS.E2EE_NOT_SUPPORTED,
583
- category: 'expected',
584
- fatal: true,
585
- name: 'locus.response',
586
- shownToUser: true
587
- }), 12003, {
588
- errorDescription: ERROR_DESCRIPTIONS.USER_NOT_INVITED_TO_JOIN,
589
- category: 'expected',
590
- fatal: true
591
- }));
592
- var CALL_DIAGNOSTIC_EVENT_FAILED_TO_SEND = exports.CALL_DIAGNOSTIC_EVENT_FAILED_TO_SEND = 'js_sdk_call_diagnostic_event_failed_to_send';
593
- //# sourceMappingURL=config.js.map