@webex/plugin-rooms 2.59.3-next.1 → 2.59.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/rooms.js CHANGED
@@ -30,53 +30,53 @@ function ownKeys(object, enumerableOnly) { var keys = _Object$keys(object); if (
30
30
  function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(target, _Object$getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { _Object$defineProperty(target, key, _Object$getOwnPropertyDescriptor(source, key)); }); } return target; }
31
31
  var debug = require('debug')('rooms');
32
32
 
33
- /**
34
- * @typedef {Object} RoomObject
35
- * @property {string} id - (server generated) Unique identifier for the room
36
- * @property {string} title - The display name for the room. All room members
37
- * will see the title so make it something good
38
- * @property {string} teamId - (optional) The ID of the team to which the room
39
- * belongs
40
- * @property {isoDate} created - (server generated) The date and time that the
41
- * room was created
33
+ /**
34
+ * @typedef {Object} RoomObject
35
+ * @property {string} id - (server generated) Unique identifier for the room
36
+ * @property {string} title - The display name for the room. All room members
37
+ * will see the title so make it something good
38
+ * @property {string} teamId - (optional) The ID of the team to which the room
39
+ * belongs
40
+ * @property {isoDate} created - (server generated) The date and time that the
41
+ * room was created
42
42
  */
43
43
 
44
- /**
45
- * Rooms are virtual meeting places for getting stuff done. This resource
46
- * represents the room itself. Check out the {@link Memberships} API to learn
47
- * how to add and remove people from rooms and the {@link Messages} API for
48
- * posting and managing content.
49
- * @class
50
- * @name Rooms
44
+ /**
45
+ * Rooms are virtual meeting places for getting stuff done. This resource
46
+ * represents the room itself. Check out the {@link Memberships} API to learn
47
+ * how to add and remove people from rooms and the {@link Messages} API for
48
+ * posting and managing content.
49
+ * @class
50
+ * @name Rooms
51
51
  */
52
52
  var Rooms = _webexCore.WebexPlugin.extend({
53
- /**
54
- * Register to listen for incoming rooms events
55
- * This is an alternate approach to registering for rooms webhooks.
56
- * The events passed to any registered handlers will be similar to the webhook JSON,
57
- * but will omit webhook specific fields such as name, secret, url, etc.
58
- * To utilize the `listen()` method, the authorization token used
59
- * will need to have `spark:all` and `spark:kms` scopes enabled.
60
- * Note that by configuring your application to enable or disable `spark:all`
61
- * via its configuration page will also enable or disable `spark:kms`.
62
- * See the <a href="https://webex.github.io/webex-js-sdk/samples/browser-socket/">Sample App</a>
63
- * for more details.
64
- * @instance
65
- * @memberof Rooms
66
- * @returns {Promise}
67
- * @example
68
- * webex.rooms.listen()
69
- * .then(() => {
70
- * console.log('listening to room events');
71
- * webex.rooms.on('created', (event) => console.log(`Got a room:created event:\n${event}`);
72
- * webex.rooms.on('updated', (event) => console.log(`Got a room:updated event:\n${event}`);
73
- * })
74
- * .catch((e) => console.error(`Unable to register for room events: ${e}`));
75
- * // Some app logic...
76
- * // WHen it is time to cleanup
77
- * webex.rooms.stopListening();
78
- * webex.rooms.off('created');
79
- * webex.rooms.off('updated');
53
+ /**
54
+ * Register to listen for incoming rooms events
55
+ * This is an alternate approach to registering for rooms webhooks.
56
+ * The events passed to any registered handlers will be similar to the webhook JSON,
57
+ * but will omit webhook specific fields such as name, secret, url, etc.
58
+ * To utilize the `listen()` method, the authorization token used
59
+ * will need to have `spark:all` and `spark:kms` scopes enabled.
60
+ * Note that by configuring your application to enable or disable `spark:all`
61
+ * via its configuration page will also enable or disable `spark:kms`.
62
+ * See the <a href="https://webex.github.io/webex-js-sdk/samples/browser-socket/">Sample App</a>
63
+ * for more details.
64
+ * @instance
65
+ * @memberof Rooms
66
+ * @returns {Promise}
67
+ * @example
68
+ * webex.rooms.listen()
69
+ * .then(() => {
70
+ * console.log('listening to room events');
71
+ * webex.rooms.on('created', (event) => console.log(`Got a room:created event:\n${event}`);
72
+ * webex.rooms.on('updated', (event) => console.log(`Got a room:updated event:\n${event}`);
73
+ * })
74
+ * .catch((e) => console.error(`Unable to register for room events: ${e}`));
75
+ * // Some app logic...
76
+ * // WHen it is time to cleanup
77
+ * webex.rooms.stopListening();
78
+ * webex.rooms.off('created');
79
+ * webex.rooms.off('updated');
80
80
  */
81
81
  listen: function listen() {
82
82
  var _this = this;
@@ -89,25 +89,25 @@ var Rooms = _webexCore.WebexPlugin.extend({
89
89
  });
90
90
  });
91
91
  },
