@atlaskit/teams-client 4.33.0 → 4.33.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/cjs/common/utils/http.js +8 -8
  3. package/dist/cjs/common/utils/permissions/has-permission.js +4 -0
  4. package/dist/cjs/common/utils/ufo/index.js +2 -2
  5. package/dist/cjs/services/agg-client/index.js +28 -28
  6. package/dist/cjs/services/directory-client/index.js +38 -36
  7. package/dist/cjs/services/graphql-client/main.js +13 -12
  8. package/dist/cjs/services/graphql-client/utils/index.js +32 -31
  9. package/dist/cjs/services/identity-client/index.js +10 -10
  10. package/dist/cjs/services/invitations-client/index.js +40 -38
  11. package/dist/cjs/services/legion-client/index.js +163 -162
  12. package/dist/cjs/services/main.js +162 -162
  13. package/dist/cjs/services/mutability-client/index.js +1 -1
  14. package/dist/cjs/services/object-resolver-client/index.js +18 -18
  15. package/dist/cjs/services/public-api-client/index.js +69 -68
  16. package/dist/cjs/services/replines-client/index.js +2 -2
  17. package/dist/cjs/services/reporting-lines-client/index.js +4 -4
  18. package/dist/cjs/services/rest-client/index.js +28 -28
  19. package/dist/cjs/services/rest-client/utils/parse-error-message.js +18 -18
  20. package/dist/cjs/services/sentry/main.js +23 -22
  21. package/dist/cjs/services/sentry/utils/get-sentry-config.js +1 -1
  22. package/dist/cjs/services/sentry/utils/initialise-sentry.js +6 -6
  23. package/dist/cjs/services/sentry/utils/sentry-client.js +20 -19
  24. package/dist/cjs/services/sentry/utils/use-teams-sentry-client-setup.js +4 -4
  25. package/dist/cjs/services/team-central-client/index.js +36 -36
  26. package/dist/cjs/services/teams-in-slack-client/index.js +3 -3
  27. package/dist/cjs/services/use-query-light/main.js +38 -38
  28. package/dist/cjs/services/user-preferences-client/index.js +6 -6
  29. package/dist/es2019/common/utils/permissions/has-permission.js +4 -0
  30. package/dist/es2019/common/utils/ufo/index.js +2 -2
  31. package/dist/es2019/services/sentry/utils/get-sentry-config.js +1 -1
  32. package/dist/esm/common/utils/http.js +8 -8
  33. package/dist/esm/common/utils/permissions/has-permission.js +4 -0
  34. package/dist/esm/common/utils/ufo/index.js +2 -2
  35. package/dist/esm/services/agg-client/index.js +28 -28
  36. package/dist/esm/services/directory-client/index.js +38 -36
  37. package/dist/esm/services/graphql-client/main.js +13 -12
  38. package/dist/esm/services/graphql-client/utils/index.js +32 -31
  39. package/dist/esm/services/identity-client/index.js +10 -10
  40. package/dist/esm/services/invitations-client/index.js +40 -38
  41. package/dist/esm/services/legion-client/index.js +163 -162
  42. package/dist/esm/services/main.js +162 -162
  43. package/dist/esm/services/mutability-client/index.js +1 -1
  44. package/dist/esm/services/object-resolver-client/index.js +18 -18
  45. package/dist/esm/services/public-api-client/index.js +69 -68
  46. package/dist/esm/services/replines-client/index.js +2 -2
  47. package/dist/esm/services/reporting-lines-client/index.js +4 -4
  48. package/dist/esm/services/rest-client/index.js +28 -28
  49. package/dist/esm/services/rest-client/utils/parse-error-message.js +18 -18
  50. package/dist/esm/services/sentry/main.js +23 -22
  51. package/dist/esm/services/sentry/utils/get-sentry-config.js +1 -1
  52. package/dist/esm/services/sentry/utils/initialise-sentry.js +6 -6
  53. package/dist/esm/services/sentry/utils/sentry-client.js +19 -18
  54. package/dist/esm/services/sentry/utils/use-teams-sentry-client-setup.js +4 -4
  55. package/dist/esm/services/team-central-client/index.js +36 -36
  56. package/dist/esm/services/teams-in-slack-client/index.js +3 -3
  57. package/dist/esm/services/use-query-light/main.js +38 -38
  58. package/dist/esm/services/user-preferences-client/index.js +6 -6
  59. package/dist/types/common/utils/permissions/has-permission.d.ts +4 -0
  60. package/dist/types/types/index.d.ts +1 -1
  61. package/dist/types-ts4.5/common/utils/permissions/has-permission.d.ts +4 -0
  62. package/dist/types-ts4.5/types/index.d.ts +1 -1
  63. package/package.json +2 -1
@@ -62,35 +62,35 @@ export var TeamsClient = /*#__PURE__*/function () {
62
62
  key: "measurePerformance",
63
63
  value: function () {
64
64
  var _measurePerformance = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(name, fn) {
65
- var exp, result;
66
- return _regeneratorRuntime.wrap(function _callee$(_context) {
65
+ var exp, result, _t;
66
+ return _regeneratorRuntime.wrap(function (_context) {
67
67
  while (1) switch (_context.prev = _context.next) {
68
68
  case 0:
69
69
  exp = TEAMS_CLIENT_EXPERIENCES.get(name);
70
70
  if (exp) {
71
- _context.next = 3;
71
+ _context.next = 1;
72
72
  break;
73
73
  }
74
74
  return _context.abrupt("return", fn());
75
- case 3:
75
+ case 1:
76
76
  exp.start();
77
- _context.prev = 4;
78
- _context.next = 7;
77
+ _context.prev = 2;
78
+ _context.next = 3;
79
79
  return fn();
80
- case 7:
80
+ case 3:
81
81
  result = _context.sent;
82
82
  exp.success();
83
83
  return _context.abrupt("return", result);
84
- case 12:
85
- _context.prev = 12;
86
- _context.t0 = _context["catch"](4);
87
- exp.failWithError(_context.t0);
88
- throw _context.t0;
89
- case 16:
84
+ case 4:
85
+ _context.prev = 4;
86
+ _t = _context["catch"](2);
87
+ exp.failWithError(_t);
88
+ throw _t;
89
+ case 5:
90
90
  case "end":
91
91
  return _context.stop();
92
92
  }
93
- }, _callee, null, [[4, 12]]);
93
+ }, _callee, null, [[2, 4]]);
94
94
  }));
