@atlaskit/teams-client 4.8.2 → 4.9.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.
@@ -2,7 +2,10 @@ import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
2
2
  import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
3
3
  import _createClass from "@babel/runtime/helpers/createClass";
4
4
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
5
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
6
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
5
7
  import _regeneratorRuntime from "@babel/runtime/regenerator";
8
+ import { fg } from '@atlaskit/platform-feature-flags';
6
9
  import { TEAMS_CLIENT_EXPERIENCES } from '../common/utils/ufo/constants';
7
10
  import { aggClient } from './agg-client';
8
11
  import collaborationGraphClient from './collaborationgraph-client';
@@ -146,13 +149,21 @@ export var TeamsClient = /*#__PURE__*/function () {
146
149
  value: (function () {
147
150
  var _querySettings = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee3(cloudId, product) {
148
151
  var _this = this;
152
+ var previousContext;
149
153
  return _regeneratorRuntime.wrap(function _callee3$(_context3) {
150
154
  while (1) switch (_context3.prev = _context3.next) {
151
155
  case 0:
152
156
  if (cloudId) {
153
- this.setContext({
154
- cloudId: cloudId
155
- });
157
+ if (fg('fix_query_settings_context')) {
158
+ previousContext = this._legionClient.getContext();
159
+ this.setContext(_objectSpread(_objectSpread({}, previousContext), {}, {
160
+ cloudId: cloudId
161
+ }));
162
+ } else {
163
+ this.setContext({
164
+ cloudId: cloudId
165
+ });
166
+ }
156
167
  }
157
168
  return _context3.abrupt("return", this.measurePerformance('querySettings', /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2() {
158
169
  var response;
@@ -845,75 +856,70 @@ export var TeamsClient = /*#__PURE__*/function () {
845
856
  return _addAgentsToTeam.apply(this, arguments);
846
857
  }
847
858
  return addAgentsToTeam;
848
- }()
849
- /**
850
- * Cancel a join request to a private team
851
- */
852
- )
859
+ }())
853
860
  }, {
854
- key: "cancelJoinRequest",
855
- value: (function () {
856
- var _cancelJoinRequest = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee22(teamId) {
861
+ key: "removeAgentTeamAssociation",
862
+ value: function () {
863
+ var _removeAgentTeamAssociation = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee22() {
857
864
  var _this18 = this;
865
+ var _len13,
866
+ args,
867
+ _key13,
868
+ _args22 = arguments;
858
869
  return _regeneratorRuntime.wrap(function _callee22$(_context22) {
859
870
  while (1) switch (_context22.prev = _context22.next) {
860
871
  case 0:
861
- return _context22.abrupt("return", this.measurePerformance('cancelJoinRequest', function () {
862
- return _this18._legionClient.cancelJoinRequest(teamId);
872
+ for (_len13 = _args22.length, args = new Array(_len13), _key13 = 0; _key13 < _len13; _key13++) {
873
+ args[_key13] = _args22[_key13];
874
+ }
875
+ return _context22.abrupt("return", this.measurePerformance('removeAgentTeamAssociation', function () {
876
+ var _this18$_legionClient;
877
+ return (_this18$_legionClient = _this18._legionClient).removeAgentTeamAssociation.apply(_this18$_legionClient, args);
863
878
  }));
864
- case 1:
879
+ case 2:
865
880
  case "end":
866
881
  return _context22.stop();
867
882
  }
868
883
  }, _callee22, this);
869
884
  }));
870
- function cancelJoinRequest(_x0) {
871
- return _cancelJoinRequest.apply(this, arguments);
885
+ function removeAgentTeamAssociation() {
886
+ return _removeAgentTeamAssociation.apply(this, arguments);
872
887
  }
873
- return cancelJoinRequest;
888
+ return removeAgentTeamAssociation;
874
889
  }()
875
890
  /**
876
- * Accept a join request to a private team
891
+ * Cancel a join request to a private team
877
892
  */
878
- )
879
893
  }, {
880
- key: "acceptJoinRequest",
894
+ key: "cancelJoinRequest",
881
895
  value: (function () {
882
- var _acceptJoinRequest = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee23() {
896
+ var _cancelJoinRequest = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee23(teamId) {
883
897
  var _this19 = this;
884
- var _len13,
885
- args,
886
- _key13,
887
- _args23 = arguments;
888
898
  return _regeneratorRuntime.wrap(function _callee23$(_context23) {
889
899
  while (1) switch (_context23.prev = _context23.next) {
890
900
  case 0:
891
- for (_len13 = _args23.length, args = new Array(_len13), _key13 = 0; _key13 < _len13; _key13++) {
892
- args[_key13] = _args23[_key13];
893
- }
894
- return _context23.abrupt("return", this.measurePerformance('acceptJoinRequest', function () {
895
- var _this19$_legionClient;
896
- return (_this19$_legionClient = _this19._legionClient).acceptJoinRequest.apply(_this19$_legionClient, args);
901
+ return _context23.abrupt("return", this.measurePerformance('cancelJoinRequest', function () {
902
+ return _this19._legionClient.cancelJoinRequest(teamId);
897
903
  }));
898
- case 2:
904
+ case 1:
899
905
  case "end":
900
906
  return _context23.stop();
901
907
  }
902
908
  }, _callee23, this);
903
909
  }));
904
- function acceptJoinRequest() {
905
- return _acceptJoinRequest.apply(this, arguments);
910
+ function cancelJoinRequest(_x0) {
911
+ return _cancelJoinRequest.apply(this, arguments);
906
912
  }
907
- return acceptJoinRequest;
913
+ return cancelJoinRequest;
908
914
  }()
909
915
  /**
910
- * Decline a join request to a private team
916
+ * Accept a join request to a private team
911
917
  */
912
918
  )
913
919
  }, {
914
- key: "declineJoinRequest",
920
+ key: "acceptJoinRequest",
915
921
  value: (function () {
916
- var _declineJoinRequest = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee24() {
922
+ var _acceptJoinRequest = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee24() {
917
923
  var _this20 = this;
918
924
  var _len14,
919
925
  args,
@@ -925,9 +931,9 @@ export var TeamsClient = /*#__PURE__*/function () {
925
931
  for (_len14 = _args24.length, args = new Array(_len14), _key14 = 0; _key14 < _len14; _key14++) {
926
932
  args[_key14] = _args24[_key14];
927
933
  }
928
- return _context24.abrupt("return", this.measurePerformance('declineJoinRequest', function () {
934
+ return _context24.abrupt("return", this.measurePerformance('acceptJoinRequest', function () {
929
935
  var _this20$_legionClient;
930
- return (_this20$_legionClient = _this20._legionClient).declineJoinRequest.apply(_this20$_legionClient, args);
936
+ return (_this20$_legionClient = _this20._legionClient).acceptJoinRequest.apply(_this20$_legionClient, args);
931
937
  }));
932
938
  case 2:
933
939
  case "end":
@@ -935,19 +941,19 @@ export var TeamsClient = /*#__PURE__*/function () {
935
941
  }
936
942
  }, _callee24, this);
937
943
  }));
938
- function declineJoinRequest() {
939
- return _declineJoinRequest.apply(this, arguments);
944
+ function acceptJoinRequest() {
945
+ return _acceptJoinRequest.apply(this, arguments);
940
946
  }
941
- return declineJoinRequest;
947
+ return acceptJoinRequest;
942
948
  }()
943
949
  /**
944
- * @deprecated use removeTeamMemberships instead
950
+ * Decline a join request to a private team
945
951
  */
946
952
  )
947
953
  }, {
948
- key: "deleteTeamMembership",
954
+ key: "declineJoinRequest",
949
955
  value: (function () {
950
- var _deleteTeamMembership = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee25() {
956
+ var _declineJoinRequest = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee25() {
951
957
  var _this21 = this;
952
958
  var _len15,
953
959
  args,
@@ -959,9 +965,9 @@ export var TeamsClient = /*#__PURE__*/function () {
959
965
  for (_len15 = _args25.length, args = new Array(_len15), _key15 = 0; _key15 < _len15; _key15++) {
960
966
  args[_key15] = _args25[_key15];
961
967
  }
962
- return _context25.abrupt("return", this.measurePerformance('deleteTeamMembership', function () {
968
+ return _context25.abrupt("return", this.measurePerformance('declineJoinRequest', function () {
963
969
  var _this21$_legionClient;
964
- return (_this21$_legionClient = _this21._legionClient).deleteTeamMembership.apply(_this21$_legionClient, args);
970
+ return (_this21$_legionClient = _this21._legionClient).declineJoinRequest.apply(_this21$_legionClient, args);
965
971
  }));
966
972
  case 2:
967
973
  case "end":
@@ -969,19 +975,19 @@ export var TeamsClient = /*#__PURE__*/function () {
969
975
  }
970
976
  }, _callee25, this);
971
977
  }));
972
- function deleteTeamMembership() {
973
- return _deleteTeamMembership.apply(this, arguments);
978
+ function declineJoinRequest() {
979
+ return _declineJoinRequest.apply(this, arguments);
974
980
  }
975
- return deleteTeamMembership;
981
+ return declineJoinRequest;
976
982
  }()
977
983
  /**
978
- * @deprecated INVITED status has been deprecated
984
+ * @deprecated use removeTeamMemberships instead
979
985
  */
980
986
  )
981
987
  }, {
982
- key: "revokeTeamInvite",
988
+ key: "deleteTeamMembership",
983
989
  value: (function () {
984
- var _revokeTeamInvite = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee26() {
990
+ var _deleteTeamMembership = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee26() {
985
991
  var _this22 = this;
986
992
  var _len16,
987
993
  args,
@@ -993,9 +999,9 @@ export var TeamsClient = /*#__PURE__*/function () {
993
999
  for (_len16 = _args26.length, args = new Array(_len16), _key16 = 0; _key16 < _len16; _key16++) {
994
1000
  args[_key16] = _args26[_key16];
995
1001
  }
996
- return _context26.abrupt("return", this.measurePerformance('revokeTeamInvite', function () {
1002
+ return _context26.abrupt("return", this.measurePerformance('deleteTeamMembership', function () {
997
1003
  var _this22$_legionClient;
998
- return (_this22$_legionClient = _this22._legionClient).revokeTeamInvite.apply(_this22$_legionClient, args);
1004
+ return (_this22$_legionClient = _this22._legionClient).deleteTeamMembership.apply(_this22$_legionClient, args);
999
1005
  }));
1000
1006
  case 2:
1001
1007
  case "end":
@@ -1003,103 +1009,103 @@ export var TeamsClient = /*#__PURE__*/function () {
1003
1009
  }
1004
1010
  }, _callee26, this);
1005
1011
  }));
1006
- function revokeTeamInvite() {
1007
- return _revokeTeamInvite.apply(this, arguments);
1012
+ function deleteTeamMembership() {
1013
+ return _deleteTeamMembership.apply(this, arguments);
1008
1014
  }
1009
- return revokeTeamInvite;
1015
+ return deleteTeamMembership;
1010
1016
  }()
1011
1017
  /**
1012
- * Delete a team
1018
+ * @deprecated INVITED status has been deprecated
1013
1019
  */
1014
1020
  )
1015
1021
  }, {
1016
- key: "deleteTeam",
1022
+ key: "revokeTeamInvite",
1017
1023
  value: (function () {
1018
- var _deleteTeam = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee27(teamId) {
1024
+ var _revokeTeamInvite = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee27() {
1019
1025
  var _this23 = this;
1026
+ var _len17,
1027
+ args,
1028
+ _key17,
1029
+ _args27 = arguments;
1020
1030
  return _regeneratorRuntime.wrap(function _callee27$(_context27) {
1021
1031
  while (1) switch (_context27.prev = _context27.next) {
1022
1032
  case 0:
1023
- return _context27.abrupt("return", this.measurePerformance('deleteTeam', function () {
1024
- return _this23._legionClient.deleteTeam(teamId);
1033
+ for (_len17 = _args27.length, args = new Array(_len17), _key17 = 0; _key17 < _len17; _key17++) {
1034
+ args[_key17] = _args27[_key17];
1035
+ }
1036
+ return _context27.abrupt("return", this.measurePerformance('revokeTeamInvite', function () {
1037
+ var _this23$_legionClient;
1038
+ return (_this23$_legionClient = _this23._legionClient).revokeTeamInvite.apply(_this23$_legionClient, args);
1025
1039
  }));
1026
- case 1:
1040
+ case 2:
1027
1041
  case "end":
1028
1042
  return _context27.stop();
1029
1043
  }
1030
1044
  }, _callee27, this);
1031
1045
  }));
1032
- function deleteTeam(_x1) {
1033
- return _deleteTeam.apply(this, arguments);
1046
+ function revokeTeamInvite() {
1047
+ return _revokeTeamInvite.apply(this, arguments);
1034
1048
  }
1035
- return deleteTeam;
1049
+ return revokeTeamInvite;
1036
1050
  }()
1037
1051
  /**
1038
- * @private
1039
- * @deprecated should be other means to solve this issue
1052
+ * Delete a team
1040
1053
  */
1041
1054
  )
1042
1055
  }, {
1043
- key: "isSingleFullMemberTeam",
1056
+ key: "deleteTeam",
1044
1057
  value: (function () {
1045
- var _isSingleFullMemberTeam = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee28(teamId) {
1058
+ var _deleteTeam = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee28(teamId) {
1059
+ var _this24 = this;
1046
1060
  return _regeneratorRuntime.wrap(function _callee28$(_context28) {
1047
1061
  while (1) switch (_context28.prev = _context28.next) {
1048
1062
  case 0:
1049
- return _context28.abrupt("return", this._legionClient.isSingleFullMemberTeam(teamId));
1063
+ return _context28.abrupt("return", this.measurePerformance('deleteTeam', function () {
1064
+ return _this24._legionClient.deleteTeam(teamId);
1065
+ }));
1050
1066
  case 1:
1051
1067
  case "end":
1052
1068
  return _context28.stop();
1053
1069
  }
1054
1070
  }, _callee28, this);
1055
1071
  }));
1056
- function isSingleFullMemberTeam(_x10) {
1057
- return _isSingleFullMemberTeam.apply(this, arguments);
1072
+ function deleteTeam(_x1) {
1073
+ return _deleteTeam.apply(this, arguments);
1058
1074
  }
1059
- return isSingleFullMemberTeam;
1075
+ return deleteTeam;
1060
1076
  }()
1061
1077
  /**
1062
- * Create a team
1078
+ * @private
1079
+ * @deprecated should be other means to solve this issue
1063
1080
  */
1064
1081
  )
1065
1082
  }, {
1066
- key: "createTeam",
1083
+ key: "isSingleFullMemberTeam",
1067
1084
  value: (function () {
1068
- var _createTeam = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee29() {
1069
- var _this24 = this;
1070
- var _len17,
1071
- args,
1072
- _key17,
1073
- _args29 = arguments;
1085
+ var _isSingleFullMemberTeam = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee29(teamId) {
1074
1086
  return _regeneratorRuntime.wrap(function _callee29$(_context29) {
1075
1087
  while (1) switch (_context29.prev = _context29.next) {
1076
1088
  case 0:
1077
- for (_len17 = _args29.length, args = new Array(_len17), _key17 = 0; _key17 < _len17; _key17++) {
1078
- args[_key17] = _args29[_key17];
1079
- }
1080
- return _context29.abrupt("return", this.measurePerformance('createTeam', function () {
1081
- var _this24$_legionClient;
1082
- return (_this24$_legionClient = _this24._legionClient).createTeam.apply(_this24$_legionClient, args);
1083
- }));
1084
- case 2:
1089
+ return _context29.abrupt("return", this._legionClient.isSingleFullMemberTeam(teamId));
1090
+ case 1:
1085
1091
  case "end":
1086
1092
  return _context29.stop();
1087
1093
  }
1088
1094
  }, _callee29, this);
1089
1095
  }));
1090
- function createTeam() {
1091
- return _createTeam.apply(this, arguments);
1096
+ function isSingleFullMemberTeam(_x10) {
1097
+ return _isSingleFullMemberTeam.apply(this, arguments);
1092
1098
  }
1093
- return createTeam;
1099
+ return isSingleFullMemberTeam;
1094
1100
  }()
1095
1101
  /**
1096
- * Create containers for a team
1102
+ * Create a team
1097
1103
  */
1098
1104
  )
1099
1105
  }, {
1100
- key: "createTeamContainers",
1106
+ key: "createTeam",
1101
1107
  value: (function () {
1102
- var _createTeamContainers = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee30() {
1108
+ var _createTeam = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee30() {
1103
1109
  var _this25 = this;
1104
1110
  var _len18,
1105
1111
  args,
@@ -1111,9 +1117,9 @@ export var TeamsClient = /*#__PURE__*/function () {
1111
1117
  for (_len18 = _args30.length, args = new Array(_len18), _key18 = 0; _key18 < _len18; _key18++) {
1112
1118
  args[_key18] = _args30[_key18];
1113
1119
  }
1114
- return _context30.abrupt("return", this.measurePerformance('createTeamContainers', function () {
1120
+ return _context30.abrupt("return", this.measurePerformance('createTeam', function () {
1115
1121
  var _this25$_legionClient;
1116
- return (_this25$_legionClient = _this25._legionClient).createTeamContainers.apply(_this25$_legionClient, args);
1122
+ return (_this25$_legionClient = _this25._legionClient).createTeam.apply(_this25$_legionClient, args);
1117
1123
  }));
1118
1124
  case 2:
1119
1125
  case "end":
@@ -1121,21 +1127,19 @@ export var TeamsClient = /*#__PURE__*/function () {
1121
1127
  }
1122
1128
  }, _callee30, this);
1123
1129
  }));
1124
- function createTeamContainers() {
1125
- return _createTeamContainers.apply(this, arguments);
1130
+ function createTeam() {
1131
+ return _createTeam.apply(this, arguments);
1126
1132
  }
1127
- return createTeamContainers;
1133
+ return createTeam;
1128
1134
  }()
1129
1135
  /**
1130
- * Create a external team
1131
- * @param {string} groupDescription - The description of the group, which will be used as the team description. The group name will be fetched from the identity service, so it does not need to be provided.
1132
- * @param {ExternalReference} externalReference
1136
+ * Create containers for a team
1133
1137
  */
1134
1138
  )
1135
1139
  }, {
1136
- key: "createExternalTeam",
1140
+ key: "createTeamContainers",
1137
1141
  value: (function () {
1138
- var _createExternalTeam = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee31() {
1142
+ var _createTeamContainers = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee31() {
1139
1143
  var _this26 = this;
1140
1144
  var _len19,
1141
1145
  args,
@@ -1147,9 +1151,9 @@ export var TeamsClient = /*#__PURE__*/function () {
1147
1151
  for (_len19 = _args31.length, args = new Array(_len19), _key19 = 0; _key19 < _len19; _key19++) {
1148
1152
  args[_key19] = _args31[_key19];
1149
1153
  }
1150
- return _context31.abrupt("return", this.measurePerformance('createExternalTeam', function () {
1154
+ return _context31.abrupt("return", this.measurePerformance('createTeamContainers', function () {
1151
1155
  var _this26$_legionClient;
1152
- return (_this26$_legionClient = _this26._legionClient).createExternalTeam.apply(_this26$_legionClient, args);
1156
+ return (_this26$_legionClient = _this26._legionClient).createTeamContainers.apply(_this26$_legionClient, args);
1153
1157
  }));
1154
1158
  case 2:
1155
1159
  case "end":
@@ -1157,20 +1161,21 @@ export var TeamsClient = /*#__PURE__*/function () {
1157
1161
  }
1158
1162
  }, _callee31, this);
1159
1163
  }));
1160
- function createExternalTeam() {
1161
- return _createExternalTeam.apply(this, arguments);
1164
+ function createTeamContainers() {
1165
+ return _createTeamContainers.apply(this, arguments);
1162
1166
  }
1163
- return createExternalTeam;
1167
+ return createTeamContainers;
1164
1168
  }()
1165
1169
  /**
1166
- * Get linked teams for a groups in bulk
1167
- * @param {string} groupIds - The group ids to fetch linked teams for
1170
+ * Create a external team
1171
+ * @param {string} groupDescription - The description of the group, which will be used as the team description. The group name will be fetched from the identity service, so it does not need to be provided.
1172
+ * @param {ExternalReference} externalReference
1168
1173
  */
1169
1174
  )
1170
1175
  }, {
1171
- key: "getLinkedTeamsBulk",
1176
+ key: "createExternalTeam",
1172
1177
  value: (function () {
1173
- var _getLinkedTeamsBulk = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee32() {
1178
+ var _createExternalTeam = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee32() {
1174
1179
  var _this27 = this;
1175
1180
  var _len20,
1176
1181
  args,
@@ -1182,9 +1187,9 @@ export var TeamsClient = /*#__PURE__*/function () {
1182
1187
  for (_len20 = _args32.length, args = new Array(_len20), _key20 = 0; _key20 < _len20; _key20++) {
1183
1188
  args[_key20] = _args32[_key20];
1184
1189
  }
1185
- return _context32.abrupt("return", this.measurePerformance('getLinkedTeamsBulk', function () {
1190
+ return _context32.abrupt("return", this.measurePerformance('createExternalTeam', function () {
1186
1191
  var _this27$_legionClient;
1187
- return (_this27$_legionClient = _this27._legionClient).getLinkedTeamsBulk.apply(_this27$_legionClient, args);
1192
+ return (_this27$_legionClient = _this27._legionClient).createExternalTeam.apply(_this27$_legionClient, args);
1188
1193
  }));
1189
1194
  case 2:
1190
1195
  case "end":
@@ -1192,19 +1197,20 @@ export var TeamsClient = /*#__PURE__*/function () {
1192
1197
  }
1193
1198
  }, _callee32, this);
1194
1199
  }));
1195
- function getLinkedTeamsBulk() {
1196
- return _getLinkedTeamsBulk.apply(this, arguments);
1200
+ function createExternalTeam() {
1201
+ return _createExternalTeam.apply(this, arguments);
1197
1202
  }
1198
- return getLinkedTeamsBulk;
1203
+ return createExternalTeam;
1199
1204
  }()
1200
1205
  /**
1201
- * Get Org scope
1206
+ * Get linked teams for a groups in bulk
1207
+ * @param {string} groupIds - The group ids to fetch linked teams for
1202
1208
  */
1203
1209
  )
1204
1210
  }, {
1205
- key: "getOrgScope",
1211
+ key: "getLinkedTeamsBulk",
1206
1212
  value: (function () {
1207
- var _getOrgScope = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee33() {
1213
+ var _getLinkedTeamsBulk = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee33() {
1208
1214
  var _this28 = this;
1209
1215
  var _len21,
1210
1216
  args,
@@ -1216,9 +1222,9 @@ export var TeamsClient = /*#__PURE__*/function () {
1216
1222
  for (_len21 = _args33.length, args = new Array(_len21), _key21 = 0; _key21 < _len21; _key21++) {
1217
1223
  args[_key21] = _args33[_key21];
1218
1224
  }
1219
- return _context33.abrupt("return", this.measurePerformance('getOrgScope', function () {
1225
+ return _context33.abrupt("return", this.measurePerformance('getLinkedTeamsBulk', function () {
1220
1226
  var _this28$_legionClient;
1221
- return (_this28$_legionClient = _this28._legionClient).getOrgScope.apply(_this28$_legionClient, args);
1227
+ return (_this28$_legionClient = _this28._legionClient).getLinkedTeamsBulk.apply(_this28$_legionClient, args);
1222
1228
  }));
1223
1229
  case 2:
1224
1230
  case "end":
@@ -1226,19 +1232,19 @@ export var TeamsClient = /*#__PURE__*/function () {
1226
1232
  }
1227
1233
  }, _callee33, this);
1228
1234
  }));
1229
- function getOrgScope() {
1230
- return _getOrgScope.apply(this, arguments);
1235
+ function getLinkedTeamsBulk() {
1236
+ return _getLinkedTeamsBulk.apply(this, arguments);
1231
1237
  }
1232
- return getOrgScope;
1238
+ return getLinkedTeamsBulk;
1233
1239
  }()
1234
1240
  /**
1235
- * Restore soft-deleted team and sync to group
1241
+ * Get Org scope
1236
1242
  */
1237
1243
  )
1238
1244
  }, {
1239
- key: "restoreTeamToSyncedGroup",
1245
+ key: "getOrgScope",
1240
1246
  value: (function () {
1241
- var _restoreTeamToSyncedGroup = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee34() {
1247
+ var _getOrgScope = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee34() {
1242
1248
  var _this29 = this;
1243
1249
  var _len22,
1244
1250
  args,
@@ -1250,9 +1256,9 @@ export var TeamsClient = /*#__PURE__*/function () {
1250
1256
  for (_len22 = _args34.length, args = new Array(_len22), _key22 = 0; _key22 < _len22; _key22++) {
1251
1257
  args[_key22] = _args34[_key22];
1252
1258
  }
1253
- return _context34.abrupt("return", this.measurePerformance('restoreTeamToSyncedGroup', function () {
1259
+ return _context34.abrupt("return", this.measurePerformance('getOrgScope', function () {
1254
1260
  var _this29$_legionClient;
1255
- return (_this29$_legionClient = _this29._legionClient).restoreTeamToSyncedGroup.apply(_this29$_legionClient, args);
1261
+ return (_this29$_legionClient = _this29._legionClient).getOrgScope.apply(_this29$_legionClient, args);
1256
1262
  }));
1257
1263
  case 2:
1258
1264
  case "end":
@@ -1260,22 +1266,19 @@ export var TeamsClient = /*#__PURE__*/function () {
1260
1266
  }
1261
1267
  }, _callee34, this);
1262
1268
  }));
1263
- function restoreTeamToSyncedGroup() {
1264
- return _restoreTeamToSyncedGroup.apply(this, arguments);
1269
+ function getOrgScope() {
1270
+ return _getOrgScope.apply(this, arguments);
1265
1271
  }
1266
- return restoreTeamToSyncedGroup;
1272
+ return getOrgScope;
1267
1273
  }()
1268
1274
  /**
1269
- * Get the difference between a team and a group
1270
- * @param teamId
1271
- * @param {ExternalReference} externalReference
1272
- * @returns {Promise<TeamAndGroupDifference>}
1275
+ * Restore soft-deleted team and sync to group
1273
1276
  */
1274
1277
  )
1275
1278
  }, {
1276
- key: "getTeamAndGroupDiff",
1279
+ key: "restoreTeamToSyncedGroup",
1277
1280
  value: (function () {
1278
- var _getTeamAndGroupDiff = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee35() {
1281
+ var _restoreTeamToSyncedGroup = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee35() {
1279
1282
  var _this30 = this;
1280
1283
  var _len23,
1281
1284
  args,
@@ -1287,9 +1290,9 @@ export var TeamsClient = /*#__PURE__*/function () {
1287
1290
  for (_len23 = _args35.length, args = new Array(_len23), _key23 = 0; _key23 < _len23; _key23++) {
1288
1291
  args[_key23] = _args35[_key23];
1289
1292
  }
1290
- return _context35.abrupt("return", this.measurePerformance('getTeamAndGroupDiff', function () {
1293
+ return _context35.abrupt("return", this.measurePerformance('restoreTeamToSyncedGroup', function () {
1291
1294
  var _this30$_legionClient;
1292
- return (_this30$_legionClient = _this30._legionClient).getTeamAndGroupDiff.apply(_this30$_legionClient, args);
1295
+ return (_this30$_legionClient = _this30._legionClient).restoreTeamToSyncedGroup.apply(_this30$_legionClient, args);
1293
1296
  }));
1294
1297
  case 2:
1295
1298
  case "end":
@@ -1297,21 +1300,22 @@ export var TeamsClient = /*#__PURE__*/function () {
1297
1300
  }
1298
1301
  }, _callee35, this);
1299
1302
  }));
1300
- function getTeamAndGroupDiff() {
1301
- return _getTeamAndGroupDiff.apply(this, arguments);
1303
+ function restoreTeamToSyncedGroup() {
1304
+ return _restoreTeamToSyncedGroup.apply(this, arguments);
1302
1305
  }
1303
- return getTeamAndGroupDiff;
1306
+ return restoreTeamToSyncedGroup;
1304
1307
  }()
1305
1308
  /**
1306
- * Link an existing team to a group
1309
+ * Get the difference between a team and a group
1307
1310
  * @param teamId
1308
1311
  * @param {ExternalReference} externalReference
1312
+ * @returns {Promise<TeamAndGroupDifference>}
1309
1313
  */
1310
1314
  )
1311
1315
  }, {
1312
- key: "linkExistingTeamToGroup",
1316
+ key: "getTeamAndGroupDiff",
1313
1317
  value: (function () {
1314
- var _linkExistingTeamToGroup = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee36() {
1318
+ var _getTeamAndGroupDiff = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee36() {
1315
1319
  var _this31 = this;
1316
1320
  var _len24,
1317
1321
  args,
@@ -1323,9 +1327,9 @@ export var TeamsClient = /*#__PURE__*/function () {
1323
1327
  for (_len24 = _args36.length, args = new Array(_len24), _key24 = 0; _key24 < _len24; _key24++) {
1324
1328
  args[_key24] = _args36[_key24];
1325
1329
  }
1326
- return _context36.abrupt("return", this.measurePerformance('linkExistingTeamToGroup', function () {
1330
+ return _context36.abrupt("return", this.measurePerformance('getTeamAndGroupDiff', function () {
1327
1331
  var _this31$_legionClient;
1328
- return (_this31$_legionClient = _this31._legionClient).linkExistingTeamToGroup.apply(_this31$_legionClient, args);
1332
+ return (_this31$_legionClient = _this31._legionClient).getTeamAndGroupDiff.apply(_this31$_legionClient, args);
1329
1333
  }));
1330
1334
  case 2:
1331
1335
  case "end":
@@ -1333,21 +1337,21 @@ export var TeamsClient = /*#__PURE__*/function () {
1333
1337
  }
1334
1338
  }, _callee36, this);
1335
1339
  }));
1336
- function linkExistingTeamToGroup() {
1337
- return _linkExistingTeamToGroup.apply(this, arguments);
1340
+ function getTeamAndGroupDiff() {
1341
+ return _getTeamAndGroupDiff.apply(this, arguments);
1338
1342
  }
1339
- return linkExistingTeamToGroup;
1343
+ return getTeamAndGroupDiff;
1340
1344
  }()
1341
1345
  /**
1342
- *
1346
+ * Link an existing team to a group
1343
1347
  * @param teamId
1344
- * @returns {Promise<LinkedTeamsProfileDetails>}
1348
+ * @param {ExternalReference} externalReference
1345
1349
  */
1346
1350
  )
1347
1351
  }, {
1348
- key: "getTeamProfileDetailsByTeamId",
1352
+ key: "linkExistingTeamToGroup",
1349
1353
  value: (function () {
1350
- var _getTeamProfileDetailsByTeamId = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee37() {
1354
+ var _linkExistingTeamToGroup = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee37() {
1351
1355
  var _this32 = this;
1352
1356
  var _len25,
1353
1357
  args,
@@ -1359,9 +1363,9 @@ export var TeamsClient = /*#__PURE__*/function () {
1359
1363
  for (_len25 = _args37.length, args = new Array(_len25), _key25 = 0; _key25 < _len25; _key25++) {
1360
1364
  args[_key25] = _args37[_key25];
1361
1365
  }
1362
- return _context37.abrupt("return", this.measurePerformance('getTeamProfileDetails', function () {
1366
+ return _context37.abrupt("return", this.measurePerformance('linkExistingTeamToGroup', function () {
1363
1367
  var _this32$_legionClient;
1364
- return (_this32$_legionClient = _this32._legionClient).getTeamProfileDetails.apply(_this32$_legionClient, args);
1368
+ return (_this32$_legionClient = _this32._legionClient).linkExistingTeamToGroup.apply(_this32$_legionClient, args);
1365
1369
  }));
1366
1370
  case 2:
1367
1371
  case "end":
@@ -1369,6 +1373,42 @@ export var TeamsClient = /*#__PURE__*/function () {
1369
1373
  }
1370
1374
  }, _callee37, this);
1371
1375
  }));
1376
+ function linkExistingTeamToGroup() {
1377
+ return _linkExistingTeamToGroup.apply(this, arguments);
1378
+ }
1379
+ return linkExistingTeamToGroup;
1380
+ }()
1381
+ /**
1382
+ *
1383
+ * @param teamId
1384
+ * @returns {Promise<LinkedTeamsProfileDetails>}
1385
+ */
1386
+ )
1387
+ }, {
1388
+ key: "getTeamProfileDetailsByTeamId",
1389
+ value: (function () {
1390
+ var _getTeamProfileDetailsByTeamId = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee38() {
1391
+ var _this33 = this;
1392
+ var _len26,
1393
+ args,
1394
+ _key26,
1395
+ _args38 = arguments;
1396
+ return _regeneratorRuntime.wrap(function _callee38$(_context38) {
1397
+ while (1) switch (_context38.prev = _context38.next) {
1398
+ case 0:
1399
+ for (_len26 = _args38.length, args = new Array(_len26), _key26 = 0; _key26 < _len26; _key26++) {
1400
+ args[_key26] = _args38[_key26];
1401
+ }
1402
+ return _context38.abrupt("return", this.measurePerformance('getTeamProfileDetails', function () {
1403
+ var _this33$_legionClient;
1404
+ return (_this33$_legionClient = _this33._legionClient).getTeamProfileDetails.apply(_this33$_legionClient, args);
1405
+ }));
1406
+ case 2:
1407
+ case "end":
1408
+ return _context38.stop();
1409
+ }
1410
+ }, _callee38, this);
1411
+ }));
1372
1412
  function getTeamProfileDetailsByTeamId() {
1373
1413
  return _getTeamProfileDetailsByTeamId.apply(this, arguments);
1374
1414
  }
@@ -1383,19 +1423,19 @@ export var TeamsClient = /*#__PURE__*/function () {
1383
1423
  }, {
1384
1424
  key: "getSoftDeletdTeamById",
1385
1425
  value: (function () {
1386
- var _getSoftDeletdTeamById = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee38(teamId) {
1387
- var _this33 = this;
1388
- return _regeneratorRuntime.wrap(function _callee38$(_context38) {
1389
- while (1) switch (_context38.prev = _context38.next) {
1426
+ var _getSoftDeletdTeamById = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee39(teamId) {
1427
+ var _this34 = this;
1428
+ return _regeneratorRuntime.wrap(function _callee39$(_context39) {
1429
+ while (1) switch (_context39.prev = _context39.next) {
1390
1430
  case 0:
1391
- return _context38.abrupt("return", this.measurePerformance('getSoftDeletedTeamById', function () {
1392
- return _this33._legionClient.getSoftDeletedTeamById(teamId);
1431
+ return _context39.abrupt("return", this.measurePerformance('getSoftDeletedTeamById', function () {
1432
+ return _this34._legionClient.getSoftDeletedTeamById(teamId);
1393
1433
  }));
1394
1434
  case 1:
1395
1435
  case "end":
1396
- return _context38.stop();
1436
+ return _context39.stop();
1397
1437
  }
1398
- }, _callee38, this);
1438
+ }, _callee39, this);
1399
1439
  }));
1400
1440
  function getSoftDeletdTeamById(_x11) {
1401
1441
  return _getSoftDeletdTeamById.apply(this, arguments);
@@ -1411,19 +1451,19 @@ export var TeamsClient = /*#__PURE__*/function () {
1411
1451
  }, {
1412
1452
  key: "getUserInSiteUserBase",
1413
1453
  value: (function () {
1414
- var _getUserInSiteUserBase = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee39(userId) {
1415
- var _this34 = this;
1416
- return _regeneratorRuntime.wrap(function _callee39$(_context39) {
1417
- while (1) switch (_context39.prev = _context39.next) {
1454
+ var _getUserInSiteUserBase = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee40(userId) {
1455
+ var _this35 = this;
1456
+ return _regeneratorRuntime.wrap(function _callee40$(_context40) {
1457
+ while (1) switch (_context40.prev = _context40.next) {
1418
1458
  case 0:
1419
- return _context39.abrupt("return", this.measurePerformance('getUserInSiteUserBase', function () {
1420
- return _this34._legionClient.getUserInSiteUserBase(userId);
1459
+ return _context40.abrupt("return", this.measurePerformance('getUserInSiteUserBase', function () {
1460
+ return _this35._legionClient.getUserInSiteUserBase(userId);
1421
1461
  }));
1422
1462
  case 1:
1423
1463
  case "end":
1424
- return _context39.stop();
1464
+ return _context40.stop();
1425
1465
  }
1426
- }, _callee39, this);
1466
+ }, _callee40, this);
1427
1467
  }));
1428
1468
  function getUserInSiteUserBase(_x12) {
1429
1469
  return _getUserInSiteUserBase.apply(this, arguments);
@@ -1443,27 +1483,27 @@ export var TeamsClient = /*#__PURE__*/function () {
1443
1483
  }, {
1444
1484
  key: "getProfileWithMutability",
1445
1485
  value: (function () {
1446
- var _getProfileWithMutability = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee40() {
1447
- var _this35 = this;
1448
- var _len26,
1486
+ var _getProfileWithMutability = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee41() {
1487
+ var _this36 = this;
1488
+ var _len27,
1449
1489
  args,
1450
- _key26,
1451
- _args40 = arguments;
1452
- return _regeneratorRuntime.wrap(function _callee40$(_context40) {
1453
- while (1) switch (_context40.prev = _context40.next) {
1490
+ _key27,
1491
+ _args41 = arguments;
1492
+ return _regeneratorRuntime.wrap(function _callee41$(_context41) {
1493
+ while (1) switch (_context41.prev = _context41.next) {
1454
1494
  case 0:
1455
- for (_len26 = _args40.length, args = new Array(_len26), _key26 = 0; _key26 < _len26; _key26++) {
1456
- args[_key26] = _args40[_key26];
1495
+ for (_len27 = _args41.length, args = new Array(_len27), _key27 = 0; _key27 < _len27; _key27++) {
1496
+ args[_key27] = _args41[_key27];
1457
1497
  }
1458
- return _context40.abrupt("return", this.measurePerformance('getProfileWithMutability', function () {
1459
- var _this35$_mutabilityCl;
1460
- return (_this35$_mutabilityCl = _this35._mutabilityClient).getProfileWithMutability.apply(_this35$_mutabilityCl, args);
1498
+ return _context41.abrupt("return", this.measurePerformance('getProfileWithMutability', function () {
1499
+ var _this36$_mutabilityCl;
1500
+ return (_this36$_mutabilityCl = _this36._mutabilityClient).getProfileWithMutability.apply(_this36$_mutabilityCl, args);
1461
1501
  }));
1462
1502
  case 2:
1463
1503
  case "end":
1464
- return _context40.stop();
1504
+ return _context41.stop();
1465
1505
  }
1466
- }, _callee40, this);
1506
+ }, _callee41, this);
1467
1507
  }));
1468
1508
  function getProfileWithMutability() {
1469
1509
  return _getProfileWithMutability.apply(this, arguments);
@@ -1477,13 +1517,13 @@ export var TeamsClient = /*#__PURE__*/function () {
1477
1517
  }, {
1478
1518
  key: "getIsSiteAdmin",
1479
1519
  value: function getIsSiteAdmin() {
1480
- var _this36 = this;
1481
- for (var _len27 = arguments.length, args = new Array(_len27), _key27 = 0; _key27 < _len27; _key27++) {
1482
- args[_key27] = arguments[_key27];
1520
+ var _this37 = this;
1521
+ for (var _len28 = arguments.length, args = new Array(_len28), _key28 = 0; _key28 < _len28; _key28++) {
1522
+ args[_key28] = arguments[_key28];
1483
1523
  }
1484
1524
  return this.measurePerformance('getIsSiteAdmin', function () {
1485
- var _this36$_permsClient;
1486
- return (_this36$_permsClient = _this36._permsClient).getIsSiteAdmin.apply(_this36$_permsClient, args);
1525
+ var _this37$_permsClient;
1526
+ return (_this37$_permsClient = _this37._permsClient).getIsSiteAdmin.apply(_this37$_permsClient, args);
1487
1527
  });
1488
1528
  }
1489
1529
 
@@ -1493,13 +1533,13 @@ export var TeamsClient = /*#__PURE__*/function () {
1493
1533
  }, {
1494
1534
  key: "addUsersToTeam",
1495
1535
  value: function addUsersToTeam() {
1496
- var _this37 = this;
1497
- for (var _len28 = arguments.length, args = new Array(_len28), _key28 = 0; _key28 < _len28; _key28++) {
1498
- args[_key28] = arguments[_key28];
1536
+ var _this38 = this;
1537
+ for (var _len29 = arguments.length, args = new Array(_len29), _key29 = 0; _key29 < _len29; _key29++) {
1538
+ args[_key29] = arguments[_key29];
1499
1539
  }
1500
1540
  return this.measurePerformance('addUsersToTeam', function () {
1501
- var _this37$_publicApiCli;
1502
- return (_this37$_publicApiCli = _this37._publicApiClient).addUsersToTeam.apply(_this37$_publicApiCli, args);
1541
+ var _this38$_publicApiCli;
1542
+ return (_this38$_publicApiCli = _this38._publicApiClient).addUsersToTeam.apply(_this38$_publicApiCli, args);
1503
1543
  });
1504
1544
  }
1505
1545
 
@@ -1509,13 +1549,13 @@ export var TeamsClient = /*#__PURE__*/function () {
1509
1549
  }, {
1510
1550
  key: "removeTeamMemberships",
1511
1551
  value: function removeTeamMemberships() {
1512
- var _this38 = this;
1513
- for (var _len29 = arguments.length, args = new Array(_len29), _key29 = 0; _key29 < _len29; _key29++) {
1514
- args[_key29] = arguments[_key29];
1552
+ var _this39 = this;
1553
+ for (var _len30 = arguments.length, args = new Array(_len30), _key30 = 0; _key30 < _len30; _key30++) {
1554
+ args[_key30] = arguments[_key30];
1515
1555
  }
1516
1556
  return this.measurePerformance('removeTeamMemberships', function () {
1517
- var _this38$_publicApiCli;
1518
- return (_this38$_publicApiCli = _this38._publicApiClient).removeTeamMemberships.apply(_this38$_publicApiCli, args);
1557
+ var _this39$_publicApiCli;
1558
+ return (_this39$_publicApiCli = _this39._publicApiClient).removeTeamMemberships.apply(_this39$_publicApiCli, args);
1519
1559
  });
1520
1560
  }
1521
1561
 
@@ -1525,37 +1565,37 @@ export var TeamsClient = /*#__PURE__*/function () {
1525
1565
  }, {
1526
1566
  key: "restoreTeam",
1527
1567
  value: function restoreTeam() {
1528
- var _this39 = this;
1529
- for (var _len30 = arguments.length, args = new Array(_len30), _key30 = 0; _key30 < _len30; _key30++) {
1530
- args[_key30] = arguments[_key30];
1568
+ var _this40 = this;
1569
+ for (var _len31 = arguments.length, args = new Array(_len31), _key31 = 0; _key31 < _len31; _key31++) {
1570
+ args[_key31] = arguments[_key31];
1531
1571
  }
1532
1572
  return this.measurePerformance('restoreTeam', function () {
1533
- var _this39$_publicApiCli;
1534
- return (_this39$_publicApiCli = _this39._publicApiClient).restoreTeam.apply(_this39$_publicApiCli, args);
1573
+ var _this40$_publicApiCli;
1574
+ return (_this40$_publicApiCli = _this40._publicApiClient).restoreTeam.apply(_this40$_publicApiCli, args);
1535
1575
  });
1536
1576
  }
1537
1577
  }, {
1538
1578
  key: "getRecommendedProducts",
1539
1579
  value: function getRecommendedProducts() {
1540
- var _this40 = this;
1541
- for (var _len31 = arguments.length, args = new Array(_len31), _key31 = 0; _key31 < _len31; _key31++) {
1542
- args[_key31] = arguments[_key31];
1580
+ var _this41 = this;
1581
+ for (var _len32 = arguments.length, args = new Array(_len32), _key32 = 0; _key32 < _len32; _key32++) {
1582
+ args[_key32] = arguments[_key32];
1543
1583
  }
1544
1584
  return this.measurePerformance('getRecommendedProducts', function () {
1545
- var _this40$_invitationsC;
1546
- return (_this40$_invitationsC = _this40._invitationsClient).getProductRecommendations.apply(_this40$_invitationsC, args);
1585
+ var _this41$_invitationsC;
1586
+ return (_this41$_invitationsC = _this41._invitationsClient).getProductRecommendations.apply(_this41$_invitationsC, args);
1547
1587
  });
1548
1588
  }
1549
1589
  }, {
1550
1590
  key: "joinOrRequestDefaultAccessToProductsBulk",
1551
1591
  value: function joinOrRequestDefaultAccessToProductsBulk() {
1552
- var _this41 = this;
1553
- for (var _len32 = arguments.length, args = new Array(_len32), _key32 = 0; _key32 < _len32; _key32++) {
1554
- args[_key32] = arguments[_key32];
1592
+ var _this42 = this;
1593
+ for (var _len33 = arguments.length, args = new Array(_len33), _key33 = 0; _key33 < _len33; _key33++) {
1594
+ args[_key33] = arguments[_key33];
1555
1595
  }
1556
1596
  return this.measurePerformance('joinOrRequestDefaultAccessToProductsBulk', function () {
1557
- var _this41$_invitationsC;
1558
- return (_this41$_invitationsC = _this41._invitationsClient).joinOrRequestDefaultAccessToProductsBulk.apply(_this41$_invitationsC, args);
1597
+ var _this42$_invitationsC;
1598
+ return (_this42$_invitationsC = _this42._invitationsClient).joinOrRequestDefaultAccessToProductsBulk.apply(_this42$_invitationsC, args);
1559
1599
  });
1560
1600
  }
1561
1601
 
@@ -1565,19 +1605,19 @@ export var TeamsClient = /*#__PURE__*/function () {
1565
1605
  }, {
1566
1606
  key: "getWriteTeamMediaToken",
1567
1607
  value: (function () {
1568
- var _getWriteTeamMediaToken = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee41() {
1569
- var _this42 = this;
1570
- return _regeneratorRuntime.wrap(function _callee41$(_context41) {
1571
- while (1) switch (_context41.prev = _context41.next) {
1608
+ var _getWriteTeamMediaToken = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee42() {
1609
+ var _this43 = this;
1610
+ return _regeneratorRuntime.wrap(function _callee42$(_context42) {
1611
+ while (1) switch (_context42.prev = _context42.next) {
1572
1612
  case 0:
1573
- return _context41.abrupt("return", this.measurePerformance('getWriteTeamMediaToken', function () {
1574
- return _this42._legionClient.getWriteMediaToken();
1613
+ return _context42.abrupt("return", this.measurePerformance('getWriteTeamMediaToken', function () {
1614
+ return _this43._legionClient.getWriteMediaToken();
1575
1615
  }));
1576
1616
  case 1:
1577
1617
  case "end":
1578
- return _context41.stop();
1618
+ return _context42.stop();
1579
1619
  }
1580
- }, _callee41, this);
1620
+ }, _callee42, this);
1581
1621
  }));
1582
1622
  function getWriteTeamMediaToken() {
1583
1623
  return _getWriteTeamMediaToken.apply(this, arguments);
@@ -1591,27 +1631,27 @@ export var TeamsClient = /*#__PURE__*/function () {
1591
1631
  }, {
1592
1632
  key: "getReadMediaToken",
1593
1633
  value: (function () {
1594
- var _getReadMediaToken = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee42() {
1595
- var _this43 = this;
1596
- var _len33,
1634
+ var _getReadMediaToken = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee43() {
1635
+ var _this44 = this;
1636
+ var _len34,
1597
1637
  args,
1598
- _key33,
1599
- _args42 = arguments;
1600
- return _regeneratorRuntime.wrap(function _callee42$(_context42) {
1601
- while (1) switch (_context42.prev = _context42.next) {
1638
+ _key34,
1639
+ _args43 = arguments;
1640
+ return _regeneratorRuntime.wrap(function _callee43$(_context43) {
1641
+ while (1) switch (_context43.prev = _context43.next) {
1602
1642
  case 0:
1603
- for (_len33 = _args42.length, args = new Array(_len33), _key33 = 0; _key33 < _len33; _key33++) {
1604
- args[_key33] = _args42[_key33];
1643
+ for (_len34 = _args43.length, args = new Array(_len34), _key34 = 0; _key34 < _len34; _key34++) {
1644
+ args[_key34] = _args43[_key34];
1605
1645
  }
1606
- return _context42.abrupt("return", this.measurePerformance('getReadMediaToken', function () {
1607
- var _this43$_userPreferen;
1608
- return (_this43$_userPreferen = _this43._userPreferencesClient).getReadMediaToken.apply(_this43$_userPreferen, args);
1646
+ return _context43.abrupt("return", this.measurePerformance('getReadMediaToken', function () {
1647
+ var _this44$_userPreferen;
1648
+ return (_this44$_userPreferen = _this44._userPreferencesClient).getReadMediaToken.apply(_this44$_userPreferen, args);
1609
1649
  }));
1610
1650
  case 2:
1611
1651
  case "end":
1612
- return _context42.stop();
1652
+ return _context43.stop();
1613
1653
  }
1614
- }, _callee42, this);
1654
+ }, _callee43, this);
1615
1655
  }));
1616
1656
  function getReadMediaToken() {
1617
1657
  return _getReadMediaToken.apply(this, arguments);
@@ -1625,39 +1665,13 @@ export var TeamsClient = /*#__PURE__*/function () {
1625
1665
  }, {
1626
1666
  key: "getWriteUserMediaToken",
1627
1667
  value: (function () {
1628
- var _getWriteUserMediaToken = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee43() {
1629
- var _this44 = this;
1630
- return _regeneratorRuntime.wrap(function _callee43$(_context43) {
1631
- while (1) switch (_context43.prev = _context43.next) {
1632
- case 0:
1633
- return _context43.abrupt("return", this.measurePerformance('getWriteUserMediaToken', function () {
1634
- return _this44._userPreferencesClient.getWriteMediaToken();
1635
- }));
1636
- case 1:
1637
- case "end":
1638
- return _context43.stop();
1639
- }
1640
- }, _callee43, this);
1641
- }));
1642
- function getWriteUserMediaToken() {
1643
- return _getWriteUserMediaToken.apply(this, arguments);
1644
- }
1645
- return getWriteUserMediaToken;
1646
- }()
1647
- /**
1648
- * Update header image for a user
1649
- */
1650
- )
1651
- }, {
1652
- key: "updateUserHeaderImage",
1653
- value: (function () {
1654
- var _updateUserHeaderImage = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee44(headerImageId) {
1668
+ var _getWriteUserMediaToken = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee44() {
1655
1669
  var _this45 = this;
1656
1670
  return _regeneratorRuntime.wrap(function _callee44$(_context44) {
1657
1671
  while (1) switch (_context44.prev = _context44.next) {
1658
1672
  case 0:
1659
- return _context44.abrupt("return", this.measurePerformance('updateUserHeaderImage', function () {
1660
- return _this45._userPreferencesClient.updateUserHeaderImage(headerImageId);
1673
+ return _context44.abrupt("return", this.measurePerformance('getWriteUserMediaToken', function () {
1674
+ return _this45._userPreferencesClient.getWriteMediaToken();
1661
1675
  }));
1662
1676
  case 1:
1663
1677
  case "end":
@@ -1665,53 +1679,45 @@ export var TeamsClient = /*#__PURE__*/function () {
1665
1679
  }
1666
1680
  }, _callee44, this);
1667
1681
  }));
1668
- function updateUserHeaderImage(_x13) {
1669
- return _updateUserHeaderImage.apply(this, arguments);
1682
+ function getWriteUserMediaToken() {
1683
+ return _getWriteUserMediaToken.apply(this, arguments);
1670
1684
  }
1671
- return updateUserHeaderImage;
1685
+ return getWriteUserMediaToken;
1672
1686
  }()
1673
1687
  /**
1674
- * Fetch user containers from collboration graph
1688
+ * Update header image for a user
1675
1689
  */
1676
1690
  )
1677
1691
  }, {
1678
- key: "getUserContainers",
1692
+ key: "updateUserHeaderImage",
1679
1693
  value: (function () {
1680
- var _getUserContainers = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee45() {
1694
+ var _updateUserHeaderImage = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee45(headerImageId) {
1681
1695
  var _this46 = this;
1682
- var _len34,
1683
- args,
1684
- _key34,
1685
- _args45 = arguments;
1686
1696
  return _regeneratorRuntime.wrap(function _callee45$(_context45) {
1687
1697
  while (1) switch (_context45.prev = _context45.next) {
1688
1698
  case 0:
1689
- for (_len34 = _args45.length, args = new Array(_len34), _key34 = 0; _key34 < _len34; _key34++) {
1690
- args[_key34] = _args45[_key34];
1691
- }
1692
- return _context45.abrupt("return", this.measurePerformance('getUserContainers', function () {
1693
- var _this46$_collaboratio;
1694
- return (_this46$_collaboratio = _this46._collaborationGraphClient).getUserContainers.apply(_this46$_collaboratio, args);
1699
+ return _context45.abrupt("return", this.measurePerformance('updateUserHeaderImage', function () {
1700
+ return _this46._userPreferencesClient.updateUserHeaderImage(headerImageId);
1695
1701
  }));
1696
- case 2:
1702
+ case 1:
1697
1703
  case "end":
1698
1704
  return _context45.stop();
1699
1705
  }
1700
1706
  }, _callee45, this);
1701
1707
  }));
1702
- function getUserContainers() {
1703
- return _getUserContainers.apply(this, arguments);
1708
+ function updateUserHeaderImage(_x13) {
1709
+ return _updateUserHeaderImage.apply(this, arguments);
1704
1710
  }
1705
- return getUserContainers;
1711
+ return updateUserHeaderImage;
1706
1712
  }()
1707
1713
  /**
1708
- * Fetch mutatability of external managed user fields
1714
+ * Fetch user containers from collboration graph
1709
1715
  */
1710
1716
  )
1711
1717
  }, {
1712
- key: "getUserManageConfig",
1718
+ key: "getUserContainers",
1713
1719
  value: (function () {
1714
- var _getUserManageConfig = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee46() {
1720
+ var _getUserContainers = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee46() {
1715
1721
  var _this47 = this;
1716
1722
  var _len35,
1717
1723
  args,
@@ -1723,9 +1729,9 @@ export var TeamsClient = /*#__PURE__*/function () {
1723
1729
  for (_len35 = _args46.length, args = new Array(_len35), _key35 = 0; _key35 < _len35; _key35++) {
1724
1730
  args[_key35] = _args46[_key35];
1725
1731
  }
1726
- return _context46.abrupt("return", this.measurePerformance('getUserManageConfig', function () {
1727
- var _this47$_identityClie;
1728
- return (_this47$_identityClie = _this47._identityClient).getUserManageConfig.apply(_this47$_identityClie, args);
1732
+ return _context46.abrupt("return", this.measurePerformance('getUserContainers', function () {
1733
+ var _this47$_collaboratio;
1734
+ return (_this47$_collaboratio = _this47._collaborationGraphClient).getUserContainers.apply(_this47$_collaboratio, args);
1729
1735
  }));
1730
1736
  case 2:
1731
1737
  case "end":
@@ -1733,19 +1739,19 @@ export var TeamsClient = /*#__PURE__*/function () {
1733
1739
  }
1734
1740
  }, _callee46, this);
1735
1741
  }));
1736
- function getUserManageConfig() {
1737
- return _getUserManageConfig.apply(this, arguments);
1742
+ function getUserContainers() {
1743
+ return _getUserContainers.apply(this, arguments);
1738
1744
  }
1739
- return getUserManageConfig;
1745
+ return getUserContainers;
1740
1746
  }()
1741
1747
  /**
1742
- * Fetch user avatar uploaded status
1748
+ * Fetch mutatability of external managed user fields
1743
1749
  */
1744
1750
  )
1745
1751
  }, {
1746
- key: "getMyAvatarUploadedStatus",
1752
+ key: "getUserManageConfig",
1747
1753
  value: (function () {
1748
- var _getMyAvatarUploadedStatus = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee47() {
1754
+ var _getUserManageConfig = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee47() {
1749
1755
  var _this48 = this;
1750
1756
  var _len36,
1751
1757
  args,
@@ -1757,9 +1763,9 @@ export var TeamsClient = /*#__PURE__*/function () {
1757
1763
  for (_len36 = _args47.length, args = new Array(_len36), _key36 = 0; _key36 < _len36; _key36++) {
1758
1764
  args[_key36] = _args47[_key36];
1759
1765
  }
1760
- return _context47.abrupt("return", this.measurePerformance('getMyAvatarUploadedStatus', function () {
1766
+ return _context47.abrupt("return", this.measurePerformance('getUserManageConfig', function () {
1761
1767
  var _this48$_identityClie;
1762
- return (_this48$_identityClie = _this48._identityClient).getMyAvatarUploadedStatus.apply(_this48$_identityClie, args);
1768
+ return (_this48$_identityClie = _this48._identityClient).getUserManageConfig.apply(_this48$_identityClie, args);
1763
1769
  }));
1764
1770
  case 2:
1765
1771
  case "end":
@@ -1767,19 +1773,19 @@ export var TeamsClient = /*#__PURE__*/function () {
1767
1773
  }
1768
1774
  }, _callee47, this);
1769
1775
  }));
1770
- function getMyAvatarUploadedStatus() {
1771
- return _getMyAvatarUploadedStatus.apply(this, arguments);
1776
+ function getUserManageConfig() {
1777
+ return _getUserManageConfig.apply(this, arguments);
1772
1778
  }
1773
- return getMyAvatarUploadedStatus;
1779
+ return getUserManageConfig;
1774
1780
  }()
1775
1781
  /**
1776
- * Delete user avatar
1782
+ * Fetch user avatar uploaded status
1777
1783
  */
1778
1784
  )
1779
1785
  }, {
1780
- key: "deleteAvatar",
1786
+ key: "getMyAvatarUploadedStatus",
1781
1787
  value: (function () {
1782
- var _deleteAvatar = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee48() {
1788
+ var _getMyAvatarUploadedStatus = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee48() {
1783
1789
  var _this49 = this;
1784
1790
  var _len37,
1785
1791
  args,
@@ -1791,9 +1797,9 @@ export var TeamsClient = /*#__PURE__*/function () {
1791
1797
  for (_len37 = _args48.length, args = new Array(_len37), _key37 = 0; _key37 < _len37; _key37++) {
1792
1798
  args[_key37] = _args48[_key37];
1793
1799
  }
1794
- return _context48.abrupt("return", this.measurePerformance('deleteUserAvatar', function () {
1800
+ return _context48.abrupt("return", this.measurePerformance('getMyAvatarUploadedStatus', function () {
1795
1801
  var _this49$_identityClie;
1796
- return (_this49$_identityClie = _this49._identityClient).deleteAvatar.apply(_this49$_identityClie, args);
1802
+ return (_this49$_identityClie = _this49._identityClient).getMyAvatarUploadedStatus.apply(_this49$_identityClie, args);
1797
1803
  }));
1798
1804
  case 2:
1799
1805
  case "end":
@@ -1801,15 +1807,19 @@ export var TeamsClient = /*#__PURE__*/function () {
1801
1807
  }
1802
1808
  }, _callee48, this);
1803
1809
  }));
1804
- function deleteAvatar() {
1805
- return _deleteAvatar.apply(this, arguments);
1810
+ function getMyAvatarUploadedStatus() {
1811
+ return _getMyAvatarUploadedStatus.apply(this, arguments);
1806
1812
  }
1807
- return deleteAvatar;
1808
- }())
1813
+ return getMyAvatarUploadedStatus;
1814
+ }()
1815
+ /**
1816
+ * Delete user avatar
1817
+ */
1818
+ )
1809
1819
  }, {
1810
- key: "fetchUserAvatarInfo",
1811
- value: function () {
1812
- var _fetchUserAvatarInfo = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee49() {
1820
+ key: "deleteAvatar",
1821
+ value: (function () {
1822
+ var _deleteAvatar = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee49() {
1813
1823
  var _this50 = this;
1814
1824
  var _len38,
1815
1825
  args,
@@ -1821,9 +1831,9 @@ export var TeamsClient = /*#__PURE__*/function () {
1821
1831
  for (_len38 = _args49.length, args = new Array(_len38), _key38 = 0; _key38 < _len38; _key38++) {
1822
1832
  args[_key38] = _args49[_key38];
1823
1833
  }
1824
- return _context49.abrupt("return", this.measurePerformance('fetchUserAvatarInfo', function () {
1834
+ return _context49.abrupt("return", this.measurePerformance('deleteUserAvatar', function () {
1825
1835
  var _this50$_identityClie;
1826
- return (_this50$_identityClie = _this50._identityClient).fetchUserAvatarInfo.apply(_this50$_identityClie, args);
1836
+ return (_this50$_identityClie = _this50._identityClient).deleteAvatar.apply(_this50$_identityClie, args);
1827
1837
  }));
1828
1838
  case 2:
1829
1839
  case "end":
@@ -1831,18 +1841,15 @@ export var TeamsClient = /*#__PURE__*/function () {
1831
1841
  }
1832
1842
  }, _callee49, this);
1833
1843
  }));
1834
- function fetchUserAvatarInfo() {
1835
- return _fetchUserAvatarInfo.apply(this, arguments);
1844
+ function deleteAvatar() {
1845
+ return _deleteAvatar.apply(this, arguments);
1836
1846
  }
1837
- return fetchUserAvatarInfo;
1838
- }()
1839
- /**
1840
- * Fetch Team link icons
1841
- */
1847
+ return deleteAvatar;
1848
+ }())
1842
1849
  }, {
1843
- key: "getTeamLinkIcons",
1844
- value: (function () {
1845
- var _getTeamLinkIcons = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee50() {
1850
+ key: "fetchUserAvatarInfo",
1851
+ value: function () {
1852
+ var _fetchUserAvatarInfo = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee50() {
1846
1853
  var _this51 = this;
1847
1854
  var _len39,
1848
1855
  args,
@@ -1854,9 +1861,9 @@ export var TeamsClient = /*#__PURE__*/function () {
1854
1861
  for (_len39 = _args50.length, args = new Array(_len39), _key39 = 0; _key39 < _len39; _key39++) {
1855
1862
  args[_key39] = _args50[_key39];
1856
1863
  }
1857
- return _context50.abrupt("return", this.measurePerformance('getTeamLinkIcons', function () {
1858
- var _this51$_objectResolv;
1859
- return (_this51$_objectResolv = _this51._objectResolverClient).getTeamLinkIcons.apply(_this51$_objectResolv, args);
1864
+ return _context50.abrupt("return", this.measurePerformance('fetchUserAvatarInfo', function () {
1865
+ var _this51$_identityClie;
1866
+ return (_this51$_identityClie = _this51._identityClient).fetchUserAvatarInfo.apply(_this51$_identityClie, args);
1860
1867
  }));
1861
1868
  case 2:
1862
1869
  case "end":
@@ -1864,19 +1871,18 @@ export var TeamsClient = /*#__PURE__*/function () {
1864
1871
  }
1865
1872
  }, _callee50, this);
1866
1873
  }));
1867
- function getTeamLinkIcons() {
1868
- return _getTeamLinkIcons.apply(this, arguments);
1874
+ function fetchUserAvatarInfo() {
1875
+ return _fetchUserAvatarInfo.apply(this, arguments);
1869
1876
  }
1870
- return getTeamLinkIcons;
1877
+ return fetchUserAvatarInfo;
1871
1878
  }()
1872
1879
  /**
1873
- * Fetch ARI from URL
1880
+ * Fetch Team link icons
1874
1881
  */
1875
- )
1876
1882
  }, {
1877
- key: "getAriFromUrl",
1883
+ key: "getTeamLinkIcons",
1878
1884
  value: (function () {
1879
- var _getAriFromUrl = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee51() {
1885
+ var _getTeamLinkIcons = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee51() {
1880
1886
  var _this52 = this;
1881
1887
  var _len40,
1882
1888
  args,
@@ -1888,9 +1894,9 @@ export var TeamsClient = /*#__PURE__*/function () {
1888
1894
  for (_len40 = _args51.length, args = new Array(_len40), _key40 = 0; _key40 < _len40; _key40++) {
1889
1895
  args[_key40] = _args51[_key40];
1890
1896
  }
1891
- return _context51.abrupt("return", this.measurePerformance('getAriFromUrl', function () {
1897
+ return _context51.abrupt("return", this.measurePerformance('getTeamLinkIcons', function () {
1892
1898
  var _this52$_objectResolv;
1893
- return (_this52$_objectResolv = _this52._objectResolverClient).getAriFromUrl.apply(_this52$_objectResolv, args);
1899
+ return (_this52$_objectResolv = _this52._objectResolverClient).getTeamLinkIcons.apply(_this52$_objectResolv, args);
1894
1900
  }));
1895
1901
  case 2:
1896
1902
  case "end":
@@ -1898,19 +1904,19 @@ export var TeamsClient = /*#__PURE__*/function () {
1898
1904
  }
1899
1905
  }, _callee51, this);
1900
1906
  }));
1901
- function getAriFromUrl() {
1902
- return _getAriFromUrl.apply(this, arguments);
1907
+ function getTeamLinkIcons() {
1908
+ return _getTeamLinkIcons.apply(this, arguments);
1903
1909
  }
1904
- return getAriFromUrl;
1910
+ return getTeamLinkIcons;
1905
1911
  }()
1906
1912
  /**
1907
- * Fetch web link title
1913
+ * Fetch ARI from URL
1908
1914
  */
1909
1915
  )
1910
1916
  }, {
1911
- key: "getWebLinkTitle",
1917
+ key: "getAriFromUrl",
1912
1918
  value: (function () {
1913
- var _getWebLinkTitle = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee52() {
1919
+ var _getAriFromUrl = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee52() {
1914
1920
  var _this53 = this;
1915
1921
  var _len41,
1916
1922
  args,
@@ -1922,9 +1928,9 @@ export var TeamsClient = /*#__PURE__*/function () {
1922
1928
  for (_len41 = _args52.length, args = new Array(_len41), _key41 = 0; _key41 < _len41; _key41++) {
1923
1929
  args[_key41] = _args52[_key41];
1924
1930
  }
1925
- return _context52.abrupt("return", this.measurePerformance('getWebLinkTitle', function () {
1931
+ return _context52.abrupt("return", this.measurePerformance('getAriFromUrl', function () {
1926
1932
  var _this53$_objectResolv;
1927
- return (_this53$_objectResolv = _this53._objectResolverClient).getWebLinkTitle.apply(_this53$_objectResolv, args);
1933
+ return (_this53$_objectResolv = _this53._objectResolverClient).getAriFromUrl.apply(_this53$_objectResolv, args);
1928
1934
  }));
1929
1935
  case 2:
1930
1936
  case "end":
@@ -1932,19 +1938,19 @@ export var TeamsClient = /*#__PURE__*/function () {
1932
1938
  }
1933
1939
  }, _callee52, this);
1934
1940
  }));
1935
- function getWebLinkTitle() {
1936
- return _getWebLinkTitle.apply(this, arguments);
1941
+ function getAriFromUrl() {
1942
+ return _getAriFromUrl.apply(this, arguments);
1937
1943
  }
1938
- return getWebLinkTitle;
1944
+ return getAriFromUrl;
1939
1945
  }()
1940
1946
  /**
1941
- * Fetch team in slack details
1947
+ * Fetch web link title
1942
1948
  */
1943
1949
  )
1944
1950
  }, {
1945
- key: "getTeamInSlack",
1951
+ key: "getWebLinkTitle",
1946
1952
  value: (function () {
1947
- var _getTeamInSlack = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee53() {
1953
+ var _getWebLinkTitle = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee53() {
1948
1954
  var _this54 = this;
1949
1955
  var _len42,
1950
1956
  args,
@@ -1956,9 +1962,9 @@ export var TeamsClient = /*#__PURE__*/function () {
1956
1962
  for (_len42 = _args53.length, args = new Array(_len42), _key42 = 0; _key42 < _len42; _key42++) {
1957
1963
  args[_key42] = _args53[_key42];
1958
1964
  }
1959
- return _context53.abrupt("return", this.measurePerformance('getTeamInSlack', function () {
1960
- var _this54$_teamsInSlack;
1961
- return (_this54$_teamsInSlack = _this54._teamsInSlackClient).getTeamInSlack.apply(_this54$_teamsInSlack, args);
1965
+ return _context53.abrupt("return", this.measurePerformance('getWebLinkTitle', function () {
1966
+ var _this54$_objectResolv;
1967
+ return (_this54$_objectResolv = _this54._objectResolverClient).getWebLinkTitle.apply(_this54$_objectResolv, args);
1962
1968
  }));
1963
1969
  case 2:
1964
1970
  case "end":
@@ -1966,19 +1972,19 @@ export var TeamsClient = /*#__PURE__*/function () {
1966
1972
  }
1967
1973
  }, _callee53, this);
1968
1974
  }));
1969
- function getTeamInSlack() {
1970
- return _getTeamInSlack.apply(this, arguments);
1975
+ function getWebLinkTitle() {
1976
+ return _getWebLinkTitle.apply(this, arguments);
1971
1977
  }
1972
- return getTeamInSlack;
1978
+ return getWebLinkTitle;
1973
1979
  }()
1974
1980
  /**
1975
- * Delete team in slack
1981
+ * Fetch team in slack details
1976
1982
  */
1977
1983
  )
1978
1984
  }, {
1979
- key: "disconnectTeamInSlack",
1985
+ key: "getTeamInSlack",
1980
1986
  value: (function () {
1981
- var _disconnectTeamInSlack = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee54() {
1987
+ var _getTeamInSlack = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee54() {
1982
1988
  var _this55 = this;
1983
1989
  var _len43,
1984
1990
  args,
@@ -1990,9 +1996,9 @@ export var TeamsClient = /*#__PURE__*/function () {
1990
1996
  for (_len43 = _args54.length, args = new Array(_len43), _key43 = 0; _key43 < _len43; _key43++) {
1991
1997
  args[_key43] = _args54[_key43];
1992
1998
  }
1993
- return _context54.abrupt("return", this.measurePerformance('disconnectTeamInSlack', function () {
1999
+ return _context54.abrupt("return", this.measurePerformance('getTeamInSlack', function () {
1994
2000
  var _this55$_teamsInSlack;
1995
- return (_this55$_teamsInSlack = _this55._teamsInSlackClient).disconnectTeamInSlack.apply(_this55$_teamsInSlack, args);
2001
+ return (_this55$_teamsInSlack = _this55._teamsInSlackClient).getTeamInSlack.apply(_this55$_teamsInSlack, args);
1996
2002
  }));
1997
2003
  case 2:
1998
2004
  case "end":
@@ -2000,19 +2006,19 @@ export var TeamsClient = /*#__PURE__*/function () {
2000
2006
  }
2001
2007
  }, _callee54, this);
2002
2008
  }));
2003
- function disconnectTeamInSlack() {
2004
- return _disconnectTeamInSlack.apply(this, arguments);
2009
+ function getTeamInSlack() {
2010
+ return _getTeamInSlack.apply(this, arguments);
2005
2011
  }
2006
- return disconnectTeamInSlack;
2012
+ return getTeamInSlack;
2007
2013
  }()
2008
2014
  /**
2009
- * Update team in slack
2015
+ * Delete team in slack
2010
2016
  */
2011
2017
  )
2012
2018
  }, {
2013
- key: "updateTeamInSlack",
2019
+ key: "disconnectTeamInSlack",
2014
2020
  value: (function () {
2015
- var _updateTeamInSlack = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee55() {
2021
+ var _disconnectTeamInSlack = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee55() {
2016
2022
  var _this56 = this;
2017
2023
  var _len44,
2018
2024
  args,
@@ -2024,9 +2030,9 @@ export var TeamsClient = /*#__PURE__*/function () {
2024
2030
  for (_len44 = _args55.length, args = new Array(_len44), _key44 = 0; _key44 < _len44; _key44++) {
2025
2031
  args[_key44] = _args55[_key44];
2026
2032
  }
2027
- return _context55.abrupt("return", this.measurePerformance('updateTeamInSlack', function () {
2033
+ return _context55.abrupt("return", this.measurePerformance('disconnectTeamInSlack', function () {
2028
2034
  var _this56$_teamsInSlack;
2029
- return (_this56$_teamsInSlack = _this56._teamsInSlackClient).updateTeamInSlack.apply(_this56$_teamsInSlack, args);
2035
+ return (_this56$_teamsInSlack = _this56._teamsInSlackClient).disconnectTeamInSlack.apply(_this56$_teamsInSlack, args);
2030
2036
  }));
2031
2037
  case 2:
2032
2038
  case "end":
@@ -2034,19 +2040,19 @@ export var TeamsClient = /*#__PURE__*/function () {
2034
2040
  }
2035
2041
  }, _callee55, this);
2036
2042
  }));
2037
- function updateTeamInSlack() {
2038
- return _updateTeamInSlack.apply(this, arguments);
2043
+ function disconnectTeamInSlack() {
2044
+ return _disconnectTeamInSlack.apply(this, arguments);
2039
2045
  }
2040
- return updateTeamInSlack;
2046
+ return disconnectTeamInSlack;
2041
2047
  }()
2042
2048
  /**
2043
- * Update user details
2049
+ * Update team in slack
2044
2050
  */
2045
2051
  )
2046
2052
  }, {
2047
- key: "updateUser",
2053
+ key: "updateTeamInSlack",
2048
2054
  value: (function () {
2049
- var _updateUser = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee56() {
2055
+ var _updateTeamInSlack = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee56() {
2050
2056
  var _this57 = this;
2051
2057
  var _len45,
2052
2058
  args,
@@ -2058,9 +2064,9 @@ export var TeamsClient = /*#__PURE__*/function () {
2058
2064
  for (_len45 = _args56.length, args = new Array(_len45), _key45 = 0; _key45 < _len45; _key45++) {
2059
2065
  args[_key45] = _args56[_key45];
2060
2066
  }
2061
- return _context56.abrupt("return", this.measurePerformance('updateUser', function () {
2062
- var _this57$_identityClie;
2063
- return (_this57$_identityClie = _this57._identityClient).updateUser.apply(_this57$_identityClie, args);
2067
+ return _context56.abrupt("return", this.measurePerformance('updateTeamInSlack', function () {
2068
+ var _this57$_teamsInSlack;
2069
+ return (_this57$_teamsInSlack = _this57._teamsInSlackClient).updateTeamInSlack.apply(_this57$_teamsInSlack, args);
2064
2070
  }));
2065
2071
  case 2:
2066
2072
  case "end":
@@ -2068,15 +2074,19 @@ export var TeamsClient = /*#__PURE__*/function () {
2068
2074
  }
2069
2075
  }, _callee56, this);
2070
2076
  }));
2071
- function updateUser() {
2072
- return _updateUser.apply(this, arguments);
2077
+ function updateTeamInSlack() {
2078
+ return _updateTeamInSlack.apply(this, arguments);
2073
2079
  }
2074
- return updateUser;
2075
- }())
2080
+ return updateTeamInSlack;
2081
+ }()
2082
+ /**
2083
+ * Update user details
2084
+ */
2085
+ )
2076
2086
  }, {
2077
- key: "updateUserAvatar",
2078
- value: function () {
2079
- var _updateUserAvatar = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee57() {
2087
+ key: "updateUser",
2088
+ value: (function () {
2089
+ var _updateUser = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee57() {
2080
2090
  var _this58 = this;
2081
2091
  var _len46,
2082
2092
  args,
@@ -2088,9 +2098,9 @@ export var TeamsClient = /*#__PURE__*/function () {
2088
2098
  for (_len46 = _args57.length, args = new Array(_len46), _key46 = 0; _key46 < _len46; _key46++) {
2089
2099
  args[_key46] = _args57[_key46];
2090
2100
  }
2091
- return _context57.abrupt("return", this.measurePerformance('updateUserAvatar', function () {
2101
+ return _context57.abrupt("return", this.measurePerformance('updateUser', function () {
2092
2102
  var _this58$_identityClie;
2093
- return (_this58$_identityClie = _this58._identityClient).updateUserAvatar.apply(_this58$_identityClie, args);
2103
+ return (_this58$_identityClie = _this58._identityClient).updateUser.apply(_this58$_identityClie, args);
2094
2104
  }));
2095
2105
  case 2:
2096
2106
  case "end":
@@ -2098,6 +2108,36 @@ export var TeamsClient = /*#__PURE__*/function () {
2098
2108
  }
2099
2109
  }, _callee57, this);
2100
2110
  }));
2111
+ function updateUser() {
2112
+ return _updateUser.apply(this, arguments);
2113
+ }
2114
+ return updateUser;
2115
+ }())
2116
+ }, {
2117
+ key: "updateUserAvatar",
2118
+ value: function () {
2119
+ var _updateUserAvatar = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee58() {
2120
+ var _this59 = this;
2121
+ var _len47,
2122
+ args,
2123
+ _key47,
2124
+ _args58 = arguments;
2125
+ return _regeneratorRuntime.wrap(function _callee58$(_context58) {
2126
+ while (1) switch (_context58.prev = _context58.next) {
2127
+ case 0:
2128
+ for (_len47 = _args58.length, args = new Array(_len47), _key47 = 0; _key47 < _len47; _key47++) {
2129
+ args[_key47] = _args58[_key47];
2130
+ }
2131
+ return _context58.abrupt("return", this.measurePerformance('updateUserAvatar', function () {
2132
+ var _this59$_identityClie;
2133
+ return (_this59$_identityClie = _this59._identityClient).updateUserAvatar.apply(_this59$_identityClie, args);
2134
+ }));
2135
+ case 2:
2136
+ case "end":
2137
+ return _context58.stop();
2138
+ }
2139
+ }, _callee58, this);
2140
+ }));
2101
2141
  function updateUserAvatar() {
2102
2142
  return _updateUserAvatar.apply(this, arguments);
2103
2143
  }
@@ -2106,18 +2146,18 @@ export var TeamsClient = /*#__PURE__*/function () {
2106
2146
  }, {
2107
2147
  key: "addTeamWatcher",
2108
2148
  value: function () {
2109
- var _addTeamWatcher = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee58() {
2149
+ var _addTeamWatcher = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee59() {
2110
2150
  var _this$_teamCentralCli;
2111
- var _args58 = arguments;
2112
- return _regeneratorRuntime.wrap(function _callee58$(_context58) {
2113
- while (1) switch (_context58.prev = _context58.next) {
2151
+ var _args59 = arguments;
2152
+ return _regeneratorRuntime.wrap(function _callee59$(_context59) {
2153
+ while (1) switch (_context59.prev = _context59.next) {
2114
2154
  case 0:
2115
- return _context58.abrupt("return", (_this$_teamCentralCli = this._teamCentralClient).addTeamWatcher.apply(_this$_teamCentralCli, _args58));
2155
+ return _context59.abrupt("return", (_this$_teamCentralCli = this._teamCentralClient).addTeamWatcher.apply(_this$_teamCentralCli, _args59));
2116
2156
  case 1:
2117
2157
  case "end":
2118
- return _context58.stop();
2158
+ return _context59.stop();
2119
2159
  }
2120
- }, _callee58, this);
2160
+ }, _callee59, this);
2121
2161
  }));
2122
2162
  function addTeamWatcher() {
2123
2163
  return _addTeamWatcher.apply(this, arguments);
@@ -2127,18 +2167,18 @@ export var TeamsClient = /*#__PURE__*/function () {
2127
2167
  }, {
2128
2168
  key: "removeTeamWatcher",
2129
2169
  value: function () {
2130
- var _removeTeamWatcher = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee59() {
2170
+ var _removeTeamWatcher = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee60() {
2131
2171
  var _this$_teamCentralCli2;
2132
- var _args59 = arguments;
2133
- return _regeneratorRuntime.wrap(function _callee59$(_context59) {
2134
- while (1) switch (_context59.prev = _context59.next) {
2172
+ var _args60 = arguments;
2173
+ return _regeneratorRuntime.wrap(function _callee60$(_context60) {
2174
+ while (1) switch (_context60.prev = _context60.next) {
2135
2175
  case 0:
2136
- return _context59.abrupt("return", (_this$_teamCentralCli2 = this._teamCentralClient).removeTeamWatcher.apply(_this$_teamCentralCli2, _args59));
2176
+ return _context60.abrupt("return", (_this$_teamCentralCli2 = this._teamCentralClient).removeTeamWatcher.apply(_this$_teamCentralCli2, _args60));
2137
2177
  case 1:
2138
2178
  case "end":
2139
- return _context59.stop();
2179
+ return _context60.stop();
2140
2180
  }
2141
- }, _callee59, this);
2181
+ }, _callee60, this);
2142
2182
  }));
2143
2183
  function removeTeamWatcher() {
2144
2184
  return _removeTeamWatcher.apply(this, arguments);
@@ -2148,18 +2188,18 @@ export var TeamsClient = /*#__PURE__*/function () {
2148
2188
  }, {
2149
2189
  key: "deleteKudos",
2150
2190
  value: function () {
2151
- var _deleteKudos = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee60() {
2191
+ var _deleteKudos = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee61() {
2152
2192
  var _this$_teamCentralCli3;
2153
- var _args60 = arguments;
2154
- return _regeneratorRuntime.wrap(function _callee60$(_context60) {
2155
- while (1) switch (_context60.prev = _context60.next) {
2193
+ var _args61 = arguments;
2194
+ return _regeneratorRuntime.wrap(function _callee61$(_context61) {
2195
+ while (1) switch (_context61.prev = _context61.next) {
2156
2196
  case 0:
2157
- return _context60.abrupt("return", (_this$_teamCentralCli3 = this._teamCentralClient).deleteKudos.apply(_this$_teamCentralCli3, _args60));
2197
+ return _context61.abrupt("return", (_this$_teamCentralCli3 = this._teamCentralClient).deleteKudos.apply(_this$_teamCentralCli3, _args61));
2158
2198
  case 1:
2159
2199
  case "end":
2160
- return _context60.stop();
2200
+ return _context61.stop();
2161
2201
  }
2162
- }, _callee60, this);
2202
+ }, _callee61, this);
2163
2203
  }));
2164
2204
  function deleteKudos() {
2165
2205
  return _deleteKudos.apply(this, arguments);
@@ -2169,18 +2209,18 @@ export var TeamsClient = /*#__PURE__*/function () {
2169
2209
  }, {
2170
2210
  key: "queryTagList",
2171
2211
  value: function () {
2172
- var _queryTagList = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee61() {
2212
+ var _queryTagList = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee62() {
2173
2213
  var _this$_teamCentralCli4;
2174
- var _args61 = arguments;
2175
- return _regeneratorRuntime.wrap(function _callee61$(_context61) {
2176
- while (1) switch (_context61.prev = _context61.next) {
2214
+ var _args62 = arguments;
2215
+ return _regeneratorRuntime.wrap(function _callee62$(_context62) {
2216
+ while (1) switch (_context62.prev = _context62.next) {
2177
2217
  case 0:
2178
- return _context61.abrupt("return", (_this$_teamCentralCli4 = this._teamCentralClient).queryTagList.apply(_this$_teamCentralCli4, _args61));
2218
+ return _context62.abrupt("return", (_this$_teamCentralCli4 = this._teamCentralClient).queryTagList.apply(_this$_teamCentralCli4, _args62));
2179
2219
  case 1:
2180
2220
  case "end":
2181
- return _context61.stop();
2221
+ return _context62.stop();
2182
2222
  }
2183
- }, _callee61, this);
2223
+ }, _callee62, this);
2184
2224
  }));
2185
2225
  function queryTagList() {
2186
2226
  return _queryTagList.apply(this, arguments);
@@ -2190,18 +2230,18 @@ export var TeamsClient = /*#__PURE__*/function () {
2190
2230
  }, {
2191
2231
  key: "createTag",
2192
2232
  value: function () {
2193
- var _createTag = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee62() {
2233
+ var _createTag = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee63() {
2194
2234
  var _this$_teamCentralCli5;
2195
- var _args62 = arguments;
2196
- return _regeneratorRuntime.wrap(function _callee62$(_context62) {
2197
- while (1) switch (_context62.prev = _context62.next) {
2235
+ var _args63 = arguments;
2236
+ return _regeneratorRuntime.wrap(function _callee63$(_context63) {
2237
+ while (1) switch (_context63.prev = _context63.next) {
2198
2238
  case 0:
2199
- return _context62.abrupt("return", (_this$_teamCentralCli5 = this._teamCentralClient).createTag.apply(_this$_teamCentralCli5, _args62));
2239
+ return _context63.abrupt("return", (_this$_teamCentralCli5 = this._teamCentralClient).createTag.apply(_this$_teamCentralCli5, _args63));
2200
2240
  case 1:
2201
2241
  case "end":
2202
- return _context62.stop();
2242
+ return _context63.stop();
2203
2243
  }
2204
- }, _callee62, this);
2244
+ }, _callee63, this);
2205
2245
  }));
2206
2246
  function createTag() {
2207
2247
  return _createTag.apply(this, arguments);
@@ -2211,18 +2251,18 @@ export var TeamsClient = /*#__PURE__*/function () {
2211
2251
  }, {
2212
2252
  key: "createHelpPointer",
2213
2253
  value: function () {
2214
- var _createHelpPointer = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee63() {
2254
+ var _createHelpPointer = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee64() {
2215
2255
  var _this$_teamCentralCli6;
2216
- var _args63 = arguments;
2217
- return _regeneratorRuntime.wrap(function _callee63$(_context63) {
2218
- while (1) switch (_context63.prev = _context63.next) {
2256
+ var _args64 = arguments;
2257
+ return _regeneratorRuntime.wrap(function _callee64$(_context64) {
2258
+ while (1) switch (_context64.prev = _context64.next) {
2219
2259
  case 0:
2220
- return _context63.abrupt("return", (_this$_teamCentralCli6 = this._teamCentralClient).createHelpPointer.apply(_this$_teamCentralCli6, _args63));
2260
+ return _context64.abrupt("return", (_this$_teamCentralCli6 = this._teamCentralClient).createHelpPointer.apply(_this$_teamCentralCli6, _args64));
2221
2261
  case 1:
2222
2262
  case "end":
2223
- return _context63.stop();
2263
+ return _context64.stop();
2224
2264
  }
2225
- }, _callee63, this);
2265
+ }, _callee64, this);
2226
2266
  }));
2227
2267
  function createHelpPointer() {
2228
2268
  return _createHelpPointer.apply(this, arguments);
@@ -2232,18 +2272,18 @@ export var TeamsClient = /*#__PURE__*/function () {
2232
2272
  }, {
2233
2273
  key: "updateHelpPointer",
2234
2274
  value: function () {
2235
- var _updateHelpPointer = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee64() {
2275
+ var _updateHelpPointer = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee65() {
2236
2276
  var _this$_teamCentralCli7;
2237
- var _args64 = arguments;
2238
- return _regeneratorRuntime.wrap(function _callee64$(_context64) {
2239
- while (1) switch (_context64.prev = _context64.next) {
2277
+ var _args65 = arguments;
2278
+ return _regeneratorRuntime.wrap(function _callee65$(_context65) {
2279
+ while (1) switch (_context65.prev = _context65.next) {
2240
2280
  case 0:
2241
- return _context64.abrupt("return", (_this$_teamCentralCli7 = this._teamCentralClient).updateHelpPointer.apply(_this$_teamCentralCli7, _args64));
2281
+ return _context65.abrupt("return", (_this$_teamCentralCli7 = this._teamCentralClient).updateHelpPointer.apply(_this$_teamCentralCli7, _args65));
2242
2282
  case 1:
2243
2283
  case "end":
2244
- return _context64.stop();
2284
+ return _context65.stop();
2245
2285
  }
2246
- }, _callee64, this);
2286
+ }, _callee65, this);
2247
2287
  }));
2248
2288
  function updateHelpPointer() {
2249
2289
  return _updateHelpPointer.apply(this, arguments);
@@ -2253,18 +2293,18 @@ export var TeamsClient = /*#__PURE__*/function () {
2253
2293
  }, {
2254
2294
  key: "deleteHelpPointer",
2255
2295
  value: function () {
2256
- var _deleteHelpPointer = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee65() {
2296
+ var _deleteHelpPointer = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee66() {
2257
2297
  var _this$_teamCentralCli8;
2258
- var _args65 = arguments;
2259
- return _regeneratorRuntime.wrap(function _callee65$(_context65) {
2260
- while (1) switch (_context65.prev = _context65.next) {
2298
+ var _args66 = arguments;
2299
+ return _regeneratorRuntime.wrap(function _callee66$(_context66) {
2300
+ while (1) switch (_context66.prev = _context66.next) {
2261
2301
  case 0:
2262
- return _context65.abrupt("return", (_this$_teamCentralCli8 = this._teamCentralClient).deleteHelpPointer.apply(_this$_teamCentralCli8, _args65));
2302
+ return _context66.abrupt("return", (_this$_teamCentralCli8 = this._teamCentralClient).deleteHelpPointer.apply(_this$_teamCentralCli8, _args66));
2263
2303
  case 1:
2264
2304
  case "end":
2265
- return _context65.stop();
2305
+ return _context66.stop();
2266
2306
  }
2267
- }, _callee65, this);
2307
+ }, _callee66, this);
2268
2308
  }));
2269
2309
  function deleteHelpPointer() {
2270
2310
  return _deleteHelpPointer.apply(this, arguments);
@@ -2274,27 +2314,27 @@ export var TeamsClient = /*#__PURE__*/function () {
2274
2314
  }, {
2275
2315
  key: "getUserTenure",
2276
2316
  value: function () {
2277
- var _getUserTenure = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee66() {
2278
- var _this59 = this;
2279
- var _len47,
2317
+ var _getUserTenure = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee67() {
2318
+ var _this60 = this;
2319
+ var _len48,
2280
2320
  args,
2281
- _key47,
2282
- _args66 = arguments;
2283
- return _regeneratorRuntime.wrap(function _callee66$(_context66) {
2284
- while (1) switch (_context66.prev = _context66.next) {
2321
+ _key48,
2322
+ _args67 = arguments;
2323
+ return _regeneratorRuntime.wrap(function _callee67$(_context67) {
2324
+ while (1) switch (_context67.prev = _context67.next) {
2285
2325
  case 0:
2286
- for (_len47 = _args66.length, args = new Array(_len47), _key47 = 0; _key47 < _len47; _key47++) {
2287
- args[_key47] = _args66[_key47];
2326
+ for (_len48 = _args67.length, args = new Array(_len48), _key48 = 0; _key48 < _len48; _key48++) {
2327
+ args[_key48] = _args67[_key48];
2288
2328
  }
2289
- return _context66.abrupt("return", this.measurePerformance('getUserTenure', function () {
2290
- var _this59$_replinesClie;
2291
- return (_this59$_replinesClie = _this59._replinesClient).getUserTenure.apply(_this59$_replinesClie, args);
2329
+ return _context67.abrupt("return", this.measurePerformance('getUserTenure', function () {
2330
+ var _this60$_replinesClie;
2331
+ return (_this60$_replinesClie = _this60._replinesClient).getUserTenure.apply(_this60$_replinesClie, args);
2292
2332
  }));
2293
2333
  case 2:
2294
2334
  case "end":
2295
- return _context66.stop();
2335
+ return _context67.stop();
2296
2336
  }
2297
- }, _callee66, this);
2337
+ }, _callee67, this);
2298
2338
  }));
2299
2339
  function getUserTenure() {
2300
2340
  return _getUserTenure.apply(this, arguments);