92
- /**
93
- * Creates a new room. The authenticated user is automatically added as a
94
- * member of the room. See the {@link Memberships} API to learn how to add
95
- * more people to the room.
96
- * @instance
97
- * @memberof Rooms
98
- * @param {RoomObject} room
99
- * @returns {Promise<RoomObject>}
100
- * @example
101
- * webex.rooms.create({title: 'Create Room Example'})
102
- * .then(function(room) {
103
- * var assert = require('assert')
104
- * assert(typeof room.created === 'string');
105
- * assert(typeof room.id === 'string');
106
- * assert(room.title === 'Create Room Example');
107
- * console.log(room.title);
108
- * return 'success';
109
- * });
110
- * // => success
92
+ /**
93
+ * Creates a new room. The authenticated user is automatically added as a
94
+ * member of the room. See the {@link Memberships} API to learn how to add
95
+ * more people to the room.
96
+ * @instance
97
+ * @memberof Rooms
98
+ * @param {RoomObject} room
99
+ * @returns {Promise<RoomObject>}
100
+ * @example
101
+ * webex.rooms.create({title: 'Create Room Example'})
102
+ * .then(function(room) {
103
+ * var assert = require('assert')
104
+ * assert(typeof room.created === 'string');
105
+ * assert(typeof room.id === 'string');
106
+ * assert(room.title === 'Create Room Example');
107
+ * console.log(room.title);
108
+ * return 'success';
109
+ * });
110
+ * // => success
111
111
  */
