@atlaskit/teams-client 4.6.4 → 4.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/cjs/common/utils/ufo/constants.js +1 -1
  3. package/dist/cjs/common/utils/ufo/index.js +2 -2
  4. package/dist/cjs/services/agg-client/index.js +51 -0
  5. package/dist/cjs/services/agg-client/utils/queries/team-has-agents-query.js +12 -0
  6. package/dist/cjs/services/legion-client/index.js +199 -162
  7. package/dist/cjs/services/main.js +738 -679
  8. package/dist/cjs/services/sentry/utils/get-sentry-config.js +1 -1
  9. package/dist/cjs/types/association.js +5 -0
  10. package/dist/es2019/common/utils/ufo/constants.js +1 -1
  11. package/dist/es2019/common/utils/ufo/index.js +2 -2
  12. package/dist/es2019/services/agg-client/index.js +29 -1
  13. package/dist/es2019/services/agg-client/utils/queries/team-has-agents-query.js +24 -0
  14. package/dist/es2019/services/legion-client/index.js +16 -0
  15. package/dist/es2019/services/main.js +16 -0
  16. package/dist/es2019/services/sentry/utils/get-sentry-config.js +1 -1
  17. package/dist/es2019/types/association.js +1 -0
  18. package/dist/esm/common/utils/ufo/constants.js +1 -1
  19. package/dist/esm/common/utils/ufo/index.js +2 -2
  20. package/dist/esm/services/agg-client/index.js +52 -1
  21. package/dist/esm/services/agg-client/utils/queries/team-has-agents-query.js +5 -0
  22. package/dist/esm/services/legion-client/index.js +199 -162
  23. package/dist/esm/services/main.js +738 -679
  24. package/dist/esm/services/sentry/utils/get-sentry-config.js +1 -1
  25. package/dist/esm/types/association.js +1 -0
  26. package/dist/types/common/utils/ufo/constants.d.ts +2 -2
  27. package/dist/types/services/agg-client/index.d.ts +3 -1
  28. package/dist/types/services/agg-client/utils/queries/team-has-agents-query.d.ts +15 -0
  29. package/dist/types/services/legion-client/index.d.ts +2 -1
  30. package/dist/types/services/legion-client/types.d.ts +8 -0
  31. package/dist/types/services/main.d.ts +10 -0
  32. package/dist/types/types/association.d.ts +8 -0
  33. package/dist/types/types/index.d.ts +1 -0
  34. package/dist/types-ts4.5/common/utils/ufo/constants.d.ts +3 -2
  35. package/dist/types-ts4.5/services/agg-client/index.d.ts +3 -1
  36. package/dist/types-ts4.5/services/agg-client/utils/queries/team-has-agents-query.d.ts +15 -0
  37. package/dist/types-ts4.5/services/legion-client/index.d.ts +2 -1
  38. package/dist/types-ts4.5/services/legion-client/types.d.ts +8 -0
  39. package/dist/types-ts4.5/services/main.d.ts +10 -0
  40. package/dist/types-ts4.5/types/association.d.ts +8 -0
  41. package/dist/types-ts4.5/types/index.d.ts +1 -0
  42. package/package.json +1 -1
@@ -312,6 +312,31 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
312
312
  }
313
313
  return queryAGGUser;
314
314
  }()
