@atlaskit/teams-client 4.8.1 → 4.9.0

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