112
112
  create: function create(room) {
113
113
  return this.request({
@@ -119,26 +119,26 @@ var Rooms = _webexCore.WebexPlugin.extend({
119
119
  return res.body;
120
120
  });
121
121
  },
122
- /**
123
- * Returns a single room.
124
- * @instance
125
- * @memberof Rooms
126
- * @param {RoomObject|string} room
127
- * @param {Object} options
128
- * @returns {Promise<RoomObject>}
129
- * @example
130
- * var room;
131
- * webex.rooms.create({title: 'Get Room Example'})
132
- * .then(function(r) {
133
- * room = r
134
- * return webex.rooms.get(room.id)
135
- * })
136
- * .then(function(r) {
137
- * var assert = require('assert');
138
- * assert.deepEqual(r, room);
139
- * return 'success';
140
- * });
141
- * // => success
122
+ /**
123
+ * Returns a single room.
124
+ * @instance
125
+ * @memberof Rooms
126
+ * @param {RoomObject|string} room
127
+ * @param {Object} options
128
+ * @returns {Promise<RoomObject>}
129
+ * @example
130
+ * var room;
131
+ * webex.rooms.create({title: 'Get Room Example'})
132
+ * .then(function(r) {
133
+ * room = r
134
+ * return webex.rooms.get(room.id)
135
+ * })
136
+ * .then(function(r) {
137
+ * var assert = require('assert');
138
+ * assert.deepEqual(r, room);
139
+ * return 'success';
140
+ * });
141
+ * // => success
142
142
  */
143
143
  get: function get(room, options) {
144
144
  var id = room.id || room;
@@ -150,37 +150,37 @@ var Rooms = _webexCore.WebexPlugin.extend({
150
150
  return res.body.items || res.body;
151
151
  });
152
152
  },
153
- /**
154
- * Returns a list of rooms. In most cases the results will only contain rooms
155
- * that the authenticated user is a member of.
156
- * @instance
157
- * @memberof Rooms
158
- * @param {Object} options
159
- * @param {Object} options.max Limit the maximum number of rooms in the
160
- * response.
161
- * @returns {Promise<Page<RoomObject>>}
162
- * @example
163
- * var createdRooms;
164
- * Promise.all([
165
- * webex.rooms.create({title: 'List Rooms Example 1'}),
166
- * webex.rooms.create({title: 'List Rooms Example 2'}),
167
- * webex.rooms.create({title: 'List Rooms Example 3'})
168
- * ])
169
- * .then(function(r) {
170
- * createdRooms = r;
171
- * return webex.rooms.list({max: 3})
172
- * .then(function(rooms) {
173
- * var assert = require('assert');
174
- * assert(rooms.length === 3);
175
- * for (var i = 0; i < rooms.items.length; i+= 1) {
176
- * assert(createdRooms.filter(function(room) {
177
- * return room.id === rooms.items[i].id;
178
- * }).length === 1);
179
- * }
180
- * return 'success';
181
- * });
182
- * });
183
- * // => success
153
+ /**
154
+ * Returns a list of rooms. In most cases the results will only contain rooms
155
+ * that the authenticated user is a member of.
156
+ * @instance
157
+ * @memberof Rooms
158
+ * @param {Object} options
159
+ * @param {Object} options.max Limit the maximum number of rooms in the
160
+ * response.
161
+ * @returns {Promise<Page<RoomObject>>}
162
+ * @example
163
+ * var createdRooms;
164
+ * Promise.all([
165
+ * webex.rooms.create({title: 'List Rooms Example 1'}),
166
+ * webex.rooms.create({title: 'List Rooms Example 2'}),
167
+ * webex.rooms.create({title: 'List Rooms Example 3'})
168
+ * ])
169
+ * .then(function(r) {
170
+ * createdRooms = r;
171
+ * return webex.rooms.list({max: 3})
172
+ * .then(function(rooms) {
173
+ * var assert = require('assert');
174
+ * assert(rooms.length === 3);
175
+ * for (var i = 0; i < rooms.items.length; i+= 1) {
176
+ * assert(createdRooms.filter(function(room) {
177
+ * return room.id === rooms.items[i].id;
178
+ * }).length === 1);
179
+ * }
180
+ * return 'success';
181
+ * });
182
+ * });
183
+ * // => success
184
184
  */
185
185
  list: function list(options) {
186
186
  var _this2 = this;
@@ -192,49 +192,49 @@ var Rooms = _webexCore.WebexPlugin.extend({
192
192
  return new _webexCore.Page(res, _this2.webex);
193
193
  });
194
194
  },
195
- /**
196
- * Returns a list of rooms with details about the data of the last
197
- * activity in the room, and the date of the users last presences in
198
- * the room. The list is sorted with this with most recent activity first
199
- *
200
- * For rooms where lastActivityDate > lastSeenDate the space
201
- * can be considered to be "unread"
202
- *
203
- * This differs from the rooms.list() function in the following ways:
204
- * -- when called with no parameters it returns an array of all
205
- * spaces, up to 1000, that the user is a member of
206
- * -- pagination is not supported. ALL rooms are returned which
207
- * can result in a large payload
208
- * -- For users with hundreds of spaces, this API can take some time to
209
- * to return, for this reason it supports an optional maxRecent parameter.
210
- * If set this will return only the specified number of spaces with activity
211
- * in the last two weeks. Recommended value is 30. Max supported is 100.
212
- * -- only "id", "type", "lastActivityDate", and "lastSeenDate" are
213
- * guaranteed to be available for each room in the list
214
- * -- "title" is usually returned, but not guaranteed
215
- *
216
- * In general this function should be used only when the client needs to
217
- * access read status info, for example on startup.
218
- * After startup, clients should track message and membership:seen events
219
- * to maintain read status client side.
220
- *
221
- * Since this API can take some time to return up to 1000 spaces, it is
222
- * recommended that custom clients call this first with the maxRecent parameter
223
- * set to 30, so that they can display some of the more recents spaces. Calling
224
- * this API a second time with no parameters will return all the spaces.
225
- *
226
- * Not all spaces may be returned, for example when users in more than 1000
227
- * spaces, or when a new spaces is added after this function is called,
228
- * but before it returns. Custom clients should be prepared to gracefully
229
- * handle cases where an event occurs in a space not returned by this call,
230
- * by querying rooms.getWithReadStatus() with the id of the room in question
231
- *
232
- * This function may be deprecated when this info is provided in the membership
233
- * objects returned in the list function.
234
- * @instance
235
- * @param {int} maxRecent
236
- * @memberof Rooms
237
- * @returns {Promise<RoomInfoObjectList>}
195
+ /**
196
+ * Returns a list of rooms with details about the data of the last
197
+ * activity in the room, and the date of the users last presences in
198
+ * the room. The list is sorted with this with most recent activity first
199
+ *
200
+ * For rooms where lastActivityDate > lastSeenDate the space
201
+ * can be considered to be "unread"
202
+ *
203
+ * This differs from the rooms.list() function in the following ways:
204
+ * -- when called with no parameters it returns an array of all
205
+ * spaces, up to 1000, that the user is a member of
206
+ * -- pagination is not supported. ALL rooms are returned which
207
+ * can result in a large payload
208
+ * -- For users with hundreds of spaces, this API can take some time to
209
+ * to return, for this reason it supports an optional maxRecent parameter.
210
+ * If set this will return only the specified number of spaces with activity
211
+ * in the last two weeks. Recommended value is 30. Max supported is 100.
212
+ * -- only "id", "type", "lastActivityDate", and "lastSeenDate" are
213
+ * guaranteed to be available for each room in the list
214
+ * -- "title" is usually returned, but not guaranteed
215
+ *
216
+ * In general this function should be used only when the client needs to
217
+ * access read status info, for example on startup.
218
+ * After startup, clients should track message and membership:seen events
219
+ * to maintain read status client side.
220
+ *
221
+ * Since this API can take some time to return up to 1000 spaces, it is
222
+ * recommended that custom clients call this first with the maxRecent parameter
223
+ * set to 30, so that they can display some of the more recents spaces. Calling
224
+ * this API a second time with no parameters will return all the spaces.
225
+ *
226
+ * Not all spaces may be returned, for example when users in more than 1000
227
+ * spaces, or when a new spaces is added after this function is called,
228
+ * but before it returns. Custom clients should be prepared to gracefully
229
+ * handle cases where an event occurs in a space not returned by this call,
230
+ * by querying rooms.getWithReadStatus() with the id of the room in question
231
+ *
232
+ * This function may be deprecated when this info is provided in the membership
233
+ * objects returned in the list function.
234
+ * @instance
235
+ * @param {int} maxRecent
236
+ * @memberof Rooms
237
+ * @returns {Promise<RoomInfoObjectList>}
238
238
  */
239
239
  listWithReadStatus: function listWithReadStatus() {
240
240
  var _arguments = arguments,
@@ -279,36 +279,36 @@ var Rooms = _webexCore.WebexPlugin.extend({
279
279
  }, _callee);
280
280
  }))();
