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