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