281
281
  },
282
- /**
283
- * Returns a single room object with details about the data of the last
284
- * activity in the room, and the date of the users last presence in
285
- * the room.
286
- *
287
- * For rooms where lastActivityDate > lastSeenDate the room
288
- * can be considered to be "unread"
289
- *
290
- * This differs from the rooms.get() function in the following ways:
291
- * -- it takes a single roomId parameter to fetch
292
- * -- no other options are considered
293
- * -- only "id", "type", "lastActivityDate", and "lastSeenDate" are
294
- * guaranteed to be available in the return object
295
- * -- "title" is usually returned, but not guaranteed
296
- *
297
- * In general clients should use the listWithReadStatus() method on startup
298
- * to get the initial roomStatus and then update their client side copy by
299
- * responding to message, membership and room events.
300
- * This function allows a custom client to be "nimble" if it is responding
301
- * to an event with a roomId that was not in the original fetch. The
302
- * anticipated behavior is that getWithReadStats is called "just in time",
303
- * with the resulting room object being added to the list of cached room
304
- * objects on the client side.
305
- *
306
- * This function may be deprecated when this info is provided in the room
307
- * object returned in the get function.
308
- * @instance
309
- * @memberof Rooms
310
- * @param {string} roomId
311
- * @returns {Promise<RoomInfoObject>}
282
+ /**
283
+ * Returns a single room object with details about the data of the last
284
+ * activity in the room, and the date of the users last presence in
285
+ * the room.
286
+ *
287
+ * For rooms where lastActivityDate > lastSeenDate the room
288
+ * can be considered to be "unread"
289
+ *
290
+ * This differs from the rooms.get() function in the following ways:
291
+ * -- it takes a single roomId parameter to fetch
292
+ * -- no other options are considered
293
+ * -- only "id", "type", "lastActivityDate", and "lastSeenDate" are
294
+ * guaranteed to be available in the return object
295
+ * -- "title" is usually returned, but not guaranteed
296
+ *
297
+ * In general clients should use the listWithReadStatus() method on startup
298
+ * to get the initial roomStatus and then update their client side copy by
299
+ * responding to message, membership and room events.
300
+ * This function allows a custom client to be "nimble" if it is responding
301
+ * to an event with a roomId that was not in the original fetch. The
302
+ * anticipated behavior is that getWithReadStats is called "just in time",
303
+ * with the resulting room object being added to the list of cached room
304
+ * objects on the client side.
305
+ *
306
+ * This function may be deprecated when this info is provided in the room
307
+ * object returned in the get function.
308
+ * @instance
309
+ * @memberof Rooms
310
+ * @param {string} roomId
311
+ * @returns {Promise<RoomInfoObject>}
312
312
  */
