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