@webex/webex-core 2.59.2 → 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.
- package/.eslintrc.js +6 -6
- package/README.md +79 -79
- package/babel.config.js +3 -3
- package/dist/config.js +24 -24
- package/dist/config.js.map +1 -1
- package/dist/credentials-config.js +56 -56
- package/dist/credentials-config.js.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/interceptors/auth.js +28 -28
- package/dist/interceptors/auth.js.map +1 -1
- package/dist/interceptors/default-options.js +24 -24
- package/dist/interceptors/default-options.js.map +1 -1
- package/dist/interceptors/embargo.js +9 -9
- package/dist/interceptors/embargo.js.map +1 -1
- package/dist/interceptors/network-timing.js +19 -19
- package/dist/interceptors/network-timing.js.map +1 -1
- package/dist/interceptors/payload-transformer.js +19 -19
- package/dist/interceptors/payload-transformer.js.map +1 -1
- package/dist/interceptors/rate-limit.js +40 -40
- package/dist/interceptors/rate-limit.js.map +1 -1
- package/dist/interceptors/redirect.js +13 -13
- package/dist/interceptors/redirect.js.map +1 -1
- package/dist/interceptors/request-event.js +23 -23
- package/dist/interceptors/request-event.js.map +1 -1
- package/dist/interceptors/request-logger.js +13 -13
- package/dist/interceptors/request-logger.js.map +1 -1
- package/dist/interceptors/request-timing.js +23 -23
- package/dist/interceptors/request-timing.js.map +1 -1
- package/dist/interceptors/response-logger.js +19 -19
- package/dist/interceptors/response-logger.js.map +1 -1
- package/dist/interceptors/user-agent.js +29 -29
- package/dist/interceptors/user-agent.js.map +1 -1
- package/dist/interceptors/webex-tracking-id.js +15 -15
- package/dist/interceptors/webex-tracking-id.js.map +1 -1
- package/dist/interceptors/webex-user-agent.js +13 -13
- package/dist/interceptors/webex-user-agent.js.map +1 -1
- package/dist/lib/batcher.js +83 -83
- package/dist/lib/batcher.js.map +1 -1
- package/dist/lib/credentials/credentials.js +103 -103
- package/dist/lib/credentials/credentials.js.map +1 -1
- package/dist/lib/credentials/grant-errors.js +17 -17
- package/dist/lib/credentials/grant-errors.js.map +1 -1
- package/dist/lib/credentials/index.js +2 -2
- package/dist/lib/credentials/index.js.map +1 -1
- package/dist/lib/credentials/scope.js +11 -11
- package/dist/lib/credentials/scope.js.map +1 -1
- package/dist/lib/credentials/token-collection.js +2 -2
- package/dist/lib/credentials/token-collection.js.map +1 -1
- package/dist/lib/credentials/token.js +145 -145
- package/dist/lib/credentials/token.js.map +1 -1
- package/dist/lib/page.js +49 -49
- package/dist/lib/page.js.map +1 -1
- package/dist/lib/services/constants.js.map +1 -1
- package/dist/lib/services/index.js +2 -2
- package/dist/lib/services/index.js.map +1 -1
- package/dist/lib/services/interceptors/server-error.js +9 -9
- package/dist/lib/services/interceptors/server-error.js.map +1 -1
- package/dist/lib/services/interceptors/service.js +24 -24
- package/dist/lib/services/interceptors/service.js.map +1 -1
- package/dist/lib/services/metrics.js.map +1 -1
- package/dist/lib/services/service-catalog.js +104 -104
- package/dist/lib/services/service-catalog.js.map +1 -1
- package/dist/lib/services/service-fed-ramp.js.map +1 -1
- package/dist/lib/services/service-host.js +134 -134
- package/dist/lib/services/service-host.js.map +1 -1
- package/dist/lib/services/service-registry.js +175 -175
- package/dist/lib/services/service-registry.js.map +1 -1
- package/dist/lib/services/service-state.js +38 -38
- package/dist/lib/services/service-state.js.map +1 -1
- package/dist/lib/services/service-url.js +31 -31
- package/dist/lib/services/service-url.js.map +1 -1
- package/dist/lib/services/services.js +245 -245
- package/dist/lib/services/services.js.map +1 -1
- package/dist/lib/stateless-webex-plugin.js +28 -28
- package/dist/lib/stateless-webex-plugin.js.map +1 -1
- package/dist/lib/storage/decorators.js +27 -27
- package/dist/lib/storage/decorators.js.map +1 -1
- package/dist/lib/storage/errors.js +4 -4
- package/dist/lib/storage/errors.js.map +1 -1
- package/dist/lib/storage/index.js.map +1 -1
- package/dist/lib/storage/make-webex-plugin-store.js +44 -44
- package/dist/lib/storage/make-webex-plugin-store.js.map +1 -1
- package/dist/lib/storage/make-webex-store.js +40 -40
- package/dist/lib/storage/make-webex-store.js.map +1 -1
- package/dist/lib/storage/memory-store-adapter.js +9 -9
- package/dist/lib/storage/memory-store-adapter.js.map +1 -1
- package/dist/lib/webex-core-plugin-mixin.js +13 -13
- package/dist/lib/webex-core-plugin-mixin.js.map +1 -1
- package/dist/lib/webex-http-error.js +9 -9
- package/dist/lib/webex-http-error.js.map +1 -1
- package/dist/lib/webex-internal-core-plugin-mixin.js +13 -13
- package/dist/lib/webex-internal-core-plugin-mixin.js.map +1 -1
- package/dist/lib/webex-plugin.js +36 -36
- package/dist/lib/webex-plugin.js.map +1 -1
- package/dist/plugins/logger.js +9 -9
- package/dist/plugins/logger.js.map +1 -1
- package/dist/webex-core.js +104 -104
- package/dist/webex-core.js.map +1 -1
- package/dist/webex-internal-core.js +12 -12
- package/dist/webex-internal-core.js.map +1 -1
- package/jest.config.js +3 -3
- package/package.json +20 -19
- package/process +1 -1
- package/src/config.js +90 -90
- package/src/credentials-config.js +212 -212
- package/src/index.js +62 -62
- package/src/interceptors/auth.js +186 -186
- package/src/interceptors/default-options.js +55 -55
- package/src/interceptors/embargo.js +43 -43
- package/src/interceptors/network-timing.js +54 -54
- package/src/interceptors/payload-transformer.js +55 -55
- package/src/interceptors/rate-limit.js +169 -169
- package/src/interceptors/redirect.js +106 -106
- package/src/interceptors/request-event.js +93 -93
- package/src/interceptors/request-logger.js +78 -78
- package/src/interceptors/request-timing.js +65 -65
- package/src/interceptors/response-logger.js +98 -98
- package/src/interceptors/user-agent.js +77 -77
- package/src/interceptors/webex-tracking-id.js +73 -73
- package/src/interceptors/webex-user-agent.js +79 -79
- package/src/lib/batcher.js +307 -307
- package/src/lib/credentials/credentials.js +552 -552
- package/src/lib/credentials/grant-errors.js +92 -92
- package/src/lib/credentials/index.js +16 -16
- package/src/lib/credentials/scope.js +34 -34
- package/src/lib/credentials/token-collection.js +17 -17
- package/src/lib/credentials/token.js +559 -559
- package/src/lib/page.js +159 -159
- package/src/lib/services/constants.js +9 -9
- package/src/lib/services/index.js +26 -26
- package/src/lib/services/interceptors/server-error.js +48 -48
- package/src/lib/services/interceptors/service.js +101 -101
- package/src/lib/services/metrics.js +4 -4
- package/src/lib/services/service-catalog.js +435 -435
- package/src/lib/services/service-fed-ramp.js +4 -4
- package/src/lib/services/service-host.js +267 -267
- package/src/lib/services/service-registry.js +465 -465
- package/src/lib/services/service-state.js +78 -78
- package/src/lib/services/service-url.js +124 -124
- package/src/lib/services/services.js +1018 -1018
- package/src/lib/stateless-webex-plugin.js +98 -98
- package/src/lib/storage/decorators.js +220 -220
- package/src/lib/storage/errors.js +15 -15
- package/src/lib/storage/index.js +10 -10
- package/src/lib/storage/make-webex-plugin-store.js +211 -211
- package/src/lib/storage/make-webex-store.js +140 -140
- package/src/lib/storage/memory-store-adapter.js +79 -79
- package/src/lib/webex-core-plugin-mixin.js +114 -114
- package/src/lib/webex-http-error.js +61 -61
- package/src/lib/webex-internal-core-plugin-mixin.js +107 -107
- package/src/lib/webex-plugin.js +222 -222
- package/src/plugins/logger.js +60 -60
- package/src/webex-core.js +745 -745
- package/src/webex-internal-core.js +46 -46
- package/test/integration/spec/credentials/credentials.js +139 -139
- package/test/integration/spec/credentials/token.js +102 -102
- package/test/integration/spec/services/service-catalog.js +838 -838
- package/test/integration/spec/services/services.js +1221 -1221
- package/test/integration/spec/webex-core.js +178 -178
- package/test/unit/spec/_setup.js +44 -44
- package/test/unit/spec/credentials/credentials.js +1017 -1017
- package/test/unit/spec/credentials/token.js +441 -441
- package/test/unit/spec/interceptors/auth.js +521 -521
- package/test/unit/spec/interceptors/default-options.js +84 -84
- package/test/unit/spec/interceptors/embargo.js +144 -144
- package/test/unit/spec/interceptors/network-timing.js +49 -49
- package/test/unit/spec/interceptors/payload-transformer.js +155 -155
- package/test/unit/spec/interceptors/rate-limit.js +302 -302
- package/test/unit/spec/interceptors/redirect.js +102 -102
- package/test/unit/spec/interceptors/request-timing.js +92 -92
- package/test/unit/spec/interceptors/user-agent.js +76 -76
- package/test/unit/spec/interceptors/webex-tracking-id.js +76 -76
- package/test/unit/spec/interceptors/webex-user-agent.js +159 -159
- package/test/unit/spec/lib/batcher.js +330 -330
- package/test/unit/spec/lib/page.js +148 -148
- package/test/unit/spec/lib/webex-plugin.js +48 -48
- package/test/unit/spec/services/interceptors/server-error.js +204 -204
- package/test/unit/spec/services/interceptors/service.js +188 -188
- package/test/unit/spec/services/service-catalog.js +194 -194
- package/test/unit/spec/services/service-host.js +260 -260
- package/test/unit/spec/services/service-registry.js +747 -747
- package/test/unit/spec/services/service-state.js +60 -60
- package/test/unit/spec/services/service-url.js +258 -258
- package/test/unit/spec/services/services.js +348 -348
- package/test/unit/spec/storage/persist.js +50 -50
- package/test/unit/spec/storage/storage-adapter.js +12 -12
- package/test/unit/spec/storage/wait-for-value.js +81 -81
- package/test/unit/spec/webex-core.js +253 -253
- package/test/unit/spec/webex-internal-core.js +91 -91
|
@@ -39,29 +39,29 @@ var CLUSTER_SERVICE = process.env.WEBEX_CONVERSATION_CLUSTER_SERVICE || DEFAULT_
|
|
|
39
39
|
var DEFAULT_CLUSTER_IDENTIFIER = process.env.WEBEX_CONVERSATION_DEFAULT_CLUSTER || "".concat(DEFAULT_CLUSTER, ":").concat(CLUSTER_SERVICE);
|
|
40
40
|
|
|
41
41
|
/* eslint-disable no-underscore-dangle */
|
|
42
|
-
/**
|
|
43
|
-
* @class
|
|
42
|
+
/**
|
|
43
|
+
* @class
|
|
44
44
|
*/
|
|
45
45
|
var Services = _webexPlugin.default.extend({
|
|
46
46
|
namespace: 'Services',
|
|
47
|
-
/**
|
|
48
|
-
* The {@link WeakMap} of {@link ServiceRegistry} class instances that are
|
|
49
|
-
* keyed with WebexCore instances.
|
|
50
|
-
*
|
|
51
|
-
* @instance
|
|
52
|
-
* @type {WeakMap<WebexCore, ServiceRegistry>}
|
|
53
|
-
* @private
|
|
54
|
-
* @memberof Services
|
|
47
|
+
/**
|
|
48
|
+
* The {@link WeakMap} of {@link ServiceRegistry} class instances that are
|
|
49
|
+
* keyed with WebexCore instances.
|
|
50
|
+
*
|
|
51
|
+
* @instance
|
|
52
|
+
* @type {WeakMap<WebexCore, ServiceRegistry>}
|
|
53
|
+
* @private
|
|
54
|
+
* @memberof Services
|
|
55
55
|
*/
|
|
56
56
|
registries: new _weakMap.default(),
|
|
57
|
-
/**
|
|
58
|
-
* The {@link WeakMap} of {@link ServiceState} class instances that are
|
|
59
|
-
* keyed with WebexCore instances.
|
|
60
|
-
*
|
|
61
|
-
* @instance
|
|
62
|
-
* @type {WeakMap<WebexCore, ServiceState>}
|
|
63
|
-
* @private
|
|
64
|
-
* @memberof Services
|
|
57
|
+
/**
|
|
58
|
+
* The {@link WeakMap} of {@link ServiceState} class instances that are
|
|
59
|
+
* keyed with WebexCore instances.
|
|
60
|
+
*
|
|
61
|
+
* @instance
|
|
62
|
+
* @type {WeakMap<WebexCore, ServiceState>}
|
|
63
|
+
* @private
|
|
64
|
+
* @memberof Services
|
|
65
65
|
*/
|
|
66
66
|
states: new _weakMap.default(),
|
|
67
67
|
props: {
|
|
@@ -69,113 +69,113 @@ var Services = _webexPlugin.default.extend({
|
|
|
69
69
|
},
|
|
70
70
|
_catalogs: new _weakMap.default(),
|
|
71
71
|
_serviceUrls: null,
|
|
72
|
-
/**
|
|
73
|
-
* Get the registry associated with this webex instance.
|
|
74
|
-
*
|
|
75
|
-
* @private
|
|
76
|
-
* @memberof Services
|
|
77
|
-
* @returns {ServiceRegistry} - The associated {@link ServiceRegistry}.
|
|
72
|
+
/**
|
|
73
|
+
* Get the registry associated with this webex instance.
|
|
74
|
+
*
|
|
75
|
+
* @private
|
|
76
|
+
* @memberof Services
|
|
77
|
+
* @returns {ServiceRegistry} - The associated {@link ServiceRegistry}.
|
|
78
78
|
*/
|
|
79
79
|
getRegistry: function getRegistry() {
|
|
80
80
|
return this.registries.get(this.webex);
|
|
81
81
|
},
|
|
82
|
-
/**
|
|
83
|
-
* Get the state associated with this webex instance.
|
|
84
|
-
*
|
|
85
|
-
* @private
|
|
86
|
-
* @memberof Services
|
|
87
|
-
* @returns {ServiceState} - The associated {@link ServiceState}.
|
|
82
|
+
/**
|
|
83
|
+
* Get the state associated with this webex instance.
|
|
84
|
+
*
|
|
85
|
+
* @private
|
|
86
|
+
* @memberof Services
|
|
87
|
+
* @returns {ServiceState} - The associated {@link ServiceState}.
|
|
88
88
|
*/
|
|
89
89
|
getState: function getState() {
|
|
90
90
|
return this.states.get(this.webex);
|
|
91
91
|
},
|
|
92
|
-
/**
|
|
93
|
-
* @private
|
|
94
|
-
* Get the current catalog based on the assocaited
|
|
95
|
-
* webex instance.
|
|
96
|
-
* @returns {ServiceCatalog}
|
|
92
|
+
/**
|
|
93
|
+
* @private
|
|
94
|
+
* Get the current catalog based on the assocaited
|
|
95
|
+
* webex instance.
|
|
96
|
+
* @returns {ServiceCatalog}
|
|
97
97
|
*/
|
|
98
98
|
_getCatalog: function _getCatalog() {
|
|
99
99
|
return this._catalogs.get(this.webex);
|
|
100
100
|
},
|
|
101
|
-
/**
|
|
102
|
-
* Get a service url from the current services list by name
|
|
103
|
-
* from the associated instance catalog.
|
|
104
|
-
* @param {string} name
|
|
105
|
-
* @param {boolean} [priorityHost]
|
|
106
|
-
* @param {string} [serviceGroup]
|
|
107
|
-
* @returns {string|undefined}
|
|
101
|
+
/**
|
|
102
|
+
* Get a service url from the current services list by name
|
|
103
|
+
* from the associated instance catalog.
|
|
104
|
+
* @param {string} name
|
|
105
|
+
* @param {boolean} [priorityHost]
|
|
106
|
+
* @param {string} [serviceGroup]
|
|
107
|
+
* @returns {string|undefined}
|
|
108
108
|
*/
|
|
109
109
|
get: function get(name, priorityHost, serviceGroup) {
|
|
110
110
|
var catalog = this._getCatalog();
|
|
111
111
|
return catalog.get(name, priorityHost, serviceGroup);
|
|
112
112
|
},
|
|
113
|
-
/**
|
|
114
|
-
* Determine if the catalog contains a specific service
|
|
115
|
-
*
|
|
116
|
-
* @param {string} serviceName - The service name to validate.
|
|
117
|
-
* @returns {boolean} - True if the service exists.
|
|
113
|
+
/**
|
|
114
|
+
* Determine if the catalog contains a specific service
|
|
115
|
+
*
|
|
116
|
+
* @param {string} serviceName - The service name to validate.
|
|
117
|
+
* @returns {boolean} - True if the service exists.
|
|
118
118
|
*/
|
|
119
119
|
hasService: function hasService(serviceName) {
|
|
120
120
|
return !!this.get(serviceName);
|
|
121
121
|
},
|
|
122
|
-
/**
|
|
123
|
-
* Determine if a whilelist exists in the service catalog.
|
|
124
|
-
*
|
|
125
|
-
* @returns {boolean} - True if a allowed domains list exists.
|
|
122
|
+
/**
|
|
123
|
+
* Determine if a whilelist exists in the service catalog.
|
|
124
|
+
*
|
|
125
|
+
* @returns {boolean} - True if a allowed domains list exists.
|
|
126
126
|
*/
|
|
127
127
|
hasAllowedDomains: function hasAllowedDomains() {
|
|
128
128
|
var catalog = this._getCatalog();
|
|
129
129
|
return catalog.getAllowedDomains().length > 0;
|
|
130
130
|
},
|
|
131
|
-
/**
|
|
132
|
-
* Generate a service catalog as an object from
|
|
133
|
-
* the associated instance catalog.
|
|
134
|
-
* @param {boolean} [priorityHost] - use highest priority host if set to `true`
|
|
135
|
-
* @param {string} [serviceGroup]
|
|
136
|
-
* @returns {Record<string, string>}
|
|
131
|
+
/**
|
|
132
|
+
* Generate a service catalog as an object from
|
|
133
|
+
* the associated instance catalog.
|
|
134
|
+
* @param {boolean} [priorityHost] - use highest priority host if set to `true`
|
|
135
|
+
* @param {string} [serviceGroup]
|
|
136
|
+
* @returns {Record<string, string>}
|
|
137
137
|
*/
|
|
138
138
|
list: function list(priorityHost, serviceGroup) {
|
|
139
139
|
var catalog = this._getCatalog();
|
|
140
140
|
return catalog.list(priorityHost, serviceGroup);
|
|
141
141
|
},
|
|
142
|
-
/**
|
|
143
|
-
* Mark a priority host service url as failed.
|
|
144
|
-
* This will mark the host associated with the
|
|
145
|
-
* `ServiceUrl` to be removed from the its
|
|
146
|
-
* respective host array, and then return the next
|
|
147
|
-
* viable host from the `ServiceUrls` host array,
|
|
148
|
-
* or the `ServiceUrls` default url if no other priority
|
|
149
|
-
* hosts are available, or if `noPriorityHosts` is set to
|
|
150
|
-
* `true`.
|
|
151
|
-
* @param {string} url
|
|
152
|
-
* @param {boolean} noPriorityHosts
|
|
153
|
-
* @returns {string}
|
|
142
|
+
/**
|
|
143
|
+
* Mark a priority host service url as failed.
|
|
144
|
+
* This will mark the host associated with the
|
|
145
|
+
* `ServiceUrl` to be removed from the its
|
|
146
|
+
* respective host array, and then return the next
|
|
147
|
+
* viable host from the `ServiceUrls` host array,
|
|
148
|
+
* or the `ServiceUrls` default url if no other priority
|
|
149
|
+
* hosts are available, or if `noPriorityHosts` is set to
|
|
150
|
+
* `true`.
|
|
151
|
+
* @param {string} url
|
|
152
|
+
* @param {boolean} noPriorityHosts
|
|
153
|
+
* @returns {string}
|
|
154
154
|
*/
|
|
155
155
|
markFailedUrl: function markFailedUrl(url, noPriorityHosts) {
|
|
156
156
|
var catalog = this._getCatalog();
|
|
157
157
|
return catalog.markFailedUrl(url, noPriorityHosts);
|
|
158
158
|
},
|
|
159
|
-
/**
|
|
160
|
-
* saves all the services from the pre and post catalog service
|
|
161
|
-
* @param {Object} serviceUrls
|
|
162
|
-
* @returns {void}
|
|
159
|
+
/**
|
|
160
|
+
* saves all the services from the pre and post catalog service
|
|
161
|
+
* @param {Object} serviceUrls
|
|
162
|
+
* @returns {void}
|
|
163
163
|
*/
|
|
164
164
|
_updateServiceUrls: function _updateServiceUrls(serviceUrls) {
|
|
165
165
|
this._serviceUrls = _objectSpread(_objectSpread({}, this._serviceUrls), serviceUrls);
|
|
166
166
|
},
|
|
167
|
-
/**
|
|
168
|
-
* Update a list of `serviceUrls` to the most current
|
|
169
|
-
* catalog via the defined `discoveryUrl` then returns the current
|
|
170
|
-
* list of services.
|
|
171
|
-
* @param {object} [param]
|
|
172
|
-
* @param {string} [param.from] - This accepts `limited` or `signin`
|
|
173
|
-
* @param {object} [param.query] - This accepts `email`, `orgId` or `userId` key values
|
|
174
|
-
* @param {string} [param.query.email] - must be a standard-format email
|
|
175
|
-
* @param {string} [param.query.orgId] - must be an organization id
|
|
176
|
-
* @param {string} [param.query.userId] - must be a user id
|
|
177
|
-
* @param {string} [param.token] - used for signin catalog
|
|
178
|
-
* @returns {Promise<object>}
|
|
167
|
+
/**
|
|
168
|
+
* Update a list of `serviceUrls` to the most current
|
|
169
|
+
* catalog via the defined `discoveryUrl` then returns the current
|
|
170
|
+
* list of services.
|
|
171
|
+
* @param {object} [param]
|
|
172
|
+
* @param {string} [param.from] - This accepts `limited` or `signin`
|
|
173
|
+
* @param {object} [param.query] - This accepts `email`, `orgId` or `userId` key values
|
|
174
|
+
* @param {string} [param.query.email] - must be a standard-format email
|
|
175
|
+
* @param {string} [param.query.orgId] - must be an organization id
|
|
176
|
+
* @param {string} [param.query.userId] - must be a user id
|
|
177
|
+
* @param {string} [param.token] - used for signin catalog
|
|
178
|
+
* @returns {Promise<object>}
|
|
179
179
|
*/
|
|
180
180
|
updateServices: function updateServices() {
|
|
181
181
|
var _this = this;
|
|
@@ -236,28 +236,28 @@ var Services = _webexPlugin.default.extend({
|
|
|
236
236
|
return _promise.default.reject(error);
|
|
237
237
|
});
|
|
238
238
|
},
|
|
239
|
-
/**
|
|
240
|
-
* User validation parameter transfer object for {@link validateUser}.
|
|
241
|
-
* @param {object} ValidateUserPTO
|
|
242
|
-
* @property {string} ValidateUserPTO.email - The email of the user.
|
|
243
|
-
* @property {string} [ValidateUserPTO.reqId] - The activation requester.
|
|
244
|
-
* @property {object} [ValidateUserPTO.activationOptions] - Extra options to pass when sending the activation
|
|
245
|
-
* @property {object} [ValidateUserPTO.preloginUserId] - The prelogin user id to set when sending the activation.
|
|
246
|
-
*/
|
|
247
|
-
/**
|
|
248
|
-
* User validation return transfer object for {@link validateUser}.
|
|
249
|
-
* @param {object} ValidateUserRTO
|
|
250
|
-
* @property {boolean} ValidateUserRTO.activated - If the user is activated.
|
|
251
|
-
* @property {boolean} ValidateUserRTO.exists - If the user exists.
|
|
252
|
-
* @property {string} ValidateUserRTO.details - A descriptive status message.
|
|
253
|
-
* @property {object} ValidateUserRTO.user - **License** service user object.
|
|
254
|
-
*/
|
|
255
|
-
/**
|
|
256
|
-
* Validate if a user is activated and update the service catalogs as needed
|
|
257
|
-
* based on the user's activation status.
|
|
258
|
-
*
|
|
259
|
-
* @param {ValidateUserPTO} - The parameter transfer object.
|
|
260
|
-
* @returns {ValidateUserRTO} - The return transfer object.
|
|
239
|
+
/**
|
|
240
|
+
* User validation parameter transfer object for {@link validateUser}.
|
|
241
|
+
* @param {object} ValidateUserPTO
|
|
242
|
+
* @property {string} ValidateUserPTO.email - The email of the user.
|
|
243
|
+
* @property {string} [ValidateUserPTO.reqId] - The activation requester.
|
|
244
|
+
* @property {object} [ValidateUserPTO.activationOptions] - Extra options to pass when sending the activation
|
|
245
|
+
* @property {object} [ValidateUserPTO.preloginUserId] - The prelogin user id to set when sending the activation.
|
|
246
|
+
*/
|
|
247
|
+
/**
|
|
248
|
+
* User validation return transfer object for {@link validateUser}.
|
|
249
|
+
* @param {object} ValidateUserRTO
|
|
250
|
+
* @property {boolean} ValidateUserRTO.activated - If the user is activated.
|
|
251
|
+
* @property {boolean} ValidateUserRTO.exists - If the user exists.
|
|
252
|
+
* @property {string} ValidateUserRTO.details - A descriptive status message.
|
|
253
|
+
* @property {object} ValidateUserRTO.user - **License** service user object.
|
|
254
|
+
*/
|
|
255
|
+
/**
|
|
256
|
+
* Validate if a user is activated and update the service catalogs as needed
|
|
257
|
+
* based on the user's activation status.
|
|
258
|
+
*
|
|
259
|
+
* @param {ValidateUserPTO} - The parameter transfer object.
|
|
260
|
+
* @returns {ValidateUserRTO} - The return transfer object.
|
|
261
261
|
*/
|
|
262
262
|
validateUser: function validateUser(_ref2) {
|
|
263
263
|
var _this2 = this;
|
|
@@ -382,10 +382,10 @@ var Services = _webexPlugin.default.extend({
|
|
|
382
382
|
return _promise.default.reject(response);
|
|
383
383
|
});
|
|
384
384
|
},
|
|
385
|
-
/**
|
|
386
|
-
* Get user meeting preferences (preferred webex site).
|
|
387
|
-
*
|
|
388
|
-
* @returns {object} - User Information including user preferrences .
|
|
385
|
+
/**
|
|
386
|
+
* Get user meeting preferences (preferred webex site).
|
|
387
|
+
*
|
|
388
|
+
* @returns {object} - User Information including user preferrences .
|
|
389
389
|
*/
|
|
390
390
|
getMeetingPreferences: function getMeetingPreferences() {
|
|
391
391
|
var _this3 = this;
|
|
@@ -401,10 +401,10 @@ var Services = _webexPlugin.default.extend({
|
|
|
401
401
|
// resolve successfully even if request failed
|
|
402
402
|
});
|
|
403
403
|
},
|
|
404
|
-
/**
|
|
405
|
-
* Fetches client region info such as countryCode and timezone.
|
|
406
|
-
*
|
|
407
|
-
* @returns {object} - The region info object.
|
|
404
|
+
/**
|
|
405
|
+
* Fetches client region info such as countryCode and timezone.
|
|
406
|
+
*
|
|
407
|
+
* @returns {object} - The region info object.
|
|
408
408
|
*/
|
|
409
409
|
fetchClientRegionInfo: function fetchClientRegionInfo() {
|
|
410
410
|
var _this4 = this;
|
|
@@ -423,20 +423,20 @@ var Services = _webexPlugin.default.extend({
|
|
|
423
423
|
// resolve successfully even if request failed
|
|
424
424
|
});
|
|
425
425
|
},
|
|
426
|
-
/**
|
|
427
|
-
* User activation parameter transfer object for {@link sendUserActivation}.
|
|
428
|
-
* @typedef {object} SendUserActivationPTO
|
|
429
|
-
* @property {string} SendUserActivationPTO.email - The email of the user.
|
|
430
|
-
* @property {string} SendUserActivationPTO.reqId - The activation requester.
|
|
431
|
-
* @property {string} SendUserActivationPTO.token - The client auth token.
|
|
432
|
-
* @property {object} SendUserActivationPTO.activationOptions - Extra options to pass when sending the activation.
|
|
433
|
-
* @property {object} SendUserActivationPTO.preloginUserId - The prelogin user id to set when sending the activation.
|
|
434
|
-
*/
|
|
435
|
-
/**
|
|
436
|
-
* Send a request to activate a user using a client token.
|
|
437
|
-
*
|
|
438
|
-
* @param {SendUserActivationPTO} - The Parameter transfer object.
|
|
439
|
-
* @returns {LicenseDTO} - The DTO returned from the **License** service.
|
|
426
|
+
/**
|
|
427
|
+
* User activation parameter transfer object for {@link sendUserActivation}.
|
|
428
|
+
* @typedef {object} SendUserActivationPTO
|
|
429
|
+
* @property {string} SendUserActivationPTO.email - The email of the user.
|
|
430
|
+
* @property {string} SendUserActivationPTO.reqId - The activation requester.
|
|
431
|
+
* @property {string} SendUserActivationPTO.token - The client auth token.
|
|
432
|
+
* @property {object} SendUserActivationPTO.activationOptions - Extra options to pass when sending the activation.
|
|
433
|
+
* @property {object} SendUserActivationPTO.preloginUserId - The prelogin user id to set when sending the activation.
|
|
434
|
+
*/
|
|
435
|
+
/**
|
|
436
|
+
* Send a request to activate a user using a client token.
|
|
437
|
+
*
|
|
438
|
+
* @param {SendUserActivationPTO} - The Parameter transfer object.
|
|
439
|
+
* @returns {LicenseDTO} - The DTO returned from the **License** service.
|
|
440
440
|
*/
|
|
441
441
|
sendUserActivation: function sendUserActivation(_ref5) {
|
|
442
442
|
var _this5 = this;
|
|
@@ -485,14 +485,14 @@ var Services = _webexPlugin.default.extend({
|
|
|
485
485
|
return _promise.default.reject(error);
|
|
486
486
|
});
|
|
487
487
|
},
|
|
488
|
-
/**
|
|
489
|
-
* simplified method to update the preauth catalog via email
|
|
490
|
-
*
|
|
491
|
-
* @param {object} query
|
|
492
|
-
* @param {string} query.email - A standard format email.
|
|
493
|
-
* @param {string} query.orgId - The user's OrgId.
|
|
494
|
-
* @param {boolean} forceRefresh - Boolean to bypass u2c cache control header
|
|
495
|
-
* @returns {Promise<void>}
|
|
488
|
+
/**
|
|
489
|
+
* simplified method to update the preauth catalog via email
|
|
490
|
+
*
|
|
491
|
+
* @param {object} query
|
|
492
|
+
* @param {string} query.email - A standard format email.
|
|
493
|
+
* @param {string} query.orgId - The user's OrgId.
|
|
494
|
+
* @param {boolean} forceRefresh - Boolean to bypass u2c cache control header
|
|
495
|
+
* @returns {Promise<void>}
|
|
496
496
|
*/
|
|
497
497
|
collectPreauthCatalog: function collectPreauthCatalog(query) {
|
|
498
498
|
var forceRefresh = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
@@ -511,12 +511,12 @@ var Services = _webexPlugin.default.extend({
|
|
|
511
511
|
forceRefresh: forceRefresh
|
|
512
512
|
});
|
|
513
513
|
},
|
|
514
|
-
/**
|
|
515
|
-
* simplified method to update the signin catalog via email and token
|
|
516
|
-
* @param {object} param
|
|
517
|
-
* @param {string} param.email - must be a standard-format email
|
|
518
|
-
* @param {string} param.token - must be a client token
|
|
519
|
-
* @returns {Promise<void>}
|
|
514
|
+
/**
|
|
515
|
+
* simplified method to update the signin catalog via email and token
|
|
516
|
+
* @param {object} param
|
|
517
|
+
* @param {string} param.email - must be a standard-format email
|
|
518
|
+
* @param {string} param.token - must be a client token
|
|
519
|
+
* @returns {Promise<void>}
|
|
520
520
|
*/
|
|
521
521
|
collectSigninCatalog: function collectSigninCatalog() {
|
|
522
522
|
var _ref7 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
|
|
@@ -538,10 +538,10 @@ var Services = _webexPlugin.default.extend({
|
|
|
538
538
|
forceRefresh: forceRefresh
|
|
539
539
|
});
|
|
540
540
|
},
|
|
541
|
-
/**
|
|
542
|
-
* Updates credentials config to utilize u2c catalog
|
|
543
|
-
* urls.
|
|
544
|
-
* @returns {void}
|
|
541
|
+
/**
|
|
542
|
+
* Updates credentials config to utilize u2c catalog
|
|
543
|
+
* urls.
|
|
544
|
+
* @returns {void}
|
|
545
545
|
*/
|
|
546
546
|
updateCredentialsConfig: function updateCredentialsConfig() {
|
|
547
547
|
var _this$list = this.list(true),
|
|
@@ -568,12 +568,12 @@ var Services = _webexPlugin.default.extend({
|
|
|
568
568
|
});
|
|
569
569
|
}
|
|
570
570
|
},
|
|
571
|
-
/**
|
|
572
|
-
* Wait until the service catalog is available,
|
|
573
|
-
* or reject afte ra timeout of 60 seconds.
|
|
574
|
-
* @param {string} serviceGroup
|
|
575
|
-
* @param {number} [timeout] - in seconds
|
|
576
|
-
* @returns {Promise<void>}
|
|
571
|
+
/**
|
|
572
|
+
* Wait until the service catalog is available,
|
|
573
|
+
* or reject afte ra timeout of 60 seconds.
|
|
574
|
+
* @param {string} serviceGroup
|
|
575
|
+
* @param {number} [timeout] - in seconds
|
|
576
|
+
* @returns {Promise<void>}
|
|
577
577
|
*/
|
|
578
578
|
waitForCatalog: function waitForCatalog(serviceGroup, timeout) {
|
|
579
579
|
var catalog = this._getCatalog();
|
|
@@ -586,20 +586,20 @@ var Services = _webexPlugin.default.extend({
|
|
|
586
586
|
}
|
|
587
587
|
return catalog.waitForCatalog(serviceGroup, timeout);
|
|
588
588
|
},
|
|
589
|
-
/**
|
|
590
|
-
* Service waiting parameter transfer object for {@link waitForService}.
|
|
591
|
-
*
|
|
592
|
-
* @typedef {object} WaitForServicePTO
|
|
593
|
-
* @property {string} [WaitForServicePTO.name] - The service name.
|
|
594
|
-
* @property {string} [WaitForServicePTO.url] - The service url.
|
|
595
|
-
* @property {string} [WaitForServicePTO.timeout] - wait duration in seconds.
|
|
596
|
-
*/
|
|
597
|
-
/**
|
|
598
|
-
* Wait until the service has been ammended to any service catalog. This
|
|
599
|
-
* method prioritizes the service name over the service url when searching.
|
|
600
|
-
*
|
|
601
|
-
* @param {WaitForServicePTO} - The parameter transfer object.
|
|
602
|
-
* @returns {Promise<string>} - Resolves to the priority host of a service.
|
|
589
|
+
/**
|
|
590
|
+
* Service waiting parameter transfer object for {@link waitForService}.
|
|
591
|
+
*
|
|
592
|
+
* @typedef {object} WaitForServicePTO
|
|
593
|
+
* @property {string} [WaitForServicePTO.name] - The service name.
|
|
594
|
+
* @property {string} [WaitForServicePTO.url] - The service url.
|
|
595
|
+
* @property {string} [WaitForServicePTO.timeout] - wait duration in seconds.
|
|
596
|
+
*/
|
|
597
|
+
/**
|
|
598
|
+
* Wait until the service has been ammended to any service catalog. This
|
|
599
|
+
* method prioritizes the service name over the service url when searching.
|
|
600
|
+
*
|
|
601
|
+
* @param {WaitForServicePTO} - The parameter transfer object.
|
|
602
|
+
* @returns {Promise<string>} - Resolves to the priority host of a service.
|
|
603
603
|
*/
|
|
604
604
|
waitForService: function waitForService(_ref8) {
|
|
605
605
|
var _this6 = this;
|
|
@@ -658,12 +658,12 @@ var Services = _webexPlugin.default.extend({
|
|
|
658
658
|
});
|
|
659
659
|
});
|
|
660
660
|
},
|
|
661
|
-
/**
|
|
662
|
-
* @private
|
|
663
|
-
* Organize a received hostmap from a service
|
|
664
|
-
* catalog endpoint.
|
|
665
|
-
* @param {object} serviceHostmap
|
|
666
|
-
* @returns {object}
|
|
661
|
+
/**
|
|
662
|
+
* @private
|
|
663
|
+
* Organize a received hostmap from a service
|
|
664
|
+
* catalog endpoint.
|
|
665
|
+
* @param {object} serviceHostmap
|
|
666
|
+
* @returns {object}
|
|
667
667
|
*/
|
|
668
668
|
_formatReceivedHostmap: function _formatReceivedHostmap(serviceHostmap) {
|
|
669
669
|
// map the host catalog items to a formatted hostmap
|
|
@@ -722,35 +722,35 @@ var Services = _webexPlugin.default.extend({
|
|
|
722
722
|
this._updateServiceUrls(serviceHostmap.serviceLinks);
|
|
723
723
|
return formattedHostmap;
|
|
724
724
|
},
|
|
725
|
-
/**
|
|
726
|
-
* Get the clusterId associated with a URL string.
|
|
727
|
-
* @param {string} url
|
|
728
|
-
* @returns {string} - Cluster ID of url provided
|
|
725
|
+
/**
|
|
726
|
+
* Get the clusterId associated with a URL string.
|
|
727
|
+
* @param {string} url
|
|
728
|
+
* @returns {string} - Cluster ID of url provided
|
|
729
729
|
*/
|
|
730
730
|
getClusterId: function getClusterId(url) {
|
|
731
731
|
var catalog = this._getCatalog();
|
|
732
732
|
return catalog.findClusterId(url);
|
|
733
733
|
},
|
|
734
|
-
/**
|
|
735
|
-
* Get a service value from a provided clusterId. This method will
|
|
736
|
-
* return an object containing both the name and url of a found service.
|
|
737
|
-
* @param {object} params
|
|
738
|
-
* @param {string} params.clusterId - clusterId of found service
|
|
739
|
-
* @param {boolean} [params.priorityHost] - returns priority host url if true
|
|
740
|
-
* @param {string} [params.serviceGroup] - specify service group
|
|
741
|
-
* @returns {object} service
|
|
742
|
-
* @returns {string} service.name
|
|
743
|
-
* @returns {string} service.url
|
|
734
|
+
/**
|
|
735
|
+
* Get a service value from a provided clusterId. This method will
|
|
736
|
+
* return an object containing both the name and url of a found service.
|
|
737
|
+
* @param {object} params
|
|
738
|
+
* @param {string} params.clusterId - clusterId of found service
|
|
739
|
+
* @param {boolean} [params.priorityHost] - returns priority host url if true
|
|
740
|
+
* @param {string} [params.serviceGroup] - specify service group
|
|
741
|
+
* @returns {object} service
|
|
742
|
+
* @returns {string} service.name
|
|
743
|
+
* @returns {string} service.url
|
|
744
744
|
*/
|
|
745
745
|
getServiceFromClusterId: function getServiceFromClusterId(params) {
|
|
746
746
|
var catalog = this._getCatalog();
|
|
747
747
|
return catalog.findServiceFromClusterId(params);
|
|
748
748
|
},
|
|
749
|
-
/**
|
|
750
|
-
* @param {String} cluster the cluster containing the id
|
|
751
|
-
* @param {UUID} [id] the id of the conversation.
|
|
752
|
-
* If empty, just return the base URL.
|
|
753
|
-
* @returns {String} url of the service
|
|
749
|
+
/**
|
|
750
|
+
* @param {String} cluster the cluster containing the id
|
|
751
|
+
* @param {UUID} [id] the id of the conversation.
|
|
752
|
+
* If empty, just return the base URL.
|
|
753
|
+
* @returns {String} url of the service
|
|
754
754
|
*/
|
|
755
755
|
getServiceUrlFromClusterId: function getServiceUrlFromClusterId() {
|
|
756
756
|
var _ref9 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
|
|
@@ -772,15 +772,15 @@ var Services = _webexPlugin.default.extend({
|
|
|
772
772
|
}
|
|
773
773
|
return url;
|
|
774
774
|
},
|
|
775
|
-
/**
|
|
776
|
-
* Get a service object from a service url if the service url exists in the
|
|
777
|
-
* catalog.
|
|
778
|
-
*
|
|
779
|
-
* @param {string} url - The url to be validated.
|
|
780
|
-
* @returns {object} - Service object.
|
|
781
|
-
* @returns {object.name} - The name of the service found.
|
|
782
|
-
* @returns {object.priorityUrl} - The priority url of the found service.
|
|
783
|
-
* @returns {object.defaultUrl} - The default url of the found service.
|
|
775
|
+
/**
|
|
776
|
+
* Get a service object from a service url if the service url exists in the
|
|
777
|
+
* catalog.
|
|
778
|
+
*
|
|
779
|
+
* @param {string} url - The url to be validated.
|
|
780
|
+
* @returns {object} - Service object.
|
|
781
|
+
* @returns {object.name} - The name of the service found.
|
|
782
|
+
* @returns {object.priorityUrl} - The priority url of the found service.
|
|
783
|
+
* @returns {object.defaultUrl} - The default url of the found service.
|
|
784
784
|
*/
|
|
785
785
|
getServiceFromUrl: function getServiceFromUrl() {
|
|
786
786
|
var url = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
|
|
@@ -794,33 +794,33 @@ var Services = _webexPlugin.default.extend({
|
|
|
794
794
|
defaultUrl: service.get()
|
|
795
795
|
};
|
|
796
796
|
},
|
|
797
|
-
/**
|
|
798
|
-
* Verify that a provided url exists in the service
|
|
799
|
-
* catalog.
|
|
800
|
-
* @param {string} url
|
|
801
|
-
* @returns {boolean} - true if exists, false otherwise
|
|
797
|
+
/**
|
|
798
|
+
* Verify that a provided url exists in the service
|
|
799
|
+
* catalog.
|
|
800
|
+
* @param {string} url
|
|
801
|
+
* @returns {boolean} - true if exists, false otherwise
|
|
802
802
|
*/
|
|
803
803
|
isServiceUrl: function isServiceUrl(url) {
|
|
804
804
|
var catalog = this._getCatalog();
|
|
805
805
|
return !!catalog.findServiceUrlFromUrl(url);
|
|
806
806
|
},
|
|
807
|
-
/**
|
|
808
|
-
* Determine if a provided url is in the catalog's allowed domains.
|
|
809
|
-
*
|
|
810
|
-
* @param {string} url - The url to match allowed domains against.
|
|
811
|
-
* @returns {boolean} - True if the url provided is allowed.
|
|
807
|
+
/**
|
|
808
|
+
* Determine if a provided url is in the catalog's allowed domains.
|
|
809
|
+
*
|
|
810
|
+
* @param {string} url - The url to match allowed domains against.
|
|
811
|
+
* @returns {boolean} - True if the url provided is allowed.
|
|
812
812
|
*/
|
|
813
813
|
isAllowedDomainUrl: function isAllowedDomainUrl(url) {
|
|
814
814
|
var catalog = this._getCatalog();
|
|
815
815
|
return !!catalog.findAllowedDomain(url);
|
|
816
816
|
},
|
|
817
|
-
/**
|
|
818
|
-
* Converts the host portion of the url from default host
|
|
819
|
-
* to a priority host
|
|
820
|
-
*
|
|
821
|
-
* @param {string} url a service url that contains a default host
|
|
822
|
-
* @returns {string} a service url that contains the top priority host.
|
|
823
|
-
* @throws if url isn't a service url
|
|
817
|
+
/**
|
|
818
|
+
* Converts the host portion of the url from default host
|
|
819
|
+
* to a priority host
|
|
820
|
+
*
|
|
821
|
+
* @param {string} url a service url that contains a default host
|
|
822
|
+
* @returns {string} a service url that contains the top priority host.
|
|
823
|
+
* @throws if url isn't a service url
|
|
824
824
|
*/
|
|
825
825
|
convertUrlToPriorityHostUrl: function convertUrlToPriorityHostUrl() {
|
|
826
826
|
var url = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
|
|
@@ -830,18 +830,18 @@ var Services = _webexPlugin.default.extend({
|
|
|
830
830
|
}
|
|
831
831
|
return url.replace(data.defaultUrl, data.priorityUrl);
|
|
832
832
|
},
|
|
833
|
-
/**
|
|
834
|
-
* @private
|
|
835
|
-
* Simplified method wrapper for sending a request to get
|
|
836
|
-
* an updated service hostmap.
|
|
837
|
-
* @param {object} [param]
|
|
838
|
-
* @param {string} [param.from] - This accepts `limited` or `signin`
|
|
839
|
-
* @param {object} [param.query] - This accepts `email`, `orgId` or `userId` key values
|
|
840
|
-
* @param {string} [param.query.email] - must be a standard-format email
|
|
841
|
-
* @param {string} [param.query.orgId] - must be an organization id
|
|
842
|
-
* @param {string} [param.query.userId] - must be a user id
|
|
843
|
-
* @param {string} [param.token] - used for signin catalog
|
|
844
|
-
* @returns {Promise<object>}
|
|
833
|
+
/**
|
|
834
|
+
* @private
|
|
835
|
+
* Simplified method wrapper for sending a request to get
|
|
836
|
+
* an updated service hostmap.
|
|
837
|
+
* @param {object} [param]
|
|
838
|
+
* @param {string} [param.from] - This accepts `limited` or `signin`
|
|
839
|
+
* @param {object} [param.query] - This accepts `email`, `orgId` or `userId` key values
|
|
840
|
+
* @param {string} [param.query.email] - must be a standard-format email
|
|
841
|
+
* @param {string} [param.query.orgId] - must be an organization id
|
|
842
|
+
* @param {string} [param.query.userId] - must be a user id
|
|
843
|
+
* @param {string} [param.token] - used for signin catalog
|
|
844
|
+
* @returns {Promise<object>}
|
|
845
845
|
*/
|
|
846
846
|
_fetchNewServiceHostmap: function _fetchNewServiceHostmap() {
|
|
847
847
|
var _this7 = this;
|
|
@@ -874,10 +874,10 @@ var Services = _webexPlugin.default.extend({
|
|
|
874
874
|
return _this7._formatReceivedHostmap(body);
|
|
875
875
|
});
|
|
876
876
|
},
|
|
877
|
-
/**
|
|
878
|
-
* Initialize the discovery services and the whitelisted services.
|
|
879
|
-
*
|
|
880
|
-
* @returns {void}
|
|
877
|
+
/**
|
|
878
|
+
* Initialize the discovery services and the whitelisted services.
|
|
879
|
+
*
|
|
880
|
+
* @returns {void}
|
|
881
881
|
*/
|
|
882
882
|
initConfig: function initConfig() {
|
|
883
883
|
// Get the catalog and destructure the services config.
|
|
@@ -927,10 +927,10 @@ var Services = _webexPlugin.default.extend({
|
|
|
927
927
|
this.validateDomains = services.validateDomains;
|
|
928
928
|
}
|
|
929
929
|
},
|
|
930
|
-
/**
|
|
931
|
-
* Make the initial requests to collect the root catalogs.
|
|
932
|
-
*
|
|
933
|
-
* @returns {Promise<void, Error>} - Errors if the token is unavailable.
|
|
930
|
+
/**
|
|
931
|
+
* Make the initial requests to collect the root catalogs.
|
|
932
|
+
*
|
|
933
|
+
* @returns {Promise<void, Error>} - Errors if the token is unavailable.
|
|
934
934
|
*/
|
|
935
935
|
initServiceCatalogs: function initServiceCatalogs() {
|
|
936
936
|
var _this8 = this;
|
|
@@ -964,12 +964,12 @@ var Services = _webexPlugin.default.extend({
|
|
|
964
964
|
return _promise.default.resolve();
|
|
965
965
|
});
|
|
966
966
|
},
|
|
967
|
-
/**
|
|
968
|
-
* Initializer
|
|
969
|
-
*
|
|
970
|
-
* @instance
|
|
971
|
-
* @memberof Services
|
|
972
|
-
* @returns {Services}
|
|
967
|
+
/**
|
|
968
|
+
* Initializer
|
|
969
|
+
*
|
|
970
|
+
* @instance
|
|
971
|
+
* @memberof Services
|
|
972
|
+
* @returns {Services}
|
|
973
973
|
*/
|
|
974
974
|
initialize: function initialize() {
|
|
975
975
|
var _this9 = this;
|
|
@@ -1005,7 +1005,7 @@ var Services = _webexPlugin.default.extend({
|
|
|
1005
1005
|
}
|
|
1006
1006
|
});
|
|
1007
1007
|
},
|
|
1008
|
-
version: "2.59.
|
|
1008
|
+
version: "2.59.0"
|
|
1009
1009
|
});
|
|
1010
1010
|
/* eslint-enable no-underscore-dangle */
|
|
1011
1011
|
var _default = Services;
|