313
313
  getWithReadStatus: function getWithReadStatus(roomId) {
314
314
  var _this4 = this;
@@ -326,32 +326,32 @@ var Rooms = _webexCore.WebexPlugin.extend({
326
326
  });
327
327
  });
328
328
  },
329
- /**
330
- * Deletes a single room.
331
- * @instance
332
- * @memberof Rooms
333
- * @param {RoomObject|string} room
334
- * @returns {Promise}
335
- * @example
336
- * var room;
337
- * webex.rooms.create({title: 'Remove Room Example'})
338
- * .then(function(r) {
339
- * room = r;
340
- * return webex.rooms.remove(room.id);
341
- * })
342
- * .then(function() {
343
- * return webex.rooms.get(room.id);
344
- * })
345
- * .then(function() {
346
- * var assert = require('assert');
347
- * assert(false, 'the previous get should have failed');
348
- * })
349
- * .catch(function(reason) {
350
- * var assert = require('assert');
351
- * assert.equal(reason.statusCode, 404);
352
- * return 'success'
353
- * });
354
- * // => success
329
+ /**
330
+ * Deletes a single room.
331
+ * @instance
332
+ * @memberof Rooms
333
+ * @param {RoomObject|string} room
334
+ * @returns {Promise}
335
+ * @example
336
+ * var room;
337
+ * webex.rooms.create({title: 'Remove Room Example'})
338
+ * .then(function(r) {
339
+ * room = r;
340
+ * return webex.rooms.remove(room.id);
341
+ * })
342
+ * .then(function() {
343
+ * return webex.rooms.get(room.id);
344
+ * })
345
+ * .then(function() {
346
+ * var assert = require('assert');
347
+ * assert(false, 'the previous get should have failed');
348
+ * })
349
+ * .catch(function(reason) {
350
+ * var assert = require('assert');
351
+ * assert.equal(reason.statusCode, 404);
352
+ * return 'success'
353
+ * });
354
+ * // => success
355
355
  */
356
356
  remove: function remove(room) {
357
357
  var id = room.id || room;
@@ -368,29 +368,29 @@ var Rooms = _webexCore.WebexPlugin.extend({
368
368
  return res.body;
369
369
  });
370
370
  },
371
- /**
372
- * Used to update a single room's properties.
373
- * @instance
374
- * @memberof Rooms
375
- * @param {RoomObject} room
376
- * @returns {Promise<RoomObject>}
377
- * @example
378
- * var room;
379
- * webex.rooms.update({title: 'Update Room Example'})
380
- * .then(function(r) {
381
- * room = r;
382
- * room.title = 'Update Room Example (Updated Title)';
383
- * return webex.rooms.update(room);
384
- * })
385
- * .then(function() {
386
- * return webex.rooms.get(room.id);
387
- * })
388
- * .then(function(room) {
389
- * var assert = require('assert');
390
- * assert.equal(room.title, 'Update Room Example (Updated Title)');
391
- * return 'success';
392
- * });
393
- * // => success
371
+ /**
372
+ * Used to update a single room's properties.
373
+ * @instance
374
+ * @memberof Rooms
375
+ * @param {RoomObject} room
376
+ * @returns {Promise<RoomObject>}
377
+ * @example
378
+ * var room;
379
+ * webex.rooms.update({title: 'Update Room Example'})
380
+ * .then(function(r) {
381
+ * room = r;
382
+ * room.title = 'Update Room Example (Updated Title)';
383
+ * return webex.rooms.update(room);
384
+ * })
385
+ * .then(function() {
386
+ * return webex.rooms.get(room.id);
387
+ * })
388
+ * .then(function(room) {
389
+ * var assert = require('assert');
390
+ * assert.equal(room.title, 'Update Room Example (Updated Title)');
391
+ * return 'success';
392
+ * });
393
+ * // => success
394
394
  */
