@atlaskit/teams-client 4.19.0 → 4.20.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.
- package/CHANGELOG.md +7 -3
- package/dist/cjs/common/utils/permissions/constants.js +11 -4
- package/dist/cjs/common/utils/permissions/types.js +1 -1
- package/dist/cjs/common/utils/ufo/constants.js +1 -1
- package/dist/cjs/common/utils/ufo/index.js +2 -2
- package/dist/cjs/services/legion-client/index.js +201 -180
- package/dist/cjs/services/main.js +559 -533
- package/dist/cjs/services/sentry/utils/get-sentry-config.js +1 -1
- package/dist/es2019/common/utils/permissions/constants.js +9 -4
- package/dist/es2019/common/utils/permissions/types.js +1 -1
- package/dist/es2019/common/utils/ufo/constants.js +1 -1
- package/dist/es2019/common/utils/ufo/index.js +2 -2
- package/dist/es2019/services/legion-client/index.js +4 -0
- package/dist/es2019/services/main.js +7 -0
- package/dist/es2019/services/sentry/utils/get-sentry-config.js +1 -1
- package/dist/esm/common/utils/permissions/constants.js +11 -4
- package/dist/esm/common/utils/permissions/types.js +1 -1
- package/dist/esm/common/utils/ufo/constants.js +1 -1
- package/dist/esm/common/utils/ufo/index.js +2 -2
- package/dist/esm/services/legion-client/index.js +201 -180
- package/dist/esm/services/main.js +559 -533
- package/dist/esm/services/sentry/utils/get-sentry-config.js +1 -1
- package/dist/types/common/utils/permissions/types.d.ts +1 -1
- package/dist/types/common/utils/ufo/constants.d.ts +2 -2
- package/dist/types/services/legion-client/index.d.ts +1 -0
- package/dist/types/services/main.d.ts +4 -0
- package/dist/types-ts4.5/common/utils/permissions/types.d.ts +2 -1
- package/dist/types-ts4.5/common/utils/ufo/constants.d.ts +2 -1
- package/dist/types-ts4.5/services/legion-client/index.d.ts +1 -0
- package/dist/types-ts4.5/services/main.d.ts +4 -0
- package/package.json +4 -1
|
@@ -1082,25 +1082,51 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1082
1082
|
return deleteTeam;
|
|
1083
1083
|
}()
|
|
1084
1084
|
/**
|
|
1085
|
-
*
|
|
1086
|
-
* @deprecated should be other means to solve this issue
|
|
1085
|
+
* Archive a team
|
|
1087
1086
|
*/
|
|
1088
1087
|
)
|
|
1089
1088
|
}, {
|
|
1090
|
-
key: "
|
|
1089
|
+
key: "archiveTeam",
|
|
1091
1090
|
value: (function () {
|
|
1092
|
-
var
|
|
1091
|
+
var _archiveTeam = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee29(teamId) {
|
|
1092
|
+
var _this25 = this;
|
|
1093
1093
|
return _regenerator.default.wrap(function _callee29$(_context29) {
|
|
1094
1094
|
while (1) switch (_context29.prev = _context29.next) {
|
|
1095
1095
|
case 0:
|
|
1096
|
-
return _context29.abrupt("return", this.
|
|
1096
|
+
return _context29.abrupt("return", this.measurePerformance('archiveTeam', function () {
|
|
1097
|
+
return _this25._legionClient.archiveTeam(teamId);
|
|
1098
|
+
}));
|
|
1097
1099
|
case 1:
|
|
1098
1100
|
case "end":
|
|
1099
1101
|
return _context29.stop();
|
|
1100
1102
|
}
|
|
1101
1103
|
}, _callee29, this);
|
|
1102
1104
|
}));
|
|
1103
|
-
function
|
|
1105
|
+
function archiveTeam(_x10) {
|
|
1106
|
+
return _archiveTeam.apply(this, arguments);
|
|
1107
|
+
}
|
|
1108
|
+
return archiveTeam;
|
|
1109
|
+
}()
|
|
1110
|
+
/**
|
|
1111
|
+
* @private
|
|
1112
|
+
* @deprecated should be other means to solve this issue
|
|
1113
|
+
*/
|
|
1114
|
+
)
|
|
1115
|
+
}, {
|
|
1116
|
+
key: "isSingleFullMemberTeam",
|
|
1117
|
+
value: (function () {
|
|
1118
|
+
var _isSingleFullMemberTeam = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee30(teamId) {
|
|
1119
|
+
return _regenerator.default.wrap(function _callee30$(_context30) {
|
|
1120
|
+
while (1) switch (_context30.prev = _context30.next) {
|
|
1121
|
+
case 0:
|
|
1122
|
+
return _context30.abrupt("return", this._legionClient.isSingleFullMemberTeam(teamId));
|
|
1123
|
+
case 1:
|
|
1124
|
+
case "end":
|
|
1125
|
+
return _context30.stop();
|
|
1126
|
+
}
|
|
1127
|
+
}, _callee30, this);
|
|
1128
|
+
}));
|
|
1129
|
+
function isSingleFullMemberTeam(_x11) {
|
|
1104
1130
|
return _isSingleFullMemberTeam.apply(this, arguments);
|
|
1105
1131
|
}
|
|
1106
1132
|
return isSingleFullMemberTeam;
|
|
@@ -1112,27 +1138,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1112
1138
|
}, {
|
|
1113
1139
|
key: "createTeam",
|
|
1114
1140
|
value: (function () {
|
|
1115
|
-
var _createTeam = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
1116
|
-
var
|
|
1141
|
+
var _createTeam = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee31() {
|
|
1142
|
+
var _this26 = this;
|
|
1117
1143
|
var _len18,
|
|
1118
1144
|
args,
|
|
1119
1145
|
_key18,
|
|
1120
|
-
|
|
1121
|
-
return _regenerator.default.wrap(function
|
|
1122
|
-
while (1) switch (
|
|
1146
|
+
_args31 = arguments;
|
|
1147
|
+
return _regenerator.default.wrap(function _callee31$(_context31) {
|
|
1148
|
+
while (1) switch (_context31.prev = _context31.next) {
|
|
1123
1149
|
case 0:
|
|
1124
|
-
for (_len18 =
|
|
1125
|
-
args[_key18] =
|
|
1150
|
+
for (_len18 = _args31.length, args = new Array(_len18), _key18 = 0; _key18 < _len18; _key18++) {
|
|
1151
|
+
args[_key18] = _args31[_key18];
|
|
1126
1152
|
}
|
|
1127
|
-
return
|
|
1128
|
-
var
|
|
1129
|
-
return (
|
|
1153
|
+
return _context31.abrupt("return", this.measurePerformance('createTeam', function () {
|
|
1154
|
+
var _this26$_legionClient;
|
|
1155
|
+
return (_this26$_legionClient = _this26._legionClient).createTeam.apply(_this26$_legionClient, args);
|
|
1130
1156
|
}));
|
|
1131
1157
|
case 2:
|
|
1132
1158
|
case "end":
|
|
1133
|
-
return
|
|
1159
|
+
return _context31.stop();
|
|
1134
1160
|
}
|
|
1135
|
-
},
|
|
1161
|
+
}, _callee31, this);
|
|
1136
1162
|
}));
|
|
1137
1163
|
function createTeam() {
|
|
1138
1164
|
return _createTeam.apply(this, arguments);
|
|
@@ -1146,27 +1172,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1146
1172
|
}, {
|
|
1147
1173
|
key: "createTeamContainers",
|
|
1148
1174
|
value: (function () {
|
|
1149
|
-
var _createTeamContainers = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
1150
|
-
var
|
|
1175
|
+
var _createTeamContainers = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee32() {
|
|
1176
|
+
var _this27 = this;
|
|
1151
1177
|
var _len19,
|
|
1152
1178
|
args,
|
|
1153
1179
|
_key19,
|
|
1154
|
-
|
|
1155
|
-
return _regenerator.default.wrap(function
|
|
1156
|
-
while (1) switch (
|
|
1180
|
+
_args32 = arguments;
|
|
1181
|
+
return _regenerator.default.wrap(function _callee32$(_context32) {
|
|
1182
|
+
while (1) switch (_context32.prev = _context32.next) {
|
|
1157
1183
|
case 0:
|
|
1158
|
-
for (_len19 =
|
|
1159
|
-
args[_key19] =
|
|
1184
|
+
for (_len19 = _args32.length, args = new Array(_len19), _key19 = 0; _key19 < _len19; _key19++) {
|
|
1185
|
+
args[_key19] = _args32[_key19];
|
|
1160
1186
|
}
|
|
1161
|
-
return
|
|
1162
|
-
var
|
|
1163
|
-
return (
|
|
1187
|
+
return _context32.abrupt("return", this.measurePerformance('createTeamContainers', function () {
|
|
1188
|
+
var _this27$_legionClient;
|
|
1189
|
+
return (_this27$_legionClient = _this27._legionClient).createTeamContainers.apply(_this27$_legionClient, args);
|
|
1164
1190
|
}));
|
|
1165
1191
|
case 2:
|
|
1166
1192
|
case "end":
|
|
1167
|
-
return
|
|
1193
|
+
return _context32.stop();
|
|
1168
1194
|
}
|
|
1169
|
-
},
|
|
1195
|
+
}, _callee32, this);
|
|
1170
1196
|
}));
|
|
1171
1197
|
function createTeamContainers() {
|
|
1172
1198
|
return _createTeamContainers.apply(this, arguments);
|
|
@@ -1182,27 +1208,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1182
1208
|
}, {
|
|
1183
1209
|
key: "createExternalTeam",
|
|
1184
1210
|
value: (function () {
|
|
1185
|
-
var _createExternalTeam = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
1186
|
-
var
|
|
1211
|
+
var _createExternalTeam = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee33() {
|
|
1212
|
+
var _this28 = this;
|
|
1187
1213
|
var _len20,
|
|
1188
1214
|
args,
|
|
1189
1215
|
_key20,
|
|
1190
|
-
|
|
1191
|
-
return _regenerator.default.wrap(function
|
|
1192
|
-
while (1) switch (
|
|
1216
|
+
_args33 = arguments;
|
|
1217
|
+
return _regenerator.default.wrap(function _callee33$(_context33) {
|
|
1218
|
+
while (1) switch (_context33.prev = _context33.next) {
|
|
1193
1219
|
case 0:
|
|
1194
|
-
for (_len20 =
|
|
1195
|
-
args[_key20] =
|
|
1220
|
+
for (_len20 = _args33.length, args = new Array(_len20), _key20 = 0; _key20 < _len20; _key20++) {
|
|
1221
|
+
args[_key20] = _args33[_key20];
|
|
1196
1222
|
}
|
|
1197
|
-
return
|
|
1198
|
-
var
|
|
1199
|
-
return (
|
|
1223
|
+
return _context33.abrupt("return", this.measurePerformance('createExternalTeam', function () {
|
|
1224
|
+
var _this28$_legionClient;
|
|
1225
|
+
return (_this28$_legionClient = _this28._legionClient).createExternalTeam.apply(_this28$_legionClient, args);
|
|
1200
1226
|
}));
|
|
1201
1227
|
case 2:
|
|
1202
1228
|
case "end":
|
|
1203
|
-
return
|
|
1229
|
+
return _context33.stop();
|
|
1204
1230
|
}
|
|
1205
|
-
},
|
|
1231
|
+
}, _callee33, this);
|
|
1206
1232
|
}));
|
|
1207
1233
|
function createExternalTeam() {
|
|
1208
1234
|
return _createExternalTeam.apply(this, arguments);
|
|
@@ -1217,27 +1243,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1217
1243
|
}, {
|
|
1218
1244
|
key: "getLinkedTeamsBulk",
|
|
1219
1245
|
value: (function () {
|
|
1220
|
-
var _getLinkedTeamsBulk = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
1221
|
-
var
|
|
1246
|
+
var _getLinkedTeamsBulk = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee34() {
|
|
1247
|
+
var _this29 = this;
|
|
1222
1248
|
var _len21,
|
|
1223
1249
|
args,
|
|
1224
1250
|
_key21,
|
|
1225
|
-
|
|
1226
|
-
return _regenerator.default.wrap(function
|
|
1227
|
-
while (1) switch (
|
|
1251
|
+
_args34 = arguments;
|
|
1252
|
+
return _regenerator.default.wrap(function _callee34$(_context34) {
|
|
1253
|
+
while (1) switch (_context34.prev = _context34.next) {
|
|
1228
1254
|
case 0:
|
|
1229
|
-
for (_len21 =
|
|
1230
|
-
args[_key21] =
|
|
1255
|
+
for (_len21 = _args34.length, args = new Array(_len21), _key21 = 0; _key21 < _len21; _key21++) {
|
|
1256
|
+
args[_key21] = _args34[_key21];
|
|
1231
1257
|
}
|
|
1232
|
-
return
|
|
1233
|
-
var
|
|
1234
|
-
return (
|
|
1258
|
+
return _context34.abrupt("return", this.measurePerformance('getLinkedTeamsBulk', function () {
|
|
1259
|
+
var _this29$_legionClient;
|
|
1260
|
+
return (_this29$_legionClient = _this29._legionClient).getLinkedTeamsBulk.apply(_this29$_legionClient, args);
|
|
1235
1261
|
}));
|
|
1236
1262
|
case 2:
|
|
1237
1263
|
case "end":
|
|
1238
|
-
return
|
|
1264
|
+
return _context34.stop();
|
|
1239
1265
|
}
|
|
1240
|
-
},
|
|
1266
|
+
}, _callee34, this);
|
|
1241
1267
|
}));
|
|
1242
1268
|
function getLinkedTeamsBulk() {
|
|
1243
1269
|
return _getLinkedTeamsBulk.apply(this, arguments);
|
|
@@ -1251,27 +1277,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1251
1277
|
}, {
|
|
1252
1278
|
key: "getOrgScope",
|
|
1253
1279
|
value: (function () {
|
|
1254
|
-
var _getOrgScope = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
1255
|
-
var
|
|
1280
|
+
var _getOrgScope = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee35() {
|
|
1281
|
+
var _this30 = this;
|
|
1256
1282
|
var _len22,
|
|
1257
1283
|
args,
|
|
1258
1284
|
_key22,
|
|
1259
|
-
|
|
1260
|
-
return _regenerator.default.wrap(function
|
|
1261
|
-
while (1) switch (
|
|
1285
|
+
_args35 = arguments;
|
|
1286
|
+
return _regenerator.default.wrap(function _callee35$(_context35) {
|
|
1287
|
+
while (1) switch (_context35.prev = _context35.next) {
|
|
1262
1288
|
case 0:
|
|
1263
|
-
for (_len22 =
|
|
1264
|
-
args[_key22] =
|
|
1289
|
+
for (_len22 = _args35.length, args = new Array(_len22), _key22 = 0; _key22 < _len22; _key22++) {
|
|
1290
|
+
args[_key22] = _args35[_key22];
|
|
1265
1291
|
}
|
|
1266
|
-
return
|
|
1267
|
-
var
|
|
1268
|
-
return (
|
|
1292
|
+
return _context35.abrupt("return", this.measurePerformance('getOrgScope', function () {
|
|
1293
|
+
var _this30$_legionClient;
|
|
1294
|
+
return (_this30$_legionClient = _this30._legionClient).getOrgScope.apply(_this30$_legionClient, args);
|
|
1269
1295
|
}));
|
|
1270
1296
|
case 2:
|
|
1271
1297
|
case "end":
|
|
1272
|
-
return
|
|
1298
|
+
return _context35.stop();
|
|
1273
1299
|
}
|
|
1274
|
-
},
|
|
1300
|
+
}, _callee35, this);
|
|
1275
1301
|
}));
|
|
1276
1302
|
function getOrgScope() {
|
|
1277
1303
|
return _getOrgScope.apply(this, arguments);
|
|
@@ -1285,27 +1311,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1285
1311
|
}, {
|
|
1286
1312
|
key: "restoreTeamToSyncedGroup",
|
|
1287
1313
|
value: (function () {
|
|
1288
|
-
var _restoreTeamToSyncedGroup = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
1289
|
-
var
|
|
1314
|
+
var _restoreTeamToSyncedGroup = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee36() {
|
|
1315
|
+
var _this31 = this;
|
|
1290
1316
|
var _len23,
|
|
1291
1317
|
args,
|
|
1292
1318
|
_key23,
|
|
1293
|
-
|
|
1294
|
-
return _regenerator.default.wrap(function
|
|
1295
|
-
while (1) switch (
|
|
1319
|
+
_args36 = arguments;
|
|
1320
|
+
return _regenerator.default.wrap(function _callee36$(_context36) {
|
|
1321
|
+
while (1) switch (_context36.prev = _context36.next) {
|
|
1296
1322
|
case 0:
|
|
1297
|
-
for (_len23 =
|
|
1298
|
-
args[_key23] =
|
|
1323
|
+
for (_len23 = _args36.length, args = new Array(_len23), _key23 = 0; _key23 < _len23; _key23++) {
|
|
1324
|
+
args[_key23] = _args36[_key23];
|
|
1299
1325
|
}
|
|
1300
|
-
return
|
|
1301
|
-
var
|
|
1302
|
-
return (
|
|
1326
|
+
return _context36.abrupt("return", this.measurePerformance('restoreTeamToSyncedGroup', function () {
|
|
1327
|
+
var _this31$_legionClient;
|
|
1328
|
+
return (_this31$_legionClient = _this31._legionClient).restoreTeamToSyncedGroup.apply(_this31$_legionClient, args);
|
|
1303
1329
|
}));
|
|
1304
1330
|
case 2:
|
|
1305
1331
|
case "end":
|
|
1306
|
-
return
|
|
1332
|
+
return _context36.stop();
|
|
1307
1333
|
}
|
|
1308
|
-
},
|
|
1334
|
+
}, _callee36, this);
|
|
1309
1335
|
}));
|
|
1310
1336
|
function restoreTeamToSyncedGroup() {
|
|
1311
1337
|
return _restoreTeamToSyncedGroup.apply(this, arguments);
|
|
@@ -1322,27 +1348,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1322
1348
|
}, {
|
|
1323
1349
|
key: "getTeamAndGroupDiff",
|
|
1324
1350
|
value: (function () {
|
|
1325
|
-
var _getTeamAndGroupDiff = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
1326
|
-
var
|
|
1351
|
+
var _getTeamAndGroupDiff = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee37() {
|
|
1352
|
+
var _this32 = this;
|
|
1327
1353
|
var _len24,
|
|
1328
1354
|
args,
|
|
1329
1355
|
_key24,
|
|
1330
|
-
|
|
1331
|
-
return _regenerator.default.wrap(function
|
|
1332
|
-
while (1) switch (
|
|
1356
|
+
_args37 = arguments;
|
|
1357
|
+
return _regenerator.default.wrap(function _callee37$(_context37) {
|
|
1358
|
+
while (1) switch (_context37.prev = _context37.next) {
|
|
1333
1359
|
case 0:
|
|
1334
|
-
for (_len24 =
|
|
1335
|
-
args[_key24] =
|
|
1360
|
+
for (_len24 = _args37.length, args = new Array(_len24), _key24 = 0; _key24 < _len24; _key24++) {
|
|
1361
|
+
args[_key24] = _args37[_key24];
|
|
1336
1362
|
}
|
|
1337
|
-
return
|
|
1338
|
-
var
|
|
1339
|
-
return (
|
|
1363
|
+
return _context37.abrupt("return", this.measurePerformance('getTeamAndGroupDiff', function () {
|
|
1364
|
+
var _this32$_legionClient;
|
|
1365
|
+
return (_this32$_legionClient = _this32._legionClient).getTeamAndGroupDiff.apply(_this32$_legionClient, args);
|
|
1340
1366
|
}));
|
|
1341
1367
|
case 2:
|
|
1342
1368
|
case "end":
|
|
1343
|
-
return
|
|
1369
|
+
return _context37.stop();
|
|
1344
1370
|
}
|
|
1345
|
-
},
|
|
1371
|
+
}, _callee37, this);
|
|
1346
1372
|
}));
|
|
1347
1373
|
function getTeamAndGroupDiff() {
|
|
1348
1374
|
return _getTeamAndGroupDiff.apply(this, arguments);
|
|
@@ -1358,27 +1384,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1358
1384
|
}, {
|
|
1359
1385
|
key: "linkExistingTeamToGroup",
|
|
1360
1386
|
value: (function () {
|
|
1361
|
-
var _linkExistingTeamToGroup = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
1362
|
-
var
|
|
1387
|
+
var _linkExistingTeamToGroup = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee38() {
|
|
1388
|
+
var _this33 = this;
|
|
1363
1389
|
var _len25,
|
|
1364
1390
|
args,
|
|
1365
1391
|
_key25,
|
|
1366
|
-
|
|
1367
|
-
return _regenerator.default.wrap(function
|
|
1368
|
-
while (1) switch (
|
|
1392
|
+
_args38 = arguments;
|
|
1393
|
+
return _regenerator.default.wrap(function _callee38$(_context38) {
|
|
1394
|
+
while (1) switch (_context38.prev = _context38.next) {
|
|
1369
1395
|
case 0:
|
|
1370
|
-
for (_len25 =
|
|
1371
|
-
args[_key25] =
|
|
1396
|
+
for (_len25 = _args38.length, args = new Array(_len25), _key25 = 0; _key25 < _len25; _key25++) {
|
|
1397
|
+
args[_key25] = _args38[_key25];
|
|
1372
1398
|
}
|
|
1373
|
-
return
|
|
1374
|
-
var
|
|
1375
|
-
return (
|
|
1399
|
+
return _context38.abrupt("return", this.measurePerformance('linkExistingTeamToGroup', function () {
|
|
1400
|
+
var _this33$_legionClient;
|
|
1401
|
+
return (_this33$_legionClient = _this33._legionClient).linkExistingTeamToGroup.apply(_this33$_legionClient, args);
|
|
1376
1402
|
}));
|
|
1377
1403
|
case 2:
|
|
1378
1404
|
case "end":
|
|
1379
|
-
return
|
|
1405
|
+
return _context38.stop();
|
|
1380
1406
|
}
|
|
1381
|
-
},
|
|
1407
|
+
}, _callee38, this);
|
|
1382
1408
|
}));
|
|
1383
1409
|
function linkExistingTeamToGroup() {
|
|
1384
1410
|
return _linkExistingTeamToGroup.apply(this, arguments);
|
|
@@ -1394,27 +1420,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1394
1420
|
}, {
|
|
1395
1421
|
key: "getTeamProfileDetailsByTeamId",
|
|
1396
1422
|
value: (function () {
|
|
1397
|
-
var _getTeamProfileDetailsByTeamId = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
1398
|
-
var
|
|
1423
|
+
var _getTeamProfileDetailsByTeamId = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee39() {
|
|
1424
|
+
var _this34 = this;
|
|
1399
1425
|
var _len26,
|
|
1400
1426
|
args,
|
|
1401
1427
|
_key26,
|
|
1402
|
-
|
|
1403
|
-
return _regenerator.default.wrap(function
|
|
1404
|
-
while (1) switch (
|
|
1428
|
+
_args39 = arguments;
|
|
1429
|
+
return _regenerator.default.wrap(function _callee39$(_context39) {
|
|
1430
|
+
while (1) switch (_context39.prev = _context39.next) {
|
|
1405
1431
|
case 0:
|
|
1406
|
-
for (_len26 =
|
|
1407
|
-
args[_key26] =
|
|
1432
|
+
for (_len26 = _args39.length, args = new Array(_len26), _key26 = 0; _key26 < _len26; _key26++) {
|
|
1433
|
+
args[_key26] = _args39[_key26];
|
|
1408
1434
|
}
|
|
1409
|
-
return
|
|
1410
|
-
var
|
|
1411
|
-
return (
|
|
1435
|
+
return _context39.abrupt("return", this.measurePerformance('getTeamProfileDetails', function () {
|
|
1436
|
+
var _this34$_legionClient;
|
|
1437
|
+
return (_this34$_legionClient = _this34._legionClient).getTeamProfileDetails.apply(_this34$_legionClient, args);
|
|
1412
1438
|
}));
|
|
1413
1439
|
case 2:
|
|
1414
1440
|
case "end":
|
|
1415
|
-
return
|
|
1441
|
+
return _context39.stop();
|
|
1416
1442
|
}
|
|
1417
|
-
},
|
|
1443
|
+
}, _callee39, this);
|
|
1418
1444
|
}));
|
|
1419
1445
|
function getTeamProfileDetailsByTeamId() {
|
|
1420
1446
|
return _getTeamProfileDetailsByTeamId.apply(this, arguments);
|
|
@@ -1430,21 +1456,21 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1430
1456
|
}, {
|
|
1431
1457
|
key: "getSoftDeletdTeamById",
|
|
1432
1458
|
value: (function () {
|
|
1433
|
-
var _getSoftDeletdTeamById = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
1434
|
-
var
|
|
1435
|
-
return _regenerator.default.wrap(function
|
|
1436
|
-
while (1) switch (
|
|
1459
|
+
var _getSoftDeletdTeamById = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee40(teamId) {
|
|
1460
|
+
var _this35 = this;
|
|
1461
|
+
return _regenerator.default.wrap(function _callee40$(_context40) {
|
|
1462
|
+
while (1) switch (_context40.prev = _context40.next) {
|
|
1437
1463
|
case 0:
|
|
1438
|
-
return
|
|
1439
|
-
return
|
|
1464
|
+
return _context40.abrupt("return", this.measurePerformance('getSoftDeletedTeamById', function () {
|
|
1465
|
+
return _this35._legionClient.getSoftDeletedTeamById(teamId);
|
|
1440
1466
|
}));
|
|
1441
1467
|
case 1:
|
|
1442
1468
|
case "end":
|
|
1443
|
-
return
|
|
1469
|
+
return _context40.stop();
|
|
1444
1470
|
}
|
|
1445
|
-
},
|
|
1471
|
+
}, _callee40, this);
|
|
1446
1472
|
}));
|
|
1447
|
-
function getSoftDeletdTeamById(
|
|
1473
|
+
function getSoftDeletdTeamById(_x12) {
|
|
1448
1474
|
return _getSoftDeletdTeamById.apply(this, arguments);
|
|
1449
1475
|
}
|
|
1450
1476
|
return getSoftDeletdTeamById;
|
|
@@ -1458,21 +1484,21 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1458
1484
|
}, {
|
|
1459
1485
|
key: "getUserInSiteUserBase",
|
|
1460
1486
|
value: (function () {
|
|
1461
|
-
var _getUserInSiteUserBase = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
1462
|
-
var
|
|
1463
|
-
return _regenerator.default.wrap(function
|
|
1464
|
-
while (1) switch (
|
|
1487
|
+
var _getUserInSiteUserBase = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee41(userId) {
|
|
1488
|
+
var _this36 = this;
|
|
1489
|
+
return _regenerator.default.wrap(function _callee41$(_context41) {
|
|
1490
|
+
while (1) switch (_context41.prev = _context41.next) {
|
|
1465
1491
|
case 0:
|
|
1466
|
-
return
|
|
1467
|
-
return
|
|
1492
|
+
return _context41.abrupt("return", this.measurePerformance('getUserInSiteUserBase', function () {
|
|
1493
|
+
return _this36._legionClient.getUserInSiteUserBase(userId);
|
|
1468
1494
|
}));
|
|
1469
1495
|
case 1:
|
|
1470
1496
|
case "end":
|
|
1471
|
-
return
|
|
1497
|
+
return _context41.stop();
|
|
1472
1498
|
}
|
|
1473
|
-
},
|
|
1499
|
+
}, _callee41, this);
|
|
1474
1500
|
}));
|
|
1475
|
-
function getUserInSiteUserBase(
|
|
1501
|
+
function getUserInSiteUserBase(_x13) {
|
|
1476
1502
|
return _getUserInSiteUserBase.apply(this, arguments);
|
|
1477
1503
|
}
|
|
1478
1504
|
return getUserInSiteUserBase;
|
|
@@ -1490,27 +1516,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1490
1516
|
}, {
|
|
1491
1517
|
key: "getProfileWithMutability",
|
|
1492
1518
|
value: (function () {
|
|
1493
|
-
var _getProfileWithMutability = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
1494
|
-
var
|
|
1519
|
+
var _getProfileWithMutability = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee42() {
|
|
1520
|
+
var _this37 = this;
|
|
1495
1521
|
var _len27,
|
|
1496
1522
|
args,
|
|
1497
1523
|
_key27,
|
|
1498
|
-
|
|
1499
|
-
return _regenerator.default.wrap(function
|
|
1500
|
-
while (1) switch (
|
|
1524
|
+
_args42 = arguments;
|
|
1525
|
+
return _regenerator.default.wrap(function _callee42$(_context42) {
|
|
1526
|
+
while (1) switch (_context42.prev = _context42.next) {
|
|
1501
1527
|
case 0:
|
|
1502
|
-
for (_len27 =
|
|
1503
|
-
args[_key27] =
|
|
1528
|
+
for (_len27 = _args42.length, args = new Array(_len27), _key27 = 0; _key27 < _len27; _key27++) {
|
|
1529
|
+
args[_key27] = _args42[_key27];
|
|
1504
1530
|
}
|
|
1505
|
-
return
|
|
1506
|
-
var
|
|
1507
|
-
return (
|
|
1531
|
+
return _context42.abrupt("return", this.measurePerformance('getProfileWithMutability', function () {
|
|
1532
|
+
var _this37$_mutabilityCl;
|
|
1533
|
+
return (_this37$_mutabilityCl = _this37._mutabilityClient).getProfileWithMutability.apply(_this37$_mutabilityCl, args);
|
|
1508
1534
|
}));
|
|
1509
1535
|
case 2:
|
|
1510
1536
|
case "end":
|
|
1511
|
-
return
|
|
1537
|
+
return _context42.stop();
|
|
1512
1538
|
}
|
|
1513
|
-
},
|
|
1539
|
+
}, _callee42, this);
|
|
1514
1540
|
}));
|
|
1515
1541
|
function getProfileWithMutability() {
|
|
1516
1542
|
return _getProfileWithMutability.apply(this, arguments);
|
|
@@ -1524,27 +1550,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1524
1550
|
}, {
|
|
1525
1551
|
key: "getTeamEnabledSites",
|
|
1526
1552
|
value: (function () {
|
|
1527
|
-
var _getTeamEnabledSites = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
1528
|
-
var
|
|
1553
|
+
var _getTeamEnabledSites = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee43() {
|
|
1554
|
+
var _this38 = this;
|
|
1529
1555
|
var _len28,
|
|
1530
1556
|
args,
|
|
1531
1557
|
_key28,
|
|
1532
|
-
|
|
1533
|
-
return _regenerator.default.wrap(function
|
|
1534
|
-
while (1) switch (
|
|
1558
|
+
_args43 = arguments;
|
|
1559
|
+
return _regenerator.default.wrap(function _callee43$(_context43) {
|
|
1560
|
+
while (1) switch (_context43.prev = _context43.next) {
|
|
1535
1561
|
case 0:
|
|
1536
|
-
for (_len28 =
|
|
1537
|
-
args[_key28] =
|
|
1562
|
+
for (_len28 = _args43.length, args = new Array(_len28), _key28 = 0; _key28 < _len28; _key28++) {
|
|
1563
|
+
args[_key28] = _args43[_key28];
|
|
1538
1564
|
}
|
|
1539
|
-
return
|
|
1540
|
-
var
|
|
1541
|
-
return (
|
|
1565
|
+
return _context43.abrupt("return", this.measurePerformance('getTeamEnabledSites', function () {
|
|
1566
|
+
var _this38$_legionClient;
|
|
1567
|
+
return (_this38$_legionClient = _this38._legionClient).getTeamEnabledSites.apply(_this38$_legionClient, args);
|
|
1542
1568
|
}));
|
|
1543
1569
|
case 2:
|
|
1544
1570
|
case "end":
|
|
1545
|
-
return
|
|
1571
|
+
return _context43.stop();
|
|
1546
1572
|
}
|
|
1547
|
-
},
|
|
1573
|
+
}, _callee43, this);
|
|
1548
1574
|
}));
|
|
1549
1575
|
function getTeamEnabledSites() {
|
|
1550
1576
|
return _getTeamEnabledSites.apply(this, arguments);
|
|
@@ -1560,27 +1586,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1560
1586
|
}, {
|
|
1561
1587
|
key: "assignTeamsToSites",
|
|
1562
1588
|
value: (function () {
|
|
1563
|
-
var _assignTeamsToSites = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
1564
|
-
var
|
|
1589
|
+
var _assignTeamsToSites = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee44() {
|
|
1590
|
+
var _this39 = this;
|
|
1565
1591
|
var _len29,
|
|
1566
1592
|
args,
|
|
1567
1593
|
_key29,
|
|
1568
|
-
|
|
1569
|
-
return _regenerator.default.wrap(function
|
|
1570
|
-
while (1) switch (
|
|
1594
|
+
_args44 = arguments;
|
|
1595
|
+
return _regenerator.default.wrap(function _callee44$(_context44) {
|
|
1596
|
+
while (1) switch (_context44.prev = _context44.next) {
|
|
1571
1597
|
case 0:
|
|
1572
|
-
for (_len29 =
|
|
1573
|
-
args[_key29] =
|
|
1598
|
+
for (_len29 = _args44.length, args = new Array(_len29), _key29 = 0; _key29 < _len29; _key29++) {
|
|
1599
|
+
args[_key29] = _args44[_key29];
|
|
1574
1600
|
}
|
|
1575
|
-
return
|
|
1576
|
-
var
|
|
1577
|
-
return (
|
|
1601
|
+
return _context44.abrupt("return", this.measurePerformance('assignTeamsToSites', function () {
|
|
1602
|
+
var _this39$_legionClient;
|
|
1603
|
+
return (_this39$_legionClient = _this39._legionClient).assignTeamsToSites.apply(_this39$_legionClient, args);
|
|
1578
1604
|
}));
|
|
1579
1605
|
case 2:
|
|
1580
1606
|
case "end":
|
|
1581
|
-
return
|
|
1607
|
+
return _context44.stop();
|
|
1582
1608
|
}
|
|
1583
|
-
},
|
|
1609
|
+
}, _callee44, this);
|
|
1584
1610
|
}));
|
|
1585
1611
|
function assignTeamsToSites() {
|
|
1586
1612
|
return _assignTeamsToSites.apply(this, arguments);
|
|
@@ -1598,27 +1624,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1598
1624
|
}, {
|
|
1599
1625
|
key: "getAssignedTeams",
|
|
1600
1626
|
value: (function () {
|
|
1601
|
-
var _getAssignedTeams = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
1602
|
-
var
|
|
1627
|
+
var _getAssignedTeams = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee45() {
|
|
1628
|
+
var _this40 = this;
|
|
1603
1629
|
var _len30,
|
|
1604
1630
|
args,
|
|
1605
1631
|
_key30,
|
|
1606
|
-
|
|
1607
|
-
return _regenerator.default.wrap(function
|
|
1608
|
-
while (1) switch (
|
|
1632
|
+
_args45 = arguments;
|
|
1633
|
+
return _regenerator.default.wrap(function _callee45$(_context45) {
|
|
1634
|
+
while (1) switch (_context45.prev = _context45.next) {
|
|
1609
1635
|
case 0:
|
|
1610
|
-
for (_len30 =
|
|
1611
|
-
args[_key30] =
|
|
1636
|
+
for (_len30 = _args45.length, args = new Array(_len30), _key30 = 0; _key30 < _len30; _key30++) {
|
|
1637
|
+
args[_key30] = _args45[_key30];
|
|
1612
1638
|
}
|
|
1613
|
-
return
|
|
1614
|
-
var
|
|
1615
|
-
return (
|
|
1639
|
+
return _context45.abrupt("return", this.measurePerformance('getAssignedTeams', function () {
|
|
1640
|
+
var _this40$_legionClient;
|
|
1641
|
+
return (_this40$_legionClient = _this40._legionClient).getAssignedTeams.apply(_this40$_legionClient, args);
|
|
1616
1642
|
}));
|
|
1617
1643
|
case 2:
|
|
1618
1644
|
case "end":
|
|
1619
|
-
return
|
|
1645
|
+
return _context45.stop();
|
|
1620
1646
|
}
|
|
1621
|
-
},
|
|
1647
|
+
}, _callee45, this);
|
|
1622
1648
|
}));
|
|
1623
1649
|
function getAssignedTeams() {
|
|
1624
1650
|
return _getAssignedTeams.apply(this, arguments);
|
|
@@ -1636,27 +1662,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1636
1662
|
}, {
|
|
1637
1663
|
key: "getUnassignedTeams",
|
|
1638
1664
|
value: (function () {
|
|
1639
|
-
var _getUnassignedTeams = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
1640
|
-
var
|
|
1665
|
+
var _getUnassignedTeams = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee46() {
|
|
1666
|
+
var _this41 = this;
|
|
1641
1667
|
var _len31,
|
|
1642
1668
|
args,
|
|
1643
1669
|
_key31,
|
|
1644
|
-
|
|
1645
|
-
return _regenerator.default.wrap(function
|
|
1646
|
-
while (1) switch (
|
|
1670
|
+
_args46 = arguments;
|
|
1671
|
+
return _regenerator.default.wrap(function _callee46$(_context46) {
|
|
1672
|
+
while (1) switch (_context46.prev = _context46.next) {
|
|
1647
1673
|
case 0:
|
|
1648
|
-
for (_len31 =
|
|
1649
|
-
args[_key31] =
|
|
1674
|
+
for (_len31 = _args46.length, args = new Array(_len31), _key31 = 0; _key31 < _len31; _key31++) {
|
|
1675
|
+
args[_key31] = _args46[_key31];
|
|
1650
1676
|
}
|
|
1651
|
-
return
|
|
1652
|
-
var
|
|
1653
|
-
return (
|
|
1677
|
+
return _context46.abrupt("return", this.measurePerformance('getUnassignedTeams', function () {
|
|
1678
|
+
var _this41$_legionClient;
|
|
1679
|
+
return (_this41$_legionClient = _this41._legionClient).getUnassignedTeams.apply(_this41$_legionClient, args);
|
|
1654
1680
|
}));
|
|
1655
1681
|
case 2:
|
|
1656
1682
|
case "end":
|
|
1657
|
-
return
|
|
1683
|
+
return _context46.stop();
|
|
1658
1684
|
}
|
|
1659
|
-
},
|
|
1685
|
+
}, _callee46, this);
|
|
1660
1686
|
}));
|
|
1661
1687
|
function getUnassignedTeams() {
|
|
1662
1688
|
return _getUnassignedTeams.apply(this, arguments);
|
|
@@ -1672,27 +1698,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1672
1698
|
}, {
|
|
1673
1699
|
key: "setTeamSiteAssignmentPermission",
|
|
1674
1700
|
value: (function () {
|
|
1675
|
-
var _setTeamSiteAssignmentPermission = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
1676
|
-
var
|
|
1701
|
+
var _setTeamSiteAssignmentPermission = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee47() {
|
|
1702
|
+
var _this42 = this;
|
|
1677
1703
|
var _len32,
|
|
1678
1704
|
args,
|
|
1679
1705
|
_key32,
|
|
1680
|
-
|
|
1681
|
-
return _regenerator.default.wrap(function
|
|
1682
|
-
while (1) switch (
|
|
1706
|
+
_args47 = arguments;
|
|
1707
|
+
return _regenerator.default.wrap(function _callee47$(_context47) {
|
|
1708
|
+
while (1) switch (_context47.prev = _context47.next) {
|
|
1683
1709
|
case 0:
|
|
1684
|
-
for (_len32 =
|
|
1685
|
-
args[_key32] =
|
|
1710
|
+
for (_len32 = _args47.length, args = new Array(_len32), _key32 = 0; _key32 < _len32; _key32++) {
|
|
1711
|
+
args[_key32] = _args47[_key32];
|
|
1686
1712
|
}
|
|
1687
|
-
return
|
|
1688
|
-
var
|
|
1689
|
-
return (
|
|
1713
|
+
return _context47.abrupt("return", this.measurePerformance('setTeamSiteAssignmentPermission', function () {
|
|
1714
|
+
var _this42$_legionClient;
|
|
1715
|
+
return (_this42$_legionClient = _this42._legionClient).setTeamSiteAssignmentPermission.apply(_this42$_legionClient, args);
|
|
1690
1716
|
}));
|
|
1691
1717
|
case 2:
|
|
1692
1718
|
case "end":
|
|
1693
|
-
return
|
|
1719
|
+
return _context47.stop();
|
|
1694
1720
|
}
|
|
1695
|
-
},
|
|
1721
|
+
}, _callee47, this);
|
|
1696
1722
|
}));
|
|
1697
1723
|
function setTeamSiteAssignmentPermission() {
|
|
1698
1724
|
return _setTeamSiteAssignmentPermission.apply(this, arguments);
|
|
@@ -1706,27 +1732,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1706
1732
|
}, {
|
|
1707
1733
|
key: "getTeamSiteAssignmentOrgDetails",
|
|
1708
1734
|
value: (function () {
|
|
1709
|
-
var _getTeamSiteAssignmentOrgDetails = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
1710
|
-
var
|
|
1735
|
+
var _getTeamSiteAssignmentOrgDetails = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee48() {
|
|
1736
|
+
var _this43 = this;
|
|
1711
1737
|
var _len33,
|
|
1712
1738
|
args,
|
|
1713
1739
|
_key33,
|
|
1714
|
-
|
|
1715
|
-
return _regenerator.default.wrap(function
|
|
1716
|
-
while (1) switch (
|
|
1740
|
+
_args48 = arguments;
|
|
1741
|
+
return _regenerator.default.wrap(function _callee48$(_context48) {
|
|
1742
|
+
while (1) switch (_context48.prev = _context48.next) {
|
|
1717
1743
|
case 0:
|
|
1718
|
-
for (_len33 =
|
|
1719
|
-
args[_key33] =
|
|
1744
|
+
for (_len33 = _args48.length, args = new Array(_len33), _key33 = 0; _key33 < _len33; _key33++) {
|
|
1745
|
+
args[_key33] = _args48[_key33];
|
|
1720
1746
|
}
|
|
1721
|
-
return
|
|
1722
|
-
var
|
|
1723
|
-
return (
|
|
1747
|
+
return _context48.abrupt("return", this.measurePerformance('getTeamSiteAssignmentOrgDetails', function () {
|
|
1748
|
+
var _this43$_legionClient;
|
|
1749
|
+
return (_this43$_legionClient = _this43._legionClient).getTeamSiteAssignmentOrgDetails.apply(_this43$_legionClient, args);
|
|
1724
1750
|
}));
|
|
1725
1751
|
case 2:
|
|
1726
1752
|
case "end":
|
|
1727
|
-
return
|
|
1753
|
+
return _context48.stop();
|
|
1728
1754
|
}
|
|
1729
|
-
},
|
|
1755
|
+
}, _callee48, this);
|
|
1730
1756
|
}));
|
|
1731
1757
|
function getTeamSiteAssignmentOrgDetails() {
|
|
1732
1758
|
return _getTeamSiteAssignmentOrgDetails.apply(this, arguments);
|
|
@@ -1740,27 +1766,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1740
1766
|
}, {
|
|
1741
1767
|
key: "getTeamsToBeClonedToJsmSites",
|
|
1742
1768
|
value: (function () {
|
|
1743
|
-
var _getTeamsToBeClonedToJsmSites = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
1744
|
-
var
|
|
1769
|
+
var _getTeamsToBeClonedToJsmSites = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee49() {
|
|
1770
|
+
var _this44 = this;
|
|
1745
1771
|
var _len34,
|
|
1746
1772
|
args,
|
|
1747
1773
|
_key34,
|
|
1748
|
-
|
|
1749
|
-
return _regenerator.default.wrap(function
|
|
1750
|
-
while (1) switch (
|
|
1774
|
+
_args49 = arguments;
|
|
1775
|
+
return _regenerator.default.wrap(function _callee49$(_context49) {
|
|
1776
|
+
while (1) switch (_context49.prev = _context49.next) {
|
|
1751
1777
|
case 0:
|
|
1752
|
-
for (_len34 =
|
|
1753
|
-
args[_key34] =
|
|
1778
|
+
for (_len34 = _args49.length, args = new Array(_len34), _key34 = 0; _key34 < _len34; _key34++) {
|
|
1779
|
+
args[_key34] = _args49[_key34];
|
|
1754
1780
|
}
|
|
1755
|
-
return
|
|
1756
|
-
var
|
|
1757
|
-
return (
|
|
1781
|
+
return _context49.abrupt("return", this.measurePerformance('getTeamsToBeClonedToJsmSites', function () {
|
|
1782
|
+
var _this44$_legionClient;
|
|
1783
|
+
return (_this44$_legionClient = _this44._legionClient).getTeamsToBeClonedToJsmSites.apply(_this44$_legionClient, args);
|
|
1758
1784
|
}));
|
|
1759
1785
|
case 2:
|
|
1760
1786
|
case "end":
|
|
1761
|
-
return
|
|
1787
|
+
return _context49.stop();
|
|
1762
1788
|
}
|
|
1763
|
-
},
|
|
1789
|
+
}, _callee49, this);
|
|
1764
1790
|
}));
|
|
1765
1791
|
function getTeamsToBeClonedToJsmSites() {
|
|
1766
1792
|
return _getTeamsToBeClonedToJsmSites.apply(this, arguments);
|
|
@@ -1774,13 +1800,13 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1774
1800
|
}, {
|
|
1775
1801
|
key: "getIsSiteAdmin",
|
|
1776
1802
|
value: function getIsSiteAdmin() {
|
|
1777
|
-
var
|
|
1803
|
+
var _this45 = this;
|
|
1778
1804
|
for (var _len35 = arguments.length, args = new Array(_len35), _key35 = 0; _key35 < _len35; _key35++) {
|
|
1779
1805
|
args[_key35] = arguments[_key35];
|
|
1780
1806
|
}
|
|
1781
1807
|
return this.measurePerformance('getIsSiteAdmin', function () {
|
|
1782
|
-
var
|
|
1783
|
-
return (
|
|
1808
|
+
var _this45$_permsClient;
|
|
1809
|
+
return (_this45$_permsClient = _this45._permsClient).getIsSiteAdmin.apply(_this45$_permsClient, args);
|
|
1784
1810
|
});
|
|
1785
1811
|
}
|
|
1786
1812
|
|
|
@@ -1790,13 +1816,13 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1790
1816
|
}, {
|
|
1791
1817
|
key: "addUsersToTeam",
|
|
1792
1818
|
value: function addUsersToTeam() {
|
|
1793
|
-
var
|
|
1819
|
+
var _this46 = this;
|
|
1794
1820
|
for (var _len36 = arguments.length, args = new Array(_len36), _key36 = 0; _key36 < _len36; _key36++) {
|
|
1795
1821
|
args[_key36] = arguments[_key36];
|
|
1796
1822
|
}
|
|
1797
1823
|
return this.measurePerformance('addUsersToTeam', function () {
|
|
1798
|
-
var
|
|
1799
|
-
return (
|
|
1824
|
+
var _this46$_publicApiCli;
|
|
1825
|
+
return (_this46$_publicApiCli = _this46._publicApiClient).addUsersToTeam.apply(_this46$_publicApiCli, args);
|
|
1800
1826
|
});
|
|
1801
1827
|
}
|
|
1802
1828
|
|
|
@@ -1806,13 +1832,13 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1806
1832
|
}, {
|
|
1807
1833
|
key: "removeTeamMemberships",
|
|
1808
1834
|
value: function removeTeamMemberships() {
|
|
1809
|
-
var
|
|
1835
|
+
var _this47 = this;
|
|
1810
1836
|
for (var _len37 = arguments.length, args = new Array(_len37), _key37 = 0; _key37 < _len37; _key37++) {
|
|
1811
1837
|
args[_key37] = arguments[_key37];
|
|
1812
1838
|
}
|
|
1813
1839
|
return this.measurePerformance('removeTeamMemberships', function () {
|
|
1814
|
-
var
|
|
1815
|
-
return (
|
|
1840
|
+
var _this47$_publicApiCli;
|
|
1841
|
+
return (_this47$_publicApiCli = _this47._publicApiClient).removeTeamMemberships.apply(_this47$_publicApiCli, args);
|
|
1816
1842
|
});
|
|
1817
1843
|
}
|
|
1818
1844
|
|
|
@@ -1822,37 +1848,37 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1822
1848
|
}, {
|
|
1823
1849
|
key: "restoreTeam",
|
|
1824
1850
|
value: function restoreTeam() {
|
|
1825
|
-
var
|
|
1851
|
+
var _this48 = this;
|
|
1826
1852
|
for (var _len38 = arguments.length, args = new Array(_len38), _key38 = 0; _key38 < _len38; _key38++) {
|
|
1827
1853
|
args[_key38] = arguments[_key38];
|
|
1828
1854
|
}
|
|
1829
1855
|
return this.measurePerformance('restoreTeam', function () {
|
|
1830
|
-
var
|
|
1831
|
-
return (
|
|
1856
|
+
var _this48$_publicApiCli;
|
|
1857
|
+
return (_this48$_publicApiCli = _this48._publicApiClient).restoreTeam.apply(_this48$_publicApiCli, args);
|
|
1832
1858
|
});
|
|
1833
1859
|
}
|
|
1834
1860
|
}, {
|
|
1835
1861
|
key: "getRecommendedProducts",
|
|
1836
1862
|
value: function getRecommendedProducts() {
|
|
1837
|
-
var
|
|
1863
|
+
var _this49 = this;
|
|
1838
1864
|
for (var _len39 = arguments.length, args = new Array(_len39), _key39 = 0; _key39 < _len39; _key39++) {
|
|
1839
1865
|
args[_key39] = arguments[_key39];
|
|
1840
1866
|
}
|
|
1841
1867
|
return this.measurePerformance('getRecommendedProducts', function () {
|
|
1842
|
-
var
|
|
1843
|
-
return (
|
|
1868
|
+
var _this49$_invitationsC;
|
|
1869
|
+
return (_this49$_invitationsC = _this49._invitationsClient).getProductRecommendations.apply(_this49$_invitationsC, args);
|
|
1844
1870
|
});
|
|
1845
1871
|
}
|
|
1846
1872
|
}, {
|
|
1847
1873
|
key: "joinOrRequestDefaultAccessToProductsBulk",
|
|
1848
1874
|
value: function joinOrRequestDefaultAccessToProductsBulk() {
|
|
1849
|
-
var
|
|
1875
|
+
var _this50 = this;
|
|
1850
1876
|
for (var _len40 = arguments.length, args = new Array(_len40), _key40 = 0; _key40 < _len40; _key40++) {
|
|
1851
1877
|
args[_key40] = arguments[_key40];
|
|
1852
1878
|
}
|
|
1853
1879
|
return this.measurePerformance('joinOrRequestDefaultAccessToProductsBulk', function () {
|
|
1854
|
-
var
|
|
1855
|
-
return (
|
|
1880
|
+
var _this50$_invitationsC;
|
|
1881
|
+
return (_this50$_invitationsC = _this50._invitationsClient).joinOrRequestDefaultAccessToProductsBulk.apply(_this50$_invitationsC, args);
|
|
1856
1882
|
});
|
|
1857
1883
|
}
|
|
1858
1884
|
|
|
@@ -1862,19 +1888,19 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1862
1888
|
}, {
|
|
1863
1889
|
key: "getWriteTeamMediaToken",
|
|
1864
1890
|
value: (function () {
|
|
1865
|
-
var _getWriteTeamMediaToken = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
1866
|
-
var
|
|
1867
|
-
return _regenerator.default.wrap(function
|
|
1868
|
-
while (1) switch (
|
|
1891
|
+
var _getWriteTeamMediaToken = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee50() {
|
|
1892
|
+
var _this51 = this;
|
|
1893
|
+
return _regenerator.default.wrap(function _callee50$(_context50) {
|
|
1894
|
+
while (1) switch (_context50.prev = _context50.next) {
|
|
1869
1895
|
case 0:
|
|
1870
|
-
return
|
|
1871
|
-
return
|
|
1896
|
+
return _context50.abrupt("return", this.measurePerformance('getWriteTeamMediaToken', function () {
|
|
1897
|
+
return _this51._legionClient.getWriteMediaToken();
|
|
1872
1898
|
}));
|
|
1873
1899
|
case 1:
|
|
1874
1900
|
case "end":
|
|
1875
|
-
return
|
|
1901
|
+
return _context50.stop();
|
|
1876
1902
|
}
|
|
1877
|
-
},
|
|
1903
|
+
}, _callee50, this);
|
|
1878
1904
|
}));
|
|
1879
1905
|
function getWriteTeamMediaToken() {
|
|
1880
1906
|
return _getWriteTeamMediaToken.apply(this, arguments);
|
|
@@ -1888,27 +1914,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1888
1914
|
}, {
|
|
1889
1915
|
key: "getReadMediaToken",
|
|
1890
1916
|
value: (function () {
|
|
1891
|
-
var _getReadMediaToken = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
1892
|
-
var
|
|
1917
|
+
var _getReadMediaToken = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee51() {
|
|
1918
|
+
var _this52 = this;
|
|
1893
1919
|
var _len41,
|
|
1894
1920
|
args,
|
|
1895
1921
|
_key41,
|
|
1896
|
-
|
|
1897
|
-
return _regenerator.default.wrap(function
|
|
1898
|
-
while (1) switch (
|
|
1922
|
+
_args51 = arguments;
|
|
1923
|
+
return _regenerator.default.wrap(function _callee51$(_context51) {
|
|
1924
|
+
while (1) switch (_context51.prev = _context51.next) {
|
|
1899
1925
|
case 0:
|
|
1900
|
-
for (_len41 =
|
|
1901
|
-
args[_key41] =
|
|
1926
|
+
for (_len41 = _args51.length, args = new Array(_len41), _key41 = 0; _key41 < _len41; _key41++) {
|
|
1927
|
+
args[_key41] = _args51[_key41];
|
|
1902
1928
|
}
|
|
1903
|
-
return
|
|
1904
|
-
var
|
|
1905
|
-
return (
|
|
1929
|
+
return _context51.abrupt("return", this.measurePerformance('getReadMediaToken', function () {
|
|
1930
|
+
var _this52$_userPreferen;
|
|
1931
|
+
return (_this52$_userPreferen = _this52._userPreferencesClient).getReadMediaToken.apply(_this52$_userPreferen, args);
|
|
1906
1932
|
}));
|
|
1907
1933
|
case 2:
|
|
1908
1934
|
case "end":
|
|
1909
|
-
return
|
|
1935
|
+
return _context51.stop();
|
|
1910
1936
|
}
|
|
1911
|
-
},
|
|
1937
|
+
}, _callee51, this);
|
|
1912
1938
|
}));
|
|
1913
1939
|
function getReadMediaToken() {
|
|
1914
1940
|
return _getReadMediaToken.apply(this, arguments);
|
|
@@ -1922,19 +1948,19 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1922
1948
|
}, {
|
|
1923
1949
|
key: "getWriteUserMediaToken",
|
|
1924
1950
|
value: (function () {
|
|
1925
|
-
var _getWriteUserMediaToken = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
1926
|
-
var
|
|
1927
|
-
return _regenerator.default.wrap(function
|
|
1928
|
-
while (1) switch (
|
|
1951
|
+
var _getWriteUserMediaToken = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee52() {
|
|
1952
|
+
var _this53 = this;
|
|
1953
|
+
return _regenerator.default.wrap(function _callee52$(_context52) {
|
|
1954
|
+
while (1) switch (_context52.prev = _context52.next) {
|
|
1929
1955
|
case 0:
|
|
1930
|
-
return
|
|
1931
|
-
return
|
|
1956
|
+
return _context52.abrupt("return", this.measurePerformance('getWriteUserMediaToken', function () {
|
|
1957
|
+
return _this53._userPreferencesClient.getWriteMediaToken();
|
|
1932
1958
|
}));
|
|
1933
1959
|
case 1:
|
|
1934
1960
|
case "end":
|
|
1935
|
-
return
|
|
1961
|
+
return _context52.stop();
|
|
1936
1962
|
}
|
|
1937
|
-
},
|
|
1963
|
+
}, _callee52, this);
|
|
1938
1964
|
}));
|
|
1939
1965
|
function getWriteUserMediaToken() {
|
|
1940
1966
|
return _getWriteUserMediaToken.apply(this, arguments);
|
|
@@ -1948,21 +1974,21 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1948
1974
|
}, {
|
|
1949
1975
|
key: "updateUserHeaderImage",
|
|
1950
1976
|
value: (function () {
|
|
1951
|
-
var _updateUserHeaderImage = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
1952
|
-
var
|
|
1953
|
-
return _regenerator.default.wrap(function
|
|
1954
|
-
while (1) switch (
|
|
1977
|
+
var _updateUserHeaderImage = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee53(headerImageId) {
|
|
1978
|
+
var _this54 = this;
|
|
1979
|
+
return _regenerator.default.wrap(function _callee53$(_context53) {
|
|
1980
|
+
while (1) switch (_context53.prev = _context53.next) {
|
|
1955
1981
|
case 0:
|
|
1956
|
-
return
|
|
1957
|
-
return
|
|
1982
|
+
return _context53.abrupt("return", this.measurePerformance('updateUserHeaderImage', function () {
|
|
1983
|
+
return _this54._userPreferencesClient.updateUserHeaderImage(headerImageId);
|
|
1958
1984
|
}));
|
|
1959
1985
|
case 1:
|
|
1960
1986
|
case "end":
|
|
1961
|
-
return
|
|
1987
|
+
return _context53.stop();
|
|
1962
1988
|
}
|
|
1963
|
-
},
|
|
1989
|
+
}, _callee53, this);
|
|
1964
1990
|
}));
|
|
1965
|
-
function updateUserHeaderImage(
|
|
1991
|
+
function updateUserHeaderImage(_x14) {
|
|
1966
1992
|
return _updateUserHeaderImage.apply(this, arguments);
|
|
1967
1993
|
}
|
|
1968
1994
|
return updateUserHeaderImage;
|
|
@@ -1974,27 +2000,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1974
2000
|
}, {
|
|
1975
2001
|
key: "getUserContainers",
|
|
1976
2002
|
value: (function () {
|
|
1977
|
-
var _getUserContainers = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
1978
|
-
var
|
|
2003
|
+
var _getUserContainers = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee54() {
|
|
2004
|
+
var _this55 = this;
|
|
1979
2005
|
var _len42,
|
|
1980
2006
|
args,
|
|
1981
2007
|
_key42,
|
|
1982
|
-
|
|
1983
|
-
return _regenerator.default.wrap(function
|
|
1984
|
-
while (1) switch (
|
|
2008
|
+
_args54 = arguments;
|
|
2009
|
+
return _regenerator.default.wrap(function _callee54$(_context54) {
|
|
2010
|
+
while (1) switch (_context54.prev = _context54.next) {
|
|
1985
2011
|
case 0:
|
|
1986
|
-
for (_len42 =
|
|
1987
|
-
args[_key42] =
|
|
2012
|
+
for (_len42 = _args54.length, args = new Array(_len42), _key42 = 0; _key42 < _len42; _key42++) {
|
|
2013
|
+
args[_key42] = _args54[_key42];
|
|
1988
2014
|
}
|
|
1989
|
-
return
|
|
1990
|
-
var
|
|
1991
|
-
return (
|
|
2015
|
+
return _context54.abrupt("return", this.measurePerformance('getUserContainers', function () {
|
|
2016
|
+
var _this55$_collaboratio;
|
|
2017
|
+
return (_this55$_collaboratio = _this55._collaborationGraphClient).getUserContainers.apply(_this55$_collaboratio, args);
|
|
1992
2018
|
}));
|
|
1993
2019
|
case 2:
|
|
1994
2020
|
case "end":
|
|
1995
|
-
return
|
|
2021
|
+
return _context54.stop();
|
|
1996
2022
|
}
|
|
1997
|
-
},
|
|
2023
|
+
}, _callee54, this);
|
|
1998
2024
|
}));
|
|
1999
2025
|
function getUserContainers() {
|
|
2000
2026
|
return _getUserContainers.apply(this, arguments);
|
|
@@ -2008,27 +2034,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2008
2034
|
}, {
|
|
2009
2035
|
key: "getUserManageConfig",
|
|
2010
2036
|
value: (function () {
|
|
2011
|
-
var _getUserManageConfig = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
2012
|
-
var
|
|
2037
|
+
var _getUserManageConfig = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee55() {
|
|
2038
|
+
var _this56 = this;
|
|
2013
2039
|
var _len43,
|
|
2014
2040
|
args,
|
|
2015
2041
|
_key43,
|
|
2016
|
-
|
|
2017
|
-
return _regenerator.default.wrap(function
|
|
2018
|
-
while (1) switch (
|
|
2042
|
+
_args55 = arguments;
|
|
2043
|
+
return _regenerator.default.wrap(function _callee55$(_context55) {
|
|
2044
|
+
while (1) switch (_context55.prev = _context55.next) {
|
|
2019
2045
|
case 0:
|
|
2020
|
-
for (_len43 =
|
|
2021
|
-
args[_key43] =
|
|
2046
|
+
for (_len43 = _args55.length, args = new Array(_len43), _key43 = 0; _key43 < _len43; _key43++) {
|
|
2047
|
+
args[_key43] = _args55[_key43];
|
|
2022
2048
|
}
|
|
2023
|
-
return
|
|
2024
|
-
var
|
|
2025
|
-
return (
|
|
2049
|
+
return _context55.abrupt("return", this.measurePerformance('getUserManageConfig', function () {
|
|
2050
|
+
var _this56$_identityClie;
|
|
2051
|
+
return (_this56$_identityClie = _this56._identityClient).getUserManageConfig.apply(_this56$_identityClie, args);
|
|
2026
2052
|
}));
|
|
2027
2053
|
case 2:
|
|
2028
2054
|
case "end":
|
|
2029
|
-
return
|
|
2055
|
+
return _context55.stop();
|
|
2030
2056
|
}
|
|
2031
|
-
},
|
|
2057
|
+
}, _callee55, this);
|
|
2032
2058
|
}));
|
|
2033
2059
|
function getUserManageConfig() {
|
|
2034
2060
|
return _getUserManageConfig.apply(this, arguments);
|
|
@@ -2042,27 +2068,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2042
2068
|
}, {
|
|
2043
2069
|
key: "getMyAvatarUploadedStatus",
|
|
2044
2070
|
value: (function () {
|
|
2045
|
-
var _getMyAvatarUploadedStatus = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
2046
|
-
var
|
|
2071
|
+
var _getMyAvatarUploadedStatus = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee56() {
|
|
2072
|
+
var _this57 = this;
|
|
2047
2073
|
var _len44,
|
|
2048
2074
|
args,
|
|
2049
2075
|
_key44,
|
|
2050
|
-
|
|
2051
|
-
return _regenerator.default.wrap(function
|
|
2052
|
-
while (1) switch (
|
|
2076
|
+
_args56 = arguments;
|
|
2077
|
+
return _regenerator.default.wrap(function _callee56$(_context56) {
|
|
2078
|
+
while (1) switch (_context56.prev = _context56.next) {
|
|
2053
2079
|
case 0:
|
|
2054
|
-
for (_len44 =
|
|
2055
|
-
args[_key44] =
|
|
2080
|
+
for (_len44 = _args56.length, args = new Array(_len44), _key44 = 0; _key44 < _len44; _key44++) {
|
|
2081
|
+
args[_key44] = _args56[_key44];
|
|
2056
2082
|
}
|
|
2057
|
-
return
|
|
2058
|
-
var
|
|
2059
|
-
return (
|
|
2083
|
+
return _context56.abrupt("return", this.measurePerformance('getMyAvatarUploadedStatus', function () {
|
|
2084
|
+
var _this57$_identityClie;
|
|
2085
|
+
return (_this57$_identityClie = _this57._identityClient).getMyAvatarUploadedStatus.apply(_this57$_identityClie, args);
|
|
2060
2086
|
}));
|
|
2061
2087
|
case 2:
|
|
2062
2088
|
case "end":
|
|
2063
|
-
return
|
|
2089
|
+
return _context56.stop();
|
|
2064
2090
|
}
|
|
2065
|
-
},
|
|
2091
|
+
}, _callee56, this);
|
|
2066
2092
|
}));
|
|
2067
2093
|
function getMyAvatarUploadedStatus() {
|
|
2068
2094
|
return _getMyAvatarUploadedStatus.apply(this, arguments);
|
|
@@ -2076,27 +2102,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2076
2102
|
}, {
|
|
2077
2103
|
key: "deleteAvatar",
|
|
2078
2104
|
value: (function () {
|
|
2079
|
-
var _deleteAvatar = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
2080
|
-
var
|
|
2105
|
+
var _deleteAvatar = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee57() {
|
|
2106
|
+
var _this58 = this;
|
|
2081
2107
|
var _len45,
|
|
2082
2108
|
args,
|
|
2083
2109
|
_key45,
|
|
2084
|
-
|
|
2085
|
-
return _regenerator.default.wrap(function
|
|
2086
|
-
while (1) switch (
|
|
2110
|
+
_args57 = arguments;
|
|
2111
|
+
return _regenerator.default.wrap(function _callee57$(_context57) {
|
|
2112
|
+
while (1) switch (_context57.prev = _context57.next) {
|
|
2087
2113
|
case 0:
|
|
2088
|
-
for (_len45 =
|
|
2089
|
-
args[_key45] =
|
|
2114
|
+
for (_len45 = _args57.length, args = new Array(_len45), _key45 = 0; _key45 < _len45; _key45++) {
|
|
2115
|
+
args[_key45] = _args57[_key45];
|
|
2090
2116
|
}
|
|
2091
|
-
return
|
|
2092
|
-
var
|
|
2093
|
-
return (
|
|
2117
|
+
return _context57.abrupt("return", this.measurePerformance('deleteUserAvatar', function () {
|
|
2118
|
+
var _this58$_identityClie;
|
|
2119
|
+
return (_this58$_identityClie = _this58._identityClient).deleteAvatar.apply(_this58$_identityClie, args);
|
|
2094
2120
|
}));
|
|
2095
2121
|
case 2:
|
|
2096
2122
|
case "end":
|
|
2097
|
-
return
|
|
2123
|
+
return _context57.stop();
|
|
2098
2124
|
}
|
|
2099
|
-
},
|
|
2125
|
+
}, _callee57, this);
|
|
2100
2126
|
}));
|
|
2101
2127
|
function deleteAvatar() {
|
|
2102
2128
|
return _deleteAvatar.apply(this, arguments);
|
|
@@ -2106,27 +2132,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2106
2132
|
}, {
|
|
2107
2133
|
key: "fetchUserAvatarInfo",
|
|
2108
2134
|
value: function () {
|
|
2109
|
-
var _fetchUserAvatarInfo = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
2110
|
-
var
|
|
2135
|
+
var _fetchUserAvatarInfo = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee58() {
|
|
2136
|
+
var _this59 = this;
|
|
2111
2137
|
var _len46,
|
|
2112
2138
|
args,
|
|
2113
2139
|
_key46,
|
|
2114
|
-
|
|
2115
|
-
return _regenerator.default.wrap(function
|
|
2116
|
-
while (1) switch (
|
|
2140
|
+
_args58 = arguments;
|
|
2141
|
+
return _regenerator.default.wrap(function _callee58$(_context58) {
|
|
2142
|
+
while (1) switch (_context58.prev = _context58.next) {
|
|
2117
2143
|
case 0:
|
|
2118
|
-
for (_len46 =
|
|
2119
|
-
args[_key46] =
|
|
2144
|
+
for (_len46 = _args58.length, args = new Array(_len46), _key46 = 0; _key46 < _len46; _key46++) {
|
|
2145
|
+
args[_key46] = _args58[_key46];
|
|
2120
2146
|
}
|
|
2121
|
-
return
|
|
2122
|
-
var
|
|
2123
|
-
return (
|
|
2147
|
+
return _context58.abrupt("return", this.measurePerformance('fetchUserAvatarInfo', function () {
|
|
2148
|
+
var _this59$_identityClie;
|
|
2149
|
+
return (_this59$_identityClie = _this59._identityClient).fetchUserAvatarInfo.apply(_this59$_identityClie, args);
|
|
2124
2150
|
}));
|
|
2125
2151
|
case 2:
|
|
2126
2152
|
case "end":
|
|
2127
|
-
return
|
|
2153
|
+
return _context58.stop();
|
|
2128
2154
|
}
|
|
2129
|
-
},
|
|
2155
|
+
}, _callee58, this);
|
|
2130
2156
|
}));
|
|
2131
2157
|
function fetchUserAvatarInfo() {
|
|
2132
2158
|
return _fetchUserAvatarInfo.apply(this, arguments);
|
|
@@ -2139,27 +2165,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2139
2165
|
}, {
|
|
2140
2166
|
key: "getTeamLinkIcons",
|
|
2141
2167
|
value: (function () {
|
|
2142
|
-
var _getTeamLinkIcons = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
2143
|
-
var
|
|
2168
|
+
var _getTeamLinkIcons = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee59() {
|
|
2169
|
+
var _this60 = this;
|
|
2144
2170
|
var _len47,
|
|
2145
2171
|
args,
|
|
2146
2172
|
_key47,
|
|
2147
|
-
|
|
2148
|
-
return _regenerator.default.wrap(function
|
|
2149
|
-
while (1) switch (
|
|
2173
|
+
_args59 = arguments;
|
|
2174
|
+
return _regenerator.default.wrap(function _callee59$(_context59) {
|
|
2175
|
+
while (1) switch (_context59.prev = _context59.next) {
|
|
2150
2176
|
case 0:
|
|
2151
|
-
for (_len47 =
|
|
2152
|
-
args[_key47] =
|
|
2177
|
+
for (_len47 = _args59.length, args = new Array(_len47), _key47 = 0; _key47 < _len47; _key47++) {
|
|
2178
|
+
args[_key47] = _args59[_key47];
|
|
2153
2179
|
}
|
|
2154
|
-
return
|
|
2155
|
-
var
|
|
2156
|
-
return (
|
|
2180
|
+
return _context59.abrupt("return", this.measurePerformance('getTeamLinkIcons', function () {
|
|
2181
|
+
var _this60$_objectResolv;
|
|
2182
|
+
return (_this60$_objectResolv = _this60._objectResolverClient).getTeamLinkIcons.apply(_this60$_objectResolv, args);
|
|
2157
2183
|
}));
|
|
2158
2184
|
case 2:
|
|
2159
2185
|
case "end":
|
|
2160
|
-
return
|
|
2186
|
+
return _context59.stop();
|
|
2161
2187
|
}
|
|
2162
|
-
},
|
|
2188
|
+
}, _callee59, this);
|
|
2163
2189
|
}));
|
|
2164
2190
|
function getTeamLinkIcons() {
|
|
2165
2191
|
return _getTeamLinkIcons.apply(this, arguments);
|
|
@@ -2173,27 +2199,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2173
2199
|
}, {
|
|
2174
2200
|
key: "getAriFromUrl",
|
|
2175
2201
|
value: (function () {
|
|
2176
|
-
var _getAriFromUrl = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
2177
|
-
var
|
|
2202
|
+
var _getAriFromUrl = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee60() {
|
|
2203
|
+
var _this61 = this;
|
|
2178
2204
|
var _len48,
|
|
2179
2205
|
args,
|
|
2180
2206
|
_key48,
|
|
2181
|
-
|
|
2182
|
-
return _regenerator.default.wrap(function
|
|
2183
|
-
while (1) switch (
|
|
2207
|
+
_args60 = arguments;
|
|
2208
|
+
return _regenerator.default.wrap(function _callee60$(_context60) {
|
|
2209
|
+
while (1) switch (_context60.prev = _context60.next) {
|
|
2184
2210
|
case 0:
|
|
2185
|
-
for (_len48 =
|
|
2186
|
-
args[_key48] =
|
|
2211
|
+
for (_len48 = _args60.length, args = new Array(_len48), _key48 = 0; _key48 < _len48; _key48++) {
|
|
2212
|
+
args[_key48] = _args60[_key48];
|
|
2187
2213
|
}
|
|
2188
|
-
return
|
|
2189
|
-
var
|
|
2190
|
-
return (
|
|
2214
|
+
return _context60.abrupt("return", this.measurePerformance('getAriFromUrl', function () {
|
|
2215
|
+
var _this61$_objectResolv;
|
|
2216
|
+
return (_this61$_objectResolv = _this61._objectResolverClient).getAriFromUrl.apply(_this61$_objectResolv, args);
|
|
2191
2217
|
}));
|
|
2192
2218
|
case 2:
|
|
2193
2219
|
case "end":
|
|
2194
|
-
return
|
|
2220
|
+
return _context60.stop();
|
|
2195
2221
|
}
|
|
2196
|
-
},
|
|
2222
|
+
}, _callee60, this);
|
|
2197
2223
|
}));
|
|
2198
2224
|
function getAriFromUrl() {
|
|
2199
2225
|
return _getAriFromUrl.apply(this, arguments);
|
|
@@ -2207,27 +2233,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2207
2233
|
}, {
|
|
2208
2234
|
key: "getWebLinkTitle",
|
|
2209
2235
|
value: (function () {
|
|
2210
|
-
var _getWebLinkTitle = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
2211
|
-
var
|
|
2236
|
+
var _getWebLinkTitle = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee61() {
|
|
2237
|
+
var _this62 = this;
|
|
2212
2238
|
var _len49,
|
|
2213
2239
|
args,
|
|
2214
2240
|
_key49,
|
|
2215
|
-
|
|
2216
|
-
return _regenerator.default.wrap(function
|
|
2217
|
-
while (1) switch (
|
|
2241
|
+
_args61 = arguments;
|
|
2242
|
+
return _regenerator.default.wrap(function _callee61$(_context61) {
|
|
2243
|
+
while (1) switch (_context61.prev = _context61.next) {
|
|
2218
2244
|
case 0:
|
|
2219
|
-
for (_len49 =
|
|
2220
|
-
args[_key49] =
|
|
2245
|
+
for (_len49 = _args61.length, args = new Array(_len49), _key49 = 0; _key49 < _len49; _key49++) {
|
|
2246
|
+
args[_key49] = _args61[_key49];
|
|
2221
2247
|
}
|
|
2222
|
-
return
|
|
2223
|
-
var
|
|
2224
|
-
return (
|
|
2248
|
+
return _context61.abrupt("return", this.measurePerformance('getWebLinkTitle', function () {
|
|
2249
|
+
var _this62$_objectResolv;
|
|
2250
|
+
return (_this62$_objectResolv = _this62._objectResolverClient).getWebLinkTitle.apply(_this62$_objectResolv, args);
|
|
2225
2251
|
}));
|
|
2226
2252
|
case 2:
|
|
2227
2253
|
case "end":
|
|
2228
|
-
return
|
|
2254
|
+
return _context61.stop();
|
|
2229
2255
|
}
|
|
2230
|
-
},
|
|
2256
|
+
}, _callee61, this);
|
|
2231
2257
|
}));
|
|
2232
2258
|
function getWebLinkTitle() {
|
|
2233
2259
|
return _getWebLinkTitle.apply(this, arguments);
|
|
@@ -2241,27 +2267,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2241
2267
|
}, {
|
|
2242
2268
|
key: "getTeamInSlack",
|
|
2243
2269
|
value: (function () {
|
|
2244
|
-
var _getTeamInSlack = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
2245
|
-
var
|
|
2270
|
+
var _getTeamInSlack = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee62() {
|
|
2271
|
+
var _this63 = this;
|
|
2246
2272
|
var _len50,
|
|
2247
2273
|
args,
|
|
2248
2274
|
_key50,
|
|
2249
|
-
|
|
2250
|
-
return _regenerator.default.wrap(function
|
|
2251
|
-
while (1) switch (
|
|
2275
|
+
_args62 = arguments;
|
|
2276
|
+
return _regenerator.default.wrap(function _callee62$(_context62) {
|
|
2277
|
+
while (1) switch (_context62.prev = _context62.next) {
|
|
2252
2278
|
case 0:
|
|
2253
|
-
for (_len50 =
|
|
2254
|
-
args[_key50] =
|
|
2279
|
+
for (_len50 = _args62.length, args = new Array(_len50), _key50 = 0; _key50 < _len50; _key50++) {
|
|
2280
|
+
args[_key50] = _args62[_key50];
|
|
2255
2281
|
}
|
|
2256
|
-
return
|
|
2257
|
-
var
|
|
2258
|
-
return (
|
|
2282
|
+
return _context62.abrupt("return", this.measurePerformance('getTeamInSlack', function () {
|
|
2283
|
+
var _this63$_teamsInSlack;
|
|
2284
|
+
return (_this63$_teamsInSlack = _this63._teamsInSlackClient).getTeamInSlack.apply(_this63$_teamsInSlack, args);
|
|
2259
2285
|
}));
|
|
2260
2286
|
case 2:
|
|
2261
2287
|
case "end":
|
|
2262
|
-
return
|
|
2288
|
+
return _context62.stop();
|
|
2263
2289
|
}
|
|
2264
|
-
},
|
|
2290
|
+
}, _callee62, this);
|
|
2265
2291
|
}));
|
|
2266
2292
|
function getTeamInSlack() {
|
|
2267
2293
|
return _getTeamInSlack.apply(this, arguments);
|
|
@@ -2275,27 +2301,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2275
2301
|
}, {
|
|
2276
2302
|
key: "disconnectTeamInSlack",
|
|
2277
2303
|
value: (function () {
|
|
2278
|
-
var _disconnectTeamInSlack = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
2279
|
-
var
|
|
2304
|
+
var _disconnectTeamInSlack = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee63() {
|
|
2305
|
+
var _this64 = this;
|
|
2280
2306
|
var _len51,
|
|
2281
2307
|
args,
|
|
2282
2308
|
_key51,
|
|
2283
|
-
|
|
2284
|
-
return _regenerator.default.wrap(function
|
|
2285
|
-
while (1) switch (
|
|
2309
|
+
_args63 = arguments;
|
|
2310
|
+
return _regenerator.default.wrap(function _callee63$(_context63) {
|
|
2311
|
+
while (1) switch (_context63.prev = _context63.next) {
|
|
2286
2312
|
case 0:
|
|
2287
|
-
for (_len51 =
|
|
2288
|
-
args[_key51] =
|
|
2313
|
+
for (_len51 = _args63.length, args = new Array(_len51), _key51 = 0; _key51 < _len51; _key51++) {
|
|
2314
|
+
args[_key51] = _args63[_key51];
|
|
2289
2315
|
}
|
|
2290
|
-
return
|
|
2291
|
-
var
|
|
2292
|
-
return (
|
|
2316
|
+
return _context63.abrupt("return", this.measurePerformance('disconnectTeamInSlack', function () {
|
|
2317
|
+
var _this64$_teamsInSlack;
|
|
2318
|
+
return (_this64$_teamsInSlack = _this64._teamsInSlackClient).disconnectTeamInSlack.apply(_this64$_teamsInSlack, args);
|
|
2293
2319
|
}));
|
|
2294
2320
|
case 2:
|
|
2295
2321
|
case "end":
|
|
2296
|
-
return
|
|
2322
|
+
return _context63.stop();
|
|
2297
2323
|
}
|
|
2298
|
-
},
|
|
2324
|
+
}, _callee63, this);
|
|
2299
2325
|
}));
|
|
2300
2326
|
function disconnectTeamInSlack() {
|
|
2301
2327
|
return _disconnectTeamInSlack.apply(this, arguments);
|
|
@@ -2309,27 +2335,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2309
2335
|
}, {
|
|
2310
2336
|
key: "updateTeamInSlack",
|
|
2311
2337
|
value: (function () {
|
|
2312
|
-
var _updateTeamInSlack = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
2313
|
-
var
|
|
2338
|
+
var _updateTeamInSlack = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee64() {
|
|
2339
|
+
var _this65 = this;
|
|
2314
2340
|
var _len52,
|
|
2315
2341
|
args,
|
|
2316
2342
|
_key52,
|
|
2317
|
-
|
|
2318
|
-
return _regenerator.default.wrap(function
|
|
2319
|
-
while (1) switch (
|
|
2343
|
+
_args64 = arguments;
|
|
2344
|
+
return _regenerator.default.wrap(function _callee64$(_context64) {
|
|
2345
|
+
while (1) switch (_context64.prev = _context64.next) {
|
|
2320
2346
|
case 0:
|
|
2321
|
-
for (_len52 =
|
|
2322
|
-
args[_key52] =
|
|
2347
|
+
for (_len52 = _args64.length, args = new Array(_len52), _key52 = 0; _key52 < _len52; _key52++) {
|
|
2348
|
+
args[_key52] = _args64[_key52];
|
|
2323
2349
|
}
|
|
2324
|
-
return
|
|
2325
|
-
var
|
|
2326
|
-
return (
|
|
2350
|
+
return _context64.abrupt("return", this.measurePerformance('updateTeamInSlack', function () {
|
|
2351
|
+
var _this65$_teamsInSlack;
|
|
2352
|
+
return (_this65$_teamsInSlack = _this65._teamsInSlackClient).updateTeamInSlack.apply(_this65$_teamsInSlack, args);
|
|
2327
2353
|
}));
|
|
2328
2354
|
case 2:
|
|
2329
2355
|
case "end":
|
|
2330
|
-
return
|
|
2356
|
+
return _context64.stop();
|
|
2331
2357
|
}
|
|
2332
|
-
},
|
|
2358
|
+
}, _callee64, this);
|
|
2333
2359
|
}));
|
|
2334
2360
|
function updateTeamInSlack() {
|
|
2335
2361
|
return _updateTeamInSlack.apply(this, arguments);
|
|
@@ -2343,27 +2369,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2343
2369
|
}, {
|
|
2344
2370
|
key: "updateUser",
|
|
2345
2371
|
value: (function () {
|
|
2346
|
-
var _updateUser = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
2347
|
-
var
|
|
2372
|
+
var _updateUser = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee65() {
|
|
2373
|
+
var _this66 = this;
|
|
2348
2374
|
var _len53,
|
|
2349
2375
|
args,
|
|
2350
2376
|
_key53,
|
|
2351
|
-
|
|
2352
|
-
return _regenerator.default.wrap(function
|
|
2353
|
-
while (1) switch (
|
|
2377
|
+
_args65 = arguments;
|
|
2378
|
+
return _regenerator.default.wrap(function _callee65$(_context65) {
|
|
2379
|
+
while (1) switch (_context65.prev = _context65.next) {
|
|
2354
2380
|
case 0:
|
|
2355
|
-
for (_len53 =
|
|
2356
|
-
args[_key53] =
|
|
2381
|
+
for (_len53 = _args65.length, args = new Array(_len53), _key53 = 0; _key53 < _len53; _key53++) {
|
|
2382
|
+
args[_key53] = _args65[_key53];
|
|
2357
2383
|
}
|
|
2358
|
-
return
|
|
2359
|
-
var
|
|
2360
|
-
return (
|
|
2384
|
+
return _context65.abrupt("return", this.measurePerformance('updateUser', function () {
|
|
2385
|
+
var _this66$_identityClie;
|
|
2386
|
+
return (_this66$_identityClie = _this66._identityClient).updateUser.apply(_this66$_identityClie, args);
|
|
2361
2387
|
}));
|
|
2362
2388
|
case 2:
|
|
2363
2389
|
case "end":
|
|
2364
|
-
return
|
|
2390
|
+
return _context65.stop();
|
|
2365
2391
|
}
|
|
2366
|
-
},
|
|
2392
|
+
}, _callee65, this);
|
|
2367
2393
|
}));
|
|
2368
2394
|
function updateUser() {
|
|
2369
2395
|
return _updateUser.apply(this, arguments);
|
|
@@ -2373,27 +2399,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2373
2399
|
}, {
|
|
2374
2400
|
key: "updateUserAvatar",
|
|
2375
2401
|
value: function () {
|
|
2376
|
-
var _updateUserAvatar = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
2377
|
-
var
|
|
2402
|
+
var _updateUserAvatar = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee66() {
|
|
2403
|
+
var _this67 = this;
|
|
2378
2404
|
var _len54,
|
|
2379
2405
|
args,
|
|
2380
2406
|
_key54,
|
|
2381
|
-
|
|
2382
|
-
return _regenerator.default.wrap(function
|
|
2383
|
-
while (1) switch (
|
|
2407
|
+
_args66 = arguments;
|
|
2408
|
+
return _regenerator.default.wrap(function _callee66$(_context66) {
|
|
2409
|
+
while (1) switch (_context66.prev = _context66.next) {
|
|
2384
2410
|
case 0:
|
|
2385
|
-
for (_len54 =
|
|
2386
|
-
args[_key54] =
|
|
2411
|
+
for (_len54 = _args66.length, args = new Array(_len54), _key54 = 0; _key54 < _len54; _key54++) {
|
|
2412
|
+
args[_key54] = _args66[_key54];
|
|
2387
2413
|
}
|
|
2388
|
-
return
|
|
2389
|
-
var
|
|
2390
|
-
return (
|
|
2414
|
+
return _context66.abrupt("return", this.measurePerformance('updateUserAvatar', function () {
|
|
2415
|
+
var _this67$_identityClie;
|
|
2416
|
+
return (_this67$_identityClie = _this67._identityClient).updateUserAvatar.apply(_this67$_identityClie, args);
|
|
2391
2417
|
}));
|
|
2392
2418
|
case 2:
|
|
2393
2419
|
case "end":
|
|
2394
|
-
return
|
|
2420
|
+
return _context66.stop();
|
|
2395
2421
|
}
|
|
2396
|
-
},
|
|
2422
|
+
}, _callee66, this);
|
|
2397
2423
|
}));
|
|
2398
2424
|
function updateUserAvatar() {
|
|
2399
2425
|
return _updateUserAvatar.apply(this, arguments);
|
|
@@ -2403,18 +2429,18 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2403
2429
|
}, {
|
|
2404
2430
|
key: "addTeamWatcher",
|
|
2405
2431
|
value: function () {
|
|
2406
|
-
var _addTeamWatcher = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
2432
|
+
var _addTeamWatcher = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee67() {
|
|
2407
2433
|
var _this$_teamCentralCli;
|
|
2408
|
-
var
|
|
2409
|
-
return _regenerator.default.wrap(function
|
|
2410
|
-
while (1) switch (
|
|
2434
|
+
var _args67 = arguments;
|
|
2435
|
+
return _regenerator.default.wrap(function _callee67$(_context67) {
|
|
2436
|
+
while (1) switch (_context67.prev = _context67.next) {
|
|
2411
2437
|
case 0:
|
|
2412
|
-
return
|
|
2438
|
+
return _context67.abrupt("return", (_this$_teamCentralCli = this._teamCentralClient).addTeamWatcher.apply(_this$_teamCentralCli, _args67));
|
|
2413
2439
|
case 1:
|
|
2414
2440
|
case "end":
|
|
2415
|
-
return
|
|
2441
|
+
return _context67.stop();
|
|
2416
2442
|
}
|
|
2417
|
-
},
|
|
2443
|
+
}, _callee67, this);
|
|
2418
2444
|
}));
|
|
2419
2445
|
function addTeamWatcher() {
|
|
2420
2446
|
return _addTeamWatcher.apply(this, arguments);
|
|
@@ -2424,18 +2450,18 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2424
2450
|
}, {
|
|
2425
2451
|
key: "isTeamWatcher",
|
|
2426
2452
|
value: function () {
|
|
2427
|
-
var _isTeamWatcher = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
2453
|
+
var _isTeamWatcher = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee68() {
|
|
2428
2454
|
var _this$_teamCentralCli2;
|
|
2429
|
-
var
|
|
2430
|
-
return _regenerator.default.wrap(function
|
|
2431
|
-
while (1) switch (
|
|
2455
|
+
var _args68 = arguments;
|
|
2456
|
+
return _regenerator.default.wrap(function _callee68$(_context68) {
|
|
2457
|
+
while (1) switch (_context68.prev = _context68.next) {
|
|
2432
2458
|
case 0:
|
|
2433
|
-
return
|
|
2459
|
+
return _context68.abrupt("return", (_this$_teamCentralCli2 = this._teamCentralClient).isTeamWatcher.apply(_this$_teamCentralCli2, _args68));
|
|
2434
2460
|
case 1:
|
|
2435
2461
|
case "end":
|
|
2436
|
-
return
|
|
2462
|
+
return _context68.stop();
|
|
2437
2463
|
}
|
|
2438
|
-
},
|
|
2464
|
+
}, _callee68, this);
|
|
2439
2465
|
}));
|
|
2440
2466
|
function isTeamWatcher() {
|
|
2441
2467
|
return _isTeamWatcher.apply(this, arguments);
|
|
@@ -2445,18 +2471,18 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2445
2471
|
}, {
|
|
2446
2472
|
key: "removeTeamWatcher",
|
|
2447
2473
|
value: function () {
|
|
2448
|
-
var _removeTeamWatcher = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
2474
|
+
var _removeTeamWatcher = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee69() {
|
|
2449
2475
|
var _this$_teamCentralCli3;
|
|
2450
|
-
var
|
|
2451
|
-
return _regenerator.default.wrap(function
|
|
2452
|
-
while (1) switch (
|
|
2476
|
+
var _args69 = arguments;
|
|
2477
|
+
return _regenerator.default.wrap(function _callee69$(_context69) {
|
|
2478
|
+
while (1) switch (_context69.prev = _context69.next) {
|
|
2453
2479
|
case 0:
|
|
2454
|
-
return
|
|
2480
|
+
return _context69.abrupt("return", (_this$_teamCentralCli3 = this._teamCentralClient).removeTeamWatcher.apply(_this$_teamCentralCli3, _args69));
|
|
2455
2481
|
case 1:
|
|
2456
2482
|
case "end":
|
|
2457
|
-
return
|
|
2483
|
+
return _context69.stop();
|
|
2458
2484
|
}
|
|
2459
|
-
},
|
|
2485
|
+
}, _callee69, this);
|
|
2460
2486
|
}));
|
|
2461
2487
|
function removeTeamWatcher() {
|
|
2462
2488
|
return _removeTeamWatcher.apply(this, arguments);
|
|
@@ -2466,18 +2492,18 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2466
2492
|
}, {
|
|
2467
2493
|
key: "deleteKudos",
|
|
2468
2494
|
value: function () {
|
|
2469
|
-
var _deleteKudos = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
2495
|
+
var _deleteKudos = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee70() {
|
|
2470
2496
|
var _this$_teamCentralCli4;
|
|
2471
|
-
var
|
|
2472
|
-
return _regenerator.default.wrap(function
|
|
2473
|
-
while (1) switch (
|
|
2497
|
+
var _args70 = arguments;
|
|
2498
|
+
return _regenerator.default.wrap(function _callee70$(_context70) {
|
|
2499
|
+
while (1) switch (_context70.prev = _context70.next) {
|
|
2474
2500
|
case 0:
|
|
2475
|
-
return
|
|
2501
|
+
return _context70.abrupt("return", (_this$_teamCentralCli4 = this._teamCentralClient).deleteKudos.apply(_this$_teamCentralCli4, _args70));
|
|
2476
2502
|
case 1:
|
|
2477
2503
|
case "end":
|
|
2478
|
-
return
|
|
2504
|
+
return _context70.stop();
|
|
2479
2505
|
}
|
|
2480
|
-
},
|
|
2506
|
+
}, _callee70, this);
|
|
2481
2507
|
}));
|
|
2482
2508
|
function deleteKudos() {
|
|
2483
2509
|
return _deleteKudos.apply(this, arguments);
|
|
@@ -2487,18 +2513,18 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2487
2513
|
}, {
|
|
2488
2514
|
key: "queryTagList",
|
|
2489
2515
|
value: function () {
|
|
2490
|
-
var _queryTagList = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
2516
|
+
var _queryTagList = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee71() {
|
|
2491
2517
|
var _this$_teamCentralCli5;
|
|
2492
|
-
var
|
|
2493
|
-
return _regenerator.default.wrap(function
|
|
2494
|
-
while (1) switch (
|
|
2518
|
+
var _args71 = arguments;
|
|
2519
|
+
return _regenerator.default.wrap(function _callee71$(_context71) {
|
|
2520
|
+
while (1) switch (_context71.prev = _context71.next) {
|
|
2495
2521
|
case 0:
|
|
2496
|
-
return
|
|
2522
|
+
return _context71.abrupt("return", (_this$_teamCentralCli5 = this._teamCentralClient).queryTagList.apply(_this$_teamCentralCli5, _args71));
|
|
2497
2523
|
case 1:
|
|
2498
2524
|
case "end":
|
|
2499
|
-
return
|
|
2525
|
+
return _context71.stop();
|
|
2500
2526
|
}
|
|
2501
|
-
},
|
|
2527
|
+
}, _callee71, this);
|
|
2502
2528
|
}));
|
|
2503
2529
|
function queryTagList() {
|
|
2504
2530
|
return _queryTagList.apply(this, arguments);
|
|
@@ -2508,18 +2534,18 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2508
2534
|
}, {
|
|
2509
2535
|
key: "createTag",
|
|
2510
2536
|
value: function () {
|
|
2511
|
-
var _createTag = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
2537
|
+
var _createTag = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee72() {
|
|
2512
2538
|
var _this$_teamCentralCli6;
|
|
2513
|
-
var
|
|
2514
|
-
return _regenerator.default.wrap(function
|
|
2515
|
-
while (1) switch (
|
|
2539
|
+
var _args72 = arguments;
|
|
2540
|
+
return _regenerator.default.wrap(function _callee72$(_context72) {
|
|
2541
|
+
while (1) switch (_context72.prev = _context72.next) {
|
|
2516
2542
|
case 0:
|
|
2517
|
-
return
|
|
2543
|
+
return _context72.abrupt("return", (_this$_teamCentralCli6 = this._teamCentralClient).createTag.apply(_this$_teamCentralCli6, _args72));
|
|
2518
2544
|
case 1:
|
|
2519
2545
|
case "end":
|
|
2520
|
-
return
|
|
2546
|
+
return _context72.stop();
|
|
2521
2547
|
}
|
|
2522
|
-
},
|
|
2548
|
+
}, _callee72, this);
|
|
2523
2549
|
}));
|
|
2524
2550
|
function createTag() {
|
|
2525
2551
|
return _createTag.apply(this, arguments);
|
|
@@ -2529,18 +2555,18 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2529
2555
|
}, {
|
|
2530
2556
|
key: "createHelpPointer",
|
|
2531
2557
|
value: function () {
|
|
2532
|
-
var _createHelpPointer = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
2558
|
+
var _createHelpPointer = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee73() {
|
|
2533
2559
|
var _this$_teamCentralCli7;
|
|
2534
|
-
var
|
|
2535
|
-
return _regenerator.default.wrap(function
|
|
2536
|
-
while (1) switch (
|
|
2560
|
+
var _args73 = arguments;
|
|
2561
|
+
return _regenerator.default.wrap(function _callee73$(_context73) {
|
|
2562
|
+
while (1) switch (_context73.prev = _context73.next) {
|
|
2537
2563
|
case 0:
|
|
2538
|
-
return
|
|
2564
|
+
return _context73.abrupt("return", (_this$_teamCentralCli7 = this._teamCentralClient).createHelpPointer.apply(_this$_teamCentralCli7, _args73));
|
|
2539
2565
|
case 1:
|
|
2540
2566
|
case "end":
|
|
2541
|
-
return
|
|
2567
|
+
return _context73.stop();
|
|
2542
2568
|
}
|
|
2543
|
-
},
|
|
2569
|
+
}, _callee73, this);
|
|
2544
2570
|
}));
|
|
2545
2571
|
function createHelpPointer() {
|
|
2546
2572
|
return _createHelpPointer.apply(this, arguments);
|
|
@@ -2550,18 +2576,18 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2550
2576
|
}, {
|
|
2551
2577
|
key: "updateHelpPointer",
|
|
2552
2578
|
value: function () {
|
|
2553
|
-
var _updateHelpPointer = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
2579
|
+
var _updateHelpPointer = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee74() {
|
|
2554
2580
|
var _this$_teamCentralCli8;
|
|
2555
|
-
var
|
|
2556
|
-
return _regenerator.default.wrap(function
|
|
2557
|
-
while (1) switch (
|
|
2581
|
+
var _args74 = arguments;
|
|
2582
|
+
return _regenerator.default.wrap(function _callee74$(_context74) {
|
|
2583
|
+
while (1) switch (_context74.prev = _context74.next) {
|
|
2558
2584
|
case 0:
|
|
2559
|
-
return
|
|
2585
|
+
return _context74.abrupt("return", (_this$_teamCentralCli8 = this._teamCentralClient).updateHelpPointer.apply(_this$_teamCentralCli8, _args74));
|
|
2560
2586
|
case 1:
|
|
2561
2587
|
case "end":
|
|
2562
|
-
return
|
|
2588
|
+
return _context74.stop();
|
|
2563
2589
|
}
|
|
2564
|
-
},
|
|
2590
|
+
}, _callee74, this);
|
|
2565
2591
|
}));
|
|
2566
2592
|
function updateHelpPointer() {
|
|
2567
2593
|
return _updateHelpPointer.apply(this, arguments);
|
|
@@ -2571,18 +2597,18 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2571
2597
|
}, {
|
|
2572
2598
|
key: "deleteHelpPointer",
|
|
2573
2599
|
value: function () {
|
|
2574
|
-
var _deleteHelpPointer = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
2600
|
+
var _deleteHelpPointer = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee75() {
|
|
2575
2601
|
var _this$_teamCentralCli9;
|
|
2576
|
-
var
|
|
2577
|
-
return _regenerator.default.wrap(function
|
|
2578
|
-
while (1) switch (
|
|
2602
|
+
var _args75 = arguments;
|
|
2603
|
+
return _regenerator.default.wrap(function _callee75$(_context75) {
|
|
2604
|
+
while (1) switch (_context75.prev = _context75.next) {
|
|
2579
2605
|
case 0:
|
|
2580
|
-
return
|
|
2606
|
+
return _context75.abrupt("return", (_this$_teamCentralCli9 = this._teamCentralClient).deleteHelpPointer.apply(_this$_teamCentralCli9, _args75));
|
|
2581
2607
|
case 1:
|
|
2582
2608
|
case "end":
|
|
2583
|
-
return
|
|
2609
|
+
return _context75.stop();
|
|
2584
2610
|
}
|
|
2585
|
-
},
|
|
2611
|
+
}, _callee75, this);
|
|
2586
2612
|
}));
|
|
2587
2613
|
function deleteHelpPointer() {
|
|
2588
2614
|
return _deleteHelpPointer.apply(this, arguments);
|
|
@@ -2592,27 +2618,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2592
2618
|
}, {
|
|
2593
2619
|
key: "getUserTenure",
|
|
2594
2620
|
value: function () {
|
|
2595
|
-
var _getUserTenure = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
2596
|
-
var
|
|
2621
|
+
var _getUserTenure = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee76() {
|
|
2622
|
+
var _this68 = this;
|
|
2597
2623
|
var _len55,
|
|
2598
2624
|
args,
|
|
2599
2625
|
_key55,
|
|
2600
|
-
|
|
2601
|
-
return _regenerator.default.wrap(function
|
|
2602
|
-
while (1) switch (
|
|
2626
|
+
_args76 = arguments;
|
|
2627
|
+
return _regenerator.default.wrap(function _callee76$(_context76) {
|
|
2628
|
+
while (1) switch (_context76.prev = _context76.next) {
|
|
2603
2629
|
case 0:
|
|
2604
|
-
for (_len55 =
|
|
2605
|
-
args[_key55] =
|
|
2630
|
+
for (_len55 = _args76.length, args = new Array(_len55), _key55 = 0; _key55 < _len55; _key55++) {
|
|
2631
|
+
args[_key55] = _args76[_key55];
|
|
2606
2632
|
}
|
|
2607
|
-
return
|
|
2608
|
-
var
|
|
2609
|
-
return (
|
|
2633
|
+
return _context76.abrupt("return", this.measurePerformance('getUserTenure', function () {
|
|
2634
|
+
var _this68$_replinesClie;
|
|
2635
|
+
return (_this68$_replinesClie = _this68._replinesClient).getUserTenure.apply(_this68$_replinesClie, args);
|
|
2610
2636
|
}));
|
|
2611
2637
|
case 2:
|
|
2612
2638
|
case "end":
|
|
2613
|
-
return
|
|
2639
|
+
return _context76.stop();
|
|
2614
2640
|
}
|
|
2615
|
-
},
|
|
2641
|
+
}, _callee76, this);
|
|
2616
2642
|
}));
|
|
2617
2643
|
function getUserTenure() {
|
|
2618
2644
|
return _getUserTenure.apply(this, arguments);
|
|
@@ -2622,18 +2648,18 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2622
2648
|
}, {
|
|
2623
2649
|
key: "checkOrgFullAlignmentStatus",
|
|
2624
2650
|
value: function () {
|
|
2625
|
-
var _checkOrgFullAlignmentStatus = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
2651
|
+
var _checkOrgFullAlignmentStatus = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee77() {
|
|
2626
2652
|
var _this$_legionClient;
|
|
2627
|
-
var
|
|
2628
|
-
return _regenerator.default.wrap(function
|
|
2629
|
-
while (1) switch (
|
|
2653
|
+
var _args77 = arguments;
|
|
2654
|
+
return _regenerator.default.wrap(function _callee77$(_context77) {
|
|
2655
|
+
while (1) switch (_context77.prev = _context77.next) {
|
|
2630
2656
|
case 0:
|
|
2631
|
-
return
|
|
2657
|
+
return _context77.abrupt("return", (_this$_legionClient = this._legionClient).checkOrgFullAlignmentStatus.apply(_this$_legionClient, _args77));
|
|
2632
2658
|
case 1:
|
|
2633
2659
|
case "end":
|
|
2634
|
-
return
|
|
2660
|
+
return _context77.stop();
|
|
2635
2661
|
}
|
|
2636
|
-
},
|
|
2662
|
+
}, _callee77, this);
|
|
2637
2663
|
}));
|
|
2638
2664
|
function checkOrgFullAlignmentStatus() {
|
|
2639
2665
|
return _checkOrgFullAlignmentStatus.apply(this, arguments);
|
|
@@ -2643,27 +2669,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2643
2669
|
}, {
|
|
2644
2670
|
key: "getReportingLines",
|
|
2645
2671
|
value: function () {
|
|
2646
|
-
var _getReportingLines = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
2647
|
-
var
|
|
2672
|
+
var _getReportingLines = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee78() {
|
|
2673
|
+
var _this69 = this;
|
|
2648
2674
|
var _len56,
|
|
2649
2675
|
args,
|
|
2650
2676
|
_key56,
|
|
2651
|
-
|
|
2652
|
-
return _regenerator.default.wrap(function
|
|
2653
|
-
while (1) switch (
|
|
2677
|
+
_args78 = arguments;
|
|
2678
|
+
return _regenerator.default.wrap(function _callee78$(_context78) {
|
|
2679
|
+
while (1) switch (_context78.prev = _context78.next) {
|
|
2654
2680
|
case 0:
|
|
2655
|
-
for (_len56 =
|
|
2656
|
-
args[_key56] =
|
|
2681
|
+
for (_len56 = _args78.length, args = new Array(_len56), _key56 = 0; _key56 < _len56; _key56++) {
|
|
2682
|
+
args[_key56] = _args78[_key56];
|
|
2657
2683
|
}
|
|
2658
|
-
return
|
|
2659
|
-
var
|
|
2660
|
-
return (
|
|
2684
|
+
return _context78.abrupt("return", this.measurePerformance('getReportingLines', function () {
|
|
2685
|
+
var _this69$_reportingLin;
|
|
2686
|
+
return (_this69$_reportingLin = _this69._reportingLinesClient).getReportingLines.apply(_this69$_reportingLin, args);
|
|
2661
2687
|
}));
|
|
2662
2688
|
case 2:
|
|
2663
2689
|
case "end":
|
|
2664
|
-
return
|
|
2690
|
+
return _context78.stop();
|
|
2665
2691
|
}
|
|
2666
|
-
},
|
|
2692
|
+
}, _callee78, this);
|
|
2667
2693
|
}));
|
|
2668
2694
|
function getReportingLines() {
|
|
2669
2695
|
return _getReportingLines.apply(this, arguments);
|