@webex/internal-plugin-device 2.59.1 → 2.59.3-next.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 (41) hide show
  1. package/.eslintrc.js +6 -6
  2. package/README.md +80 -80
  3. package/babel.config.js +3 -3
  4. package/dist/config.js +27 -27
  5. package/dist/config.js.map +1 -1
  6. package/dist/constants.js.map +1 -1
  7. package/dist/device.js +226 -226
  8. package/dist/device.js.map +1 -1
  9. package/dist/features/feature-collection.js +14 -14
  10. package/dist/features/feature-collection.js.map +1 -1
  11. package/dist/features/feature-model.js +73 -73
  12. package/dist/features/feature-model.js.map +1 -1
  13. package/dist/features/features-model.js +28 -28
  14. package/dist/features/features-model.js.map +1 -1
  15. package/dist/features/index.js.map +1 -1
  16. package/dist/index.js +4 -4
  17. package/dist/index.js.map +1 -1
  18. package/dist/interceptors/device-url.js +8 -8
  19. package/dist/interceptors/device-url.js.map +1 -1
  20. package/dist/metrics.js.map +1 -1
  21. package/jest.config.js +3 -3
  22. package/package.json +17 -16
  23. package/process +1 -1
  24. package/src/config.js +60 -60
  25. package/src/constants.js +23 -23
  26. package/src/device.js +835 -835
  27. package/src/features/feature-collection.js +30 -30
  28. package/src/features/feature-model.js +189 -189
  29. package/src/features/features-model.js +96 -96
  30. package/src/features/index.js +5 -5
  31. package/src/index.js +29 -29
  32. package/src/interceptors/device-url.js +61 -61
  33. package/src/metrics.js +5 -5
  34. package/test/integration/spec/device.js +904 -904
  35. package/test/integration/spec/webex.js +42 -42
  36. package/test/unit/spec/device.js +409 -409
  37. package/test/unit/spec/features/feature-collection.js +24 -24
  38. package/test/unit/spec/features/feature-model.js +255 -255
  39. package/test/unit/spec/features/features-model.js +97 -97
  40. package/test/unit/spec/interceptors/device-url.js +215 -215
  41. package/test/unit/spec/wdm-dto.json +104 -104