395
395
  update: function update(room) {
396
396
  var id = room.id;
@@ -403,14 +403,14 @@ var Rooms = _webexCore.WebexPlugin.extend({
403
403
  return res.body;
404
404
  });
405
405
  },
406
- /**
407
- * This function is called when an internal membership events fires,
408
- * if the user registered for these events with the listen() function.
409
- * External users of the SDK should not call this function
410
- * @private
411
- * @memberof Rooms
412
- * @param {Object} event
413
- * @returns {void}
406
+ /**
407
+ * This function is called when an internal membership events fires,
408
+ * if the user registered for these events with the listen() function.
409
+ * External users of the SDK should not call this function
410
+ * @private
411
+ * @memberof Rooms
412
+ * @param {Object} event
413
+ * @returns {void}
414
414
  */
415
415
  onWebexApiEvent: function onWebexApiEvent(event) {
416
416
  var activity = event.data.activity;
@@ -438,16 +438,16 @@ var Rooms = _webexCore.WebexPlugin.extend({
438
438
  break;
439
439
  }
440
440
  },
441
- /**
442
- * Constructs the data object for an event on the rooms resource,
443
- * adhering to Hydra's Webhook data structure.
444
- * External users of the SDK should not call this function
445
- * @private
446
- * @memberof Rooms
447
- * @param {Object} webex sdk instance
448
- * @param {Object} activity from mercury
449
- * @param {Object} event type of "webhook" event
450
- * @returns {Object} constructed event
441
+ /**
442
+ * Constructs the data object for an event on the rooms resource,
443
+ * adhering to Hydra's Webhook data structure.
444
+ * External users of the SDK should not call this function
445
+ * @private
446
+ * @memberof Rooms
447
+ * @param {Object} webex sdk instance
448
+ * @param {Object} activity from mercury
449
+ * @param {Object} event type of "webhook" event
450
+ * @returns {Object} constructed event
451
451
  */
452
452
  getRoomEvent: function getRoomEvent(webex, activity, event) {
453
453
  try {
@@ -490,24 +490,24 @@ var Rooms = _webexCore.WebexPlugin.extend({
490
490
  return null;
491
491
  }
492
492
  },
493
- version: "2.59.0"
493
+ version: "2.59.4"
494
494
  });
495
495
  var _default = Rooms;
496
- /**
497
- * Helper method to build a roomInfo object from a conversation object
498
- * @param {Object} webex sdk object
499
- * @param {Conversation~ConversationObject} conversation
500
- * @returns {Promise<RoomInfoObject>}
496
+ /**
497
+ * Helper method to build a roomInfo object from a conversation object
498
+ * @param {Object} webex sdk object
499
+ * @param {Conversation~ConversationObject} conversation
500
+ * @returns {Promise<RoomInfoObject>}
501
501
  */
502
502
  exports.default = _default;
503
503
  function buildRoomInfo(_x, _x2) {
504
504
  return _buildRoomInfo.apply(this, arguments);
505
505
  }
506
- /**
507
- * Helper method to build a list of roomInfo object from conversation list
508
- * @param {Object} webex sdk object
509
- * @param {Conversation~ConversationObjectList} conversations
510
- * @returns {Promise<RoomInfoList>}
506
+ /**
507
+ * Helper method to build a list of roomInfo object from conversation list
508
+ * @param {Object} webex sdk object
509
+ * @param {Conversation~ConversationObjectList} conversations
510
+ * @returns {Promise<RoomInfoList>}
511
511
  */
512
512
  function _buildRoomInfo() {
513
513
  _buildRoomInfo = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2(webex, conversation) {