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