315
+ /**
316
+ * Get the agents associated with the team
317
+ * @param {string} userId
318
+ * @returns {Promise}
319
+ */
320
+ )
321
+ }, {
322
+ key: "queryTeamHasAgents",
323
+ value: (function () {
324
+ var _queryTeamHasAgents = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee8(teamId) {
325
+ return _regenerator.default.wrap(function _callee8$(_context8) {
326
+ while (1) switch (_context8.prev = _context8.next) {
327
+ case 0:
328
+ return _context8.abrupt("return", this._aggClient.queryTeamHasAgents(teamId));
329
+ case 1:
330
+ case "end":
331
+ return _context8.stop();
332
+ }
333
+ }, _callee8, this);
334
+ }));
335
+ function queryTeamHasAgents(_x7) {
336
+ return _queryTeamHasAgents.apply(this, arguments);
337
+ }
338
+ return queryTeamHasAgents;
339
+ }()
315
340
  /**
316
341
  * Get user information of a member of a team
317
342
  * @param {string} userId
@@ -344,21 +369,21 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
344
369
  }, {
345
370
  key: "getTeamById",
346
371
  value: (function () {
347
- var _getTeamById = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee8(teamId) {
372
+ var _getTeamById = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee9(teamId) {
348
373
  var _this5 = this;
349
- return _regenerator.default.wrap(function _callee8$(_context8) {
350
- while (1) switch (_context8.prev = _context8.next) {
374
+ return _regenerator.default.wrap(function _callee9$(_context9) {
375
+ while (1) switch (_context9.prev = _context9.next) {
351
376
  case 0:
352
- return _context8.abrupt("return", this.measurePerformance('getTeamById', function () {
377
+ return _context9.abrupt("return", this.measurePerformance('getTeamById', function () {
353
378
  return _this5._legionClient.getTeamById(teamId);
354
379
  }));
355
380
  case 1:
356
381
  case "end":
357
- return _context8.stop();
382
+ return _context9.stop();
358
383
  }
359
- }, _callee8, this);
384
+ }, _callee9, this);
360
385
  }));
361
- function getTeamById(_x7) {
386
+ function getTeamById(_x8) {
362
387
  return _getTeamById.apply(this, arguments);
363
388
  }
364
389
  return getTeamById;
@@ -370,27 +395,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
370
395
  }, {
371
396
  key: "getAllTeams",
372
397
  value: (function () {
373
- var _getAllTeams = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee9() {
398
+ var _getAllTeams = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee0() {
374
399
  var _this6 = this;
375
400
  var _len3,
376
401
  args,
377
402
  _key3,
378
- _args9 = arguments;
379
- return _regenerator.default.wrap(function _callee9$(_context9) {
380
- while (1) switch (_context9.prev = _context9.next) {
403
+ _args0 = arguments;
404
+ return _regenerator.default.wrap(function _callee0$(_context0) {
405
+ while (1) switch (_context0.prev = _context0.next) {
381
406
  case 0:
382
- for (_len3 = _args9.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {
383
- args[_key3] = _args9[_key3];
407
+ for (_len3 = _args0.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {
408
+ args[_key3] = _args0[_key3];
384
409
  }
385
- return _context9.abrupt("return", this.measurePerformance('getAllTeams', function () {
410
+ return _context0.abrupt("return", this.measurePerformance('getAllTeams', function () {
386
411
  var _this6$_legionClient;
387
412
  return (_this6$_legionClient = _this6._legionClient).getAllTeams.apply(_this6$_legionClient, args);
388
413
  }));
389
414
  case 2:
390
415
  case "end":
391
- return _context9.stop();
416
+ return _context0.stop();
392
417
  }
393
- }, _callee9, this);
418
+ }, _callee0, this);
394
419
  }));
395
420
  function getAllTeams() {
396
421
  return _getAllTeams.apply(this, arguments);
@@ -404,27 +429,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
404
429
  }, {
405
430
  key: "updateTeamById",
406
431
  value: (function () {
407
- var _updateTeamById = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee0() {
432
+ var _updateTeamById = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee1() {
408
433
  var _this7 = this;
409
434
  var _len4,
410
435
  args,
411
436
  _key4,
412
- _args0 = arguments;
413
- return _regenerator.default.wrap(function _callee0$(_context0) {
414
- while (1) switch (_context0.prev = _context0.next) {
437
+ _args1 = arguments;
438
+ return _regenerator.default.wrap(function _callee1$(_context1) {
439
+ while (1) switch (_context1.prev = _context1.next) {
415
440
  case 0:
416
- for (_len4 = _args0.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {
417
- args[_key4] = _args0[_key4];
441
+ for (_len4 = _args1.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {
442
+ args[_key4] = _args1[_key4];
418
443
  }
419
- return _context0.abrupt("return", this.measurePerformance('updateTeamById', function () {
444
+ return _context1.abrupt("return", this.measurePerformance('updateTeamById', function () {
420
445
  var _this7$_legionClient;
421
446
  return (_this7$_legionClient = _this7._legionClient).updateTeamById.apply(_this7$_legionClient, args);
422
447
  }));
423
448
  case 2:
424
449
  case "end":
425
- return _context0.stop();
450
+ return _context1.stop();
426
451
  }
427
- }, _callee0, this);
452
+ }, _callee1, this);
428
453
  }));
429
454
  function updateTeamById() {
430
455
  return _updateTeamById.apply(this, arguments);
@@ -439,27 +464,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
439
464
  }, {
440
465
  key: "inviteUsersToTeam",
441
466
  value: (function () {
442
- var _inviteUsersToTeam = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee1() {
467
+ var _inviteUsersToTeam = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee10() {
443
468
  var _this8 = this;
444
469
  var _len5,
445
470
  args,
446
471
  _key5,
447
- _args1 = arguments;
448
- return _regenerator.default.wrap(function _callee1$(_context1) {
449
- while (1) switch (_context1.prev = _context1.next) {
472
+ _args10 = arguments;
473
+ return _regenerator.default.wrap(function _callee10$(_context10) {
474
+ while (1) switch (_context10.prev = _context10.next) {
450
475
  case 0:
451
- for (_len5 = _args1.length, args = new Array(_len5), _key5 = 0; _key5 < _len5; _key5++) {
452
- args[_key5] = _args1[_key5];
476
+ for (_len5 = _args10.length, args = new Array(_len5), _key5 = 0; _key5 < _len5; _key5++) {
477
+ args[_key5] = _args10[_key5];
453
478
  }
454
- return _context1.abrupt("return", this.measurePerformance('inviteUsersToTeam', function () {
479
+ return _context10.abrupt("return", this.measurePerformance('inviteUsersToTeam', function () {
455
480
  var _this8$_legionClient;
456
481
  return (_this8$_legionClient = _this8._legionClient).inviteUsersToTeam.apply(_this8$_legionClient, args);
457
482
  }));
458
483
  case 2:
459
484
  case "end":
460
- return _context1.stop();
485
+ return _context10.stop();
461
486
  }
462
- }, _callee1, this);
487
+ }, _callee10, this);
463
488
  }));
464
489
  function inviteUsersToTeam() {
465
490
  return _inviteUsersToTeam.apply(this, arguments);
@@ -473,27 +498,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
473
498
  }, {
474
499
  key: "getMyTeamMembership",
475
500
  value: (function () {
476
- var _getMyTeamMembership = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee10() {
501
+ var _getMyTeamMembership = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee11() {
477
502
  var _this9 = this;
478
503
  var _len6,
479
504
  args,
480
505
  _key6,
481
- _args10 = arguments;
482
- return _regenerator.default.wrap(function _callee10$(_context10) {
483
- while (1) switch (_context10.prev = _context10.next) {
506
+ _args11 = arguments;
507
+ return _regenerator.default.wrap(function _callee11$(_context11) {
508
+ while (1) switch (_context11.prev = _context11.next) {
484
509
  case 0:
485
- for (_len6 = _args10.length, args = new Array(_len6), _key6 = 0; _key6 < _len6; _key6++) {
486
- args[_key6] = _args10[_key6];
510
+ for (_len6 = _args11.length, args = new Array(_len6), _key6 = 0; _key6 < _len6; _key6++) {
511
+ args[_key6] = _args11[_key6];
487
512
  }
488
- return _context10.abrupt("return", this.measurePerformance('getMyTeamMembership', function () {
513
+ return _context11.abrupt("return", this.measurePerformance('getMyTeamMembership', function () {
489
514
  var _this9$_legionClient;
490
515
  return (_this9$_legionClient = _this9._legionClient).getMyTeamMembership.apply(_this9$_legionClient, args);
491
516
  }));
492
517
  case 2:
493
518
  case "end":
494
- return _context10.stop();
519
+ return _context11.stop();
495
520
  }
496
- }, _callee10, this);
521
+ }, _callee11, this);
497
522
  }));
498
523
  function getMyTeamMembership() {
499
524
  return _getMyTeamMembership.apply(this, arguments);
@@ -507,21 +532,21 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
507
532
  }, {
508
533
  key: "getTeamLinksByTeamId",
509
534
  value: (function () {
510
- var _getTeamLinksByTeamId = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee11(teamId) {
535
+ var _getTeamLinksByTeamId = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee12(teamId) {
511
536
  var _this0 = this;
512
- return _regenerator.default.wrap(function _callee11$(_context11) {
513
- while (1) switch (_context11.prev = _context11.next) {
537
+ return _regenerator.default.wrap(function _callee12$(_context12) {
538
+ while (1) switch (_context12.prev = _context12.next) {
514
539
  case 0:
515
- return _context11.abrupt("return", this.measurePerformance('getTeamLinksByTeamId', function () {
540
+ return _context12.abrupt("return", this.measurePerformance('getTeamLinksByTeamId', function () {
516
541
  return _this0._legionClient.getTeamLinksByTeamId(teamId);
517
542
  }));
518
543
  case 1:
519
544
  case "end":
520
- return _context11.stop();
545
+ return _context12.stop();
521
546
  }
522
- }, _callee11, this);
547
+ }, _callee12, this);
523
548
  }));
524
- function getTeamLinksByTeamId(_x8) {
549
+ function getTeamLinksByTeamId(_x9) {
525
550
  return _getTeamLinksByTeamId.apply(this, arguments);
526
551
  }
527
552
  return getTeamLinksByTeamId;
@@ -533,27 +558,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
533
558
  }, {
534
559
  key: "createTeamLink",
535
560
  value: (function () {
536
- var _createTeamLink = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee12() {
561
+ var _createTeamLink = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee13() {
537
562
  var _this1 = this;
538
563
  var _len7,
539
564
  args,
540
565
  _key7,
541
- _args12 = arguments;
542
- return _regenerator.default.wrap(function _callee12$(_context12) {
543
- while (1) switch (_context12.prev = _context12.next) {
566
+ _args13 = arguments;
567
+ return _regenerator.default.wrap(function _callee13$(_context13) {
568
+ while (1) switch (_context13.prev = _context13.next) {
544
569
  case 0:
545
- for (_len7 = _args12.length, args = new Array(_len7), _key7 = 0; _key7 < _len7; _key7++) {
546
- args[_key7] = _args12[_key7];
570
+ for (_len7 = _args13.length, args = new Array(_len7), _key7 = 0; _key7 < _len7; _key7++) {
571
+ args[_key7] = _args13[_key7];
547
572
  }
548
- return _context12.abrupt("return", this.measurePerformance('createTeamLink', function () {
573
+ return _context13.abrupt("return", this.measurePerformance('createTeamLink', function () {
549
574
  var _this1$_legionClient;
550
575
  return (_this1$_legionClient = _this1._legionClient).createTeamLink.apply(_this1$_legionClient, args);
551
576
  }));
552
577
  case 2:
553
578
  case "end":
554
- return _context12.stop();
579
+ return _context13.stop();
555
580
  }
556
- }, _callee12, this);
581
+ }, _callee13, this);
557
582
  }));
558
583
  function createTeamLink() {
559
584
  return _createTeamLink.apply(this, arguments);
@@ -567,27 +592,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
567
592
  }, {
568
593
  key: "updateTeamLink",
569
594
  value: (function () {
570
- var _updateTeamLink = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee13() {
595
+ var _updateTeamLink = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee14() {
571
596
  var _this10 = this;
572
597
  var _len8,
573
598
  args,
574
599
  _key8,
575
- _args13 = arguments;
576
- return _regenerator.default.wrap(function _callee13$(_context13) {
577
- while (1) switch (_context13.prev = _context13.next) {
600
+ _args14 = arguments;
601
+ return _regenerator.default.wrap(function _callee14$(_context14) {
602
+ while (1) switch (_context14.prev = _context14.next) {
578
603
  case 0:
579
- for (_len8 = _args13.length, args = new Array(_len8), _key8 = 0; _key8 < _len8; _key8++) {
580
- args[_key8] = _args13[_key8];
604
+ for (_len8 = _args14.length, args = new Array(_len8), _key8 = 0; _key8 < _len8; _key8++) {
605
+ args[_key8] = _args14[_key8];
581
606
  }
582
- return _context13.abrupt("return", this.measurePerformance('updateTeamLink', function () {
607
+ return _context14.abrupt("return", this.measurePerformance('updateTeamLink', function () {
583
608
  var _this10$_legionClient;
584
609
  return (_this10$_legionClient = _this10._legionClient).updateTeamLink.apply(_this10$_legionClient, args);
585
610
  }));
586
611
  case 2:
587
612
  case "end":
588
- return _context13.stop();
613
+ return _context14.stop();
589
614
  }
590
- }, _callee13, this);
615
+ }, _callee14, this);
591
616
  }));
592
617
  function updateTeamLink() {
593
618
  return _updateTeamLink.apply(this, arguments);
@@ -601,27 +626,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
601
626
  }, {
602
627
  key: "deleteTeamLink",
603
628
  value: (function () {
604
- var _deleteTeamLink = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee14() {
629
+ var _deleteTeamLink = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee15() {
605
630
  var _this11 = this;
606
631
  var _len9,
607
632
  args,
608
633
  _key9,
609
- _args14 = arguments;
610
- return _regenerator.default.wrap(function _callee14$(_context14) {
611
- while (1) switch (_context14.prev = _context14.next) {
634
+ _args15 = arguments;
635
+ return _regenerator.default.wrap(function _callee15$(_context15) {
636
+ while (1) switch (_context15.prev = _context15.next) {
612
637
  case 0:
613
- for (_len9 = _args14.length, args = new Array(_len9), _key9 = 0; _key9 < _len9; _key9++) {
614
- args[_key9] = _args14[_key9];
638
+ for (_len9 = _args15.length, args = new Array(_len9), _key9 = 0; _key9 < _len9; _key9++) {
639
+ args[_key9] = _args15[_key9];
615
640
  }
616
- return _context14.abrupt("return", this.measurePerformance('deleteTeamLink', function () {
641
+ return _context15.abrupt("return", this.measurePerformance('deleteTeamLink', function () {
617
642
  var _this11$_legionClient;
618
643
  return (_this11$_legionClient = _this11._legionClient).deleteTeamLink.apply(_this11$_legionClient, args);
619
644
  }));
620
645
  case 2:
621
646
  case "end":
622
- return _context14.stop();
647
+ return _context15.stop();
623
648
  }
624
- }, _callee14, this);
649
+ }, _callee15, this);
625
650
  }));
626
651
  function deleteTeamLink() {
627
652
  return _deleteTeamLink.apply(this, arguments);
@@ -635,27 +660,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
635
660
  }, {
636
661
  key: "reorderTeamLink",
637
662
  value: (function () {
638
- var _reorderTeamLink = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee15() {
663
+ var _reorderTeamLink = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee16() {
639
664
  var _this12 = this;
640
665
  var _len0,
641
666
  args,
642
667
  _key0,
643
- _args15 = arguments;
644
- return _regenerator.default.wrap(function _callee15$(_context15) {
645
- while (1) switch (_context15.prev = _context15.next) {
668
+ _args16 = arguments;
669
+ return _regenerator.default.wrap(function _callee16$(_context16) {
670
+ while (1) switch (_context16.prev = _context16.next) {
646
671
  case 0:
647
- for (_len0 = _args15.length, args = new Array(_len0), _key0 = 0; _key0 < _len0; _key0++) {
648
- args[_key0] = _args15[_key0];
672
+ for (_len0 = _args16.length, args = new Array(_len0), _key0 = 0; _key0 < _len0; _key0++) {
673
+ args[_key0] = _args16[_key0];
649
674
  }
650
- return _context15.abrupt("return", this.measurePerformance('reorderTeamLink', function () {
675
+ return _context16.abrupt("return", this.measurePerformance('reorderTeamLink', function () {
651
676
  var _this12$_legionClient;
652
677
  return (_this12$_legionClient = _this12._legionClient).reorderTeamLink.apply(_this12$_legionClient, args);
653
678
  }));
654
679
  case 2:
655
680
  case "end":
656
- return _context15.stop();
681
+ return _context16.stop();
657
682
  }
658
- }, _callee15, this);
683
+ }, _callee16, this);
659
684
  }));
660
685
  function reorderTeamLink() {
661
686
  return _reorderTeamLink.apply(this, arguments);
@@ -669,19 +694,19 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
669
694
  }, {
670
695
  key: "getOrgEligibilityForManagedTeams",
671
696
  value: (function () {
672
- var _getOrgEligibilityForManagedTeams = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee16() {
697
+ var _getOrgEligibilityForManagedTeams = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee17() {
673
698
  var _this13 = this;
674
- return _regenerator.default.wrap(function _callee16$(_context16) {
675
- while (1) switch (_context16.prev = _context16.next) {
699
+ return _regenerator.default.wrap(function _callee17$(_context17) {
700
+ while (1) switch (_context17.prev = _context17.next) {
676
701
  case 0:
677
- return _context16.abrupt("return", this.measurePerformance('getOrgEligibilityForManagedTeams', function () {
702
+ return _context17.abrupt("return", this.measurePerformance('getOrgEligibilityForManagedTeams', function () {
678
703
  return _this13._legionClient.getOrgEligibilityForManagedTeams();
679
704
  }));
680
705
  case 1:
681
706
  case "end":
682
- return _context16.stop();
707
+ return _context17.stop();
683
708
  }
684
- }, _callee16, this);
709
+ }, _callee17, this);
685
710
  }));
686
711
  function getOrgEligibilityForManagedTeams() {
687
712
  return _getOrgEligibilityForManagedTeams.apply(this, arguments);
@@ -696,27 +721,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
696
721
  }, {
697
722
  key: "acceptTeamInvitation",
698
723
  value: (function () {
699
- var _acceptTeamInvitation = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee17() {
724
+ var _acceptTeamInvitation = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee18() {
700
725
  var _this14 = this;
701
726
  var _len1,
702
727
  args,
703
728
  _key1,
704
- _args17 = arguments;
705
- return _regenerator.default.wrap(function _callee17$(_context17) {
706
- while (1) switch (_context17.prev = _context17.next) {
729
+ _args18 = arguments;
730
+ return _regenerator.default.wrap(function _callee18$(_context18) {
731
+ while (1) switch (_context18.prev = _context18.next) {
707
732
  case 0:
708
- for (_len1 = _args17.length, args = new Array(_len1), _key1 = 0; _key1 < _len1; _key1++) {
709
- args[_key1] = _args17[_key1];
733
+ for (_len1 = _args18.length, args = new Array(_len1), _key1 = 0; _key1 < _len1; _key1++) {
734
+ args[_key1] = _args18[_key1];
710
735
  }
711
- return _context17.abrupt("return", this.measurePerformance('acceptTeamInvitation', function () {
736
+ return _context18.abrupt("return", this.measurePerformance('acceptTeamInvitation', function () {
712
737
  var _this14$_legionClient;
713
738
  return (_this14$_legionClient = _this14._legionClient).acceptTeamInvitation.apply(_this14$_legionClient, args);
714
739
  }));
715
740
  case 2:
716
741
  case "end":
717
- return _context17.stop();
742
+ return _context18.stop();
718
743
  }
719
- }, _callee17, this);
744
+ }, _callee18, this);
720
745
  }));
721
746
  function acceptTeamInvitation() {
722
747
  return _acceptTeamInvitation.apply(this, arguments);
@@ -731,27 +756,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
731
756
  }, {
732
757
  key: "declineTeamInvitation",
733
758
  value: (function () {
734
- var _declineTeamInvitation = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee18() {
759
+ var _declineTeamInvitation = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee19() {
735
760
  var _this15 = this;
736
761
  var _len10,
737
762
  args,
738
763
  _key10,
739
- _args18 = arguments;
740
- return _regenerator.default.wrap(function _callee18$(_context18) {
741
- while (1) switch (_context18.prev = _context18.next) {
764
+ _args19 = arguments;
765
+ return _regenerator.default.wrap(function _callee19$(_context19) {
766
+ while (1) switch (_context19.prev = _context19.next) {
742
767
  case 0:
743
- for (_len10 = _args18.length, args = new Array(_len10), _key10 = 0; _key10 < _len10; _key10++) {
744
- args[_key10] = _args18[_key10];
768
+ for (_len10 = _args19.length, args = new Array(_len10), _key10 = 0; _key10 < _len10; _key10++) {
769
+ args[_key10] = _args19[_key10];
745
770
  }
746
- return _context18.abrupt("return", this.measurePerformance('declineTeamInvitation', function () {
771
+ return _context19.abrupt("return", this.measurePerformance('declineTeamInvitation', function () {
747
772
  var _this15$_legionClient;
748
773
  return (_this15$_legionClient = _this15._legionClient).declineTeamInvitation.apply(_this15$_legionClient, args);
749
774
  }));
750
775
  case 2:
751
776
  case "end":
752
- return _context18.stop();
777
+ return _context19.stop();
753
778
  }
754
- }, _callee18, this);
779
+ }, _callee19, this);
755
780
  }));
756
781
  function declineTeamInvitation() {
757
782
  return _declineTeamInvitation.apply(this, arguments);
@@ -765,33 +790,67 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
765
790
  }, {
766
791
  key: "selfJoinTeam",
767
792
  value: (function () {
768
- var _selfJoinTeam = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee19() {
793
+ var _selfJoinTeam = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee20() {
769
794
  var _this16 = this;
770
795
  var _len11,
771
796
  args,
772
797
  _key11,
773
- _args19 = arguments;
774
- return _regenerator.default.wrap(function _callee19$(_context19) {
775
- while (1) switch (_context19.prev = _context19.next) {
798
+ _args20 = arguments;
799
+ return _regenerator.default.wrap(function _callee20$(_context20) {
800
+ while (1) switch (_context20.prev = _context20.next) {
776
801
  case 0:
777
- for (_len11 = _args19.length, args = new Array(_len11), _key11 = 0; _key11 < _len11; _key11++) {
778
- args[_key11] = _args19[_key11];
802
+ for (_len11 = _args20.length, args = new Array(_len11), _key11 = 0; _key11 < _len11; _key11++) {
803
+ args[_key11] = _args20[_key11];
779
804
  }
780
- return _context19.abrupt("return", this.measurePerformance('selfJoinTeam', function () {
805
+ return _context20.abrupt("return", this.measurePerformance('selfJoinTeam', function () {
781
806
  var _this16$_legionClient;
782
807
  return (_this16$_legionClient = _this16._legionClient).selfJoinTeam.apply(_this16$_legionClient, args);
783
808
  }));
784
809
  case 2:
785
810
  case "end":
786
- return _context19.stop();
811
+ return _context20.stop();
787
812
  }
788
- }, _callee19, this);
813
+ }, _callee20, this);
789
814
  }));
790
815
  function selfJoinTeam() {
791
816
  return _selfJoinTeam.apply(this, arguments);
792
817
  }
793
818
  return selfJoinTeam;
794
819
  }()
820
+ /**
821
+ * Add agent to a team
822
+ */
823
+ )
824
+ }, {
825
+ key: "addAgentsToTeam",
826
+ value: (function () {
827
+ var _addAgentsToTeam = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee21() {
828
+ var _this17 = this;
829
+ var _len12,
830
+ args,
831
+ _key12,
832
+ _args21 = arguments;
833
+ return _regenerator.default.wrap(function _callee21$(_context21) {
834
+ while (1) switch (_context21.prev = _context21.next) {
835
+ case 0:
836
+ for (_len12 = _args21.length, args = new Array(_len12), _key12 = 0; _key12 < _len12; _key12++) {
837
+ args[_key12] = _args21[_key12];
838
+ }
839
+ return _context21.abrupt("return", this.measurePerformance('addAgentToTeam', function () {
840
+ var _this17$_legionClient;
841
+ return (_this17$_legionClient = _this17._legionClient).addAgentsToTeam.apply(_this17$_legionClient, args);
842
+ }));
843
+ case 2:
844
+ case "end":
845
+ return _context21.stop();
846
+ }
847
+ }, _callee21, this);
848
+ }));
849
+ function addAgentsToTeam() {
850
+ return _addAgentsToTeam.apply(this, arguments);
851
+ }
852
+ return addAgentsToTeam;
853
+ }()
795
854
  /**
796
855
  * Cancel a join request to a private team
797
856
  */