@@ -1,104 +1,104 @@
1
- {
2
- "url": "https://locus-a.wbx2.com/locus/api/v1/devices/88888888-4444-4444-4444-CCCCCCCCCCCC",
3
- "webSocketUrl": "wss://mercury-connection-a.wbx2.com/v1/apps/wx2/registrations/WEBSOCKETID/messages",
4
- "deviceType": "DESKTOP",
5
- "name": "DESKTOP",
6
- "model": "DESKTOP",
7
- "localizedModel": "DESKTOP",
8
- "systemName": "DESKTOP",
9
- "systemVersion": "42",
10
- "capabilities": {
11
- "groupCallSupported": false,
12
- "localNotificationSupported": false,
13
- "deleteNotificationSupported": false,
14
- "sdpSupported": false
15
- },
16
- "features": {
17
- "developer": [
18
- {
19
- "key": "console",
20
- "type": "boolean",
21
- "val": "true",
22
- "value": true,
23
- "mutable": true,
24
- "lastModified": "2015-06-29T20:02:48.033Z"
25
- },
26
- {
27
- "key": "another-feature",
28
- "type": "boolean",
29
- "val": "true",
30
- "value": true,
31
- "mutable": false
32
- }
33
- ],
34
- "entitlement": [
35
- {
36
- "key": "call-initiation",
37
- "val": "true",
38
- "value": true,
39
- "mutable": false
40
- }
41
- ],
42
- "user": [
43
- {
44
- "key": "location-sharing",
45
- "val": "false",
46
- "value": false,
47
- "mutable": true
48
- }
49
- ]
50
- },
51
- "creationTime": "2020-01-01T12:12:12.000Z",
52
- "modificationTime": "2020-01-01T12:12:12.000Z",
53
- "deviceSettings": {},
54
- "deviceSettingsString": "{}",
55
- "showSupportText": false,
56
- "reportingSiteUrl": "www.example.com/report",
57
- "reportingSiteDesc": "Example Description",
58
- "isDeviceManaged": false,
59
- "trainSiteNames": [],
60
- "clientSecurityPolicy": "on",
61
- "intranetInactivityCheckUrl": "www.example-intranet.com/spark_session_check.json",
62
- "blockExternalCommunications": false,
63
- "clientMessagingGiphy": "ALLOW",
64
- "clientMessagingLinkPreview": "ALLOW",
65
- "ecmEnabledForAllUsers": false,
66
- "ecmSupportedStorageProviders": [],
67
- "defaultEcmMicrosoftCloud": "GLOBAL",
68
- "ecmMicrosoftTenant": "",
69
- "ecmScreenCaptureFeatureAllowed": true,
70
- "ecmWhiteboardFileDataAllowed": true,
71
- "callingBehavior": "NATIVE_WEBEX_TEAMS_CALLING",
72
- "onPremisePairingEnabled": true,
73
- "peopleInsightsEnabled": true,
74
- "allowSelfSignedCertificate": false,
75
- "webexCrossLaunch": false,
76
- "settings": {
77
- "reportingSiteUrl": "",
78
- "reportingSiteDesc": "",
79
- "showSupportText": false,
80
- "webexCrossLaunch": false,
81
- "mobileSuppressLockScreenPreview": false,
82
- "mobileAutoLockIdleTimeout": 0,
83
- "disableMeetingScheduling": false,
84
- "ecmEnabledForAllUsers": false,
85
- "ecmSupportedStorageProviders": [],
86
- "defaultEcmMicrosoftCloud": "GLOBAL",
87
- "ecmMicrosoftTenant": "",
88
- "restrictAccountsToEmailDomain": false,
89
- "ecmScreenCaptureFeatureAllowed": true,
90
- "ecmWhiteboardFileDataAllowed": true,
91
- "onPremisePairingEnabled": true,
92
- "callingBehavior": "NATIVE_WEBEX_TEAMS_CALLING",
93
- "clientMessagingGiphy": "ALLOW",
94
- "clientMessagingLinkPreview": "ALLOW",
95
- "clientSecurityPolicy": "on",
96
- "intranetInactivityCheckUrl": "www.example-intranet.com/spark_session_check.json",
97
- "peopleInsightsEnabled": false,
98
- "allowSelfSignedCertificate": false,
99
- "blockExternalCommunications": false,
100
- "reactionsEnabled": false
101
- },
102
- "userId": "USERID",
103
- "orgId": "ORGID"
104
- }
1
+ {
2
+ "url": "https://locus-a.wbx2.com/locus/api/v1/devices/88888888-4444-4444-4444-CCCCCCCCCCCC",
3
+ "webSocketUrl": "wss://mercury-connection-a.wbx2.com/v1/apps/wx2/registrations/WEBSOCKETID/messages",
4
+ "deviceType": "DESKTOP",
5
+ "name": "DESKTOP",
6
+ "model": "DESKTOP",
7
+ "localizedModel": "DESKTOP",
8
+ "systemName": "DESKTOP",
9
+ "systemVersion": "42",
10
+ "capabilities": {
11
+ "groupCallSupported": false,
12
+ "localNotificationSupported": false,
13
+ "deleteNotificationSupported": false,
14
+ "sdpSupported": false
15
+ },
16
+ "features": {
17
+ "developer": [
18
+ {
19
+ "key": "console",
20
+ "type": "boolean",
21
+ "val": "true",
22
+ "value": true,
23
+ "mutable": true,
24
+ "lastModified": "2015-06-29T20:02:48.033Z"
25
+ },
26
+ {
27
+ "key": "another-feature",
28
+ "type": "boolean",
29
+ "val": "true",
30
+ "value": true,
31
+ "mutable": false
32
+ }
33
+ ],
34
+ "entitlement": [
35
+ {
36
+ "key": "call-initiation",
37
+ "val": "true",
38
+ "value": true,
39
+ "mutable": false
40
+ }
41
+ ],
42
+ "user": [
43
+ {
44
+ "key": "location-sharing",
45
+ "val": "false",
46
+ "value": false,
47
+ "mutable": true
48
+ }
49
+ ]
50
+ },
51
+ "creationTime": "2020-01-01T12:12:12.000Z",
52
+ "modificationTime": "2020-01-01T12:12:12.000Z",
53
+ "deviceSettings": {},
54
+ "deviceSettingsString": "{}",
55
+ "showSupportText": false,
56
+ "reportingSiteUrl": "www.example.com/report",
57
+ "reportingSiteDesc": "Example Description",
58
+ "isDeviceManaged": false,
59
+ "trainSiteNames": [],
60
+ "clientSecurityPolicy": "on",
61
+ "intranetInactivityCheckUrl": "www.example-intranet.com/spark_session_check.json",
62
+ "blockExternalCommunications": false,
63
+ "clientMessagingGiphy": "ALLOW",
64
+ "clientMessagingLinkPreview": "ALLOW",
65
+ "ecmEnabledForAllUsers": false,
66
+ "ecmSupportedStorageProviders": [],
67
+ "defaultEcmMicrosoftCloud": "GLOBAL",
68
+ "ecmMicrosoftTenant": "",
69
+ "ecmScreenCaptureFeatureAllowed": true,
70
+ "ecmWhiteboardFileDataAllowed": true,
71
+ "callingBehavior": "NATIVE_WEBEX_TEAMS_CALLING",
72
+ "onPremisePairingEnabled": true,
73
+ "peopleInsightsEnabled": true,
74
+ "allowSelfSignedCertificate": false,
75
+ "webexCrossLaunch": false,
76
+ "settings": {
77
+ "reportingSiteUrl": "",
78
+ "reportingSiteDesc": "",
79
+ "showSupportText": false,
80
+ "webexCrossLaunch": false,
81
+ "mobileSuppressLockScreenPreview": false,
82
+ "mobileAutoLockIdleTimeout": 0,
83
+ "disableMeetingScheduling": false,
84
+ "ecmEnabledForAllUsers": false,
85
+ "ecmSupportedStorageProviders": [],
86
+ "defaultEcmMicrosoftCloud": "GLOBAL",
87
+ "ecmMicrosoftTenant": "",
88
+ "restrictAccountsToEmailDomain": false,
89
+ "ecmScreenCaptureFeatureAllowed": true,
90
+ "ecmWhiteboardFileDataAllowed": true,
91
+ "onPremisePairingEnabled": true,
92
+ "callingBehavior": "NATIVE_WEBEX_TEAMS_CALLING",
93
+ "clientMessagingGiphy": "ALLOW",
94
+ "clientMessagingLinkPreview": "ALLOW",
95
+ "clientSecurityPolicy": "on",
96
+ "intranetInactivityCheckUrl": "www.example-intranet.com/spark_session_check.json",
97
+ "peopleInsightsEnabled": false,
98
+ "allowSelfSignedCertificate": false,
99
+ "blockExternalCommunications": false,
100
+ "reactionsEnabled": false
101
+ },
102
+ "userId": "USERID",
103
+ "orgId": "ORGID"
104
+ }