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