@@ -799,21 +858,21 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
799
858
  }, {
800
859
  key: "cancelJoinRequest",
801
860
  value: (function () {
802
- var _cancelJoinRequest = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee20(teamId) {
803
- var _this17 = this;
804
- return _regenerator.default.wrap(function _callee20$(_context20) {
805
- while (1) switch (_context20.prev = _context20.next) {
861
+ var _cancelJoinRequest = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee22(teamId) {
862
+ var _this18 = this;
863
+ return _regenerator.default.wrap(function _callee22$(_context22) {
864
+ while (1) switch (_context22.prev = _context22.next) {
806
865
  case 0:
807
- return _context20.abrupt("return", this.measurePerformance('cancelJoinRequest', function () {
808
- return _this17._legionClient.cancelJoinRequest(teamId);
866
+ return _context22.abrupt("return", this.measurePerformance('cancelJoinRequest', function () {
867
+ return _this18._legionClient.cancelJoinRequest(teamId);
809
868
  }));
810
869
  case 1:
811
870
  case "end":
812
- return _context20.stop();
871
+ return _context22.stop();
813
872
  }
814
- }, _callee20, this);
873
+ }, _callee22, this);
815
874
  }));
816
- function cancelJoinRequest(_x9) {
875
+ function cancelJoinRequest(_x0) {
817
876
  return _cancelJoinRequest.apply(this, arguments);
818
877
  }
819
878
  return cancelJoinRequest;
@@ -825,27 +884,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
825
884
  }, {
826
885
  key: "acceptJoinRequest",
827
886
  value: (function () {
828
- var _acceptJoinRequest = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee21() {
829
- var _this18 = this;
830
- var _len12,
887
+ var _acceptJoinRequest = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee23() {
888
+ var _this19 = this;
889
+ var _len13,
831
890
  args,
832
- _key12,
833
- _args21 = arguments;
834
- return _regenerator.default.wrap(function _callee21$(_context21) {
835
- while (1) switch (_context21.prev = _context21.next) {
891
+ _key13,
892
+ _args23 = arguments;
893
+ return _regenerator.default.wrap(function _callee23$(_context23) {
894
+ while (1) switch (_context23.prev = _context23.next) {
836
895
  case 0:
837
- for (_len12 = _args21.length, args = new Array(_len12), _key12 = 0; _key12 < _len12; _key12++) {
838
- args[_key12] = _args21[_key12];
896
+ for (_len13 = _args23.length, args = new Array(_len13), _key13 = 0; _key13 < _len13; _key13++) {
897
+ args[_key13] = _args23[_key13];
839
898
  }
840
- return _context21.abrupt("return", this.measurePerformance('acceptJoinRequest', function () {
841
- var _this18$_legionClient;
842
- return (_this18$_legionClient = _this18._legionClient).acceptJoinRequest.apply(_this18$_legionClient, args);
899
+ return _context23.abrupt("return", this.measurePerformance('acceptJoinRequest', function () {
900
+ var _this19$_legionClient;
901
+ return (_this19$_legionClient = _this19._legionClient).acceptJoinRequest.apply(_this19$_legionClient, args);
843
902
  }));
844
903
  case 2:
845
904
  case "end":
846
- return _context21.stop();
905
+ return _context23.stop();
847
906
  }
848
- }, _callee21, this);
907
+ }, _callee23, this);
849
908
  }));
850
909
  function acceptJoinRequest() {
851
910
  return _acceptJoinRequest.apply(this, arguments);
@@ -859,27 +918,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
859
918
  }, {
860
919
  key: "declineJoinRequest",
861
920
  value: (function () {
862
- var _declineJoinRequest = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee22() {
863
- var _this19 = this;
864
- var _len13,
921
+ var _declineJoinRequest = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee24() {
922
+ var _this20 = this;
923
+ var _len14,
865
924
  args,
866
- _key13,
867
- _args22 = arguments;
868
- return _regenerator.default.wrap(function _callee22$(_context22) {
869
- while (1) switch (_context22.prev = _context22.next) {
925
+ _key14,
926
+ _args24 = arguments;
927
+ return _regenerator.default.wrap(function _callee24$(_context24) {
928
+ while (1) switch (_context24.prev = _context24.next) {
870
929
  case 0:
871
- for (_len13 = _args22.length, args = new Array(_len13), _key13 = 0; _key13 < _len13; _key13++) {
872
- args[_key13] = _args22[_key13];
930
+ for (_len14 = _args24.length, args = new Array(_len14), _key14 = 0; _key14 < _len14; _key14++) {
931
+ args[_key14] = _args24[_key14];
873
932
  }
874
- return _context22.abrupt("return", this.measurePerformance('declineJoinRequest', function () {
875
- var _this19$_legionClient;
876
- return (_this19$_legionClient = _this19._legionClient).declineJoinRequest.apply(_this19$_legionClient, args);
933
+ return _context24.abrupt("return", this.measurePerformance('declineJoinRequest', function () {
934
+ var _this20$_legionClient;
935
+ return (_this20$_legionClient = _this20._legionClient).declineJoinRequest.apply(_this20$_legionClient, args);
877
936
  }));
878
937
  case 2:
879
938
  case "end":
880
- return _context22.stop();
939
+ return _context24.stop();
881
940
  }
882
- }, _callee22, this);
941
+ }, _callee24, this);
883
942
  }));
884
943
  function declineJoinRequest() {
885
944
  return _declineJoinRequest.apply(this, arguments);
@@ -893,27 +952,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
893
952
  }, {
894
953
  key: "deleteTeamMembership",
895
954
  value: (function () {
896
- var _deleteTeamMembership = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee23() {
897
- var _this20 = this;
898
- var _len14,
955
+ var _deleteTeamMembership = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee25() {
956
+ var _this21 = this;
957
+ var _len15,
899
958
  args,
900
- _key14,
901
- _args23 = arguments;
902
- return _regenerator.default.wrap(function _callee23$(_context23) {
903
- while (1) switch (_context23.prev = _context23.next) {
959
+ _key15,
960
+ _args25 = arguments;
961
+ return _regenerator.default.wrap(function _callee25$(_context25) {
962
+ while (1) switch (_context25.prev = _context25.next) {
904
963
  case 0:
905
- for (_len14 = _args23.length, args = new Array(_len14), _key14 = 0; _key14 < _len14; _key14++) {
906
- args[_key14] = _args23[_key14];
964
+ for (_len15 = _args25.length, args = new Array(_len15), _key15 = 0; _key15 < _len15; _key15++) {
965
+ args[_key15] = _args25[_key15];
907
966
  }
908
- return _context23.abrupt("return", this.measurePerformance('deleteTeamMembership', function () {
909
- var _this20$_legionClient;
910
- return (_this20$_legionClient = _this20._legionClient).deleteTeamMembership.apply(_this20$_legionClient, args);
967
+ return _context25.abrupt("return", this.measurePerformance('deleteTeamMembership', function () {
968
+ var _this21$_legionClient;
969
+ return (_this21$_legionClient = _this21._legionClient).deleteTeamMembership.apply(_this21$_legionClient, args);
911
970
  }));
912
971
  case 2:
913
972
  case "end":
914
- return _context23.stop();
973
+ return _context25.stop();
915
974
  }
916
- }, _callee23, this);
975
+ }, _callee25, this);
917
976
  }));
918
977
  function deleteTeamMembership() {
919
978
  return _deleteTeamMembership.apply(this, arguments);
@@ -927,27 +986,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
927
986
  }, {
928
987
  key: "revokeTeamInvite",
929
988
  value: (function () {
930
- var _revokeTeamInvite = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee24() {
931
- var _this21 = this;
932
- var _len15,
989
+ var _revokeTeamInvite = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee26() {
990
+ var _this22 = this;
991
+ var _len16,
933
992
  args,
934
- _key15,
935
- _args24 = arguments;
936
- return _regenerator.default.wrap(function _callee24$(_context24) {
937
- while (1) switch (_context24.prev = _context24.next) {
993
+ _key16,
994
+ _args26 = arguments;
995
+ return _regenerator.default.wrap(function _callee26$(_context26) {
996
+ while (1) switch (_context26.prev = _context26.next) {
938
997
  case 0:
939
- for (_len15 = _args24.length, args = new Array(_len15), _key15 = 0; _key15 < _len15; _key15++) {
940
- args[_key15] = _args24[_key15];
998
+ for (_len16 = _args26.length, args = new Array(_len16), _key16 = 0; _key16 < _len16; _key16++) {
999
+ args[_key16] = _args26[_key16];
941
1000
  }
942
- return _context24.abrupt("return", this.measurePerformance('revokeTeamInvite', function () {
943
- var _this21$_legionClient;
944
- return (_this21$_legionClient = _this21._legionClient).revokeTeamInvite.apply(_this21$_legionClient, args);
1001
+ return _context26.abrupt("return", this.measurePerformance('revokeTeamInvite', function () {
1002
+ var _this22$_legionClient;
1003
+ return (_this22$_legionClient = _this22._legionClient).revokeTeamInvite.apply(_this22$_legionClient, args);
945
1004
  }));
946
1005
  case 2:
947
1006
  case "end":
948
- return _context24.stop();
1007
+ return _context26.stop();
949
1008
  }
950
- }, _callee24, this);
1009
+ }, _callee26, this);
951
1010
  }));
952
1011
  function revokeTeamInvite() {
953
1012
  return _revokeTeamInvite.apply(this, arguments);
@@ -961,21 +1020,21 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
961
1020
  }, {
962
1021
  key: "deleteTeam",
963
1022
  value: (function () {
964
- var _deleteTeam = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee25(teamId) {
965
- var _this22 = this;
966
- return _regenerator.default.wrap(function _callee25$(_context25) {
967
- while (1) switch (_context25.prev = _context25.next) {
1023
+ var _deleteTeam = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee27(teamId) {
1024
+ var _this23 = this;
1025
+ return _regenerator.default.wrap(function _callee27$(_context27) {
1026
+ while (1) switch (_context27.prev = _context27.next) {
968
1027
  case 0:
969
- return _context25.abrupt("return", this.measurePerformance('deleteTeam', function () {
970
- return _this22._legionClient.deleteTeam(teamId);
1028
+ return _context27.abrupt("return", this.measurePerformance('deleteTeam', function () {
1029
+ return _this23._legionClient.deleteTeam(teamId);
971
1030
  }));
972
1031
  case 1:
973
1032
  case "end":
974
- return _context25.stop();
1033
+ return _context27.stop();
975
1034
  }
976
- }, _callee25, this);
1035
+ }, _callee27, this);
977
1036
  }));
978
- function deleteTeam(_x0) {
1037
+ function deleteTeam(_x1) {
979
1038
  return _deleteTeam.apply(this, arguments);
980
1039
  }
981
1040
  return deleteTeam;
@@ -988,18 +1047,18 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
988
1047
  }, {
989
1048
  key: "isSingleFullMemberTeam",
990
1049
  value: (function () {
991
- var _isSingleFullMemberTeam = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee26(teamId) {
992
- return _regenerator.default.wrap(function _callee26$(_context26) {
993
- while (1) switch (_context26.prev = _context26.next) {
1050
+ var _isSingleFullMemberTeam = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee28(teamId) {
1051
+ return _regenerator.default.wrap(function _callee28$(_context28) {
1052
+ while (1) switch (_context28.prev = _context28.next) {
994
1053
  case 0:
995
- return _context26.abrupt("return", this._legionClient.isSingleFullMemberTeam(teamId));
1054
+ return _context28.abrupt("return", this._legionClient.isSingleFullMemberTeam(teamId));
996
1055
  case 1:
997
1056
  case "end":
998
- return _context26.stop();
1057
+ return _context28.stop();
999
1058
  }
1000
- }, _callee26, this);
1059
+ }, _callee28, this);
1001
1060
  }));
1002
- function isSingleFullMemberTeam(_x1) {
1061
+ function isSingleFullMemberTeam(_x10) {
1003
1062
  return _isSingleFullMemberTeam.apply(this, arguments);
1004
1063
  }
1005
1064
  return isSingleFullMemberTeam;
@@ -1011,27 +1070,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
1011
1070
  }, {
1012
1071
  key: "createTeam",
1013
1072
  value: (function () {
1014
- var _createTeam = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee27() {
1015
- var _this23 = this;
1016
- var _len16,
1073
+ var _createTeam = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee29() {
1074
+ var _this24 = this;
1075
+ var _len17,
1017
1076
  args,
1018
- _key16,
1019
- _args27 = arguments;
1020
- return _regenerator.default.wrap(function _callee27$(_context27) {
1021
- while (1) switch (_context27.prev = _context27.next) {
1077
+ _key17,
1078
+ _args29 = arguments;
1079
+ return _regenerator.default.wrap(function _callee29$(_context29) {
1080
+ while (1) switch (_context29.prev = _context29.next) {
1022
1081
  case 0:
1023
- for (_len16 = _args27.length, args = new Array(_len16), _key16 = 0; _key16 < _len16; _key16++) {
1024
- args[_key16] = _args27[_key16];
1082
+ for (_len17 = _args29.length, args = new Array(_len17), _key17 = 0; _key17 < _len17; _key17++) {
1083
+ args[_key17] = _args29[_key17];
1025
1084
  }
1026
- return _context27.abrupt("return", this.measurePerformance('createTeam', function () {
1027
- var _this23$_legionClient;
1028
- return (_this23$_legionClient = _this23._legionClient).createTeam.apply(_this23$_legionClient, args);
1085
+ return _context29.abrupt("return", this.measurePerformance('createTeam', function () {
1086
+ var _this24$_legionClient;
1087
+ return (_this24$_legionClient = _this24._legionClient).createTeam.apply(_this24$_legionClient, args);
1029
1088
  }));
1030
1089
  case 2:
1031
1090
  case "end":
1032
- return _context27.stop();
1091
+ return _context29.stop();
1033
1092
  }
1034
- }, _callee27, this);
1093
+ }, _callee29, this);
1035
1094
  }));
1036
1095
  function createTeam() {
1037
1096
  return _createTeam.apply(this, arguments);
@@ -1045,27 +1104,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
1045
1104
  }, {
1046
1105
  key: "createTeamContainers",
1047
1106
  value: (function () {
1048
- var _createTeamContainers = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee28() {
1049
- var _this24 = this;
1050
- var _len17,
1107
+ var _createTeamContainers = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee30() {
1108
+ var _this25 = this;
1109
+ var _len18,
1051
1110
  args,
1052
- _key17,
1053
- _args28 = arguments;
1054
- return _regenerator.default.wrap(function _callee28$(_context28) {
1055
- while (1) switch (_context28.prev = _context28.next) {
1111
+ _key18,
1112
+ _args30 = arguments;
1113
+ return _regenerator.default.wrap(function _callee30$(_context30) {
1114
+ while (1) switch (_context30.prev = _context30.next) {
1056
1115
  case 0:
1057
- for (_len17 = _args28.length, args = new Array(_len17), _key17 = 0; _key17 < _len17; _key17++) {
1058
- args[_key17] = _args28[_key17];
1116
+ for (_len18 = _args30.length, args = new Array(_len18), _key18 = 0; _key18 < _len18; _key18++) {
1117
+ args[_key18] = _args30[_key18];
1059
1118
  }
1060
- return _context28.abrupt("return", this.measurePerformance('createTeamContainers', function () {
1061
- var _this24$_legionClient;
1062
- return (_this24$_legionClient = _this24._legionClient).createTeamContainers.apply(_this24$_legionClient, args);
1119
+ return _context30.abrupt("return", this.measurePerformance('createTeamContainers', function () {
1120
+ var _this25$_legionClient;
1121
+ return (_this25$_legionClient = _this25._legionClient).createTeamContainers.apply(_this25$_legionClient, args);
1063
1122
  }));
1064
1123
  case 2:
1065
1124
  case "end":
1066
- return _context28.stop();
1125
+ return _context30.stop();
1067
1126
  }
1068
- }, _callee28, this);
1127
+ }, _callee30, this);
1069
1128
  }));
1070
1129
  function createTeamContainers() {
1071
1130
  return _createTeamContainers.apply(this, arguments);
@@ -1081,27 +1140,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
1081
1140
  }, {
1082
1141
  key: "createExternalTeam",
1083
1142
  value: (function () {
1084
- var _createExternalTeam = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee29() {
1085
- var _this25 = this;
1086
- var _len18,
1143
+ var _createExternalTeam = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee31() {
1144
+ var _this26 = this;
1145
+ var _len19,
1087
1146
  args,
1088
- _key18,
1089
- _args29 = arguments;
1090
- return _regenerator.default.wrap(function _callee29$(_context29) {
1091
- while (1) switch (_context29.prev = _context29.next) {
1147
+ _key19,
1148
+ _args31 = arguments;
1149
+ return _regenerator.default.wrap(function _callee31$(_context31) {
1150
+ while (1) switch (_context31.prev = _context31.next) {
1092
1151
  case 0:
1093
- for (_len18 = _args29.length, args = new Array(_len18), _key18 = 0; _key18 < _len18; _key18++) {
1094
- args[_key18] = _args29[_key18];
1152
+ for (_len19 = _args31.length, args = new Array(_len19), _key19 = 0; _key19 < _len19; _key19++) {
1153
+ args[_key19] = _args31[_key19];
1095
1154
  }
1096
- return _context29.abrupt("return", this.measurePerformance('createExternalTeam', function () {
1097
- var _this25$_legionClient;
1098
- return (_this25$_legionClient = _this25._legionClient).createExternalTeam.apply(_this25$_legionClient, args);
1155
+ return _context31.abrupt("return", this.measurePerformance('createExternalTeam', function () {
1156
+ var _this26$_legionClient;
1157
+ return (_this26$_legionClient = _this26._legionClient).createExternalTeam.apply(_this26$_legionClient, args);
1099
1158
  }));
1100
1159
  case 2:
1101
1160
  case "end":
1102
- return _context29.stop();
1161
+ return _context31.stop();
1103
1162
  }
1104
- }, _callee29, this);
1163
+ }, _callee31, this);
1105
1164
  }));
1106
1165
  function createExternalTeam() {
1107
1166
  return _createExternalTeam.apply(this, arguments);
@@ -1116,27 +1175,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
1116
1175
  }, {
1117
1176
  key: "getLinkedTeamsBulk",
1118
1177
  value: (function () {
1119
- var _getLinkedTeamsBulk = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee30() {
1120
- var _this26 = this;
1121
- var _len19,
1178
+ var _getLinkedTeamsBulk = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee32() {
1179
+ var _this27 = this;
1180
+ var _len20,
1122
1181
  args,
1123
- _key19,
1124
- _args30 = arguments;
1125
- return _regenerator.default.wrap(function _callee30$(_context30) {
1126
- while (1) switch (_context30.prev = _context30.next) {
1182
+ _key20,
1183
+ _args32 = arguments;
1184
+ return _regenerator.default.wrap(function _callee32$(_context32) {
1185
+ while (1) switch (_context32.prev = _context32.next) {
1127
1186
  case 0:
1128
- for (_len19 = _args30.length, args = new Array(_len19), _key19 = 0; _key19 < _len19; _key19++) {
1129
- args[_key19] = _args30[_key19];
1187
+ for (_len20 = _args32.length, args = new Array(_len20), _key20 = 0; _key20 < _len20; _key20++) {
1188
+ args[_key20] = _args32[_key20];
1130
1189
  }
1131
- return _context30.abrupt("return", this.measurePerformance('getLinkedTeamsBulk', function () {
1132
- var _this26$_legionClient;
1133
- return (_this26$_legionClient = _this26._legionClient).getLinkedTeamsBulk.apply(_this26$_legionClient, args);
1190
+ return _context32.abrupt("return", this.measurePerformance('getLinkedTeamsBulk', function () {
1191
+ var _this27$_legionClient;
1192
+ return (_this27$_legionClient = _this27._legionClient).getLinkedTeamsBulk.apply(_this27$_legionClient, args);
1134
1193
  }));
1135
1194
  case 2:
1136
1195
  case "end":
1137
- return _context30.stop();
1196
+ return _context32.stop();
1138
1197
  }
1139
- }, _callee30, this);
1198
+ }, _callee32, this);
1140
1199
  }));
1141
1200
  function getLinkedTeamsBulk() {
1142
1201
  return _getLinkedTeamsBulk.apply(this, arguments);
@@ -1150,27 +1209,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
1150
1209
  }, {
1151
1210
  key: "getOrgScope",
1152
1211
  value: (function () {
1153
- var _getOrgScope = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee31() {
1154
- var _this27 = this;
1155
- var _len20,
1212
+ var _getOrgScope = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee33() {
1213
+ var _this28 = this;
1214
+ var _len21,
1156
1215
  args,
1157
- _key20,
1158
- _args31 = arguments;
1159
- return _regenerator.default.wrap(function _callee31$(_context31) {
1160
- while (1) switch (_context31.prev = _context31.next) {
1216
+ _key21,
1217
+ _args33 = arguments;
1218
+ return _regenerator.default.wrap(function _callee33$(_context33) {
1219
+ while (1) switch (_context33.prev = _context33.next) {
1161
1220
  case 0:
1162
- for (_len20 = _args31.length, args = new Array(_len20), _key20 = 0; _key20 < _len20; _key20++) {
1163
- args[_key20] = _args31[_key20];
1221
+ for (_len21 = _args33.length, args = new Array(_len21), _key21 = 0; _key21 < _len21; _key21++) {
1222
+ args[_key21] = _args33[_key21];
1164
1223
  }
1165
- return _context31.abrupt("return", this.measurePerformance('getOrgScope', function () {
1166
- var _this27$_legionClient;
1167
- return (_this27$_legionClient = _this27._legionClient).getOrgScope.apply(_this27$_legionClient, args);
1224
+ return _context33.abrupt("return", this.measurePerformance('getOrgScope', function () {
1225
+ var _this28$_legionClient;
1226
+ return (_this28$_legionClient = _this28._legionClient).getOrgScope.apply(_this28$_legionClient, args);
1168
1227
  }));
1169
1228
  case 2:
1170
1229
  case "end":
1171
- return _context31.stop();
1230
+ return _context33.stop();
1172
1231
  }
1173
- }, _callee31, this);
1232
+ }, _callee33, this);
1174
1233
  }));
1175
1234
  function getOrgScope() {
1176
1235
  return _getOrgScope.apply(this, arguments);
@@ -1184,27 +1243,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
1184
1243
  }, {
1185
1244
  key: "restoreTeamToSyncedGroup",
1186
1245
  value: (function () {
1187
- var _restoreTeamToSyncedGroup = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee32() {
1188
- var _this28 = this;
1189
- var _len21,
1246
+ var _restoreTeamToSyncedGroup = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee34() {
1247
+ var _this29 = this;
1248
+ var _len22,
1190
1249
  args,
1191
- _key21,
1192
- _args32 = arguments;
1193
- return _regenerator.default.wrap(function _callee32$(_context32) {
1194
- while (1) switch (_context32.prev = _context32.next) {
1250
+ _key22,
1251
+ _args34 = arguments;
1252
+ return _regenerator.default.wrap(function _callee34$(_context34) {
1253
+ while (1) switch (_context34.prev = _context34.next) {
1195
1254
  case 0:
1196
- for (_len21 = _args32.length, args = new Array(_len21), _key21 = 0; _key21 < _len21; _key21++) {
1197
- args[_key21] = _args32[_key21];
1255
+ for (_len22 = _args34.length, args = new Array(_len22), _key22 = 0; _key22 < _len22; _key22++) {
1256
+ args[_key22] = _args34[_key22];
1198
1257
  }
1199
- return _context32.abrupt("return", this.measurePerformance('restoreTeamToSyncedGroup', function () {
1200
- var _this28$_legionClient;
1201
- return (_this28$_legionClient = _this28._legionClient).restoreTeamToSyncedGroup.apply(_this28$_legionClient, args);
1258
+ return _context34.abrupt("return", this.measurePerformance('restoreTeamToSyncedGroup', function () {
1259
+ var _this29$_legionClient;
1260
+ return (_this29$_legionClient = _this29._legionClient).restoreTeamToSyncedGroup.apply(_this29$_legionClient, args);
1202
1261
  }));
1203
1262
  case 2:
1204
1263
  case "end":
1205
- return _context32.stop();
1264
+ return _context34.stop();
1206
1265
  }
1207
- }, _callee32, this);
1266
+ }, _callee34, this);
1208
1267
  }));
1209
1268
  function restoreTeamToSyncedGroup() {
1210
1269
  return _restoreTeamToSyncedGroup.apply(this, arguments);
@@ -1221,27 +1280,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
1221
1280
  }, {
1222
1281
  key: "getTeamAndGroupDiff",
1223
1282
  value: (function () {
1224
- var _getTeamAndGroupDiff = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee33() {
1225
- var _this29 = this;
1226
- var _len22,
1283
+ var _getTeamAndGroupDiff = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee35() {
1284
+ var _this30 = this;
1285
+ var _len23,
1227
1286
  args,
1228
- _key22,
1229
- _args33 = arguments;
1230
- return _regenerator.default.wrap(function _callee33$(_context33) {
1231
- while (1) switch (_context33.prev = _context33.next) {
1287
+ _key23,
1288
+ _args35 = arguments;
1289
+ return _regenerator.default.wrap(function _callee35$(_context35) {
1290
+ while (1) switch (_context35.prev = _context35.next) {
1232
1291
  case 0:
1233
- for (_len22 = _args33.length, args = new Array(_len22), _key22 = 0; _key22 < _len22; _key22++) {
1234
- args[_key22] = _args33[_key22];
1292
+ for (_len23 = _args35.length, args = new Array(_len23), _key23 = 0; _key23 < _len23; _key23++) {
1293
+ args[_key23] = _args35[_key23];
1235
1294
  }
1236
- return _context33.abrupt("return", this.measurePerformance('getTeamAndGroupDiff', function () {
1237
- var _this29$_legionClient;
1238
- return (_this29$_legionClient = _this29._legionClient).getTeamAndGroupDiff.apply(_this29$_legionClient, args);
1295
+ return _context35.abrupt("return", this.measurePerformance('getTeamAndGroupDiff', function () {
1296
+ var _this30$_legionClient;
1297
+ return (_this30$_legionClient = _this30._legionClient).getTeamAndGroupDiff.apply(_this30$_legionClient, args);
1239
1298
  }));
1240
1299
  case 2:
1241
1300
  case "end":
1242
- return _context33.stop();
1301
+ return _context35.stop();
1243
1302
  }
1244
- }, _callee33, this);
1303
+ }, _callee35, this);
1245
1304
  }));
1246
1305
  function getTeamAndGroupDiff() {
1247
1306
  return _getTeamAndGroupDiff.apply(this, arguments);
@@ -1257,27 +1316,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
1257
1316
  }, {
1258
1317
  key: "linkExistingTeamToGroup",
1259
1318
  value: (function () {
1260
- var _linkExistingTeamToGroup = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee34() {
1261
- var _this30 = this;
1262
- var _len23,
1319
+ var _linkExistingTeamToGroup = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee36() {
1320
+ var _this31 = this;
1321
+ var _len24,
1263
1322
  args,
1264
- _key23,
1265
- _args34 = arguments;
1266
- return _regenerator.default.wrap(function _callee34$(_context34) {
1267
- while (1) switch (_context34.prev = _context34.next) {
1323
+ _key24,
1324
+ _args36 = arguments;
1325
+ return _regenerator.default.wrap(function _callee36$(_context36) {
1326
+ while (1) switch (_context36.prev = _context36.next) {
1268
1327
  case 0:
1269
- for (_len23 = _args34.length, args = new Array(_len23), _key23 = 0; _key23 < _len23; _key23++) {
1270
- args[_key23] = _args34[_key23];
1328
+ for (_len24 = _args36.length, args = new Array(_len24), _key24 = 0; _key24 < _len24; _key24++) {
1329
+ args[_key24] = _args36[_key24];
1271
1330
  }
1272
- return _context34.abrupt("return", this.measurePerformance('linkExistingTeamToGroup', function () {
1273
- var _this30$_legionClient;
1274
- return (_this30$_legionClient = _this30._legionClient).linkExistingTeamToGroup.apply(_this30$_legionClient, args);
1331
+ return _context36.abrupt("return", this.measurePerformance('linkExistingTeamToGroup', function () {
1332
+ var _this31$_legionClient;
1333
+ return (_this31$_legionClient = _this31._legionClient).linkExistingTeamToGroup.apply(_this31$_legionClient, args);
1275
1334
  }));
1276
1335
  case 2:
1277
1336
  case "end":
1278
- return _context34.stop();
1337
+ return _context36.stop();
1279
1338
  }
1280
- }, _callee34, this);
1339
+ }, _callee36, this);
1281
1340
  }));
1282
1341
  function linkExistingTeamToGroup() {
1283
1342
  return _linkExistingTeamToGroup.apply(this, arguments);
@@ -1293,27 +1352,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
1293
1352
  }, {
1294
1353
  key: "getTeamProfileDetailsByTeamId",
1295
1354
  value: (function () {
1296
- var _getTeamProfileDetailsByTeamId = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee35() {
1297
- var _this31 = this;
1298
- var _len24,
1355
+ var _getTeamProfileDetailsByTeamId = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee37() {
1356
+ var _this32 = this;
1357
+ var _len25,
1299
1358
  args,
1300
- _key24,
1301
- _args35 = arguments;
1302
- return _regenerator.default.wrap(function _callee35$(_context35) {
1303
- while (1) switch (_context35.prev = _context35.next) {
1359
+ _key25,
1360
+ _args37 = arguments;
1361
+ return _regenerator.default.wrap(function _callee37$(_context37) {
1362
+ while (1) switch (_context37.prev = _context37.next) {
1304
1363
  case 0:
1305
- for (_len24 = _args35.length, args = new Array(_len24), _key24 = 0; _key24 < _len24; _key24++) {
1306
- args[_key24] = _args35[_key24];
1364
+ for (_len25 = _args37.length, args = new Array(_len25), _key25 = 0; _key25 < _len25; _key25++) {
1365
+ args[_key25] = _args37[_key25];
1307
1366
  }
1308
- return _context35.abrupt("return", this.measurePerformance('getTeamProfileDetails', function () {
1309
- var _this31$_legionClient;
1310
- return (_this31$_legionClient = _this31._legionClient).getTeamProfileDetails.apply(_this31$_legionClient, args);
1367
+ return _context37.abrupt("return", this.measurePerformance('getTeamProfileDetails', function () {
1368
+ var _this32$_legionClient;
1369
+ return (_this32$_legionClient = _this32._legionClient).getTeamProfileDetails.apply(_this32$_legionClient, args);
1311
1370
  }));
1312
1371
  case 2:
1313
1372
  case "end":
1314
- return _context35.stop();
1373
+ return _context37.stop();
1315
1374
  }
1316
- }, _callee35, this);
1375
+ }, _callee37, this);
1317
1376
  }));
1318
1377
  function getTeamProfileDetailsByTeamId() {
1319
1378
  return _getTeamProfileDetailsByTeamId.apply(this, arguments);
@@ -1329,21 +1388,21 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
1329
1388
  }, {
1330
1389
  key: "getSoftDeletdTeamById",
1331
1390
  value: (function () {
1332
- var _getSoftDeletdTeamById = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee36(teamId) {
1333
- var _this32 = this;
1334
- return _regenerator.default.wrap(function _callee36$(_context36) {
1335
- while (1) switch (_context36.prev = _context36.next) {
1391
+ var _getSoftDeletdTeamById = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee38(teamId) {
1392
+ var _this33 = this;
1393
+ return _regenerator.default.wrap(function _callee38$(_context38) {
1394
+ while (1) switch (_context38.prev = _context38.next) {
1336
1395
  case 0:
1337
- return _context36.abrupt("return", this.measurePerformance('getSoftDeletedTeamById', function () {
1338
- return _this32._legionClient.getSoftDeletedTeamById(teamId);
1396
+ return _context38.abrupt("return", this.measurePerformance('getSoftDeletedTeamById', function () {
1397
+ return _this33._legionClient.getSoftDeletedTeamById(teamId);
1339
1398
  }));
1340
1399
  case 1:
1341
1400
  case "end":
1342
- return _context36.stop();
1401
+ return _context38.stop();
1343
1402
  }
1344
- }, _callee36, this);
1403
+ }, _callee38, this);
1345
1404
  }));
1346
- function getSoftDeletdTeamById(_x10) {
1405
+ function getSoftDeletdTeamById(_x11) {
1347
1406
  return _getSoftDeletdTeamById.apply(this, arguments);
1348
1407
  }
1349
1408
  return getSoftDeletdTeamById;
@@ -1357,21 +1416,21 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
1357
1416
  }, {
1358
1417
  key: "getUserInSiteUserBase",
1359
1418
  value: (function () {
1360
- var _getUserInSiteUserBase = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee37(userId) {
1361
- var _this33 = this;
1362
- return _regenerator.default.wrap(function _callee37$(_context37) {
1363
- while (1) switch (_context37.prev = _context37.next) {
1419
+ var _getUserInSiteUserBase = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee39(userId) {
1420
+ var _this34 = this;
1421
+ return _regenerator.default.wrap(function _callee39$(_context39) {
1422
+ while (1) switch (_context39.prev = _context39.next) {
1364
1423
  case 0:
1365
- return _context37.abrupt("return", this.measurePerformance('getUserInSiteUserBase', function () {
1366
- return _this33._legionClient.getUserInSiteUserBase(userId);
1424
+ return _context39.abrupt("return", this.measurePerformance('getUserInSiteUserBase', function () {
1425
+ return _this34._legionClient.getUserInSiteUserBase(userId);
1367
1426
  }));
1368
1427
  case 1:
1369
1428
  case "end":
1370
- return _context37.stop();
1429
+ return _context39.stop();
1371
1430
  }
1372
- }, _callee37, this);
1431
+ }, _callee39, this);
1373
1432
  }));
1374
- function getUserInSiteUserBase(_x11) {
1433
+ function getUserInSiteUserBase(_x12) {
1375
1434
  return _getUserInSiteUserBase.apply(this, arguments);
1376
1435
  }
1377
1436
  return getUserInSiteUserBase;
@@ -1389,27 +1448,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
1389
1448
  }, {
1390
1449
  key: "getProfileWithMutability",
1391
1450
  value: (function () {
1392
- var _getProfileWithMutability = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee38() {
1393
- var _this34 = this;
1394
- var _len25,
1451
+ var _getProfileWithMutability = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee40() {
1452
+ var _this35 = this;
1453
+ var _len26,
1395
1454
  args,
1396
- _key25,
1397
- _args38 = arguments;
1398
- return _regenerator.default.wrap(function _callee38$(_context38) {
1399
- while (1) switch (_context38.prev = _context38.next) {
1455
+ _key26,
1456
+ _args40 = arguments;
1457
+ return _regenerator.default.wrap(function _callee40$(_context40) {
1458
+ while (1) switch (_context40.prev = _context40.next) {
1400
1459
  case 0:
1401
- for (_len25 = _args38.length, args = new Array(_len25), _key25 = 0; _key25 < _len25; _key25++) {
1402
- args[_key25] = _args38[_key25];
1460
+ for (_len26 = _args40.length, args = new Array(_len26), _key26 = 0; _key26 < _len26; _key26++) {
1461
+ args[_key26] = _args40[_key26];
1403
1462
  }
1404
- return _context38.abrupt("return", this.measurePerformance('getProfileWithMutability', function () {
1405
- var _this34$_mutabilityCl;
1406
- return (_this34$_mutabilityCl = _this34._mutabilityClient).getProfileWithMutability.apply(_this34$_mutabilityCl, args);
1463
+ return _context40.abrupt("return", this.measurePerformance('getProfileWithMutability', function () {
1464
+ var _this35$_mutabilityCl;
1465
+ return (_this35$_mutabilityCl = _this35._mutabilityClient).getProfileWithMutability.apply(_this35$_mutabilityCl, args);
1407
1466
  }));
1408
1467
  case 2:
1409
1468
  case "end":
1410
- return _context38.stop();
1469
+ return _context40.stop();
1411
1470
  }
1412
- }, _callee38, this);
1471
+ }, _callee40, this);
1413
1472
  }));
1414
1473
  function getProfileWithMutability() {
1415
1474
  return _getProfileWithMutability.apply(this, arguments);
@@ -1423,13 +1482,13 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
1423
1482
  }, {
1424
1483
  key: "getIsSiteAdmin",
1425
1484
  value: function getIsSiteAdmin() {
1426
- var _this35 = this;
1427
- for (var _len26 = arguments.length, args = new Array(_len26), _key26 = 0; _key26 < _len26; _key26++) {
1428
- args[_key26] = arguments[_key26];
1485
+ var _this36 = this;
1486
+ for (var _len27 = arguments.length, args = new Array(_len27), _key27 = 0; _key27 < _len27; _key27++) {
1487
+ args[_key27] = arguments[_key27];
1429
1488
  }
1430
1489
  return this.measurePerformance('getIsSiteAdmin', function () {
1431
- var _this35$_permsClient;
1432
- return (_this35$_permsClient = _this35._permsClient).getIsSiteAdmin.apply(_this35$_permsClient, args);
1490
+ var _this36$_permsClient;
1491
+ return (_this36$_permsClient = _this36._permsClient).getIsSiteAdmin.apply(_this36$_permsClient, args);
1433
1492
  });
1434
1493
  }
1435
1494
 
@@ -1439,13 +1498,13 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
1439
1498
  }, {
1440
1499
  key: "addUsersToTeam",
1441
1500
  value: function addUsersToTeam() {
1442
- var _this36 = this;
1443
- for (var _len27 = arguments.length, args = new Array(_len27), _key27 = 0; _key27 < _len27; _key27++) {
1444
- args[_key27] = arguments[_key27];
1501
+ var _this37 = this;
1502
+ for (var _len28 = arguments.length, args = new Array(_len28), _key28 = 0; _key28 < _len28; _key28++) {
1503
+ args[_key28] = arguments[_key28];
1445
1504
  }
1446
1505
  return this.measurePerformance('addUsersToTeam', function () {
1447
- var _this36$_publicApiCli;
1448
- return (_this36$_publicApiCli = _this36._publicApiClient).addUsersToTeam.apply(_this36$_publicApiCli, args);
1506
+ var _this37$_publicApiCli;
1507
+ return (_this37$_publicApiCli = _this37._publicApiClient).addUsersToTeam.apply(_this37$_publicApiCli, args);
1449
1508
  });
1450
1509
  }
1451
1510
 
@@ -1455,13 +1514,13 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
1455
1514
  }, {
1456
1515
  key: "removeTeamMemberships",
1457
1516
  value: function removeTeamMemberships() {
1458
- var _this37 = this;
1459
- for (var _len28 = arguments.length, args = new Array(_len28), _key28 = 0; _key28 < _len28; _key28++) {
1460
- args[_key28] = arguments[_key28];
1517
+ var _this38 = this;
1518
+ for (var _len29 = arguments.length, args = new Array(_len29), _key29 = 0; _key29 < _len29; _key29++) {
1519
+ args[_key29] = arguments[_key29];
1461
1520
  }
1462
1521
  return this.measurePerformance('removeTeamMemberships', function () {
1463
- var _this37$_publicApiCli;
1464
- return (_this37$_publicApiCli = _this37._publicApiClient).removeTeamMemberships.apply(_this37$_publicApiCli, args);
1522
+ var _this38$_publicApiCli;
1523
+ return (_this38$_publicApiCli = _this38._publicApiClient).removeTeamMemberships.apply(_this38$_publicApiCli, args);
1465
1524
  });
1466
1525
  }
1467
1526
 
@@ -1471,37 +1530,37 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
1471
1530
  }, {
1472
1531
  key: "restoreTeam",
1473
1532
  value: function restoreTeam() {
1474
- var _this38 = this;
1475
- for (var _len29 = arguments.length, args = new Array(_len29), _key29 = 0; _key29 < _len29; _key29++) {
1476
- args[_key29] = arguments[_key29];
1533
+ var _this39 = this;
1534
+ for (var _len30 = arguments.length, args = new Array(_len30), _key30 = 0; _key30 < _len30; _key30++) {
1535
+ args[_key30] = arguments[_key30];
1477
1536
  }
1478
1537
  return this.measurePerformance('restoreTeam', function () {
1479
- var _this38$_publicApiCli;
1480
- return (_this38$_publicApiCli = _this38._publicApiClient).restoreTeam.apply(_this38$_publicApiCli, args);
1538
+ var _this39$_publicApiCli;
1539
+ return (_this39$_publicApiCli = _this39._publicApiClient).restoreTeam.apply(_this39$_publicApiCli, args);
1481
1540
  });
1482
1541
  }
1483
1542
  }, {
1484
1543
  key: "getRecommendedProducts",
1485
1544
  value: function getRecommendedProducts() {
1486
- var _this39 = this;
1487
- for (var _len30 = arguments.length, args = new Array(_len30), _key30 = 0; _key30 < _len30; _key30++) {
1488
- args[_key30] = arguments[_key30];
1545
+ var _this40 = this;
1546
+ for (var _len31 = arguments.length, args = new Array(_len31), _key31 = 0; _key31 < _len31; _key31++) {
1547
+ args[_key31] = arguments[_key31];
1489
1548
  }
1490
1549
  return this.measurePerformance('getRecommendedProducts', function () {
1491
- var _this39$_invitationsC;
1492
- return (_this39$_invitationsC = _this39._invitationsClient).getProductRecommendations.apply(_this39$_invitationsC, args);
1550
+ var _this40$_invitationsC;
1551
+ return (_this40$_invitationsC = _this40._invitationsClient).getProductRecommendations.apply(_this40$_invitationsC, args);
1493
1552
  });
1494
1553
  }
1495
1554
  }, {
1496
1555
  key: "joinOrRequestDefaultAccessToProductsBulk",
1497
1556
  value: function joinOrRequestDefaultAccessToProductsBulk() {
1498
- var _this40 = this;
1499
- for (var _len31 = arguments.length, args = new Array(_len31), _key31 = 0; _key31 < _len31; _key31++) {
1500
- args[_key31] = arguments[_key31];
1557
+ var _this41 = this;
1558
+ for (var _len32 = arguments.length, args = new Array(_len32), _key32 = 0; _key32 < _len32; _key32++) {
1559
+ args[_key32] = arguments[_key32];
1501
1560
  }
1502
1561
  return this.measurePerformance('joinOrRequestDefaultAccessToProductsBulk', function () {
1503
- var _this40$_invitationsC;
1504
- return (_this40$_invitationsC = _this40._invitationsClient).joinOrRequestDefaultAccessToProductsBulk.apply(_this40$_invitationsC, args);
1562
+ var _this41$_invitationsC;
1563
+ return (_this41$_invitationsC = _this41._invitationsClient).joinOrRequestDefaultAccessToProductsBulk.apply(_this41$_invitationsC, args);
1505
1564
  });
1506
1565
  }
1507
1566
 
@@ -1511,19 +1570,19 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
1511
1570
  }, {
1512
1571
  key: "getWriteTeamMediaToken",
1513
1572
  value: (function () {
1514
- var _getWriteTeamMediaToken = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee39() {
1515
- var _this41 = this;
1516
- return _regenerator.default.wrap(function _callee39$(_context39) {
1517
- while (1) switch (_context39.prev = _context39.next) {
1573
+ var _getWriteTeamMediaToken = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee41() {
1574
+ var _this42 = this;
1575
+ return _regenerator.default.wrap(function _callee41$(_context41) {
1576
+ while (1) switch (_context41.prev = _context41.next) {
1518
1577
  case 0:
1519
- return _context39.abrupt("return", this.measurePerformance('getWriteTeamMediaToken', function () {
1520
- return _this41._legionClient.getWriteMediaToken();
1578
+ return _context41.abrupt("return", this.measurePerformance('getWriteTeamMediaToken', function () {
1579
+ return _this42._legionClient.getWriteMediaToken();
1521
1580
  }));
1522
1581
  case 1:
1523
1582
  case "end":
1524
- return _context39.stop();
1583
+ return _context41.stop();
1525
1584
  }
1526
- }, _callee39, this);
1585
+ }, _callee41, this);
1527
1586
  }));
1528
1587
  function getWriteTeamMediaToken() {
1529
1588
  return _getWriteTeamMediaToken.apply(this, arguments);
@@ -1537,27 +1596,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
1537
1596
  }, {
1538
1597
  key: "getReadMediaToken",
1539
1598
  value: (function () {
1540
- var _getReadMediaToken = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee40() {
1541
- var _this42 = this;
1542
- var _len32,
1599
+ var _getReadMediaToken = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee42() {
1600
+ var _this43 = this;
1601
+ var _len33,
1543
1602
  args,
1544
- _key32,
1545
- _args40 = arguments;
1546
- return _regenerator.default.wrap(function _callee40$(_context40) {
1547
- while (1) switch (_context40.prev = _context40.next) {
1603
+ _key33,
1604
+ _args42 = arguments;
1605
+ return _regenerator.default.wrap(function _callee42$(_context42) {
1606
+ while (1) switch (_context42.prev = _context42.next) {
1548
1607
  case 0:
1549
- for (_len32 = _args40.length, args = new Array(_len32), _key32 = 0; _key32 < _len32; _key32++) {
1550
- args[_key32] = _args40[_key32];
1608
+ for (_len33 = _args42.length, args = new Array(_len33), _key33 = 0; _key33 < _len33; _key33++) {
1609
+ args[_key33] = _args42[_key33];
1551
1610
  }
1552
- return _context40.abrupt("return", this.measurePerformance('getReadMediaToken', function () {
1553
- var _this42$_userPreferen;
1554
- return (_this42$_userPreferen = _this42._userPreferencesClient).getReadMediaToken.apply(_this42$_userPreferen, args);
1611
+ return _context42.abrupt("return", this.measurePerformance('getReadMediaToken', function () {
1612
+ var _this43$_userPreferen;
1613
+ return (_this43$_userPreferen = _this43._userPreferencesClient).getReadMediaToken.apply(_this43$_userPreferen, args);
1555
1614
  }));
1556
1615
  case 2:
1557
1616
  case "end":
1558
- return _context40.stop();
1617
+ return _context42.stop();
1559
1618
  }
1560
- }, _callee40, this);
1619
+ }, _callee42, this);
1561
1620
  }));
1562
1621
  function getReadMediaToken() {
1563
1622
  return _getReadMediaToken.apply(this, arguments);
@@ -1571,19 +1630,19 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
1571
1630
  }, {
1572
1631
  key: "getWriteUserMediaToken",
1573
1632
  value: (function () {
1574
- var _getWriteUserMediaToken = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee41() {
1575
- var _this43 = this;
1576
- return _regenerator.default.wrap(function _callee41$(_context41) {
1577
- while (1) switch (_context41.prev = _context41.next) {
1633
+ var _getWriteUserMediaToken = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee43() {
1634
+ var _this44 = this;
1635
+ return _regenerator.default.wrap(function _callee43$(_context43) {
1636
+ while (1) switch (_context43.prev = _context43.next) {
1578
1637
  case 0:
1579
- return _context41.abrupt("return", this.measurePerformance('getWriteUserMediaToken', function () {
1580
- return _this43._userPreferencesClient.getWriteMediaToken();
1638
+ return _context43.abrupt("return", this.measurePerformance('getWriteUserMediaToken', function () {
1639
+ return _this44._userPreferencesClient.getWriteMediaToken();
1581
1640
  }));
1582
1641
  case 1:
1583
1642
  case "end":
1584
- return _context41.stop();
1643
+ return _context43.stop();
1585
1644
  }
1586
- }, _callee41, this);
1645
+ }, _callee43, this);
1587
1646
  }));
1588
1647
  function getWriteUserMediaToken() {
1589
1648
  return _getWriteUserMediaToken.apply(this, arguments);
@@ -1597,21 +1656,21 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
1597
1656
  }, {
1598
1657
  key: "updateUserHeaderImage",
1599
1658
  value: (function () {
1600
- var _updateUserHeaderImage = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee42(headerImageId) {
1601
- var _this44 = this;
1602
- return _regenerator.default.wrap(function _callee42$(_context42) {
1603
- while (1) switch (_context42.prev = _context42.next) {
1659
+ var _updateUserHeaderImage = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee44(headerImageId) {
1660
+ var _this45 = this;
1661
+ return _regenerator.default.wrap(function _callee44$(_context44) {
1662
+ while (1) switch (_context44.prev = _context44.next) {
1604
1663
  case 0:
1605
- return _context42.abrupt("return", this.measurePerformance('updateUserHeaderImage', function () {
1606
- return _this44._userPreferencesClient.updateUserHeaderImage(headerImageId);
1664
+ return _context44.abrupt("return", this.measurePerformance('updateUserHeaderImage', function () {
1665
+ return _this45._userPreferencesClient.updateUserHeaderImage(headerImageId);
1607
1666
  }));
1608
1667
  case 1:
1609
1668
  case "end":
1610
- return _context42.stop();
1669
+ return _context44.stop();
1611
1670
  }
1612
- }, _callee42, this);
1671
+ }, _callee44, this);
1613
1672
  }));
1614
- function updateUserHeaderImage(_x12) {
1673
+ function updateUserHeaderImage(_x13) {
1615
1674
  return _updateUserHeaderImage.apply(this, arguments);
1616
1675
  }
1617
1676
  return updateUserHeaderImage;
@@ -1623,27 +1682,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
1623
1682
  }, {
1624
1683
  key: "getUserContainers",
1625
1684
  value: (function () {
1626
- var _getUserContainers = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee43() {
1627
- var _this45 = this;
1628
- var _len33,
1685
+ var _getUserContainers = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee45() {
1686
+ var _this46 = this;
1687
+ var _len34,
1629
1688
  args,
1630
- _key33,
1631
- _args43 = arguments;
1632
- return _regenerator.default.wrap(function _callee43$(_context43) {
1633
- while (1) switch (_context43.prev = _context43.next) {
1689
+ _key34,
1690
+ _args45 = arguments;
1691
+ return _regenerator.default.wrap(function _callee45$(_context45) {
1692
+ while (1) switch (_context45.prev = _context45.next) {
1634
1693
  case 0:
1635
- for (_len33 = _args43.length, args = new Array(_len33), _key33 = 0; _key33 < _len33; _key33++) {
1636
- args[_key33] = _args43[_key33];
1694
+ for (_len34 = _args45.length, args = new Array(_len34), _key34 = 0; _key34 < _len34; _key34++) {
1695
+ args[_key34] = _args45[_key34];
1637
1696
  }
1638
- return _context43.abrupt("return", this.measurePerformance('getUserContainers', function () {
1639
- var _this45$_collaboratio;
1640
- return (_this45$_collaboratio = _this45._collaborationGraphClient).getUserContainers.apply(_this45$_collaboratio, args);
1697
+ return _context45.abrupt("return", this.measurePerformance('getUserContainers', function () {
1698
+ var _this46$_collaboratio;
1699
+ return (_this46$_collaboratio = _this46._collaborationGraphClient).getUserContainers.apply(_this46$_collaboratio, args);
1641
1700
  }));
1642
1701
  case 2:
1643
1702
  case "end":
1644
- return _context43.stop();
1703
+ return _context45.stop();
1645
1704
  }
1646
- }, _callee43, this);
1705
+ }, _callee45, this);
1647
1706
  }));
1648
1707
  function getUserContainers() {
1649
1708
  return _getUserContainers.apply(this, arguments);
@@ -1657,27 +1716,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
1657
1716
  }, {
1658
1717
  key: "getUserManageConfig",
1659
1718
  value: (function () {
1660
- var _getUserManageConfig = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee44() {
1661
- var _this46 = this;
1662
- var _len34,
1719
+ var _getUserManageConfig = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee46() {
1720
+ var _this47 = this;
1721
+ var _len35,
1663
1722
  args,
1664
- _key34,
1665
- _args44 = arguments;
1666
- return _regenerator.default.wrap(function _callee44$(_context44) {
1667
- while (1) switch (_context44.prev = _context44.next) {
1723
+ _key35,
1724
+ _args46 = arguments;
1725
+ return _regenerator.default.wrap(function _callee46$(_context46) {
1726
+ while (1) switch (_context46.prev = _context46.next) {
1668
1727
  case 0:
1669
- for (_len34 = _args44.length, args = new Array(_len34), _key34 = 0; _key34 < _len34; _key34++) {
1670
- args[_key34] = _args44[_key34];
1728
+ for (_len35 = _args46.length, args = new Array(_len35), _key35 = 0; _key35 < _len35; _key35++) {
1729
+ args[_key35] = _args46[_key35];
1671
1730
  }
1672
- return _context44.abrupt("return", this.measurePerformance('getUserManageConfig', function () {
1673
- var _this46$_identityClie;
1674
- return (_this46$_identityClie = _this46._identityClient).getUserManageConfig.apply(_this46$_identityClie, args);
1731
+ return _context46.abrupt("return", this.measurePerformance('getUserManageConfig', function () {
1732
+ var _this47$_identityClie;
1733
+ return (_this47$_identityClie = _this47._identityClient).getUserManageConfig.apply(_this47$_identityClie, args);
1675
1734
  }));
1676
1735
  case 2:
1677
1736
  case "end":
1678
- return _context44.stop();
1737
+ return _context46.stop();
1679
1738
  }
1680
- }, _callee44, this);
1739
+ }, _callee46, this);
1681
1740
  }));
1682
1741
  function getUserManageConfig() {
1683
1742
  return _getUserManageConfig.apply(this, arguments);
@@ -1691,27 +1750,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
1691
1750
  }, {
1692
1751
  key: "getMyAvatarUploadedStatus",
1693
1752
  value: (function () {
1694
- var _getMyAvatarUploadedStatus = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee45() {
1695
- var _this47 = this;
1696
- var _len35,
1753
+ var _getMyAvatarUploadedStatus = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee47() {
1754
+ var _this48 = this;
1755
+ var _len36,
1697
1756
  args,
1698
- _key35,
1699
- _args45 = arguments;
1700
- return _regenerator.default.wrap(function _callee45$(_context45) {
1701
- while (1) switch (_context45.prev = _context45.next) {
1757
+ _key36,
1758
+ _args47 = arguments;
1759
+ return _regenerator.default.wrap(function _callee47$(_context47) {
1760
+ while (1) switch (_context47.prev = _context47.next) {
1702
1761
  case 0:
1703
- for (_len35 = _args45.length, args = new Array(_len35), _key35 = 0; _key35 < _len35; _key35++) {
1704
- args[_key35] = _args45[_key35];
1762
+ for (_len36 = _args47.length, args = new Array(_len36), _key36 = 0; _key36 < _len36; _key36++) {
1763
+ args[_key36] = _args47[_key36];
1705
1764
  }
1706
- return _context45.abrupt("return", this.measurePerformance('getMyAvatarUploadedStatus', function () {
1707
- var _this47$_identityClie;
1708
- return (_this47$_identityClie = _this47._identityClient).getMyAvatarUploadedStatus.apply(_this47$_identityClie, args);
1765
+ return _context47.abrupt("return", this.measurePerformance('getMyAvatarUploadedStatus', function () {
1766
+ var _this48$_identityClie;
1767
+ return (_this48$_identityClie = _this48._identityClient).getMyAvatarUploadedStatus.apply(_this48$_identityClie, args);
1709
1768
  }));
1710
1769
  case 2:
1711
1770
  case "end":
1712
- return _context45.stop();
1771
+ return _context47.stop();
1713
1772
  }
1714
- }, _callee45, this);
1773
+ }, _callee47, this);
1715
1774
  }));
1716
1775
  function getMyAvatarUploadedStatus() {
1717
1776
  return _getMyAvatarUploadedStatus.apply(this, arguments);
@@ -1725,27 +1784,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
1725
1784
  }, {
1726
1785
  key: "deleteAvatar",
1727
1786
  value: (function () {
1728
- var _deleteAvatar = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee46() {
1729
- var _this48 = this;
1730
- var _len36,
1787
+ var _deleteAvatar = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee48() {
1788
+ var _this49 = this;
1789
+ var _len37,
1731
1790
  args,
1732
- _key36,
1733
- _args46 = arguments;
1734
- return _regenerator.default.wrap(function _callee46$(_context46) {
1735
- while (1) switch (_context46.prev = _context46.next) {
1791
+ _key37,
1792
+ _args48 = arguments;
1793
+ return _regenerator.default.wrap(function _callee48$(_context48) {
1794
+ while (1) switch (_context48.prev = _context48.next) {
1736
1795
  case 0:
1737
- for (_len36 = _args46.length, args = new Array(_len36), _key36 = 0; _key36 < _len36; _key36++) {
1738
- args[_key36] = _args46[_key36];
1796
+ for (_len37 = _args48.length, args = new Array(_len37), _key37 = 0; _key37 < _len37; _key37++) {
1797
+ args[_key37] = _args48[_key37];
1739
1798
  }
1740
- return _context46.abrupt("return", this.measurePerformance('deleteUserAvatar', function () {
1741
- var _this48$_identityClie;
1742
- return (_this48$_identityClie = _this48._identityClient).deleteAvatar.apply(_this48$_identityClie, args);
1799
+ return _context48.abrupt("return", this.measurePerformance('deleteUserAvatar', function () {
1800
+ var _this49$_identityClie;
1801
+ return (_this49$_identityClie = _this49._identityClient).deleteAvatar.apply(_this49$_identityClie, args);
1743
1802
  }));
1744
1803
  case 2:
1745
1804
  case "end":
1746
- return _context46.stop();
1805
+ return _context48.stop();
1747
1806
  }
1748
- }, _callee46, this);
1807
+ }, _callee48, this);
1749
1808
  }));
1750
1809
  function deleteAvatar() {
1751
1810
  return _deleteAvatar.apply(this, arguments);
@@ -1755,27 +1814,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
1755
1814
  }, {
1756
1815
  key: "fetchUserAvatarInfo",
1757
1816
  value: function () {
1758
- var _fetchUserAvatarInfo = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee47() {
1759
- var _this49 = this;
1760
- var _len37,
1817
+ var _fetchUserAvatarInfo = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee49() {
1818
+ var _this50 = this;
1819
+ var _len38,
1761
1820
  args,
1762
- _key37,
1763
- _args47 = arguments;
1764
- return _regenerator.default.wrap(function _callee47$(_context47) {
1765
- while (1) switch (_context47.prev = _context47.next) {
1821
+ _key38,
1822
+ _args49 = arguments;
1823
+ return _regenerator.default.wrap(function _callee49$(_context49) {
1824
+ while (1) switch (_context49.prev = _context49.next) {
1766
1825
  case 0:
1767
- for (_len37 = _args47.length, args = new Array(_len37), _key37 = 0; _key37 < _len37; _key37++) {
1768
- args[_key37] = _args47[_key37];
1826
+ for (_len38 = _args49.length, args = new Array(_len38), _key38 = 0; _key38 < _len38; _key38++) {
1827
+ args[_key38] = _args49[_key38];
1769
1828
  }
1770
- return _context47.abrupt("return", this.measurePerformance('fetchUserAvatarInfo', function () {
1771
- var _this49$_identityClie;
1772
- return (_this49$_identityClie = _this49._identityClient).fetchUserAvatarInfo.apply(_this49$_identityClie, args);
1829
+ return _context49.abrupt("return", this.measurePerformance('fetchUserAvatarInfo', function () {
1830
+ var _this50$_identityClie;
1831
+ return (_this50$_identityClie = _this50._identityClient).fetchUserAvatarInfo.apply(_this50$_identityClie, args);
1773
1832
  }));
1774
1833
  case 2:
1775
1834
  case "end":
1776
- return _context47.stop();
1835
+ return _context49.stop();
1777
1836
  }
1778
- }, _callee47, this);
1837
+ }, _callee49, this);
1779
1838
  }));
1780
1839
  function fetchUserAvatarInfo() {
1781
1840
  return _fetchUserAvatarInfo.apply(this, arguments);
@@ -1788,27 +1847,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
1788
1847
  }, {
1789
1848
  key: "getTeamLinkIcons",
1790
1849
  value: (function () {
1791
- var _getTeamLinkIcons = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee48() {
1792
- var _this50 = this;
1793
- var _len38,
1850
+ var _getTeamLinkIcons = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee50() {
1851
+ var _this51 = this;
1852
+ var _len39,
1794
1853
  args,
1795
- _key38,
1796
- _args48 = arguments;
1797
- return _regenerator.default.wrap(function _callee48$(_context48) {
1798
- while (1) switch (_context48.prev = _context48.next) {
1854
+ _key39,
1855
+ _args50 = arguments;
1856
+ return _regenerator.default.wrap(function _callee50$(_context50) {
1857
+ while (1) switch (_context50.prev = _context50.next) {
1799
1858
  case 0:
1800
- for (_len38 = _args48.length, args = new Array(_len38), _key38 = 0; _key38 < _len38; _key38++) {
1801
- args[_key38] = _args48[_key38];
1859
+ for (_len39 = _args50.length, args = new Array(_len39), _key39 = 0; _key39 < _len39; _key39++) {
1860
+ args[_key39] = _args50[_key39];
1802
1861
  }
1803
- return _context48.abrupt("return", this.measurePerformance('getTeamLinkIcons', function () {
1804
- var _this50$_objectResolv;
1805
- return (_this50$_objectResolv = _this50._objectResolverClient).getTeamLinkIcons.apply(_this50$_objectResolv, args);
1862
+ return _context50.abrupt("return", this.measurePerformance('getTeamLinkIcons', function () {
1863
+ var _this51$_objectResolv;
1864
+ return (_this51$_objectResolv = _this51._objectResolverClient).getTeamLinkIcons.apply(_this51$_objectResolv, args);
1806
1865
  }));
1807
1866
  case 2:
1808
1867
  case "end":
1809
- return _context48.stop();
1868
+ return _context50.stop();
1810
1869
  }
1811
- }, _callee48, this);
1870
+ }, _callee50, this);
1812
1871
  }));
1813
1872
  function getTeamLinkIcons() {
1814
1873
  return _getTeamLinkIcons.apply(this, arguments);
@@ -1822,27 +1881,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
1822
1881
  }, {
1823
1882
  key: "getAriFromUrl",
1824
1883
  value: (function () {
1825
- var _getAriFromUrl = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee49() {
1826
- var _this51 = this;
1827
- var _len39,
1884
+ var _getAriFromUrl = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee51() {
1885
+ var _this52 = this;
1886
+ var _len40,
1828
1887
  args,
1829
- _key39,
1830
- _args49 = arguments;
1831
- return _regenerator.default.wrap(function _callee49$(_context49) {
1832
- while (1) switch (_context49.prev = _context49.next) {
1888
+ _key40,
1889
+ _args51 = arguments;
1890
+ return _regenerator.default.wrap(function _callee51$(_context51) {
1891
+ while (1) switch (_context51.prev = _context51.next) {
1833
1892
  case 0:
1834
- for (_len39 = _args49.length, args = new Array(_len39), _key39 = 0; _key39 < _len39; _key39++) {
1835
- args[_key39] = _args49[_key39];
1893
+ for (_len40 = _args51.length, args = new Array(_len40), _key40 = 0; _key40 < _len40; _key40++) {
1894
+ args[_key40] = _args51[_key40];
1836
1895
  }
1837
- return _context49.abrupt("return", this.measurePerformance('getAriFromUrl', function () {
1838
- var _this51$_objectResolv;
1839
- return (_this51$_objectResolv = _this51._objectResolverClient).getAriFromUrl.apply(_this51$_objectResolv, args);
1896
+ return _context51.abrupt("return", this.measurePerformance('getAriFromUrl', function () {
1897
+ var _this52$_objectResolv;
1898
+ return (_this52$_objectResolv = _this52._objectResolverClient).getAriFromUrl.apply(_this52$_objectResolv, args);
1840
1899
  }));
1841
1900
  case 2:
1842
1901
  case "end":
1843
- return _context49.stop();
1902
+ return _context51.stop();
1844
1903
  }
1845
- }, _callee49, this);
1904
+ }, _callee51, this);
1846
1905
  }));
1847
1906
  function getAriFromUrl() {
1848
1907
  return _getAriFromUrl.apply(this, arguments);
@@ -1856,27 +1915,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
1856
1915
  }, {
1857
1916
  key: "getWebLinkTitle",
1858
1917
  value: (function () {
1859
- var _getWebLinkTitle = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee50() {
1860
- var _this52 = this;
1861
- var _len40,
1918
+ var _getWebLinkTitle = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee52() {
1919
+ var _this53 = this;
1920
+ var _len41,
1862
1921
  args,
1863
- _key40,
1864
- _args50 = arguments;
1865
- return _regenerator.default.wrap(function _callee50$(_context50) {
1866
- while (1) switch (_context50.prev = _context50.next) {
1922
+ _key41,
1923
+ _args52 = arguments;
1924
+ return _regenerator.default.wrap(function _callee52$(_context52) {
1925
+ while (1) switch (_context52.prev = _context52.next) {
1867
1926
  case 0:
1868
- for (_len40 = _args50.length, args = new Array(_len40), _key40 = 0; _key40 < _len40; _key40++) {
1869
- args[_key40] = _args50[_key40];
1927
+ for (_len41 = _args52.length, args = new Array(_len41), _key41 = 0; _key41 < _len41; _key41++) {
1928
+ args[_key41] = _args52[_key41];
1870
1929
  }
1871
- return _context50.abrupt("return", this.measurePerformance('getWebLinkTitle', function () {
1872
- var _this52$_objectResolv;
1873
- return (_this52$_objectResolv = _this52._objectResolverClient).getWebLinkTitle.apply(_this52$_objectResolv, args);
1930
+ return _context52.abrupt("return", this.measurePerformance('getWebLinkTitle', function () {
1931
+ var _this53$_objectResolv;
1932
+ return (_this53$_objectResolv = _this53._objectResolverClient).getWebLinkTitle.apply(_this53$_objectResolv, args);
1874
1933
  }));
1875
1934
  case 2:
1876
1935
  case "end":
1877
- return _context50.stop();
1936
+ return _context52.stop();
1878
1937
  }
1879
- }, _callee50, this);
1938
+ }, _callee52, this);
1880
1939
  }));
1881
1940
  function getWebLinkTitle() {
1882
1941
  return _getWebLinkTitle.apply(this, arguments);
@@ -1890,27 +1949,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
1890
1949
  }, {
1891
1950
  key: "getTeamInSlack",
1892
1951
  value: (function () {
1893
- var _getTeamInSlack = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee51() {
1894
- var _this53 = this;
1895
- var _len41,
1952
+ var _getTeamInSlack = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee53() {
1953
+ var _this54 = this;
1954
+ var _len42,
1896
1955
  args,
1897
- _key41,
1898
- _args51 = arguments;
1899
- return _regenerator.default.wrap(function _callee51$(_context51) {
1900
- while (1) switch (_context51.prev = _context51.next) {
1956
+ _key42,
1957
+ _args53 = arguments;
1958
+ return _regenerator.default.wrap(function _callee53$(_context53) {
1959
+ while (1) switch (_context53.prev = _context53.next) {
1901
1960
  case 0:
1902
- for (_len41 = _args51.length, args = new Array(_len41), _key41 = 0; _key41 < _len41; _key41++) {
1903
- args[_key41] = _args51[_key41];
1961
+ for (_len42 = _args53.length, args = new Array(_len42), _key42 = 0; _key42 < _len42; _key42++) {
1962
+ args[_key42] = _args53[_key42];
1904
1963
  }
1905
- return _context51.abrupt("return", this.measurePerformance('getTeamInSlack', function () {
1906
- var _this53$_teamsInSlack;
1907
- return (_this53$_teamsInSlack = _this53._teamsInSlackClient).getTeamInSlack.apply(_this53$_teamsInSlack, args);
1964
+ return _context53.abrupt("return", this.measurePerformance('getTeamInSlack', function () {
1965
+ var _this54$_teamsInSlack;
1966
+ return (_this54$_teamsInSlack = _this54._teamsInSlackClient).getTeamInSlack.apply(_this54$_teamsInSlack, args);
1908
1967
  }));
1909
1968
  case 2:
1910
1969
  case "end":
1911
- return _context51.stop();
1970
+ return _context53.stop();
1912
1971
  }
1913
- }, _callee51, this);
1972
+ }, _callee53, this);
1914
1973
  }));
1915
1974
  function getTeamInSlack() {
1916
1975
  return _getTeamInSlack.apply(this, arguments);
@@ -1924,27 +1983,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
1924
1983
  }, {
1925
1984
  key: "disconnectTeamInSlack",
1926
1985
  value: (function () {
1927
- var _disconnectTeamInSlack = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee52() {
1928
- var _this54 = this;
1929
- var _len42,
1986
+ var _disconnectTeamInSlack = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee54() {
1987
+ var _this55 = this;
1988
+ var _len43,
1930
1989
  args,
1931
- _key42,
1932
- _args52 = arguments;
1933
- return _regenerator.default.wrap(function _callee52$(_context52) {
1934
- while (1) switch (_context52.prev = _context52.next) {
1990
+ _key43,
1991
+ _args54 = arguments;
1992
+ return _regenerator.default.wrap(function _callee54$(_context54) {
1993
+ while (1) switch (_context54.prev = _context54.next) {
1935
1994
  case 0:
1936
- for (_len42 = _args52.length, args = new Array(_len42), _key42 = 0; _key42 < _len42; _key42++) {
1937
- args[_key42] = _args52[_key42];
1995
+ for (_len43 = _args54.length, args = new Array(_len43), _key43 = 0; _key43 < _len43; _key43++) {
1996
+ args[_key43] = _args54[_key43];
1938
1997
  }
1939
- return _context52.abrupt("return", this.measurePerformance('disconnectTeamInSlack', function () {
1940
- var _this54$_teamsInSlack;
1941
- return (_this54$_teamsInSlack = _this54._teamsInSlackClient).disconnectTeamInSlack.apply(_this54$_teamsInSlack, args);
1998
+ return _context54.abrupt("return", this.measurePerformance('disconnectTeamInSlack', function () {
1999
+ var _this55$_teamsInSlack;
2000
+ return (_this55$_teamsInSlack = _this55._teamsInSlackClient).disconnectTeamInSlack.apply(_this55$_teamsInSlack, args);
1942
2001
  }));
1943
2002
  case 2:
1944
2003
  case "end":
1945
- return _context52.stop();
2004
+ return _context54.stop();
1946
2005
  }
1947
- }, _callee52, this);
2006
+ }, _callee54, this);
1948
2007
  }));
1949
2008
  function disconnectTeamInSlack() {
1950
2009
  return _disconnectTeamInSlack.apply(this, arguments);
@@ -1958,27 +2017,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
1958
2017
  }, {
1959
2018
  key: "updateTeamInSlack",
1960
2019
  value: (function () {
1961
- var _updateTeamInSlack = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee53() {
1962
- var _this55 = this;
1963
- var _len43,
2020
+ var _updateTeamInSlack = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee55() {
2021
+ var _this56 = this;
2022
+ var _len44,
1964
2023
  args,
1965
- _key43,
1966
- _args53 = arguments;
1967
- return _regenerator.default.wrap(function _callee53$(_context53) {
1968
- while (1) switch (_context53.prev = _context53.next) {
2024
+ _key44,
2025
+ _args55 = arguments;
2026
+ return _regenerator.default.wrap(function _callee55$(_context55) {
2027
+ while (1) switch (_context55.prev = _context55.next) {
1969
2028
  case 0:
1970
- for (_len43 = _args53.length, args = new Array(_len43), _key43 = 0; _key43 < _len43; _key43++) {
1971
- args[_key43] = _args53[_key43];
2029
+ for (_len44 = _args55.length, args = new Array(_len44), _key44 = 0; _key44 < _len44; _key44++) {
2030
+ args[_key44] = _args55[_key44];
1972
2031
  }
1973
- return _context53.abrupt("return", this.measurePerformance('updateTeamInSlack', function () {
1974
- var _this55$_teamsInSlack;
1975
- return (_this55$_teamsInSlack = _this55._teamsInSlackClient).updateTeamInSlack.apply(_this55$_teamsInSlack, args);
2032
+ return _context55.abrupt("return", this.measurePerformance('updateTeamInSlack', function () {
2033
+ var _this56$_teamsInSlack;
2034
+ return (_this56$_teamsInSlack = _this56._teamsInSlackClient).updateTeamInSlack.apply(_this56$_teamsInSlack, args);
1976
2035
  }));
1977
2036
  case 2:
1978
2037
  case "end":
1979
- return _context53.stop();
2038
+ return _context55.stop();
1980
2039
  }
1981
- }, _callee53, this);
2040
+ }, _callee55, this);
1982
2041
  }));
1983
2042
  function updateTeamInSlack() {
1984
2043
  return _updateTeamInSlack.apply(this, arguments);
@@ -1992,27 +2051,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
1992
2051
  }, {
1993
2052
  key: "updateUser",
1994
2053
  value: (function () {
1995
- var _updateUser = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee54() {
1996
- var _this56 = this;
1997
- var _len44,
2054
+ var _updateUser = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee56() {
2055
+ var _this57 = this;
2056
+ var _len45,
1998
2057
  args,
1999
- _key44,
2000
- _args54 = arguments;
2001
- return _regenerator.default.wrap(function _callee54$(_context54) {
2002
- while (1) switch (_context54.prev = _context54.next) {
2058
+ _key45,
2059
+ _args56 = arguments;
2060
+ return _regenerator.default.wrap(function _callee56$(_context56) {
2061
+ while (1) switch (_context56.prev = _context56.next) {
2003
2062
  case 0:
2004
- for (_len44 = _args54.length, args = new Array(_len44), _key44 = 0; _key44 < _len44; _key44++) {
2005
- args[_key44] = _args54[_key44];
2063
+ for (_len45 = _args56.length, args = new Array(_len45), _key45 = 0; _key45 < _len45; _key45++) {
2064
+ args[_key45] = _args56[_key45];
2006
2065
  }
2007
- return _context54.abrupt("return", this.measurePerformance('updateUser', function () {
2008
- var _this56$_identityClie;
2009
- return (_this56$_identityClie = _this56._identityClient).updateUser.apply(_this56$_identityClie, args);
2066
+ return _context56.abrupt("return", this.measurePerformance('updateUser', function () {
2067
+ var _this57$_identityClie;
2068
+ return (_this57$_identityClie = _this57._identityClient).updateUser.apply(_this57$_identityClie, args);
2010
2069
  }));
2011
2070
  case 2:
2012
2071
  case "end":
2013
- return _context54.stop();
2072
+ return _context56.stop();
2014
2073
  }
2015
- }, _callee54, this);
2074
+ }, _callee56, this);
2016
2075
  }));
2017
2076
  function updateUser() {
2018
2077
  return _updateUser.apply(this, arguments);
@@ -2022,27 +2081,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
2022
2081
  }, {
2023
2082
  key: "updateUserAvatar",
2024
2083
  value: function () {
2025
- var _updateUserAvatar = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee55() {
2026
- var _this57 = this;
2027
- var _len45,
2084
+ var _updateUserAvatar = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee57() {
2085
+ var _this58 = this;
2086
+ var _len46,
2028
2087
  args,
2029
- _key45,
2030
- _args55 = arguments;
2031
- return _regenerator.default.wrap(function _callee55$(_context55) {
2032
- while (1) switch (_context55.prev = _context55.next) {
2088
+ _key46,
2089
+ _args57 = arguments;
2090
+ return _regenerator.default.wrap(function _callee57$(_context57) {
2091
+ while (1) switch (_context57.prev = _context57.next) {
2033
2092
  case 0:
2034
- for (_len45 = _args55.length, args = new Array(_len45), _key45 = 0; _key45 < _len45; _key45++) {
2035
- args[_key45] = _args55[_key45];
2093
+ for (_len46 = _args57.length, args = new Array(_len46), _key46 = 0; _key46 < _len46; _key46++) {
2094
+ args[_key46] = _args57[_key46];
2036
2095
  }
2037
- return _context55.abrupt("return", this.measurePerformance('updateUserAvatar', function () {
2038
- var _this57$_identityClie;
2039
- return (_this57$_identityClie = _this57._identityClient).updateUserAvatar.apply(_this57$_identityClie, args);
2096
+ return _context57.abrupt("return", this.measurePerformance('updateUserAvatar', function () {
2097
+ var _this58$_identityClie;
2098
+ return (_this58$_identityClie = _this58._identityClient).updateUserAvatar.apply(_this58$_identityClie, args);
2040
2099
  }));
2041
2100
  case 2:
2042
2101
  case "end":
2043
- return _context55.stop();
2102
+ return _context57.stop();
2044
2103
  }
2045
- }, _callee55, this);
2104
+ }, _callee57, this);
2046
2105
  }));
2047
2106
  function updateUserAvatar() {
2048
2107
  return _updateUserAvatar.apply(this, arguments);
@@ -2052,18 +2111,18 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
2052
2111
  }, {
2053
2112
  key: "addTeamWatcher",
2054
2113
  value: function () {
2055
- var _addTeamWatcher = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee56() {
2114
+ var _addTeamWatcher = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee58() {
2056
2115
  var _this$_teamCentralCli;
2057
- var _args56 = arguments;
2058
- return _regenerator.default.wrap(function _callee56$(_context56) {
2059
- while (1) switch (_context56.prev = _context56.next) {
2116
+ var _args58 = arguments;
2117
+ return _regenerator.default.wrap(function _callee58$(_context58) {
2118
+ while (1) switch (_context58.prev = _context58.next) {
2060
2119
  case 0:
2061
- return _context56.abrupt("return", (_this$_teamCentralCli = this._teamCentralClient).addTeamWatcher.apply(_this$_teamCentralCli, _args56));
2120
+ return _context58.abrupt("return", (_this$_teamCentralCli = this._teamCentralClient).addTeamWatcher.apply(_this$_teamCentralCli, _args58));
2062
2121
  case 1:
2063
2122
  case "end":
2064
- return _context56.stop();
2123
+ return _context58.stop();
2065
2124
  }
2066
- }, _callee56, this);
2125
+ }, _callee58, this);
2067
2126
  }));
2068
2127
  function addTeamWatcher() {
2069
2128
  return _addTeamWatcher.apply(this, arguments);
@@ -2073,18 +2132,18 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
2073
2132
  }, {
2074
2133
  key: "removeTeamWatcher",
2075
2134
  value: function () {
2076
- var _removeTeamWatcher = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee57() {
2135
+ var _removeTeamWatcher = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee59() {
2077
2136
  var _this$_teamCentralCli2;
2078
- var _args57 = arguments;
2079
- return _regenerator.default.wrap(function _callee57$(_context57) {
2080
- while (1) switch (_context57.prev = _context57.next) {
2137
+ var _args59 = arguments;
2138
+ return _regenerator.default.wrap(function _callee59$(_context59) {
2139
+ while (1) switch (_context59.prev = _context59.next) {
2081
2140
  case 0:
2082
- return _context57.abrupt("return", (_this$_teamCentralCli2 = this._teamCentralClient).removeTeamWatcher.apply(_this$_teamCentralCli2, _args57));
2141
+ return _context59.abrupt("return", (_this$_teamCentralCli2 = this._teamCentralClient).removeTeamWatcher.apply(_this$_teamCentralCli2, _args59));
2083
2142
  case 1:
2084
2143
  case "end":
2085
- return _context57.stop();
2144
+ return _context59.stop();
2086
2145
  }
2087
- }, _callee57, this);
2146
+ }, _callee59, this);
2088
2147
  }));
2089
2148
  function removeTeamWatcher() {
2090
2149
  return _removeTeamWatcher.apply(this, arguments);
@@ -2094,18 +2153,18 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
2094
2153
  }, {
2095
2154
  key: "deleteKudos",
2096
2155
  value: function () {
2097
- var _deleteKudos = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee58() {
2156
+ var _deleteKudos = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee60() {
2098
2157
  var _this$_teamCentralCli3;
2099
- var _args58 = arguments;
2100
- return _regenerator.default.wrap(function _callee58$(_context58) {
2101
- while (1) switch (_context58.prev = _context58.next) {
2158
+ var _args60 = arguments;
2159
+ return _regenerator.default.wrap(function _callee60$(_context60) {
2160
+ while (1) switch (_context60.prev = _context60.next) {
2102
2161
  case 0:
2103
- return _context58.abrupt("return", (_this$_teamCentralCli3 = this._teamCentralClient).deleteKudos.apply(_this$_teamCentralCli3, _args58));
2162
+ return _context60.abrupt("return", (_this$_teamCentralCli3 = this._teamCentralClient).deleteKudos.apply(_this$_teamCentralCli3, _args60));
2104
2163
  case 1:
2105
2164
  case "end":
2106
- return _context58.stop();
2165
+ return _context60.stop();
2107
2166
  }
2108
- }, _callee58, this);
2167
+ }, _callee60, this);
2109
2168
  }));
2110
2169
  function deleteKudos() {
2111
2170
  return _deleteKudos.apply(this, arguments);
@@ -2115,18 +2174,18 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
2115
2174
  }, {
2116
2175
  key: "queryTagList",
2117
2176
  value: function () {
2118
- var _queryTagList = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee59() {
2177
+ var _queryTagList = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee61() {
2119
2178
  var _this$_teamCentralCli4;
2120
- var _args59 = arguments;
2121
- return _regenerator.default.wrap(function _callee59$(_context59) {
2122
- while (1) switch (_context59.prev = _context59.next) {
2179
+ var _args61 = arguments;
2180
+ return _regenerator.default.wrap(function _callee61$(_context61) {
2181
+ while (1) switch (_context61.prev = _context61.next) {
2123
2182
  case 0:
2124
- return _context59.abrupt("return", (_this$_teamCentralCli4 = this._teamCentralClient).queryTagList.apply(_this$_teamCentralCli4, _args59));
2183
+ return _context61.abrupt("return", (_this$_teamCentralCli4 = this._teamCentralClient).queryTagList.apply(_this$_teamCentralCli4, _args61));
2125
2184
  case 1:
2126
2185
  case "end":
2127
- return _context59.stop();
2186
+ return _context61.stop();
2128
2187
  }
2129
- }, _callee59, this);
2188
+ }, _callee61, this);
2130
2189
  }));
2131
2190
  function queryTagList() {
2132
2191
  return _queryTagList.apply(this, arguments);
@@ -2136,18 +2195,18 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
2136
2195
  }, {
2137
2196
  key: "createTag",
2138
2197
  value: function () {
2139
- var _createTag = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee60() {
2198
+ var _createTag = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee62() {
2140
2199
  var _this$_teamCentralCli5;
2141
- var _args60 = arguments;
2142
- return _regenerator.default.wrap(function _callee60$(_context60) {
2143
- while (1) switch (_context60.prev = _context60.next) {
2200
+ var _args62 = arguments;
2201
+ return _regenerator.default.wrap(function _callee62$(_context62) {
2202
+ while (1) switch (_context62.prev = _context62.next) {
2144
2203
  case 0:
2145
- return _context60.abrupt("return", (_this$_teamCentralCli5 = this._teamCentralClient).createTag.apply(_this$_teamCentralCli5, _args60));
2204
+ return _context62.abrupt("return", (_this$_teamCentralCli5 = this._teamCentralClient).createTag.apply(_this$_teamCentralCli5, _args62));
2146
2205
  case 1:
2147
2206
  case "end":
2148
- return _context60.stop();
2207
+ return _context62.stop();
2149
2208
  }
2150
- }, _callee60, this);
2209
+ }, _callee62, this);
2151
2210
  }));
2152
2211
  function createTag() {
2153
2212
  return _createTag.apply(this, arguments);
@@ -2157,18 +2216,18 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
2157
2216
  }, {
2158
2217
  key: "createHelpPointer",
2159
2218
  value: function () {
2160
- var _createHelpPointer = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee61() {
2219
+ var _createHelpPointer = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee63() {
2161
2220
  var _this$_teamCentralCli6;
2162
- var _args61 = arguments;
2163
- return _regenerator.default.wrap(function _callee61$(_context61) {
2164
- while (1) switch (_context61.prev = _context61.next) {
2221
+ var _args63 = arguments;
2222
+ return _regenerator.default.wrap(function _callee63$(_context63) {
2223
+ while (1) switch (_context63.prev = _context63.next) {
2165
2224
  case 0:
2166
- return _context61.abrupt("return", (_this$_teamCentralCli6 = this._teamCentralClient).createHelpPointer.apply(_this$_teamCentralCli6, _args61));
2225
+ return _context63.abrupt("return", (_this$_teamCentralCli6 = this._teamCentralClient).createHelpPointer.apply(_this$_teamCentralCli6, _args63));
2167
2226
  case 1:
2168
2227
  case "end":
2169
- return _context61.stop();
2228
+ return _context63.stop();
2170
2229
  }
2171
- }, _callee61, this);
2230
+ }, _callee63, this);
2172
2231
  }));
2173
2232
  function createHelpPointer() {
2174
2233
  return _createHelpPointer.apply(this, arguments);
@@ -2178,18 +2237,18 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
2178
2237
  }, {
2179
2238
  key: "updateHelpPointer",
2180
2239
  value: function () {
2181
- var _updateHelpPointer = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee62() {
2240
+ var _updateHelpPointer = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee64() {
2182
2241
  var _this$_teamCentralCli7;
2183
- var _args62 = arguments;
2184
- return _regenerator.default.wrap(function _callee62$(_context62) {
2185
- while (1) switch (_context62.prev = _context62.next) {
2242
+ var _args64 = arguments;
2243
+ return _regenerator.default.wrap(function _callee64$(_context64) {
2244
+ while (1) switch (_context64.prev = _context64.next) {
2186
2245
  case 0:
2187
- return _context62.abrupt("return", (_this$_teamCentralCli7 = this._teamCentralClient).updateHelpPointer.apply(_this$_teamCentralCli7, _args62));
2246
+ return _context64.abrupt("return", (_this$_teamCentralCli7 = this._teamCentralClient).updateHelpPointer.apply(_this$_teamCentralCli7, _args64));
2188
2247
  case 1:
2189
2248
  case "end":
2190
- return _context62.stop();
2249
+ return _context64.stop();
2191
2250
  }
2192
- }, _callee62, this);
2251
+ }, _callee64, this);
2193
2252
  }));
2194
2253
  function updateHelpPointer() {
2195
2254
  return _updateHelpPointer.apply(this, arguments);
@@ -2199,18 +2258,18 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
2199
2258
  }, {
2200
2259
  key: "deleteHelpPointer",
2201
2260
  value: function () {
2202
- var _deleteHelpPointer = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee63() {
2261
+ var _deleteHelpPointer = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee65() {
2203
2262
  var _this$_teamCentralCli8;
2204
- var _args63 = arguments;
2205
- return _regenerator.default.wrap(function _callee63$(_context63) {
2206
- while (1) switch (_context63.prev = _context63.next) {
2263
+ var _args65 = arguments;
2264
+ return _regenerator.default.wrap(function _callee65$(_context65) {
2265
+ while (1) switch (_context65.prev = _context65.next) {
2207
2266
  case 0:
2208
- return _context63.abrupt("return", (_this$_teamCentralCli8 = this._teamCentralClient).deleteHelpPointer.apply(_this$_teamCentralCli8, _args63));
2267
+ return _context65.abrupt("return", (_this$_teamCentralCli8 = this._teamCentralClient).deleteHelpPointer.apply(_this$_teamCentralCli8, _args65));
2209
2268
  case 1:
2210
2269
  case "end":
2211
- return _context63.stop();
2270
+ return _context65.stop();
2212
2271
  }
2213
- }, _callee63, this);
2272
+ }, _callee65, this);
2214
2273
  }));
2215
2274
  function deleteHelpPointer() {
2216
2275
  return _deleteHelpPointer.apply(this, arguments);
@@ -2220,27 +2279,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
2220
2279
  }, {
2221
2280
  key: "getUserTenure",
2222
2281
  value: function () {
2223
- var _getUserTenure = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee64() {
2224
- var _this58 = this;
2225
- var _len46,
2282
+ var _getUserTenure = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee66() {
2283
+ var _this59 = this;
2284
+ var _len47,
2226
2285
  args,
2227
- _key46,
2228
- _args64 = arguments;
2229
- return _regenerator.default.wrap(function _callee64$(_context64) {
2230
- while (1) switch (_context64.prev = _context64.next) {
2286
+ _key47,
2287
+ _args66 = arguments;
2288
+ return _regenerator.default.wrap(function _callee66$(_context66) {
2289
+ while (1) switch (_context66.prev = _context66.next) {
2231
2290
  case 0:
2232
- for (_len46 = _args64.length, args = new Array(_len46), _key46 = 0; _key46 < _len46; _key46++) {
2233
- args[_key46] = _args64[_key46];
2291
+ for (_len47 = _args66.length, args = new Array(_len47), _key47 = 0; _key47 < _len47; _key47++) {
2292
+ args[_key47] = _args66[_key47];
2234
2293
  }
2235
- return _context64.abrupt("return", this.measurePerformance('getUserTenure', function () {
2236
- var _this58$_replinesClie;
2237
- return (_this58$_replinesClie = _this58._replinesClient).getUserTenure.apply(_this58$_replinesClie, args);
2294
+ return _context66.abrupt("return", this.measurePerformance('getUserTenure', function () {
2295
+ var _this59$_replinesClie;
2296
+ return (_this59$_replinesClie = _this59._replinesClient).getUserTenure.apply(_this59$_replinesClie, args);
2238
2297
  }));
2239
2298
  case 2:
2240
2299
  case "end":
2241
- return _context64.stop();
2300
+ return _context66.stop();
2242
2301
  }
2243
- }, _callee64, this);
2302
+ }, _callee66, this);
2244
2303
  }));
2245
2304
  function getUserTenure() {
2246
2305
  return _getUserTenure.apply(this, arguments);