95
95
  function measurePerformance(_x, _x2) {
96
96
  return _measurePerformance.apply(this, arguments);
@@ -151,7 +151,7 @@ export var TeamsClient = /*#__PURE__*/function () {
151
151
  var _querySettings = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee3(cloudId, product) {
152
152
  var _this = this;
153
153
  var previousContext;
154
- return _regeneratorRuntime.wrap(function _callee3$(_context3) {
154
+ return _regeneratorRuntime.wrap(function (_context3) {
155
155
  while (1) switch (_context3.prev = _context3.next) {
156
156
  case 0:
157
157
  if (cloudId) {
@@ -162,29 +162,29 @@ export var TeamsClient = /*#__PURE__*/function () {
162
162
  }
163
163
  return _context3.abrupt("return", this.measurePerformance('querySettings', /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2() {
164
164
  var response;
165
- return _regeneratorRuntime.wrap(function _callee2$(_context2) {
165
+ return _regeneratorRuntime.wrap(function (_context2) {
166
166
  while (1) switch (_context2.prev = _context2.next) {
167
167
  case 0:
168
168
  if (product) {
169
- _context2.next = 2;
169
+ _context2.next = 1;
170
170
  break;
171
171
  }
172
172
  throw new Error('Product is required');
173
- case 2:
174
- _context2.next = 4;
173
+ case 1:
174
+ _context2.next = 2;
175
175
  return _this._legionClient.retrieveBrowseUserPermission(product);
176
- case 4:
176
+ case 2:
177
177
  response = _context2.sent;
178
178
  return _context2.abrupt("return", {
179
179
  'internal.browse-users-allowed': response.canSearchUsers
180
180
  });
181
- case 6:
181
+ case 3:
182
182
  case "end":
183
183
  return _context2.stop();
184
184
  }
185
185
  }, _callee2);
186
186
  }))));
187
- case 2:
187
+ case 1:
188
188
  case "end":
189
189
  return _context3.stop();
190
190
  }
@@ -204,7 +204,7 @@ export var TeamsClient = /*#__PURE__*/function () {
204
204
  value: (function () {
205
205
  var _getPermissions = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee4() {
206
206
  var _this2 = this;
207
- return _regeneratorRuntime.wrap(function _callee4$(_context4) {
207
+ return _regeneratorRuntime.wrap(function (_context4) {
208
208
  while (1) switch (_context4.prev = _context4.next) {
209
209
  case 0:
210
210
  return _context4.abrupt("return", this.measurePerformance('getPermissions', function () {
@@ -235,7 +235,7 @@ export var TeamsClient = /*#__PURE__*/function () {
235
235
  args,
236
236
  _key,
237
237
  _args5 = arguments;
238
- return _regeneratorRuntime.wrap(function _callee5$(_context5) {
238
+ return _regeneratorRuntime.wrap(function (_context5) {
239
239
  while (1) switch (_context5.prev = _context5.next) {
240
240
  case 0:
241
241
  for (_len = _args5.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
@@ -245,7 +245,7 @@ export var TeamsClient = /*#__PURE__*/function () {
245
245
  var _this3$_directoryClie;
246
246
  return (_this3$_directoryClie = _this3._directoryClient).queryFeatureFlags.apply(_this3$_directoryClie, args);
247
247
  }));
248
- case 2:
248
+ case 1:
249
249
  case "end":
250
250
  return _context5.stop();
251
251
  }
@@ -269,7 +269,7 @@ export var TeamsClient = /*#__PURE__*/function () {
269
269
  var membershipState,
270
270
  pageInfo,
271
271
  _args6 = arguments;
272
- return _regeneratorRuntime.wrap(function _callee6$(_context6) {
272
+ return _regeneratorRuntime.wrap(function (_context6) {
273
273
  while (1) switch (_context6.prev = _context6.next) {
274
274
  case 0:
275
275
  membershipState = _args6.length > 1 && _args6[1] !== undefined ? _args6[1] : ['FULL_MEMBER'];
@@ -277,7 +277,7 @@ export var TeamsClient = /*#__PURE__*/function () {
277
277
  first: 100
278
278
  };
279
279
  return _context6.abrupt("return", this._aggClient.queryTeamMemberships(teamId, membershipState, pageInfo));
280
- case 3:
280
+ case 1:
281
281
  case "end":
282
282
  return _context6.stop();
283
283
  }
@@ -298,7 +298,7 @@ export var TeamsClient = /*#__PURE__*/function () {
298
298
  key: "queryAGGUser",
299
299
  value: (function () {
300
300
  var _queryAGGUser = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee7(userId) {
301
- return _regeneratorRuntime.wrap(function _callee7$(_context7) {
301
+ return _regeneratorRuntime.wrap(function (_context7) {
302
302
  while (1) switch (_context7.prev = _context7.next) {
303
303
  case 0:
304
304
  return _context7.abrupt("return", this._aggClient.queryAGGUser(userId));
@@ -323,7 +323,7 @@ export var TeamsClient = /*#__PURE__*/function () {
323
323
  key: "queryTeamHasAgents",
324
324
  value: (function () {
325
325
  var _queryTeamHasAgents = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee8(teamId) {
326
- return _regeneratorRuntime.wrap(function _callee8$(_context8) {
326
+ return _regeneratorRuntime.wrap(function (_context8) {
327
327
  while (1) switch (_context8.prev = _context8.next) {
328
328
  case 0:
329
329
  return _context8.abrupt("return", this._aggClient.queryTeamHasAgents(teamId));
@@ -348,7 +348,7 @@ export var TeamsClient = /*#__PURE__*/function () {
348
348
  key: "getTeamContainers",
349
349
  value: (function () {
350
350
  var _getTeamContainers = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee9(teamId) {
351
- return _regeneratorRuntime.wrap(function _callee9$(_context9) {
351
+ return _regeneratorRuntime.wrap(function (_context9) {
352
352
  while (1) switch (_context9.prev = _context9.next) {
353
353
  case 0:
354
354
  return _context9.abrupt("return", this._aggClient.getTeamContainers(teamId));
@@ -374,7 +374,7 @@ export var TeamsClient = /*#__PURE__*/function () {
374
374
  key: "unlinkTeamContainer",
375
375
  value: (function () {
376
376
  var _unlinkTeamContainer = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee0(teamId, containerId) {
377
- return _regeneratorRuntime.wrap(function _callee0$(_context0) {
377
+ return _regeneratorRuntime.wrap(function (_context0) {
378
378
  while (1) switch (_context0.prev = _context0.next) {
379
379
  case 0:
380
380
  return _context0.abrupt("return", this._aggClient.unlinkTeamContainer(teamId, containerId));
@@ -399,7 +399,7 @@ export var TeamsClient = /*#__PURE__*/function () {
399
399
  key: "queryNumberOfTeamConnectedToContainer",
400
400
  value: (function () {
401
401
  var _queryNumberOfTeamConnectedToContainer = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee1(containerId) {
402
- return _regeneratorRuntime.wrap(function _callee1$(_context1) {
402
+ return _regeneratorRuntime.wrap(function (_context1) {
403
403
  while (1) switch (_context1.prev = _context1.next) {
404
404
  case 0:
405
405
  return _context1.abrupt("return", this._aggClient.queryNumberOfTeamConnectedToContainer(containerId));
@@ -424,7 +424,7 @@ export var TeamsClient = /*#__PURE__*/function () {
424
424
  key: "getNumberOfConnectedTeams",
425
425
  value: (function () {
426
426
  var _getNumberOfConnectedTeams = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee10(containerId) {
427
- return _regeneratorRuntime.wrap(function _callee10$(_context10) {
427
+ return _regeneratorRuntime.wrap(function (_context10) {
428
428
  while (1) switch (_context10.prev = _context10.next) {
429
429
  case 0:
430
430
  return _context10.abrupt("return", this.queryNumberOfTeamConnectedToContainer(containerId));
@@ -449,7 +449,7 @@ export var TeamsClient = /*#__PURE__*/function () {
449
449
  key: "queryTeamsConnectedToContainer",
450
450
  value: (function () {
451
451
  var _queryTeamsConnectedToContainer = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee11(containerId) {
452
- return _regeneratorRuntime.wrap(function _callee11$(_context11) {
452
+ return _regeneratorRuntime.wrap(function (_context11) {
453
453
  while (1) switch (_context11.prev = _context11.next) {
454
454
  case 0:
455
455
  return _context11.abrupt("return", this._aggClient.queryTeamsConnectedToContainer(containerId));
@@ -474,7 +474,7 @@ export var TeamsClient = /*#__PURE__*/function () {
474
474
  key: "getConnectedTeams",
475
475
  value: (function () {
476
476
  var _getConnectedTeams = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee12(containerId) {
477
- return _regeneratorRuntime.wrap(function _callee12$(_context12) {
477
+ return _regeneratorRuntime.wrap(function (_context12) {
478
478
  while (1) switch (_context12.prev = _context12.next) {
479
479
  case 0:
480
480
  return _context12.abrupt("return", this.queryTeamsConnectedToContainer(containerId));
@@ -523,7 +523,7 @@ export var TeamsClient = /*#__PURE__*/function () {
523
523
  value: (function () {
524
524
  var _getTeamById = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee13(teamId, cloudId) {
525
525
  var _this5 = this;
526
- return _regeneratorRuntime.wrap(function _callee13$(_context13) {
526
+ return _regeneratorRuntime.wrap(function (_context13) {
527
527
  while (1) switch (_context13.prev = _context13.next) {
528
528
  case 0:
529
529
  return _context13.abrupt("return", this.measurePerformance('getTeamById', function () {
@@ -553,7 +553,7 @@ export var TeamsClient = /*#__PURE__*/function () {
553
553
  args,
554
554
  _key3,
555
555
  _args14 = arguments;
556
- return _regeneratorRuntime.wrap(function _callee14$(_context14) {
556
+ return _regeneratorRuntime.wrap(function (_context14) {
557
557
  while (1) switch (_context14.prev = _context14.next) {
558
558
  case 0:
559
559
  for (_len3 = _args14.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {
@@ -563,7 +563,7 @@ export var TeamsClient = /*#__PURE__*/function () {
563
563
  var _this6$_legionClient;
564
564
  return (_this6$_legionClient = _this6._legionClient).getAllTeams.apply(_this6$_legionClient, args);
565
565
  }));
566
- case 2:
566
+ case 1:
567
567
  case "end":
568
568
  return _context14.stop();
569
569
  }
@@ -587,7 +587,7 @@ export var TeamsClient = /*#__PURE__*/function () {
587
587
  args,
588
588
  _key4,
589
589
  _args15 = arguments;
590
- return _regeneratorRuntime.wrap(function _callee15$(_context15) {
590
+ return _regeneratorRuntime.wrap(function (_context15) {
591
591
  while (1) switch (_context15.prev = _context15.next) {
592
592
  case 0:
593
593
  for (_len4 = _args15.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {
@@ -597,7 +597,7 @@ export var TeamsClient = /*#__PURE__*/function () {
597
597
  var _this7$_legionClient;
598
598
  return (_this7$_legionClient = _this7._legionClient).updateTeamById.apply(_this7$_legionClient, args);
599
599
  }));
600
- case 2:
600
+ case 1:
601
601
  case "end":
602
602
  return _context15.stop();
603
603
  }
@@ -622,7 +622,7 @@ export var TeamsClient = /*#__PURE__*/function () {
622
622
  args,
623
623
  _key5,
624
624
  _args16 = arguments;
625
- return _regeneratorRuntime.wrap(function _callee16$(_context16) {
625
+ return _regeneratorRuntime.wrap(function (_context16) {
626
626
  while (1) switch (_context16.prev = _context16.next) {
627
627
  case 0:
628
628
  for (_len5 = _args16.length, args = new Array(_len5), _key5 = 0; _key5 < _len5; _key5++) {
@@ -632,7 +632,7 @@ export var TeamsClient = /*#__PURE__*/function () {
632
632
  var _this8$_legionClient;
633
633
  return (_this8$_legionClient = _this8._legionClient).inviteUsersToTeam.apply(_this8$_legionClient, args);
634
634
  }));
635
- case 2:
635
+ case 1:
636
636
  case "end":
637
637
  return _context16.stop();
638
638
  }
@@ -656,7 +656,7 @@ export var TeamsClient = /*#__PURE__*/function () {
656
656
  args,
657
657
  _key6,
658
658
  _args17 = arguments;
659
- return _regeneratorRuntime.wrap(function _callee17$(_context17) {
659
+ return _regeneratorRuntime.wrap(function (_context17) {
660
660
  while (1) switch (_context17.prev = _context17.next) {
661
661
  case 0:
662
662
  for (_len6 = _args17.length, args = new Array(_len6), _key6 = 0; _key6 < _len6; _key6++) {
@@ -666,7 +666,7 @@ export var TeamsClient = /*#__PURE__*/function () {
666
666
  var _this9$_legionClient;
667
667
  return (_this9$_legionClient = _this9._legionClient).getMyTeamMembership.apply(_this9$_legionClient, args);
668
668
  }));
669
- case 2:
669
+ case 1:
670
670
  case "end":
671
671
  return _context17.stop();
672
672
  }
@@ -686,7 +686,7 @@ export var TeamsClient = /*#__PURE__*/function () {
686
686
  value: (function () {
687
687
  var _getTeamLinksByTeamId = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee18(teamId) {
688
688
  var _this0 = this;
689
- return _regeneratorRuntime.wrap(function _callee18$(_context18) {
689
+ return _regeneratorRuntime.wrap(function (_context18) {
690
690
  while (1) switch (_context18.prev = _context18.next) {
691
691
  case 0:
692
692
  return _context18.abrupt("return", this.measurePerformance('getTeamLinksByTeamId', function () {
@@ -716,7 +716,7 @@ export var TeamsClient = /*#__PURE__*/function () {
716
716
  args,
717
717
  _key7,
718
718
  _args19 = arguments;
719
- return _regeneratorRuntime.wrap(function _callee19$(_context19) {
719
+ return _regeneratorRuntime.wrap(function (_context19) {
720
720
  while (1) switch (_context19.prev = _context19.next) {
721
721
  case 0:
722
722
  for (_len7 = _args19.length, args = new Array(_len7), _key7 = 0; _key7 < _len7; _key7++) {
@@ -726,7 +726,7 @@ export var TeamsClient = /*#__PURE__*/function () {
726
726
  var _this1$_legionClient;
727
727
  return (_this1$_legionClient = _this1._legionClient).createTeamLink.apply(_this1$_legionClient, args);
728
728
  }));
729
- case 2:
729
+ case 1:
730
730
  case "end":
731
731
  return _context19.stop();
732
732
  }
@@ -750,7 +750,7 @@ export var TeamsClient = /*#__PURE__*/function () {
750
750
  args,
751
751
  _key8,
752
752
  _args20 = arguments;
753
- return _regeneratorRuntime.wrap(function _callee20$(_context20) {
753
+ return _regeneratorRuntime.wrap(function (_context20) {
754
754
  while (1) switch (_context20.prev = _context20.next) {
755
755
  case 0:
756
756
  for (_len8 = _args20.length, args = new Array(_len8), _key8 = 0; _key8 < _len8; _key8++) {
@@ -760,7 +760,7 @@ export var TeamsClient = /*#__PURE__*/function () {
760
760
  var _this10$_legionClient;
761
761
  return (_this10$_legionClient = _this10._legionClient).updateTeamLink.apply(_this10$_legionClient, args);
762
762
  }));
763
- case 2:
763
+ case 1:
764
764
  case "end":
765
765
  return _context20.stop();
766
766
  }
@@ -784,7 +784,7 @@ export var TeamsClient = /*#__PURE__*/function () {
784
784
  args,
785
785
  _key9,
786
786
  _args21 = arguments;
787
- return _regeneratorRuntime.wrap(function _callee21$(_context21) {
787
+ return _regeneratorRuntime.wrap(function (_context21) {
788
788
  while (1) switch (_context21.prev = _context21.next) {
789
789
  case 0:
790
790
  for (_len9 = _args21.length, args = new Array(_len9), _key9 = 0; _key9 < _len9; _key9++) {
@@ -794,7 +794,7 @@ export var TeamsClient = /*#__PURE__*/function () {
794
794
  var _this11$_legionClient;
795
795
  return (_this11$_legionClient = _this11._legionClient).deleteTeamLink.apply(_this11$_legionClient, args);
796
796
  }));
797
- case 2:
797
+ case 1:
798
798
  case "end":
799
799
  return _context21.stop();
800
800
  }
@@ -818,7 +818,7 @@ export var TeamsClient = /*#__PURE__*/function () {
818
818
  args,
819
819
  _key0,
820
820
  _args22 = arguments;
821
- return _regeneratorRuntime.wrap(function _callee22$(_context22) {
821
+ return _regeneratorRuntime.wrap(function (_context22) {
822
822
  while (1) switch (_context22.prev = _context22.next) {
823
823
  case 0:
824
824
  for (_len0 = _args22.length, args = new Array(_len0), _key0 = 0; _key0 < _len0; _key0++) {
@@ -828,7 +828,7 @@ export var TeamsClient = /*#__PURE__*/function () {
828
828
  var _this12$_legionClient;
829
829
  return (_this12$_legionClient = _this12._legionClient).reorderTeamLink.apply(_this12$_legionClient, args);
830
830
  }));
831
- case 2:
831
+ case 1:
832
832
  case "end":
833
833
  return _context22.stop();
834
834
  }
@@ -848,7 +848,7 @@ export var TeamsClient = /*#__PURE__*/function () {
848
848
  value: (function () {
849
849
  var _getOrgEligibilityForManagedTeams = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee23() {
850
850
  var _this13 = this;
851
- return _regeneratorRuntime.wrap(function _callee23$(_context23) {
851
+ return _regeneratorRuntime.wrap(function (_context23) {
852
852
  while (1) switch (_context23.prev = _context23.next) {
853
853
  case 0:
854
854
  return _context23.abrupt("return", this.measurePerformance('getOrgEligibilityForManagedTeams', function () {
@@ -879,7 +879,7 @@ export var TeamsClient = /*#__PURE__*/function () {
879
879
  args,
880
880
  _key1,
881
881
  _args24 = arguments;
882
- return _regeneratorRuntime.wrap(function _callee24$(_context24) {
882
+ return _regeneratorRuntime.wrap(function (_context24) {
883
883
  while (1) switch (_context24.prev = _context24.next) {
884
884
  case 0:
885
885
  for (_len1 = _args24.length, args = new Array(_len1), _key1 = 0; _key1 < _len1; _key1++) {
@@ -889,7 +889,7 @@ export var TeamsClient = /*#__PURE__*/function () {
889
889
  var _this14$_legionClient;
890
890
  return (_this14$_legionClient = _this14._legionClient).acceptTeamInvitation.apply(_this14$_legionClient, args);
891
891
  }));
892
- case 2:
892
+ case 1:
893
893
  case "end":
894
894
  return _context24.stop();
895
895
  }
@@ -914,7 +914,7 @@ export var TeamsClient = /*#__PURE__*/function () {
914
914
  args,
915
915
  _key10,
916
916
  _args25 = arguments;
917
- return _regeneratorRuntime.wrap(function _callee25$(_context25) {
917
+ return _regeneratorRuntime.wrap(function (_context25) {
918
918
  while (1) switch (_context25.prev = _context25.next) {
919
919
  case 0:
920
920
  for (_len10 = _args25.length, args = new Array(_len10), _key10 = 0; _key10 < _len10; _key10++) {
@@ -924,7 +924,7 @@ export var TeamsClient = /*#__PURE__*/function () {
924
924
  var _this15$_legionClient;
925
925
  return (_this15$_legionClient = _this15._legionClient).declineTeamInvitation.apply(_this15$_legionClient, args);
926
926
  }));
927
- case 2:
927
+ case 1:
928
928
  case "end":
929
929
  return _context25.stop();
930
930
  }
@@ -948,7 +948,7 @@ export var TeamsClient = /*#__PURE__*/function () {
948
948
  args,
949
949
  _key11,
950
950
  _args26 = arguments;
951
- return _regeneratorRuntime.wrap(function _callee26$(_context26) {
951
+ return _regeneratorRuntime.wrap(function (_context26) {
952
952
  while (1) switch (_context26.prev = _context26.next) {
953
953
  case 0:
954
954
  for (_len11 = _args26.length, args = new Array(_len11), _key11 = 0; _key11 < _len11; _key11++) {
@@ -958,7 +958,7 @@ export var TeamsClient = /*#__PURE__*/function () {
958
958
  var _this16$_legionClient;
959
959
  return (_this16$_legionClient = _this16._legionClient).selfJoinTeam.apply(_this16$_legionClient, args);
960
960
  }));
961
- case 2:
961
+ case 1:
962
962
  case "end":
963
963
  return _context26.stop();
964
964
  }
@@ -982,7 +982,7 @@ export var TeamsClient = /*#__PURE__*/function () {
982
982
  args,
983
983
  _key12,
984
984
  _args27 = arguments;
985
- return _regeneratorRuntime.wrap(function _callee27$(_context27) {
985
+ return _regeneratorRuntime.wrap(function (_context27) {
986
986
  while (1) switch (_context27.prev = _context27.next) {
987
987
  case 0:
988
988
  for (_len12 = _args27.length, args = new Array(_len12), _key12 = 0; _key12 < _len12; _key12++) {
@@ -992,7 +992,7 @@ export var TeamsClient = /*#__PURE__*/function () {
992
992
  var _this17$_legionClient;
993
993
  return (_this17$_legionClient = _this17._legionClient).addAgentsToTeam.apply(_this17$_legionClient, args);
994
994
  }));
995
- case 2:
995
+ case 1:
996
996
  case "end":
997
997
  return _context27.stop();
998
998
  }
@@ -1012,7 +1012,7 @@ export var TeamsClient = /*#__PURE__*/function () {
1012
1012
  args,
1013
1013
  _key13,
1014
1014
  _args28 = arguments;
1015
- return _regeneratorRuntime.wrap(function _callee28$(_context28) {
1015
+ return _regeneratorRuntime.wrap(function (_context28) {
1016
1016
  while (1) switch (_context28.prev = _context28.next) {
1017
1017
  case 0:
1018
1018
  for (_len13 = _args28.length, args = new Array(_len13), _key13 = 0; _key13 < _len13; _key13++) {
@@ -1022,7 +1022,7 @@ export var TeamsClient = /*#__PURE__*/function () {
1022
1022
  var _this18$_legionClient;
1023
1023
  return (_this18$_legionClient = _this18._legionClient).removeAgentTeamAssociation.apply(_this18$_legionClient, args);
1024
1024
  }));
1025
- case 2:
1025
+ case 1:
1026
1026
  case "end":
1027
1027
  return _context28.stop();
1028
1028
  }
@@ -1041,7 +1041,7 @@ export var TeamsClient = /*#__PURE__*/function () {
1041
1041
  value: (function () {
1042
1042
  var _cancelJoinRequest = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee29(teamId) {
1043
1043
  var _this19 = this;
1044
- return _regeneratorRuntime.wrap(function _callee29$(_context29) {
1044
+ return _regeneratorRuntime.wrap(function (_context29) {
1045
1045
  while (1) switch (_context29.prev = _context29.next) {
1046
1046
  case 0:
1047
1047
  return _context29.abrupt("return", this.measurePerformance('cancelJoinRequest', function () {
@@ -1071,7 +1071,7 @@ export var TeamsClient = /*#__PURE__*/function () {
1071
1071
  args,
1072
1072
  _key14,
1073
1073
  _args30 = arguments;
1074
- return _regeneratorRuntime.wrap(function _callee30$(_context30) {
1074
+ return _regeneratorRuntime.wrap(function (_context30) {
1075
1075
  while (1) switch (_context30.prev = _context30.next) {
1076
1076
  case 0:
1077
1077
  for (_len14 = _args30.length, args = new Array(_len14), _key14 = 0; _key14 < _len14; _key14++) {
@@ -1081,7 +1081,7 @@ export var TeamsClient = /*#__PURE__*/function () {
1081
1081
  var _this20$_legionClient;
1082
1082
  return (_this20$_legionClient = _this20._legionClient).acceptJoinRequest.apply(_this20$_legionClient, args);
1083
1083
  }));
1084
- case 2:
1084
+ case 1:
1085
1085
  case "end":
1086
1086
  return _context30.stop();
1087
1087
  }
@@ -1105,7 +1105,7 @@ export var TeamsClient = /*#__PURE__*/function () {
1105
1105
  args,
1106
1106
  _key15,
1107
1107
  _args31 = arguments;
1108
- return _regeneratorRuntime.wrap(function _callee31$(_context31) {
1108
+ return _regeneratorRuntime.wrap(function (_context31) {
1109
1109
  while (1) switch (_context31.prev = _context31.next) {
1110
1110
  case 0:
1111
1111
  for (_len15 = _args31.length, args = new Array(_len15), _key15 = 0; _key15 < _len15; _key15++) {
@@ -1115,7 +1115,7 @@ export var TeamsClient = /*#__PURE__*/function () {
1115
1115
  var _this21$_legionClient;
1116
1116
  return (_this21$_legionClient = _this21._legionClient).declineJoinRequest.apply(_this21$_legionClient, args);
1117
1117
  }));
1118
- case 2:
1118
+ case 1:
1119
1119
  case "end":
1120
1120
  return _context31.stop();
1121
1121
  }
@@ -1139,7 +1139,7 @@ export var TeamsClient = /*#__PURE__*/function () {
1139
1139
  args,
1140
1140
  _key16,
1141
1141
  _args32 = arguments;
1142
- return _regeneratorRuntime.wrap(function _callee32$(_context32) {
1142
+ return _regeneratorRuntime.wrap(function (_context32) {
1143
1143
  while (1) switch (_context32.prev = _context32.next) {
1144
1144
  case 0:
1145
1145
  for (_len16 = _args32.length, args = new Array(_len16), _key16 = 0; _key16 < _len16; _key16++) {
@@ -1149,7 +1149,7 @@ export var TeamsClient = /*#__PURE__*/function () {
1149
1149
  var _this22$_legionClient;
1150
1150
  return (_this22$_legionClient = _this22._legionClient).deleteTeamMembership.apply(_this22$_legionClient, args);
1151
1151
  }));
1152
- case 2:
1152
+ case 1:
1153
1153
  case "end":
1154
1154
  return _context32.stop();
1155
1155
  }
@@ -1173,7 +1173,7 @@ export var TeamsClient = /*#__PURE__*/function () {
1173
1173
  args,
1174
1174
  _key17,
1175
1175
  _args33 = arguments;
1176
- return _regeneratorRuntime.wrap(function _callee33$(_context33) {
1176
+ return _regeneratorRuntime.wrap(function (_context33) {
1177
1177
  while (1) switch (_context33.prev = _context33.next) {
1178
1178
  case 0:
1179
1179
  for (_len17 = _args33.length, args = new Array(_len17), _key17 = 0; _key17 < _len17; _key17++) {
@@ -1183,7 +1183,7 @@ export var TeamsClient = /*#__PURE__*/function () {
1183
1183
  var _this23$_legionClient;
1184
1184
  return (_this23$_legionClient = _this23._legionClient).revokeTeamInvite.apply(_this23$_legionClient, args);
1185
1185
  }));
1186
- case 2:
1186
+ case 1:
1187
1187
  case "end":
1188
1188
  return _context33.stop();
1189
1189
  }
@@ -1203,7 +1203,7 @@ export var TeamsClient = /*#__PURE__*/function () {
1203
1203
  value: (function () {
1204
1204
  var _deleteTeam = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee34(teamId) {
1205
1205
  var _this24 = this;
1206
- return _regeneratorRuntime.wrap(function _callee34$(_context34) {
1206
+ return _regeneratorRuntime.wrap(function (_context34) {
1207
1207
  while (1) switch (_context34.prev = _context34.next) {
1208
1208
  case 0:
1209
1209
  return _context34.abrupt("return", this.measurePerformance('deleteTeam', function () {
@@ -1229,7 +1229,7 @@ export var TeamsClient = /*#__PURE__*/function () {
1229
1229
  value: (function () {
1230
1230
  var _archiveTeam = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee35(teamId) {
1231
1231
  var _this25 = this;
1232
- return _regeneratorRuntime.wrap(function _callee35$(_context35) {
1232
+ return _regeneratorRuntime.wrap(function (_context35) {
1233
1233
  while (1) switch (_context35.prev = _context35.next) {
1234
1234
  case 0:
1235
1235
  return _context35.abrupt("return", this.measurePerformance('archiveTeam', function () {
@@ -1255,7 +1255,7 @@ export var TeamsClient = /*#__PURE__*/function () {
1255
1255
  value: (function () {
1256
1256
  var _unarchiveTeam = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee36(teamId) {
1257
1257
  var _this26 = this;
1258
- return _regeneratorRuntime.wrap(function _callee36$(_context36) {
1258
+ return _regeneratorRuntime.wrap(function (_context36) {
1259
1259
  while (1) switch (_context36.prev = _context36.next) {
1260
1260
  case 0:
1261
1261
  return _context36.abrupt("return", this.measurePerformance('unarchiveTeam', function () {
@@ -1281,7 +1281,7 @@ export var TeamsClient = /*#__PURE__*/function () {
1281
1281
  value: (function () {
1282
1282
  var _unlinkTeamFromGroup = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee37(teamId) {
1283
1283
  var _this27 = this;
1284
- return _regeneratorRuntime.wrap(function _callee37$(_context37) {
1284
+ return _regeneratorRuntime.wrap(function (_context37) {
1285
1285
  while (1) switch (_context37.prev = _context37.next) {
1286
1286
  case 0:
1287
1287
  return _context37.abrupt("return", this.measurePerformance('unlinkTeamFromGroup', function () {
@@ -1307,7 +1307,7 @@ export var TeamsClient = /*#__PURE__*/function () {
1307
1307
  key: "isSingleFullMemberTeam",
1308
1308
  value: (function () {
1309
1309
  var _isSingleFullMemberTeam = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee38(teamId) {
1310
- return _regeneratorRuntime.wrap(function _callee38$(_context38) {
1310
+ return _regeneratorRuntime.wrap(function (_context38) {
1311
1311
  while (1) switch (_context38.prev = _context38.next) {
1312
1312
  case 0:
1313
1313
  return _context38.abrupt("return", this._legionClient.isSingleFullMemberTeam(teamId));
@@ -1335,7 +1335,7 @@ export var TeamsClient = /*#__PURE__*/function () {
1335
1335
  args,
1336
1336
  _key18,
1337
1337
  _args39 = arguments;
1338
- return _regeneratorRuntime.wrap(function _callee39$(_context39) {
1338
+ return _regeneratorRuntime.wrap(function (_context39) {
1339
1339
  while (1) switch (_context39.prev = _context39.next) {
1340
1340
  case 0:
1341
1341
  for (_len18 = _args39.length, args = new Array(_len18), _key18 = 0; _key18 < _len18; _key18++) {
@@ -1345,7 +1345,7 @@ export var TeamsClient = /*#__PURE__*/function () {
1345
1345
  var _this28$_legionClient;
1346
1346
  return (_this28$_legionClient = _this28._legionClient).createTeam.apply(_this28$_legionClient, args);
1347
1347
  }));
1348
- case 2:
1348
+ case 1:
1349
1349
  case "end":
1350
1350
  return _context39.stop();
1351
1351
  }
@@ -1369,7 +1369,7 @@ export var TeamsClient = /*#__PURE__*/function () {
1369
1369
  args,
1370
1370
  _key19,
1371
1371
  _args40 = arguments;
1372
- return _regeneratorRuntime.wrap(function _callee40$(_context40) {
1372
+ return _regeneratorRuntime.wrap(function (_context40) {
1373
1373
  while (1) switch (_context40.prev = _context40.next) {
1374
1374
  case 0:
1375
1375
  for (_len19 = _args40.length, args = new Array(_len19), _key19 = 0; _key19 < _len19; _key19++) {
@@ -1379,7 +1379,7 @@ export var TeamsClient = /*#__PURE__*/function () {
1379
1379
  var _this29$_legionClient;
1380
1380
  return (_this29$_legionClient = _this29._legionClient).createTeamContainers.apply(_this29$_legionClient, args);
1381
1381
  }));
1382
- case 2:
1382
+ case 1:
1383
1383
  case "end":
1384
1384
  return _context40.stop();
1385
1385
  }
@@ -1405,7 +1405,7 @@ export var TeamsClient = /*#__PURE__*/function () {
1405
1405
  args,
1406
1406
  _key20,
1407
1407
  _args41 = arguments;
1408
- return _regeneratorRuntime.wrap(function _callee41$(_context41) {
1408
+ return _regeneratorRuntime.wrap(function (_context41) {
1409
1409
  while (1) switch (_context41.prev = _context41.next) {
1410
1410
  case 0:
1411
1411
  for (_len20 = _args41.length, args = new Array(_len20), _key20 = 0; _key20 < _len20; _key20++) {
@@ -1415,7 +1415,7 @@ export var TeamsClient = /*#__PURE__*/function () {
1415
1415
  var _this30$_legionClient;
1416
1416
  return (_this30$_legionClient = _this30._legionClient).createExternalTeam.apply(_this30$_legionClient, args);
1417
1417
  }));
1418
- case 2:
1418
+ case 1:
1419
1419
  case "end":
1420
1420
  return _context41.stop();
1421
1421
  }
@@ -1440,7 +1440,7 @@ export var TeamsClient = /*#__PURE__*/function () {
1440
1440
  args,
1441
1441
  _key21,
1442
1442
  _args42 = arguments;
1443
- return _regeneratorRuntime.wrap(function _callee42$(_context42) {
1443
+ return _regeneratorRuntime.wrap(function (_context42) {
1444
1444
  while (1) switch (_context42.prev = _context42.next) {
1445
1445
  case 0:
1446
1446
  for (_len21 = _args42.length, args = new Array(_len21), _key21 = 0; _key21 < _len21; _key21++) {
@@ -1450,7 +1450,7 @@ export var TeamsClient = /*#__PURE__*/function () {
1450
1450
  var _this31$_legionClient;
1451
1451
  return (_this31$_legionClient = _this31._legionClient).getLinkedTeamsBulk.apply(_this31$_legionClient, args);
1452
1452
  }));
1453
- case 2:
1453
+ case 1:
1454
1454
  case "end":
1455
1455
  return _context42.stop();
1456
1456
  }
@@ -1474,7 +1474,7 @@ export var TeamsClient = /*#__PURE__*/function () {
1474
1474
  args,
1475
1475
  _key22,
1476
1476
  _args43 = arguments;
1477
- return _regeneratorRuntime.wrap(function _callee43$(_context43) {
1477
+ return _regeneratorRuntime.wrap(function (_context43) {
1478
1478
  while (1) switch (_context43.prev = _context43.next) {
1479
1479
  case 0:
1480
1480
  for (_len22 = _args43.length, args = new Array(_len22), _key22 = 0; _key22 < _len22; _key22++) {
@@ -1484,7 +1484,7 @@ export var TeamsClient = /*#__PURE__*/function () {
1484
1484
  var _this32$_legionClient;
1485
1485
  return (_this32$_legionClient = _this32._legionClient).getOrgScope.apply(_this32$_legionClient, args);
1486
1486
  }));
1487
- case 2:
1487
+ case 1:
1488
1488
  case "end":
1489
1489
  return _context43.stop();
1490
1490
  }
@@ -1508,7 +1508,7 @@ export var TeamsClient = /*#__PURE__*/function () {
1508
1508
  args,
1509
1509
  _key23,
1510
1510
  _args44 = arguments;
1511
- return _regeneratorRuntime.wrap(function _callee44$(_context44) {
1511
+ return _regeneratorRuntime.wrap(function (_context44) {
1512
1512
  while (1) switch (_context44.prev = _context44.next) {
1513
1513
  case 0:
1514
1514
  for (_len23 = _args44.length, args = new Array(_len23), _key23 = 0; _key23 < _len23; _key23++) {
@@ -1518,7 +1518,7 @@ export var TeamsClient = /*#__PURE__*/function () {
1518
1518
  var _this33$_legionClient;
1519
1519
  return (_this33$_legionClient = _this33._legionClient).restoreTeamToSyncedGroup.apply(_this33$_legionClient, args);
1520
1520
  }));
1521
- case 2:
1521
+ case 1:
1522
1522
  case "end":
1523
1523
  return _context44.stop();
1524
1524
  }
@@ -1545,7 +1545,7 @@ export var TeamsClient = /*#__PURE__*/function () {
1545
1545
  args,
1546
1546
  _key24,
1547
1547
  _args45 = arguments;
1548
- return _regeneratorRuntime.wrap(function _callee45$(_context45) {
1548
+ return _regeneratorRuntime.wrap(function (_context45) {
1549
1549
  while (1) switch (_context45.prev = _context45.next) {
1550
1550
  case 0:
1551
1551
  for (_len24 = _args45.length, args = new Array(_len24), _key24 = 0; _key24 < _len24; _key24++) {
@@ -1555,7 +1555,7 @@ export var TeamsClient = /*#__PURE__*/function () {
1555
1555
  var _this34$_legionClient;
1556
1556
  return (_this34$_legionClient = _this34._legionClient).getTeamAndGroupDiff.apply(_this34$_legionClient, args);
1557
1557
  }));
1558
- case 2:
1558
+ case 1:
1559
1559
  case "end":
1560
1560
  return _context45.stop();
1561
1561
  }
@@ -1581,7 +1581,7 @@ export var TeamsClient = /*#__PURE__*/function () {
1581
1581
  args,
1582
1582
  _key25,
1583
1583
  _args46 = arguments;
1584
- return _regeneratorRuntime.wrap(function _callee46$(_context46) {
1584
+ return _regeneratorRuntime.wrap(function (_context46) {
1585
1585
  while (1) switch (_context46.prev = _context46.next) {
1586
1586
  case 0:
1587
1587
  for (_len25 = _args46.length, args = new Array(_len25), _key25 = 0; _key25 < _len25; _key25++) {
@@ -1591,7 +1591,7 @@ export var TeamsClient = /*#__PURE__*/function () {
1591
1591
  var _this35$_legionClient;
1592
1592
  return (_this35$_legionClient = _this35._legionClient).linkExistingTeamToGroup.apply(_this35$_legionClient, args);
1593
1593
  }));
1594
- case 2:
1594
+ case 1:
1595
1595
  case "end":
1596
1596
  return _context46.stop();
1597
1597
  }
@@ -1617,7 +1617,7 @@ export var TeamsClient = /*#__PURE__*/function () {
1617
1617
  args,
1618
1618
  _key26,
1619
1619
  _args47 = arguments;
1620
- return _regeneratorRuntime.wrap(function _callee47$(_context47) {
1620
+ return _regeneratorRuntime.wrap(function (_context47) {
1621
1621
  while (1) switch (_context47.prev = _context47.next) {
1622
1622
  case 0:
1623
1623
  for (_len26 = _args47.length, args = new Array(_len26), _key26 = 0; _key26 < _len26; _key26++) {
@@ -1627,7 +1627,7 @@ export var TeamsClient = /*#__PURE__*/function () {
1627
1627
  var _this36$_legionClient;
1628
1628
  return (_this36$_legionClient = _this36._legionClient).getTeamProfileDetails.apply(_this36$_legionClient, args);
1629
1629
  }));
1630
- case 2:
1630
+ case 1:
1631
1631
  case "end":
1632
1632
  return _context47.stop();
1633
1633
  }
@@ -1649,7 +1649,7 @@ export var TeamsClient = /*#__PURE__*/function () {
1649
1649
  value: (function () {
1650
1650
  var _getSoftDeletdTeamById = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee48(teamId) {
1651
1651
  var _this37 = this;
1652
- return _regeneratorRuntime.wrap(function _callee48$(_context48) {
1652
+ return _regeneratorRuntime.wrap(function (_context48) {
1653
1653
  while (1) switch (_context48.prev = _context48.next) {
1654
1654
  case 0:
1655
1655
  return _context48.abrupt("return", this.measurePerformance('getSoftDeletedTeamById', function () {
@@ -1677,7 +1677,7 @@ export var TeamsClient = /*#__PURE__*/function () {
1677
1677
  value: (function () {
1678
1678
  var _getUserInSiteUserBase = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee49(userId) {
1679
1679
  var _this38 = this;
1680
- return _regeneratorRuntime.wrap(function _callee49$(_context49) {
1680
+ return _regeneratorRuntime.wrap(function (_context49) {
1681
1681
  while (1) switch (_context49.prev = _context49.next) {
1682
1682
  case 0:
1683
1683
  return _context49.abrupt("return", this.measurePerformance('getUserInSiteUserBase', function () {
@@ -1713,7 +1713,7 @@ export var TeamsClient = /*#__PURE__*/function () {
1713
1713
  args,
1714
1714
  _key27,
1715
1715
  _args50 = arguments;
1716
- return _regeneratorRuntime.wrap(function _callee50$(_context50) {
1716
+ return _regeneratorRuntime.wrap(function (_context50) {
1717
1717
  while (1) switch (_context50.prev = _context50.next) {
1718
1718
  case 0:
1719
1719
  for (_len27 = _args50.length, args = new Array(_len27), _key27 = 0; _key27 < _len27; _key27++) {
@@ -1723,7 +1723,7 @@ export var TeamsClient = /*#__PURE__*/function () {
1723
1723
  var _this39$_mutabilityCl;
1724
1724
  return (_this39$_mutabilityCl = _this39._mutabilityClient).getProfileWithMutability.apply(_this39$_mutabilityCl, args);
1725
1725
  }));
1726
- case 2:
1726
+ case 1:
1727
1727
  case "end":
1728
1728
  return _context50.stop();
1729
1729
  }
@@ -1747,7 +1747,7 @@ export var TeamsClient = /*#__PURE__*/function () {
1747
1747
  args,
1748
1748
  _key28,
1749
1749
  _args51 = arguments;
1750
- return _regeneratorRuntime.wrap(function _callee51$(_context51) {
1750
+ return _regeneratorRuntime.wrap(function (_context51) {
1751
1751
  while (1) switch (_context51.prev = _context51.next) {
1752
1752
  case 0:
1753
1753
  for (_len28 = _args51.length, args = new Array(_len28), _key28 = 0; _key28 < _len28; _key28++) {
@@ -1757,7 +1757,7 @@ export var TeamsClient = /*#__PURE__*/function () {
1757
1757
  var _this40$_legionClient;
1758
1758
  return (_this40$_legionClient = _this40._legionClient).getTeamEnabledSites.apply(_this40$_legionClient, args);
1759
1759
  }));
1760
- case 2:
1760
+ case 1:
1761
1761
  case "end":
1762
1762
  return _context51.stop();
1763
1763
  }
@@ -1783,7 +1783,7 @@ export var TeamsClient = /*#__PURE__*/function () {
1783
1783
  args,
1784
1784
  _key29,
1785
1785
  _args52 = arguments;
1786
- return _regeneratorRuntime.wrap(function _callee52$(_context52) {
1786
+ return _regeneratorRuntime.wrap(function (_context52) {
1787
1787
  while (1) switch (_context52.prev = _context52.next) {
1788
1788
  case 0:
1789
1789
  for (_len29 = _args52.length, args = new Array(_len29), _key29 = 0; _key29 < _len29; _key29++) {
@@ -1793,7 +1793,7 @@ export var TeamsClient = /*#__PURE__*/function () {
1793
1793
  var _this41$_legionClient;
1794
1794
  return (_this41$_legionClient = _this41._legionClient).assignTeamsToSites.apply(_this41$_legionClient, args);
1795
1795
  }));
1796
- case 2:
1796
+ case 1:
1797
1797
  case "end":
1798
1798
  return _context52.stop();
1799
1799
  }
@@ -1821,7 +1821,7 @@ export var TeamsClient = /*#__PURE__*/function () {
1821
1821
  args,
1822
1822
  _key30,
1823
1823
  _args53 = arguments;
1824
- return _regeneratorRuntime.wrap(function _callee53$(_context53) {
1824
+ return _regeneratorRuntime.wrap(function (_context53) {
1825
1825
  while (1) switch (_context53.prev = _context53.next) {
1826
1826
  case 0:
1827
1827
  for (_len30 = _args53.length, args = new Array(_len30), _key30 = 0; _key30 < _len30; _key30++) {
@@ -1831,7 +1831,7 @@ export var TeamsClient = /*#__PURE__*/function () {
1831
1831
  var _this42$_legionClient;
1832
1832
  return (_this42$_legionClient = _this42._legionClient).getAssignedTeams.apply(_this42$_legionClient, args);
1833
1833
  }));
1834
- case 2:
1834
+ case 1:
1835
1835
  case "end":
1836
1836
  return _context53.stop();
1837
1837
  }
@@ -1859,7 +1859,7 @@ export var TeamsClient = /*#__PURE__*/function () {
1859
1859
  args,
1860
1860
  _key31,
1861
1861
  _args54 = arguments;
1862
- return _regeneratorRuntime.wrap(function _callee54$(_context54) {
1862
+ return _regeneratorRuntime.wrap(function (_context54) {
1863
1863
  while (1) switch (_context54.prev = _context54.next) {
1864
1864
  case 0:
1865
1865
  for (_len31 = _args54.length, args = new Array(_len31), _key31 = 0; _key31 < _len31; _key31++) {
@@ -1869,7 +1869,7 @@ export var TeamsClient = /*#__PURE__*/function () {
1869
1869
  var _this43$_legionClient;
1870
1870
  return (_this43$_legionClient = _this43._legionClient).getUnassignedTeams.apply(_this43$_legionClient, args);
1871
1871
  }));
1872
- case 2:
1872
+ case 1:
1873
1873
  case "end":
1874
1874
  return _context54.stop();
1875
1875
  }
@@ -1895,7 +1895,7 @@ export var TeamsClient = /*#__PURE__*/function () {
1895
1895
  args,
1896
1896
  _key32,
1897
1897
  _args55 = arguments;
1898
- return _regeneratorRuntime.wrap(function _callee55$(_context55) {
1898
+ return _regeneratorRuntime.wrap(function (_context55) {
1899
1899
  while (1) switch (_context55.prev = _context55.next) {
1900
1900
  case 0:
1901
1901
  for (_len32 = _args55.length, args = new Array(_len32), _key32 = 0; _key32 < _len32; _key32++) {
@@ -1905,7 +1905,7 @@ export var TeamsClient = /*#__PURE__*/function () {
1905
1905
  var _this44$_legionClient;
1906
1906
  return (_this44$_legionClient = _this44._legionClient).setTeamSiteAssignmentPermission.apply(_this44$_legionClient, args);
1907
1907
  }));
1908
- case 2:
1908
+ case 1:
1909
1909
  case "end":
1910
1910
  return _context55.stop();
1911
1911
  }
@@ -1929,7 +1929,7 @@ export var TeamsClient = /*#__PURE__*/function () {
1929
1929
  args,
1930
1930
  _key33,
1931
1931
  _args56 = arguments;
1932
- return _regeneratorRuntime.wrap(function _callee56$(_context56) {
1932
+ return _regeneratorRuntime.wrap(function (_context56) {
1933
1933
  while (1) switch (_context56.prev = _context56.next) {
1934
1934
  case 0:
1935
1935
  for (_len33 = _args56.length, args = new Array(_len33), _key33 = 0; _key33 < _len33; _key33++) {
@@ -1939,7 +1939,7 @@ export var TeamsClient = /*#__PURE__*/function () {
1939
1939
  var _this45$_legionClient;
1940
1940
  return (_this45$_legionClient = _this45._legionClient).getTeamSiteAssignmentOrgDetails.apply(_this45$_legionClient, args);
1941
1941
  }));
1942
- case 2:
1942
+ case 1:
1943
1943
  case "end":
1944
1944
  return _context56.stop();
1945
1945
  }
@@ -1963,7 +1963,7 @@ export var TeamsClient = /*#__PURE__*/function () {
1963
1963
  args,
1964
1964
  _key34,
1965
1965
  _args57 = arguments;
1966
- return _regeneratorRuntime.wrap(function _callee57$(_context57) {
1966
+ return _regeneratorRuntime.wrap(function (_context57) {
1967
1967
  while (1) switch (_context57.prev = _context57.next) {
1968
1968
  case 0:
1969
1969
  for (_len34 = _args57.length, args = new Array(_len34), _key34 = 0; _key34 < _len34; _key34++) {
@@ -1973,7 +1973,7 @@ export var TeamsClient = /*#__PURE__*/function () {
1973
1973
  var _this46$_legionClient;
1974
1974
  return (_this46$_legionClient = _this46._legionClient).getTeamsToBeClonedToJsmSites.apply(_this46$_legionClient, args);
1975
1975
  }));
1976
- case 2:
1976
+ case 1:
1977
1977
  case "end":
1978
1978
  return _context57.stop();
1979
1979
  }
@@ -2081,7 +2081,7 @@ export var TeamsClient = /*#__PURE__*/function () {
2081
2081
  value: (function () {
2082
2082
  var _getWriteTeamMediaToken = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee58() {
2083
2083
  var _this53 = this;
2084
- return _regeneratorRuntime.wrap(function _callee58$(_context58) {
2084
+ return _regeneratorRuntime.wrap(function (_context58) {
2085
2085
  while (1) switch (_context58.prev = _context58.next) {
2086
2086
  case 0:
2087
2087
  return _context58.abrupt("return", this.measurePerformance('getWriteTeamMediaToken', function () {
@@ -2111,7 +2111,7 @@ export var TeamsClient = /*#__PURE__*/function () {
2111
2111
  args,
2112
2112
  _key41,
2113
2113
  _args59 = arguments;
2114
- return _regeneratorRuntime.wrap(function _callee59$(_context59) {
2114
+ return _regeneratorRuntime.wrap(function (_context59) {
2115
2115
  while (1) switch (_context59.prev = _context59.next) {
2116
2116
  case 0:
2117
2117
  for (_len41 = _args59.length, args = new Array(_len41), _key41 = 0; _key41 < _len41; _key41++) {
@@ -2121,7 +2121,7 @@ export var TeamsClient = /*#__PURE__*/function () {
2121
2121
  var _this54$_userPreferen;
2122
2122
  return (_this54$_userPreferen = _this54._userPreferencesClient).getReadMediaToken.apply(_this54$_userPreferen, args);
2123
2123
  }));
2124
- case 2:
2124
+ case 1:
2125
2125
  case "end":
2126
2126
  return _context59.stop();
2127
2127
  }
@@ -2141,7 +2141,7 @@ export var TeamsClient = /*#__PURE__*/function () {
2141
2141
  value: (function () {
2142
2142
  var _getWriteUserMediaToken = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee60() {
2143
2143
  var _this55 = this;
2144
- return _regeneratorRuntime.wrap(function _callee60$(_context60) {
2144
+ return _regeneratorRuntime.wrap(function (_context60) {
2145
2145
  while (1) switch (_context60.prev = _context60.next) {
2146
2146
  case 0:
2147
2147
  return _context60.abrupt("return", this.measurePerformance('getWriteUserMediaToken', function () {
@@ -2167,7 +2167,7 @@ export var TeamsClient = /*#__PURE__*/function () {
2167
2167
  value: (function () {
2168
2168
  var _updateUserHeaderImage = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee61(headerImageId) {
2169
2169
  var _this56 = this;
2170
- return _regeneratorRuntime.wrap(function _callee61$(_context61) {
2170
+ return _regeneratorRuntime.wrap(function (_context61) {
2171
2171
  while (1) switch (_context61.prev = _context61.next) {
2172
2172
  case 0:
2173
2173
  return _context61.abrupt("return", this.measurePerformance('updateUserHeaderImage', function () {
@@ -2197,7 +2197,7 @@ export var TeamsClient = /*#__PURE__*/function () {
2197
2197
  args,
2198
2198
  _key42,
2199
2199
  _args62 = arguments;
2200
- return _regeneratorRuntime.wrap(function _callee62$(_context62) {
2200
+ return _regeneratorRuntime.wrap(function (_context62) {
2201
2201
  while (1) switch (_context62.prev = _context62.next) {
2202
2202
  case 0:
2203
2203
  for (_len42 = _args62.length, args = new Array(_len42), _key42 = 0; _key42 < _len42; _key42++) {
@@ -2207,7 +2207,7 @@ export var TeamsClient = /*#__PURE__*/function () {
2207
2207
  var _this57$_collaboratio;
2208
2208
  return (_this57$_collaboratio = _this57._collaborationGraphClient).getUserContainers.apply(_this57$_collaboratio, args);
2209
2209
  }));
2210
- case 2:
2210
+ case 1:
2211
2211
  case "end":
2212
2212
  return _context62.stop();
2213
2213
  }
@@ -2231,7 +2231,7 @@ export var TeamsClient = /*#__PURE__*/function () {
2231
2231
  args,
2232
2232
  _key43,
2233
2233
  _args63 = arguments;
2234
- return _regeneratorRuntime.wrap(function _callee63$(_context63) {
2234
+ return _regeneratorRuntime.wrap(function (_context63) {
2235
2235
  while (1) switch (_context63.prev = _context63.next) {
2236
2236
  case 0:
2237
2237
  for (_len43 = _args63.length, args = new Array(_len43), _key43 = 0; _key43 < _len43; _key43++) {
@@ -2241,7 +2241,7 @@ export var TeamsClient = /*#__PURE__*/function () {
2241
2241
  var _this58$_collaboratio;
2242
2242
  return (_this58$_collaboratio = _this58._collaborationGraphClient).getRecommendedUsers.apply(_this58$_collaboratio, args);
2243
2243
  }));
2244
- case 2:
2244
+ case 1:
2245
2245
  case "end":
2246
2246
  return _context63.stop();
2247
2247
  }
@@ -2265,7 +2265,7 @@ export var TeamsClient = /*#__PURE__*/function () {
2265
2265
  args,
2266
2266
  _key44,
2267
2267
  _args64 = arguments;
2268
- return _regeneratorRuntime.wrap(function _callee64$(_context64) {
2268
+ return _regeneratorRuntime.wrap(function (_context64) {
2269
2269
  while (1) switch (_context64.prev = _context64.next) {
2270
2270
  case 0:
2271
2271
  for (_len44 = _args64.length, args = new Array(_len44), _key44 = 0; _key44 < _len44; _key44++) {
@@ -2275,7 +2275,7 @@ export var TeamsClient = /*#__PURE__*/function () {
2275
2275
  var _this59$_identityClie;
2276
2276
  return (_this59$_identityClie = _this59._identityClient).getUserManageConfig.apply(_this59$_identityClie, args);
2277
2277
  }));
2278
- case 2:
2278
+ case 1:
2279
2279
  case "end":
2280
2280
  return _context64.stop();
2281
2281
  }
@@ -2299,7 +2299,7 @@ export var TeamsClient = /*#__PURE__*/function () {
2299
2299
  args,
2300
2300
  _key45,
2301
2301
  _args65 = arguments;
2302
- return _regeneratorRuntime.wrap(function _callee65$(_context65) {
2302
+ return _regeneratorRuntime.wrap(function (_context65) {
2303
2303
  while (1) switch (_context65.prev = _context65.next) {
2304
2304
  case 0:
2305
2305
  for (_len45 = _args65.length, args = new Array(_len45), _key45 = 0; _key45 < _len45; _key45++) {
@@ -2309,7 +2309,7 @@ export var TeamsClient = /*#__PURE__*/function () {
2309
2309
  var _this60$_identityClie;
2310
2310
  return (_this60$_identityClie = _this60._identityClient).getMyAvatarUploadedStatus.apply(_this60$_identityClie, args);
2311
2311
  }));
2312
- case 2:
2312
+ case 1:
2313
2313
  case "end":
2314
2314
  return _context65.stop();
2315
2315
  }
@@ -2333,7 +2333,7 @@ export var TeamsClient = /*#__PURE__*/function () {
2333
2333
  args,
2334
2334
  _key46,
2335
2335
  _args66 = arguments;
2336
- return _regeneratorRuntime.wrap(function _callee66$(_context66) {
2336
+ return _regeneratorRuntime.wrap(function (_context66) {
2337
2337
  while (1) switch (_context66.prev = _context66.next) {
2338
2338
  case 0:
2339
2339
  for (_len46 = _args66.length, args = new Array(_len46), _key46 = 0; _key46 < _len46; _key46++) {
@@ -2343,7 +2343,7 @@ export var TeamsClient = /*#__PURE__*/function () {
2343
2343
  var _this61$_identityClie;
2344
2344
  return (_this61$_identityClie = _this61._identityClient).deleteAvatar.apply(_this61$_identityClie, args);
2345
2345
  }));
2346
- case 2:
2346
+ case 1:
2347
2347
  case "end":
2348
2348
  return _context66.stop();
2349
2349
  }
@@ -2363,7 +2363,7 @@ export var TeamsClient = /*#__PURE__*/function () {
2363
2363
  args,
2364
2364
  _key47,
2365
2365
  _args67 = arguments;
2366
- return _regeneratorRuntime.wrap(function _callee67$(_context67) {
2366
+ return _regeneratorRuntime.wrap(function (_context67) {
2367
2367
  while (1) switch (_context67.prev = _context67.next) {
2368
2368
  case 0:
2369
2369
  for (_len47 = _args67.length, args = new Array(_len47), _key47 = 0; _key47 < _len47; _key47++) {
@@ -2373,7 +2373,7 @@ export var TeamsClient = /*#__PURE__*/function () {
2373
2373
  var _this62$_identityClie;
2374
2374
  return (_this62$_identityClie = _this62._identityClient).fetchUserAvatarInfo.apply(_this62$_identityClie, args);
2375
2375
  }));
2376
- case 2:
2376
+ case 1:
2377
2377
  case "end":
2378
2378
  return _context67.stop();
2379
2379
  }
@@ -2396,7 +2396,7 @@ export var TeamsClient = /*#__PURE__*/function () {
2396
2396
  args,
2397
2397
  _key48,
2398
2398
  _args68 = arguments;
2399
- return _regeneratorRuntime.wrap(function _callee68$(_context68) {
2399
+ return _regeneratorRuntime.wrap(function (_context68) {
2400
2400
  while (1) switch (_context68.prev = _context68.next) {
2401
2401
  case 0:
2402
2402
  for (_len48 = _args68.length, args = new Array(_len48), _key48 = 0; _key48 < _len48; _key48++) {
@@ -2406,7 +2406,7 @@ export var TeamsClient = /*#__PURE__*/function () {
2406
2406
  var _this63$_objectResolv;
2407
2407
  return (_this63$_objectResolv = _this63._objectResolverClient).getTeamLinkIcons.apply(_this63$_objectResolv, args);
2408
2408
  }));
2409
- case 2:
2409
+ case 1:
2410
2410
  case "end":
2411
2411
  return _context68.stop();
2412
2412
  }
@@ -2430,7 +2430,7 @@ export var TeamsClient = /*#__PURE__*/function () {
2430
2430
  args,
2431
2431
  _key49,
2432
2432
  _args69 = arguments;
2433
- return _regeneratorRuntime.wrap(function _callee69$(_context69) {
2433
+ return _regeneratorRuntime.wrap(function (_context69) {
2434
2434
  while (1) switch (_context69.prev = _context69.next) {
2435
2435
  case 0:
2436
2436
  for (_len49 = _args69.length, args = new Array(_len49), _key49 = 0; _key49 < _len49; _key49++) {
@@ -2440,7 +2440,7 @@ export var TeamsClient = /*#__PURE__*/function () {
2440
2440
  var _this64$_objectResolv;
2441
2441
  return (_this64$_objectResolv = _this64._objectResolverClient).getAriFromUrl.apply(_this64$_objectResolv, args);
2442
2442
  }));
2443
- case 2:
2443
+ case 1:
2444
2444
  case "end":
2445
2445
  return _context69.stop();
2446
2446
  }
@@ -2464,7 +2464,7 @@ export var TeamsClient = /*#__PURE__*/function () {
2464
2464
  args,
2465
2465
  _key50,
2466
2466
  _args70 = arguments;
2467
- return _regeneratorRuntime.wrap(function _callee70$(_context70) {
2467
+ return _regeneratorRuntime.wrap(function (_context70) {
2468
2468
  while (1) switch (_context70.prev = _context70.next) {
2469
2469
  case 0:
2470
2470
  for (_len50 = _args70.length, args = new Array(_len50), _key50 = 0; _key50 < _len50; _key50++) {
@@ -2474,7 +2474,7 @@ export var TeamsClient = /*#__PURE__*/function () {
2474
2474
  var _this65$_objectResolv;
2475
2475
  return (_this65$_objectResolv = _this65._objectResolverClient).getWebLinkTitle.apply(_this65$_objectResolv, args);
2476
2476
  }));
2477
- case 2:
2477
+ case 1:
2478
2478
  case "end":
2479
2479
  return _context70.stop();
2480
2480
  }
@@ -2498,7 +2498,7 @@ export var TeamsClient = /*#__PURE__*/function () {
2498
2498
  args,
2499
2499
  _key51,
2500
2500
  _args71 = arguments;
2501
- return _regeneratorRuntime.wrap(function _callee71$(_context71) {
2501
+ return _regeneratorRuntime.wrap(function (_context71) {
2502
2502
  while (1) switch (_context71.prev = _context71.next) {
2503
2503
  case 0:
2504
2504
  for (_len51 = _args71.length, args = new Array(_len51), _key51 = 0; _key51 < _len51; _key51++) {
@@ -2508,7 +2508,7 @@ export var TeamsClient = /*#__PURE__*/function () {
2508
2508
  var _this66$_teamsInSlack;
2509
2509
  return (_this66$_teamsInSlack = _this66._teamsInSlackClient).getTeamInSlack.apply(_this66$_teamsInSlack, args);
2510
2510
  }));
2511
- case 2:
2511
+ case 1:
2512
2512
  case "end":
2513
2513
  return _context71.stop();
2514
2514
  }
@@ -2532,7 +2532,7 @@ export var TeamsClient = /*#__PURE__*/function () {
2532
2532
  args,
2533
2533
  _key52,
2534
2534
  _args72 = arguments;
2535
- return _regeneratorRuntime.wrap(function _callee72$(_context72) {
2535
+ return _regeneratorRuntime.wrap(function (_context72) {
2536
2536
  while (1) switch (_context72.prev = _context72.next) {
2537
2537
  case 0:
2538
2538
  for (_len52 = _args72.length, args = new Array(_len52), _key52 = 0; _key52 < _len52; _key52++) {
@@ -2542,7 +2542,7 @@ export var TeamsClient = /*#__PURE__*/function () {
2542
2542
  var _this67$_teamsInSlack;
2543
2543
  return (_this67$_teamsInSlack = _this67._teamsInSlackClient).disconnectTeamInSlack.apply(_this67$_teamsInSlack, args);
2544
2544
  }));
2545
- case 2:
2545
+ case 1:
2546
2546
  case "end":
2547
2547
  return _context72.stop();
2548
2548
  }
@@ -2566,7 +2566,7 @@ export var TeamsClient = /*#__PURE__*/function () {
2566
2566
  args,
2567
2567
  _key53,
2568
2568
  _args73 = arguments;
2569
- return _regeneratorRuntime.wrap(function _callee73$(_context73) {
2569
+ return _regeneratorRuntime.wrap(function (_context73) {
2570
2570
  while (1) switch (_context73.prev = _context73.next) {
2571
2571
  case 0:
2572
2572
  for (_len53 = _args73.length, args = new Array(_len53), _key53 = 0; _key53 < _len53; _key53++) {
@@ -2576,7 +2576,7 @@ export var TeamsClient = /*#__PURE__*/function () {
2576
2576
  var _this68$_teamsInSlack;
2577
2577
  return (_this68$_teamsInSlack = _this68._teamsInSlackClient).updateTeamInSlack.apply(_this68$_teamsInSlack, args);
2578
2578
  }));
2579
- case 2:
2579
+ case 1:
2580
2580
  case "end":
2581
2581
  return _context73.stop();
2582
2582
  }
@@ -2600,7 +2600,7 @@ export var TeamsClient = /*#__PURE__*/function () {
2600
2600
  args,
2601
2601
  _key54,
2602
2602
  _args74 = arguments;
2603
- return _regeneratorRuntime.wrap(function _callee74$(_context74) {
2603
+ return _regeneratorRuntime.wrap(function (_context74) {
2604
2604
  while (1) switch (_context74.prev = _context74.next) {
2605
2605
  case 0:
2606
2606
  for (_len54 = _args74.length, args = new Array(_len54), _key54 = 0; _key54 < _len54; _key54++) {
@@ -2610,7 +2610,7 @@ export var TeamsClient = /*#__PURE__*/function () {
2610
2610
  var _this69$_identityClie;
2611
2611
  return (_this69$_identityClie = _this69._identityClient).updateUser.apply(_this69$_identityClie, args);
2612
2612
  }));
2613
- case 2:
2613
+ case 1:
2614
2614
  case "end":
2615
2615
  return _context74.stop();
2616
2616
  }
@@ -2630,7 +2630,7 @@ export var TeamsClient = /*#__PURE__*/function () {
2630
2630
  args,
2631
2631
  _key55,
2632
2632
  _args75 = arguments;
2633
- return _regeneratorRuntime.wrap(function _callee75$(_context75) {
2633
+ return _regeneratorRuntime.wrap(function (_context75) {
2634
2634
  while (1) switch (_context75.prev = _context75.next) {
2635
2635
  case 0:
2636
2636
  for (_len55 = _args75.length, args = new Array(_len55), _key55 = 0; _key55 < _len55; _key55++) {
@@ -2640,7 +2640,7 @@ export var TeamsClient = /*#__PURE__*/function () {
2640
2640
  var _this70$_identityClie;
2641
2641
  return (_this70$_identityClie = _this70._identityClient).updateUserAvatar.apply(_this70$_identityClie, args);
2642
2642
  }));
2643
- case 2:
2643
+ case 1:
2644
2644
  case "end":
2645
2645
  return _context75.stop();
2646
2646
  }
@@ -2657,7 +2657,7 @@ export var TeamsClient = /*#__PURE__*/function () {
2657
2657
  var _addTeamWatcher = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee76() {
2658
2658
  var _this$_teamCentralCli;
2659
2659
  var _args76 = arguments;
2660
- return _regeneratorRuntime.wrap(function _callee76$(_context76) {
2660
+ return _regeneratorRuntime.wrap(function (_context76) {
2661
2661
  while (1) switch (_context76.prev = _context76.next) {
2662
2662
  case 0:
2663
2663
  return _context76.abrupt("return", (_this$_teamCentralCli = this._teamCentralClient).addTeamWatcher.apply(_this$_teamCentralCli, _args76));
@@ -2678,7 +2678,7 @@ export var TeamsClient = /*#__PURE__*/function () {
2678
2678
  var _isTeamWatcher = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee77() {
2679
2679
  var _this$_teamCentralCli2;
2680
2680
  var _args77 = arguments;
2681
- return _regeneratorRuntime.wrap(function _callee77$(_context77) {
2681
+ return _regeneratorRuntime.wrap(function (_context77) {
2682
2682
  while (1) switch (_context77.prev = _context77.next) {
2683
2683
  case 0:
2684
2684
  return _context77.abrupt("return", (_this$_teamCentralCli2 = this._teamCentralClient).isTeamWatcher.apply(_this$_teamCentralCli2, _args77));
@@ -2699,7 +2699,7 @@ export var TeamsClient = /*#__PURE__*/function () {
2699
2699
  var _removeTeamWatcher = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee78() {
2700
2700
  var _this$_teamCentralCli3;
2701
2701
  var _args78 = arguments;
2702
- return _regeneratorRuntime.wrap(function _callee78$(_context78) {
2702
+ return _regeneratorRuntime.wrap(function (_context78) {
2703
2703
  while (1) switch (_context78.prev = _context78.next) {
2704
2704
  case 0:
2705
2705
  return _context78.abrupt("return", (_this$_teamCentralCli3 = this._teamCentralClient).removeTeamWatcher.apply(_this$_teamCentralCli3, _args78));
@@ -2720,7 +2720,7 @@ export var TeamsClient = /*#__PURE__*/function () {
2720
2720
  var _deleteKudos = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee79() {
2721
2721
  var _this$_teamCentralCli4;
2722
2722
  var _args79 = arguments;
2723
- return _regeneratorRuntime.wrap(function _callee79$(_context79) {
2723
+ return _regeneratorRuntime.wrap(function (_context79) {
2724
2724
  while (1) switch (_context79.prev = _context79.next) {
2725
2725
  case 0:
2726
2726
  return _context79.abrupt("return", (_this$_teamCentralCli4 = this._teamCentralClient).deleteKudos.apply(_this$_teamCentralCli4, _args79));
@@ -2741,7 +2741,7 @@ export var TeamsClient = /*#__PURE__*/function () {
2741
2741
  var _queryTagList = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee80() {
2742
2742
  var _this$_teamCentralCli5;
2743
2743
  var _args80 = arguments;
2744
- return _regeneratorRuntime.wrap(function _callee80$(_context80) {
2744
+ return _regeneratorRuntime.wrap(function (_context80) {
2745
2745
  while (1) switch (_context80.prev = _context80.next) {
2746
2746
  case 0:
2747
2747
  return _context80.abrupt("return", (_this$_teamCentralCli5 = this._teamCentralClient).queryTagList.apply(_this$_teamCentralCli5, _args80));
@@ -2762,7 +2762,7 @@ export var TeamsClient = /*#__PURE__*/function () {
2762
2762
  var _createTag = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee81() {
2763
2763
  var _this$_teamCentralCli6;
2764
2764
  var _args81 = arguments;
2765
- return _regeneratorRuntime.wrap(function _callee81$(_context81) {
2765
+ return _regeneratorRuntime.wrap(function (_context81) {
2766
2766
  while (1) switch (_context81.prev = _context81.next) {
2767
2767
  case 0:
2768
2768
  return _context81.abrupt("return", (_this$_teamCentralCli6 = this._teamCentralClient).createTag.apply(_this$_teamCentralCli6, _args81));
@@ -2783,7 +2783,7 @@ export var TeamsClient = /*#__PURE__*/function () {
2783
2783
  var _createHelpPointer = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee82() {
2784
2784
  var _this$_teamCentralCli7;
2785
2785
  var _args82 = arguments;
2786
- return _regeneratorRuntime.wrap(function _callee82$(_context82) {
2786
+ return _regeneratorRuntime.wrap(function (_context82) {
2787
2787
  while (1) switch (_context82.prev = _context82.next) {
2788
2788
  case 0:
2789
2789
  return _context82.abrupt("return", (_this$_teamCentralCli7 = this._teamCentralClient).createHelpPointer.apply(_this$_teamCentralCli7, _args82));
@@ -2804,7 +2804,7 @@ export var TeamsClient = /*#__PURE__*/function () {
2804
2804
  var _updateHelpPointer = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee83() {
2805
2805
  var _this$_teamCentralCli8;
2806
2806
  var _args83 = arguments;
2807
- return _regeneratorRuntime.wrap(function _callee83$(_context83) {
2807
+ return _regeneratorRuntime.wrap(function (_context83) {
2808
2808
  while (1) switch (_context83.prev = _context83.next) {
2809
2809
  case 0:
2810
2810
  return _context83.abrupt("return", (_this$_teamCentralCli8 = this._teamCentralClient).updateHelpPointer.apply(_this$_teamCentralCli8, _args83));
@@ -2825,7 +2825,7 @@ export var TeamsClient = /*#__PURE__*/function () {
2825
2825
  var _deleteHelpPointer = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee84() {
2826
2826
  var _this$_teamCentralCli9;
2827
2827
  var _args84 = arguments;
2828
- return _regeneratorRuntime.wrap(function _callee84$(_context84) {
2828
+ return _regeneratorRuntime.wrap(function (_context84) {
2829
2829
  while (1) switch (_context84.prev = _context84.next) {
2830
2830
  case 0:
2831
2831
  return _context84.abrupt("return", (_this$_teamCentralCli9 = this._teamCentralClient).deleteHelpPointer.apply(_this$_teamCentralCli9, _args84));
@@ -2849,7 +2849,7 @@ export var TeamsClient = /*#__PURE__*/function () {
2849
2849
  args,
2850
2850
  _key56,
2851
2851
  _args85 = arguments;
2852
- return _regeneratorRuntime.wrap(function _callee85$(_context85) {
2852
+ return _regeneratorRuntime.wrap(function (_context85) {
2853
2853
  while (1) switch (_context85.prev = _context85.next) {
2854
2854
  case 0:
2855
2855
  for (_len56 = _args85.length, args = new Array(_len56), _key56 = 0; _key56 < _len56; _key56++) {
@@ -2859,7 +2859,7 @@ export var TeamsClient = /*#__PURE__*/function () {
2859
2859
  var _this71$_replinesClie;
2860
2860
  return (_this71$_replinesClie = _this71._replinesClient).getUserTenure.apply(_this71$_replinesClie, args);
2861
2861
  }));
2862
- case 2:
2862
+ case 1:
2863
2863
  case "end":
2864
2864
  return _context85.stop();
2865
2865
  }
@@ -2876,7 +2876,7 @@ export var TeamsClient = /*#__PURE__*/function () {
2876
2876
  var _checkOrgFullAlignmentStatus = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee86() {
2877
2877
  var _this$_legionClient;
2878
2878
  var _args86 = arguments;
2879
- return _regeneratorRuntime.wrap(function _callee86$(_context86) {
2879
+ return _regeneratorRuntime.wrap(function (_context86) {
2880
2880
  while (1) switch (_context86.prev = _context86.next) {
2881
2881
  case 0:
2882
2882
  return _context86.abrupt("return", (_this$_legionClient = this._legionClient).checkOrgFullAlignmentStatus.apply(_this$_legionClient, _args86));
@@ -2897,7 +2897,7 @@ export var TeamsClient = /*#__PURE__*/function () {
2897
2897
  var _getTeamStatesInBulk = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee87() {
2898
2898
  var _this$_legionClient2;
2899
2899
  var _args87 = arguments;
2900
- return _regeneratorRuntime.wrap(function _callee87$(_context87) {
2900
+ return _regeneratorRuntime.wrap(function (_context87) {
2901
2901
  while (1) switch (_context87.prev = _context87.next) {
2902
2902
  case 0:
2903
2903
  return _context87.abrupt("return", (_this$_legionClient2 = this._legionClient).getTeamStatesInBulk.apply(_this$_legionClient2, _args87));
@@ -2921,7 +2921,7 @@ export var TeamsClient = /*#__PURE__*/function () {
2921
2921
  args,
2922
2922
  _key57,
2923
2923
  _args88 = arguments;
2924
- return _regeneratorRuntime.wrap(function _callee88$(_context88) {
2924
+ return _regeneratorRuntime.wrap(function (_context88) {
2925
2925
  while (1) switch (_context88.prev = _context88.next) {
2926
2926
  case 0:
2927
2927
  for (_len57 = _args88.length, args = new Array(_len57), _key57 = 0; _key57 < _len57; _key57++) {
@@ -2931,7 +2931,7 @@ export var TeamsClient = /*#__PURE__*/function () {
2931
2931
  var _this72$_reportingLin;
2932
2932
  return (_this72$_reportingLin = _this72._reportingLinesClient).getReportingLines.apply(_this72$_reportingLin, args);
2933
2933
  }));
2934
- case 2:
2934
+ case 1:
2935
2935
  case "end":
2936
2936
  return _context88.stop();
2937
2937
  }