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