@atlaskit/teams-client 4.8.2 → 4.9.1
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 +16 -0
- 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 +189 -162
- package/dist/cjs/services/main.js +508 -468
- package/dist/cjs/services/sentry/utils/get-sentry-config.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 +9 -0
- package/dist/es2019/services/main.js +15 -3
- package/dist/es2019/services/sentry/utils/get-sentry-config.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 +189 -162
- package/dist/esm/services/main.js +508 -468
- package/dist/esm/services/sentry/utils/get-sentry-config.js +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 +1 -0
- package/dist/types-ts4.5/common/utils/ufo/constants.d.ts +3 -2
- package/dist/types-ts4.5/services/legion-client/index.d.ts +1 -0
- package/dist/types-ts4.5/services/main.d.ts +1 -0
- package/package.json +4 -1
|
@@ -10,6 +10,7 @@ var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/
|
|
|
10
10
|
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
|
11
11
|
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
|
12
12
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
13
|
+
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
13
14
|
var _constants = require("../common/utils/ufo/constants");
|
|
14
15
|
var _aggClient = require("./agg-client");
|
|
15
16
|
var _collaborationgraphClient = _interopRequireDefault(require("./collaborationgraph-client"));
|
|
@@ -25,6 +26,8 @@ var _replinesClient = _interopRequireDefault(require("./replines-client"));
|
|
|
25
26
|
var _teamCentralClient = _interopRequireDefault(require("./team-central-client"));
|
|
26
27
|
var _teamsInSlackClient = _interopRequireDefault(require("./teams-in-slack-client"));
|
|
27
28
|
var _userPreferencesClient = _interopRequireDefault(require("./user-preferences-client"));
|
|
29
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
30
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
28
31
|
/**
|
|
29
32
|
* This solves error TS1055:
|
|
30
33
|
* Type 'ReturnType' is not a valid async function return type in ES5/ES3 because it does not refer to a Promise-compatible constructor value
|
|
@@ -151,13 +154,21 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
151
154
|
value: (function () {
|
|
152
155
|
var _querySettings = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3(cloudId, product) {
|
|
153
156
|
var _this = this;
|
|
157
|
+
var previousContext;
|
|
154
158
|
return _regenerator.default.wrap(function _callee3$(_context3) {
|
|
155
159
|
while (1) switch (_context3.prev = _context3.next) {
|
|
156
160
|
case 0:
|
|
157
161
|
if (cloudId) {
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
162
|
+
if ((0, _platformFeatureFlags.fg)('fix_query_settings_context')) {
|
|
163
|
+
previousContext = this._legionClient.getContext();
|
|
164
|
+
this.setContext(_objectSpread(_objectSpread({}, previousContext), {}, {
|
|
165
|
+
cloudId: cloudId
|
|
166
|
+
}));
|
|
167
|
+
} else {
|
|
168
|
+
this.setContext({
|
|
169
|
+
cloudId: cloudId
|
|
170
|
+
});
|
|
171
|
+
}
|
|
161
172
|
}
|
|
162
173
|
return _context3.abrupt("return", this.measurePerformance('querySettings', /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee2() {
|
|
163
174
|
var response;
|
|
@@ -850,75 +861,70 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
850
861
|
return _addAgentsToTeam.apply(this, arguments);
|
|
851
862
|
}
|
|
852
863
|
return addAgentsToTeam;
|
|
853
|
-
}()
|
|
854
|
-
/**
|
|
855
|
-
* Cancel a join request to a private team
|
|
856
|
-
*/
|
|
857
|
-
)
|
|
864
|
+
}())
|
|
858
865
|
}, {
|
|
859
|
-
key: "
|
|
860
|
-
value:
|
|
861
|
-
var
|
|
866
|
+
key: "removeAgentTeamAssociation",
|
|
867
|
+
value: function () {
|
|
868
|
+
var _removeAgentTeamAssociation = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee22() {
|
|
862
869
|
var _this18 = this;
|
|
870
|
+
var _len13,
|
|
871
|
+
args,
|
|
872
|
+
_key13,
|
|
873
|
+
_args22 = arguments;
|
|
863
874
|
return _regenerator.default.wrap(function _callee22$(_context22) {
|
|
864
875
|
while (1) switch (_context22.prev = _context22.next) {
|
|
865
876
|
case 0:
|
|
866
|
-
|
|
867
|
-
|
|
877
|
+
for (_len13 = _args22.length, args = new Array(_len13), _key13 = 0; _key13 < _len13; _key13++) {
|
|
878
|
+
args[_key13] = _args22[_key13];
|
|
879
|
+
}
|
|
880
|
+
return _context22.abrupt("return", this.measurePerformance('removeAgentTeamAssociation', function () {
|
|
881
|
+
var _this18$_legionClient;
|
|
882
|
+
return (_this18$_legionClient = _this18._legionClient).removeAgentTeamAssociation.apply(_this18$_legionClient, args);
|
|
868
883
|
}));
|
|
869
|
-
case
|
|
884
|
+
case 2:
|
|
870
885
|
case "end":
|
|
871
886
|
return _context22.stop();
|
|
872
887
|
}
|
|
873
888
|
}, _callee22, this);
|
|
874
889
|
}));
|
|
875
|
-
function
|
|
876
|
-
return
|
|
890
|
+
function removeAgentTeamAssociation() {
|
|
891
|
+
return _removeAgentTeamAssociation.apply(this, arguments);
|
|
877
892
|
}
|
|
878
|
-
return
|
|
893
|
+
return removeAgentTeamAssociation;
|
|
879
894
|
}()
|
|
880
895
|
/**
|
|
881
|
-
*
|
|
896
|
+
* Cancel a join request to a private team
|
|
882
897
|
*/
|
|
883
|
-
)
|
|
884
898
|
}, {
|
|
885
|
-
key: "
|
|
899
|
+
key: "cancelJoinRequest",
|
|
886
900
|
value: (function () {
|
|
887
|
-
var
|
|
901
|
+
var _cancelJoinRequest = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee23(teamId) {
|
|
888
902
|
var _this19 = this;
|
|
889
|
-
var _len13,
|
|
890
|
-
args,
|
|
891
|
-
_key13,
|
|
892
|
-
_args23 = arguments;
|
|
893
903
|
return _regenerator.default.wrap(function _callee23$(_context23) {
|
|
894
904
|
while (1) switch (_context23.prev = _context23.next) {
|
|
895
905
|
case 0:
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
}
|
|
899
|
-
return _context23.abrupt("return", this.measurePerformance('acceptJoinRequest', function () {
|
|
900
|
-
var _this19$_legionClient;
|
|
901
|
-
return (_this19$_legionClient = _this19._legionClient).acceptJoinRequest.apply(_this19$_legionClient, args);
|
|
906
|
+
return _context23.abrupt("return", this.measurePerformance('cancelJoinRequest', function () {
|
|
907
|
+
return _this19._legionClient.cancelJoinRequest(teamId);
|
|
902
908
|
}));
|
|
903
|
-
case
|
|
909
|
+
case 1:
|
|
904
910
|
case "end":
|
|
905
911
|
return _context23.stop();
|
|
906
912
|
}
|
|
907
913
|
}, _callee23, this);
|
|
908
914
|
}));
|
|
909
|
-
function
|
|
910
|
-
return
|
|
915
|
+
function cancelJoinRequest(_x0) {
|
|
916
|
+
return _cancelJoinRequest.apply(this, arguments);
|
|
911
917
|
}
|
|
912
|
-
return
|
|
918
|
+
return cancelJoinRequest;
|
|
913
919
|
}()
|
|
914
920
|
/**
|
|
915
|
-
*
|
|
921
|
+
* Accept a join request to a private team
|
|
916
922
|
*/
|
|
917
923
|
)
|
|
918
924
|
}, {
|
|
919
|
-
key: "
|
|
925
|
+
key: "acceptJoinRequest",
|
|
920
926
|
value: (function () {
|
|
921
|
-
var
|
|
927
|
+
var _acceptJoinRequest = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee24() {
|
|
922
928
|
var _this20 = this;
|
|
923
929
|
var _len14,
|
|
924
930
|
args,
|
|
@@ -930,9 +936,9 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
930
936
|
for (_len14 = _args24.length, args = new Array(_len14), _key14 = 0; _key14 < _len14; _key14++) {
|
|
931
937
|
args[_key14] = _args24[_key14];
|
|
932
938
|
}
|
|
933
|
-
return _context24.abrupt("return", this.measurePerformance('
|
|
939
|
+
return _context24.abrupt("return", this.measurePerformance('acceptJoinRequest', function () {
|
|
934
940
|
var _this20$_legionClient;
|
|
935
|
-
return (_this20$_legionClient = _this20._legionClient).
|
|
941
|
+
return (_this20$_legionClient = _this20._legionClient).acceptJoinRequest.apply(_this20$_legionClient, args);
|
|
936
942
|
}));
|
|
937
943
|
case 2:
|
|
938
944
|
case "end":
|
|
@@ -940,19 +946,19 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
940
946
|
}
|
|
941
947
|
}, _callee24, this);
|
|
942
948
|
}));
|
|
943
|
-
function
|
|
944
|
-
return
|
|
949
|
+
function acceptJoinRequest() {
|
|
950
|
+
return _acceptJoinRequest.apply(this, arguments);
|
|
945
951
|
}
|
|
946
|
-
return
|
|
952
|
+
return acceptJoinRequest;
|
|
947
953
|
}()
|
|
948
954
|
/**
|
|
949
|
-
*
|
|
955
|
+
* Decline a join request to a private team
|
|
950
956
|
*/
|
|
951
957
|
)
|
|
952
958
|
}, {
|
|
953
|
-
key: "
|
|
959
|
+
key: "declineJoinRequest",
|
|
954
960
|
value: (function () {
|
|
955
|
-
var
|
|
961
|
+
var _declineJoinRequest = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee25() {
|
|
956
962
|
var _this21 = this;
|
|
957
963
|
var _len15,
|
|
958
964
|
args,
|
|
@@ -964,9 +970,9 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
964
970
|
for (_len15 = _args25.length, args = new Array(_len15), _key15 = 0; _key15 < _len15; _key15++) {
|
|
965
971
|
args[_key15] = _args25[_key15];
|
|
966
972
|
}
|
|
967
|
-
return _context25.abrupt("return", this.measurePerformance('
|
|
973
|
+
return _context25.abrupt("return", this.measurePerformance('declineJoinRequest', function () {
|
|
968
974
|
var _this21$_legionClient;
|
|
969
|
-
return (_this21$_legionClient = _this21._legionClient).
|
|
975
|
+
return (_this21$_legionClient = _this21._legionClient).declineJoinRequest.apply(_this21$_legionClient, args);
|
|
970
976
|
}));
|
|
971
977
|
case 2:
|
|
972
978
|
case "end":
|
|
@@ -974,19 +980,19 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
974
980
|
}
|
|
975
981
|
}, _callee25, this);
|
|
976
982
|
}));
|
|
977
|
-
function
|
|
978
|
-
return
|
|
983
|
+
function declineJoinRequest() {
|
|
984
|
+
return _declineJoinRequest.apply(this, arguments);
|
|
979
985
|
}
|
|
980
|
-
return
|
|
986
|
+
return declineJoinRequest;
|
|
981
987
|
}()
|
|
982
988
|
/**
|
|
983
|
-
* @deprecated
|
|
989
|
+
* @deprecated use removeTeamMemberships instead
|
|
984
990
|
*/
|
|
985
991
|
)
|
|
986
992
|
}, {
|
|
987
|
-
key: "
|
|
993
|
+
key: "deleteTeamMembership",
|
|
988
994
|
value: (function () {
|
|
989
|
-
var
|
|
995
|
+
var _deleteTeamMembership = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee26() {
|
|
990
996
|
var _this22 = this;
|
|
991
997
|
var _len16,
|
|
992
998
|
args,
|
|
@@ -998,9 +1004,9 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
998
1004
|
for (_len16 = _args26.length, args = new Array(_len16), _key16 = 0; _key16 < _len16; _key16++) {
|
|
999
1005
|
args[_key16] = _args26[_key16];
|
|
1000
1006
|
}
|
|
1001
|
-
return _context26.abrupt("return", this.measurePerformance('
|
|
1007
|
+
return _context26.abrupt("return", this.measurePerformance('deleteTeamMembership', function () {
|
|
1002
1008
|
var _this22$_legionClient;
|
|
1003
|
-
return (_this22$_legionClient = _this22._legionClient).
|
|
1009
|
+
return (_this22$_legionClient = _this22._legionClient).deleteTeamMembership.apply(_this22$_legionClient, args);
|
|
1004
1010
|
}));
|
|
1005
1011
|
case 2:
|
|
1006
1012
|
case "end":
|
|
@@ -1008,103 +1014,103 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1008
1014
|
}
|
|
1009
1015
|
}, _callee26, this);
|
|
1010
1016
|
}));
|
|
1011
|
-
function
|
|
1012
|
-
return
|
|
1017
|
+
function deleteTeamMembership() {
|
|
1018
|
+
return _deleteTeamMembership.apply(this, arguments);
|
|
1013
1019
|
}
|
|
1014
|
-
return
|
|
1020
|
+
return deleteTeamMembership;
|
|
1015
1021
|
}()
|
|
1016
1022
|
/**
|
|
1017
|
-
*
|
|
1023
|
+
* @deprecated INVITED status has been deprecated
|
|
1018
1024
|
*/
|
|
1019
1025
|
)
|
|
1020
1026
|
}, {
|
|
1021
|
-
key: "
|
|
1027
|
+
key: "revokeTeamInvite",
|
|
1022
1028
|
value: (function () {
|
|
1023
|
-
var
|
|
1029
|
+
var _revokeTeamInvite = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee27() {
|
|
1024
1030
|
var _this23 = this;
|
|
1031
|
+
var _len17,
|
|
1032
|
+
args,
|
|
1033
|
+
_key17,
|
|
1034
|
+
_args27 = arguments;
|
|
1025
1035
|
return _regenerator.default.wrap(function _callee27$(_context27) {
|
|
1026
1036
|
while (1) switch (_context27.prev = _context27.next) {
|
|
1027
1037
|
case 0:
|
|
1028
|
-
|
|
1029
|
-
|
|
1038
|
+
for (_len17 = _args27.length, args = new Array(_len17), _key17 = 0; _key17 < _len17; _key17++) {
|
|
1039
|
+
args[_key17] = _args27[_key17];
|
|
1040
|
+
}
|
|
1041
|
+
return _context27.abrupt("return", this.measurePerformance('revokeTeamInvite', function () {
|
|
1042
|
+
var _this23$_legionClient;
|
|
1043
|
+
return (_this23$_legionClient = _this23._legionClient).revokeTeamInvite.apply(_this23$_legionClient, args);
|
|
1030
1044
|
}));
|
|
1031
|
-
case
|
|
1045
|
+
case 2:
|
|
1032
1046
|
case "end":
|
|
1033
1047
|
return _context27.stop();
|
|
1034
1048
|
}
|
|
1035
1049
|
}, _callee27, this);
|
|
1036
1050
|
}));
|
|
1037
|
-
function
|
|
1038
|
-
return
|
|
1051
|
+
function revokeTeamInvite() {
|
|
1052
|
+
return _revokeTeamInvite.apply(this, arguments);
|
|
1039
1053
|
}
|
|
1040
|
-
return
|
|
1054
|
+
return revokeTeamInvite;
|
|
1041
1055
|
}()
|
|
1042
1056
|
/**
|
|
1043
|
-
*
|
|
1044
|
-
* @deprecated should be other means to solve this issue
|
|
1057
|
+
* Delete a team
|
|
1045
1058
|
*/
|
|
1046
1059
|
)
|
|
1047
1060
|
}, {
|
|
1048
|
-
key: "
|
|
1061
|
+
key: "deleteTeam",
|
|
1049
1062
|
value: (function () {
|
|
1050
|
-
var
|
|
1063
|
+
var _deleteTeam = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee28(teamId) {
|
|
1064
|
+
var _this24 = this;
|
|
1051
1065
|
return _regenerator.default.wrap(function _callee28$(_context28) {
|
|
1052
1066
|
while (1) switch (_context28.prev = _context28.next) {
|
|
1053
1067
|
case 0:
|
|
1054
|
-
return _context28.abrupt("return", this.
|
|
1068
|
+
return _context28.abrupt("return", this.measurePerformance('deleteTeam', function () {
|
|
1069
|
+
return _this24._legionClient.deleteTeam(teamId);
|
|
1070
|
+
}));
|
|
1055
1071
|
case 1:
|
|
1056
1072
|
case "end":
|
|
1057
1073
|
return _context28.stop();
|
|
1058
1074
|
}
|
|
1059
1075
|
}, _callee28, this);
|
|
1060
1076
|
}));
|
|
1061
|
-
function
|
|
1062
|
-
return
|
|
1077
|
+
function deleteTeam(_x1) {
|
|
1078
|
+
return _deleteTeam.apply(this, arguments);
|
|
1063
1079
|
}
|
|
1064
|
-
return
|
|
1080
|
+
return deleteTeam;
|
|
1065
1081
|
}()
|
|
1066
1082
|
/**
|
|
1067
|
-
*
|
|
1083
|
+
* @private
|
|
1084
|
+
* @deprecated should be other means to solve this issue
|
|
1068
1085
|
*/
|
|
1069
1086
|
)
|
|
1070
1087
|
}, {
|
|
1071
|
-
key: "
|
|
1088
|
+
key: "isSingleFullMemberTeam",
|
|
1072
1089
|
value: (function () {
|
|
1073
|
-
var
|
|
1074
|
-
var _this24 = this;
|
|
1075
|
-
var _len17,
|
|
1076
|
-
args,
|
|
1077
|
-
_key17,
|
|
1078
|
-
_args29 = arguments;
|
|
1090
|
+
var _isSingleFullMemberTeam = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee29(teamId) {
|
|
1079
1091
|
return _regenerator.default.wrap(function _callee29$(_context29) {
|
|
1080
1092
|
while (1) switch (_context29.prev = _context29.next) {
|
|
1081
1093
|
case 0:
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
}
|
|
1085
|
-
return _context29.abrupt("return", this.measurePerformance('createTeam', function () {
|
|
1086
|
-
var _this24$_legionClient;
|
|
1087
|
-
return (_this24$_legionClient = _this24._legionClient).createTeam.apply(_this24$_legionClient, args);
|
|
1088
|
-
}));
|
|
1089
|
-
case 2:
|
|
1094
|
+
return _context29.abrupt("return", this._legionClient.isSingleFullMemberTeam(teamId));
|
|
1095
|
+
case 1:
|
|
1090
1096
|
case "end":
|
|
1091
1097
|
return _context29.stop();
|
|
1092
1098
|
}
|
|
1093
1099
|
}, _callee29, this);
|
|
1094
1100
|
}));
|
|
1095
|
-
function
|
|
1096
|
-
return
|
|
1101
|
+
function isSingleFullMemberTeam(_x10) {
|
|
1102
|
+
return _isSingleFullMemberTeam.apply(this, arguments);
|
|
1097
1103
|
}
|
|
1098
|
-
return
|
|
1104
|
+
return isSingleFullMemberTeam;
|
|
1099
1105
|
}()
|
|
1100
1106
|
/**
|
|
1101
|
-
* Create
|
|
1107
|
+
* Create a team
|
|
1102
1108
|
*/
|
|
1103
1109
|
)
|
|
1104
1110
|
}, {
|
|
1105
|
-
key: "
|
|
1111
|
+
key: "createTeam",
|
|
1106
1112
|
value: (function () {
|
|
1107
|
-
var
|
|
1113
|
+
var _createTeam = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee30() {
|
|
1108
1114
|
var _this25 = this;
|
|
1109
1115
|
var _len18,
|
|
1110
1116
|
args,
|
|
@@ -1116,9 +1122,9 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1116
1122
|
for (_len18 = _args30.length, args = new Array(_len18), _key18 = 0; _key18 < _len18; _key18++) {
|
|
1117
1123
|
args[_key18] = _args30[_key18];
|
|
1118
1124
|
}
|
|
1119
|
-
return _context30.abrupt("return", this.measurePerformance('
|
|
1125
|
+
return _context30.abrupt("return", this.measurePerformance('createTeam', function () {
|
|
1120
1126
|
var _this25$_legionClient;
|
|
1121
|
-
return (_this25$_legionClient = _this25._legionClient).
|
|
1127
|
+
return (_this25$_legionClient = _this25._legionClient).createTeam.apply(_this25$_legionClient, args);
|
|
1122
1128
|
}));
|
|
1123
1129
|
case 2:
|
|
1124
1130
|
case "end":
|
|
@@ -1126,21 +1132,19 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1126
1132
|
}
|
|
1127
1133
|
}, _callee30, this);
|
|
1128
1134
|
}));
|
|
1129
|
-
function
|
|
1130
|
-
return
|
|
1135
|
+
function createTeam() {
|
|
1136
|
+
return _createTeam.apply(this, arguments);
|
|
1131
1137
|
}
|
|
1132
|
-
return
|
|
1138
|
+
return createTeam;
|
|
1133
1139
|
}()
|
|
1134
1140
|
/**
|
|
1135
|
-
* Create a
|
|
1136
|
-
* @param {string} groupDescription - The description of the group, which will be used as the team description. The group name will be fetched from the identity service, so it does not need to be provided.
|
|
1137
|
-
* @param {ExternalReference} externalReference
|
|
1141
|
+
* Create containers for a team
|
|
1138
1142
|
*/
|
|
1139
1143
|
)
|
|
1140
1144
|
}, {
|
|
1141
|
-
key: "
|
|
1145
|
+
key: "createTeamContainers",
|
|
1142
1146
|
value: (function () {
|
|
1143
|
-
var
|
|
1147
|
+
var _createTeamContainers = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee31() {
|
|
1144
1148
|
var _this26 = this;
|
|
1145
1149
|
var _len19,
|
|
1146
1150
|
args,
|
|
@@ -1152,9 +1156,9 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1152
1156
|
for (_len19 = _args31.length, args = new Array(_len19), _key19 = 0; _key19 < _len19; _key19++) {
|
|
1153
1157
|
args[_key19] = _args31[_key19];
|
|
1154
1158
|
}
|
|
1155
|
-
return _context31.abrupt("return", this.measurePerformance('
|
|
1159
|
+
return _context31.abrupt("return", this.measurePerformance('createTeamContainers', function () {
|
|
1156
1160
|
var _this26$_legionClient;
|
|
1157
|
-
return (_this26$_legionClient = _this26._legionClient).
|
|
1161
|
+
return (_this26$_legionClient = _this26._legionClient).createTeamContainers.apply(_this26$_legionClient, args);
|
|
1158
1162
|
}));
|
|
1159
1163
|
case 2:
|
|
1160
1164
|
case "end":
|
|
@@ -1162,20 +1166,21 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1162
1166
|
}
|
|
1163
1167
|
}, _callee31, this);
|
|
1164
1168
|
}));
|
|
1165
|
-
function
|
|
1166
|
-
return
|
|
1169
|
+
function createTeamContainers() {
|
|
1170
|
+
return _createTeamContainers.apply(this, arguments);
|
|
1167
1171
|
}
|
|
1168
|
-
return
|
|
1172
|
+
return createTeamContainers;
|
|
1169
1173
|
}()
|
|
1170
1174
|
/**
|
|
1171
|
-
*
|
|
1172
|
-
* @param {string}
|
|
1175
|
+
* Create a external team
|
|
1176
|
+
* @param {string} groupDescription - The description of the group, which will be used as the team description. The group name will be fetched from the identity service, so it does not need to be provided.
|
|
1177
|
+
* @param {ExternalReference} externalReference
|
|
1173
1178
|
*/
|
|
1174
1179
|
)
|
|
1175
1180
|
}, {
|
|
1176
|
-
key: "
|
|
1181
|
+
key: "createExternalTeam",
|
|
1177
1182
|
value: (function () {
|
|
1178
|
-
var
|
|
1183
|
+
var _createExternalTeam = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee32() {
|
|
1179
1184
|
var _this27 = this;
|
|
1180
1185
|
var _len20,
|
|
1181
1186
|
args,
|
|
@@ -1187,9 +1192,9 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1187
1192
|
for (_len20 = _args32.length, args = new Array(_len20), _key20 = 0; _key20 < _len20; _key20++) {
|
|
1188
1193
|
args[_key20] = _args32[_key20];
|
|
1189
1194
|
}
|
|
1190
|
-
return _context32.abrupt("return", this.measurePerformance('
|
|
1195
|
+
return _context32.abrupt("return", this.measurePerformance('createExternalTeam', function () {
|
|
1191
1196
|
var _this27$_legionClient;
|
|
1192
|
-
return (_this27$_legionClient = _this27._legionClient).
|
|
1197
|
+
return (_this27$_legionClient = _this27._legionClient).createExternalTeam.apply(_this27$_legionClient, args);
|
|
1193
1198
|
}));
|
|
1194
1199
|
case 2:
|
|
1195
1200
|
case "end":
|
|
@@ -1197,19 +1202,20 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1197
1202
|
}
|
|
1198
1203
|
}, _callee32, this);
|
|
1199
1204
|
}));
|
|
1200
|
-
function
|
|
1201
|
-
return
|
|
1205
|
+
function createExternalTeam() {
|
|
1206
|
+
return _createExternalTeam.apply(this, arguments);
|
|
1202
1207
|
}
|
|
1203
|
-
return
|
|
1208
|
+
return createExternalTeam;
|
|
1204
1209
|
}()
|
|
1205
1210
|
/**
|
|
1206
|
-
* Get
|
|
1211
|
+
* Get linked teams for a groups in bulk
|
|
1212
|
+
* @param {string} groupIds - The group ids to fetch linked teams for
|
|
1207
1213
|
*/
|
|
1208
1214
|
)
|
|
1209
1215
|
}, {
|
|
1210
|
-
key: "
|
|
1216
|
+
key: "getLinkedTeamsBulk",
|
|
1211
1217
|
value: (function () {
|
|
1212
|
-
var
|
|
1218
|
+
var _getLinkedTeamsBulk = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee33() {
|
|
1213
1219
|
var _this28 = this;
|
|
1214
1220
|
var _len21,
|
|
1215
1221
|
args,
|
|
@@ -1221,9 +1227,9 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1221
1227
|
for (_len21 = _args33.length, args = new Array(_len21), _key21 = 0; _key21 < _len21; _key21++) {
|
|
1222
1228
|
args[_key21] = _args33[_key21];
|
|
1223
1229
|
}
|
|
1224
|
-
return _context33.abrupt("return", this.measurePerformance('
|
|
1230
|
+
return _context33.abrupt("return", this.measurePerformance('getLinkedTeamsBulk', function () {
|
|
1225
1231
|
var _this28$_legionClient;
|
|
1226
|
-
return (_this28$_legionClient = _this28._legionClient).
|
|
1232
|
+
return (_this28$_legionClient = _this28._legionClient).getLinkedTeamsBulk.apply(_this28$_legionClient, args);
|
|
1227
1233
|
}));
|
|
1228
1234
|
case 2:
|
|
1229
1235
|
case "end":
|
|
@@ -1231,19 +1237,19 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1231
1237
|
}
|
|
1232
1238
|
}, _callee33, this);
|
|
1233
1239
|
}));
|
|
1234
|
-
function
|
|
1235
|
-
return
|
|
1240
|
+
function getLinkedTeamsBulk() {
|
|
1241
|
+
return _getLinkedTeamsBulk.apply(this, arguments);
|
|
1236
1242
|
}
|
|
1237
|
-
return
|
|
1243
|
+
return getLinkedTeamsBulk;
|
|
1238
1244
|
}()
|
|
1239
1245
|
/**
|
|
1240
|
-
*
|
|
1246
|
+
* Get Org scope
|
|
1241
1247
|
*/
|
|
1242
1248
|
)
|
|
1243
1249
|
}, {
|
|
1244
|
-
key: "
|
|
1250
|
+
key: "getOrgScope",
|
|
1245
1251
|
value: (function () {
|
|
1246
|
-
var
|
|
1252
|
+
var _getOrgScope = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee34() {
|
|
1247
1253
|
var _this29 = this;
|
|
1248
1254
|
var _len22,
|
|
1249
1255
|
args,
|
|
@@ -1255,9 +1261,9 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1255
1261
|
for (_len22 = _args34.length, args = new Array(_len22), _key22 = 0; _key22 < _len22; _key22++) {
|
|
1256
1262
|
args[_key22] = _args34[_key22];
|
|
1257
1263
|
}
|
|
1258
|
-
return _context34.abrupt("return", this.measurePerformance('
|
|
1264
|
+
return _context34.abrupt("return", this.measurePerformance('getOrgScope', function () {
|
|
1259
1265
|
var _this29$_legionClient;
|
|
1260
|
-
return (_this29$_legionClient = _this29._legionClient).
|
|
1266
|
+
return (_this29$_legionClient = _this29._legionClient).getOrgScope.apply(_this29$_legionClient, args);
|
|
1261
1267
|
}));
|
|
1262
1268
|
case 2:
|
|
1263
1269
|
case "end":
|
|
@@ -1265,22 +1271,19 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1265
1271
|
}
|
|
1266
1272
|
}, _callee34, this);
|
|
1267
1273
|
}));
|
|
1268
|
-
function
|
|
1269
|
-
return
|
|
1274
|
+
function getOrgScope() {
|
|
1275
|
+
return _getOrgScope.apply(this, arguments);
|
|
1270
1276
|
}
|
|
1271
|
-
return
|
|
1277
|
+
return getOrgScope;
|
|
1272
1278
|
}()
|
|
1273
1279
|
/**
|
|
1274
|
-
*
|
|
1275
|
-
* @param teamId
|
|
1276
|
-
* @param {ExternalReference} externalReference
|
|
1277
|
-
* @returns {Promise<TeamAndGroupDifference>}
|
|
1280
|
+
* Restore soft-deleted team and sync to group
|
|
1278
1281
|
*/
|
|
1279
1282
|
)
|
|
1280
1283
|
}, {
|
|
1281
|
-
key: "
|
|
1284
|
+
key: "restoreTeamToSyncedGroup",
|
|
1282
1285
|
value: (function () {
|
|
1283
|
-
var
|
|
1286
|
+
var _restoreTeamToSyncedGroup = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee35() {
|
|
1284
1287
|
var _this30 = this;
|
|
1285
1288
|
var _len23,
|
|
1286
1289
|
args,
|
|
@@ -1292,9 +1295,9 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1292
1295
|
for (_len23 = _args35.length, args = new Array(_len23), _key23 = 0; _key23 < _len23; _key23++) {
|
|
1293
1296
|
args[_key23] = _args35[_key23];
|
|
1294
1297
|
}
|
|
1295
|
-
return _context35.abrupt("return", this.measurePerformance('
|
|
1298
|
+
return _context35.abrupt("return", this.measurePerformance('restoreTeamToSyncedGroup', function () {
|
|
1296
1299
|
var _this30$_legionClient;
|
|
1297
|
-
return (_this30$_legionClient = _this30._legionClient).
|
|
1300
|
+
return (_this30$_legionClient = _this30._legionClient).restoreTeamToSyncedGroup.apply(_this30$_legionClient, args);
|
|
1298
1301
|
}));
|
|
1299
1302
|
case 2:
|
|
1300
1303
|
case "end":
|
|
@@ -1302,21 +1305,22 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1302
1305
|
}
|
|
1303
1306
|
}, _callee35, this);
|
|
1304
1307
|
}));
|
|
1305
|
-
function
|
|
1306
|
-
return
|
|
1308
|
+
function restoreTeamToSyncedGroup() {
|
|
1309
|
+
return _restoreTeamToSyncedGroup.apply(this, arguments);
|
|
1307
1310
|
}
|
|
1308
|
-
return
|
|
1311
|
+
return restoreTeamToSyncedGroup;
|
|
1309
1312
|
}()
|
|
1310
1313
|
/**
|
|
1311
|
-
*
|
|
1314
|
+
* Get the difference between a team and a group
|
|
1312
1315
|
* @param teamId
|
|
1313
1316
|
* @param {ExternalReference} externalReference
|
|
1317
|
+
* @returns {Promise<TeamAndGroupDifference>}
|
|
1314
1318
|
*/
|
|
1315
1319
|
)
|
|
1316
1320
|
}, {
|
|
1317
|
-
key: "
|
|
1321
|
+
key: "getTeamAndGroupDiff",
|
|
1318
1322
|
value: (function () {
|
|
1319
|
-
var
|
|
1323
|
+
var _getTeamAndGroupDiff = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee36() {
|
|
1320
1324
|
var _this31 = this;
|
|
1321
1325
|
var _len24,
|
|
1322
1326
|
args,
|
|
@@ -1328,9 +1332,9 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1328
1332
|
for (_len24 = _args36.length, args = new Array(_len24), _key24 = 0; _key24 < _len24; _key24++) {
|
|
1329
1333
|
args[_key24] = _args36[_key24];
|
|
1330
1334
|
}
|
|
1331
|
-
return _context36.abrupt("return", this.measurePerformance('
|
|
1335
|
+
return _context36.abrupt("return", this.measurePerformance('getTeamAndGroupDiff', function () {
|
|
1332
1336
|
var _this31$_legionClient;
|
|
1333
|
-
return (_this31$_legionClient = _this31._legionClient).
|
|
1337
|
+
return (_this31$_legionClient = _this31._legionClient).getTeamAndGroupDiff.apply(_this31$_legionClient, args);
|
|
1334
1338
|
}));
|
|
1335
1339
|
case 2:
|
|
1336
1340
|
case "end":
|
|
@@ -1338,21 +1342,21 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1338
1342
|
}
|
|
1339
1343
|
}, _callee36, this);
|
|
1340
1344
|
}));
|
|
1341
|
-
function
|
|
1342
|
-
return
|
|
1345
|
+
function getTeamAndGroupDiff() {
|
|
1346
|
+
return _getTeamAndGroupDiff.apply(this, arguments);
|
|
1343
1347
|
}
|
|
1344
|
-
return
|
|
1348
|
+
return getTeamAndGroupDiff;
|
|
1345
1349
|
}()
|
|
1346
1350
|
/**
|
|
1347
|
-
*
|
|
1351
|
+
* Link an existing team to a group
|
|
1348
1352
|
* @param teamId
|
|
1349
|
-
* @
|
|
1353
|
+
* @param {ExternalReference} externalReference
|
|
1350
1354
|
*/
|
|
1351
1355
|
)
|
|
1352
1356
|
}, {
|
|
1353
|
-
key: "
|
|
1357
|
+
key: "linkExistingTeamToGroup",
|
|
1354
1358
|
value: (function () {
|
|
1355
|
-
var
|
|
1359
|
+
var _linkExistingTeamToGroup = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee37() {
|
|
1356
1360
|
var _this32 = this;
|
|
1357
1361
|
var _len25,
|
|
1358
1362
|
args,
|
|
@@ -1364,9 +1368,9 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1364
1368
|
for (_len25 = _args37.length, args = new Array(_len25), _key25 = 0; _key25 < _len25; _key25++) {
|
|
1365
1369
|
args[_key25] = _args37[_key25];
|
|
1366
1370
|
}
|
|
1367
|
-
return _context37.abrupt("return", this.measurePerformance('
|
|
1371
|
+
return _context37.abrupt("return", this.measurePerformance('linkExistingTeamToGroup', function () {
|
|
1368
1372
|
var _this32$_legionClient;
|
|
1369
|
-
return (_this32$_legionClient = _this32._legionClient).
|
|
1373
|
+
return (_this32$_legionClient = _this32._legionClient).linkExistingTeamToGroup.apply(_this32$_legionClient, args);
|
|
1370
1374
|
}));
|
|
1371
1375
|
case 2:
|
|
1372
1376
|
case "end":
|
|
@@ -1374,6 +1378,42 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1374
1378
|
}
|
|
1375
1379
|
}, _callee37, this);
|
|
1376
1380
|
}));
|
|
1381
|
+
function linkExistingTeamToGroup() {
|
|
1382
|
+
return _linkExistingTeamToGroup.apply(this, arguments);
|
|
1383
|
+
}
|
|
1384
|
+
return linkExistingTeamToGroup;
|
|
1385
|
+
}()
|
|
1386
|
+
/**
|
|
1387
|
+
*
|
|
1388
|
+
* @param teamId
|
|
1389
|
+
* @returns {Promise<LinkedTeamsProfileDetails>}
|
|
1390
|
+
*/
|
|
1391
|
+
)
|
|
1392
|
+
}, {
|
|
1393
|
+
key: "getTeamProfileDetailsByTeamId",
|
|
1394
|
+
value: (function () {
|
|
1395
|
+
var _getTeamProfileDetailsByTeamId = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee38() {
|
|
1396
|
+
var _this33 = this;
|
|
1397
|
+
var _len26,
|
|
1398
|
+
args,
|
|
1399
|
+
_key26,
|
|
1400
|
+
_args38 = arguments;
|
|
1401
|
+
return _regenerator.default.wrap(function _callee38$(_context38) {
|
|
1402
|
+
while (1) switch (_context38.prev = _context38.next) {
|
|
1403
|
+
case 0:
|
|
1404
|
+
for (_len26 = _args38.length, args = new Array(_len26), _key26 = 0; _key26 < _len26; _key26++) {
|
|
1405
|
+
args[_key26] = _args38[_key26];
|
|
1406
|
+
}
|
|
1407
|
+
return _context38.abrupt("return", this.measurePerformance('getTeamProfileDetails', function () {
|
|
1408
|
+
var _this33$_legionClient;
|
|
1409
|
+
return (_this33$_legionClient = _this33._legionClient).getTeamProfileDetails.apply(_this33$_legionClient, args);
|
|
1410
|
+
}));
|
|
1411
|
+
case 2:
|
|
1412
|
+
case "end":
|
|
1413
|
+
return _context38.stop();
|
|
1414
|
+
}
|
|
1415
|
+
}, _callee38, this);
|
|
1416
|
+
}));
|
|
1377
1417
|
function getTeamProfileDetailsByTeamId() {
|
|
1378
1418
|
return _getTeamProfileDetailsByTeamId.apply(this, arguments);
|
|
1379
1419
|
}
|
|
@@ -1388,19 +1428,19 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1388
1428
|
}, {
|
|
1389
1429
|
key: "getSoftDeletdTeamById",
|
|
1390
1430
|
value: (function () {
|
|
1391
|
-
var _getSoftDeletdTeamById = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
1392
|
-
var
|
|
1393
|
-
return _regenerator.default.wrap(function
|
|
1394
|
-
while (1) switch (
|
|
1431
|
+
var _getSoftDeletdTeamById = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee39(teamId) {
|
|
1432
|
+
var _this34 = this;
|
|
1433
|
+
return _regenerator.default.wrap(function _callee39$(_context39) {
|
|
1434
|
+
while (1) switch (_context39.prev = _context39.next) {
|
|
1395
1435
|
case 0:
|
|
1396
|
-
return
|
|
1397
|
-
return
|
|
1436
|
+
return _context39.abrupt("return", this.measurePerformance('getSoftDeletedTeamById', function () {
|
|
1437
|
+
return _this34._legionClient.getSoftDeletedTeamById(teamId);
|
|
1398
1438
|
}));
|
|
1399
1439
|
case 1:
|
|
1400
1440
|
case "end":
|
|
1401
|
-
return
|
|
1441
|
+
return _context39.stop();
|
|
1402
1442
|
}
|
|
1403
|
-
},
|
|
1443
|
+
}, _callee39, this);
|
|
1404
1444
|
}));
|
|
1405
1445
|
function getSoftDeletdTeamById(_x11) {
|
|
1406
1446
|
return _getSoftDeletdTeamById.apply(this, arguments);
|
|
@@ -1416,19 +1456,19 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1416
1456
|
}, {
|
|
1417
1457
|
key: "getUserInSiteUserBase",
|
|
1418
1458
|
value: (function () {
|
|
1419
|
-
var _getUserInSiteUserBase = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
1420
|
-
var
|
|
1421
|
-
return _regenerator.default.wrap(function
|
|
1422
|
-
while (1) switch (
|
|
1459
|
+
var _getUserInSiteUserBase = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee40(userId) {
|
|
1460
|
+
var _this35 = this;
|
|
1461
|
+
return _regenerator.default.wrap(function _callee40$(_context40) {
|
|
1462
|
+
while (1) switch (_context40.prev = _context40.next) {
|
|
1423
1463
|
case 0:
|
|
1424
|
-
return
|
|
1425
|
-
return
|
|
1464
|
+
return _context40.abrupt("return", this.measurePerformance('getUserInSiteUserBase', function () {
|
|
1465
|
+
return _this35._legionClient.getUserInSiteUserBase(userId);
|
|
1426
1466
|
}));
|
|
1427
1467
|
case 1:
|
|
1428
1468
|
case "end":
|
|
1429
|
-
return
|
|
1469
|
+
return _context40.stop();
|
|
1430
1470
|
}
|
|
1431
|
-
},
|
|
1471
|
+
}, _callee40, this);
|
|
1432
1472
|
}));
|
|
1433
1473
|
function getUserInSiteUserBase(_x12) {
|
|
1434
1474
|
return _getUserInSiteUserBase.apply(this, arguments);
|
|
@@ -1448,27 +1488,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1448
1488
|
}, {
|
|
1449
1489
|
key: "getProfileWithMutability",
|
|
1450
1490
|
value: (function () {
|
|
1451
|
-
var _getProfileWithMutability = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
1452
|
-
var
|
|
1453
|
-
var
|
|
1491
|
+
var _getProfileWithMutability = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee41() {
|
|
1492
|
+
var _this36 = this;
|
|
1493
|
+
var _len27,
|
|
1454
1494
|
args,
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
return _regenerator.default.wrap(function
|
|
1458
|
-
while (1) switch (
|
|
1495
|
+
_key27,
|
|
1496
|
+
_args41 = arguments;
|
|
1497
|
+
return _regenerator.default.wrap(function _callee41$(_context41) {
|
|
1498
|
+
while (1) switch (_context41.prev = _context41.next) {
|
|
1459
1499
|
case 0:
|
|
1460
|
-
for (
|
|
1461
|
-
args[
|
|
1500
|
+
for (_len27 = _args41.length, args = new Array(_len27), _key27 = 0; _key27 < _len27; _key27++) {
|
|
1501
|
+
args[_key27] = _args41[_key27];
|
|
1462
1502
|
}
|
|
1463
|
-
return
|
|
1464
|
-
var
|
|
1465
|
-
return (
|
|
1503
|
+
return _context41.abrupt("return", this.measurePerformance('getProfileWithMutability', function () {
|
|
1504
|
+
var _this36$_mutabilityCl;
|
|
1505
|
+
return (_this36$_mutabilityCl = _this36._mutabilityClient).getProfileWithMutability.apply(_this36$_mutabilityCl, args);
|
|
1466
1506
|
}));
|
|
1467
1507
|
case 2:
|
|
1468
1508
|
case "end":
|
|
1469
|
-
return
|
|
1509
|
+
return _context41.stop();
|
|
1470
1510
|
}
|
|
1471
|
-
},
|
|
1511
|
+
}, _callee41, this);
|
|
1472
1512
|
}));
|
|
1473
1513
|
function getProfileWithMutability() {
|
|
1474
1514
|
return _getProfileWithMutability.apply(this, arguments);
|
|
@@ -1482,13 +1522,13 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1482
1522
|
}, {
|
|
1483
1523
|
key: "getIsSiteAdmin",
|
|
1484
1524
|
value: function getIsSiteAdmin() {
|
|
1485
|
-
var
|
|
1486
|
-
for (var
|
|
1487
|
-
args[
|
|
1525
|
+
var _this37 = this;
|
|
1526
|
+
for (var _len28 = arguments.length, args = new Array(_len28), _key28 = 0; _key28 < _len28; _key28++) {
|
|
1527
|
+
args[_key28] = arguments[_key28];
|
|
1488
1528
|
}
|
|
1489
1529
|
return this.measurePerformance('getIsSiteAdmin', function () {
|
|
1490
|
-
var
|
|
1491
|
-
return (
|
|
1530
|
+
var _this37$_permsClient;
|
|
1531
|
+
return (_this37$_permsClient = _this37._permsClient).getIsSiteAdmin.apply(_this37$_permsClient, args);
|
|
1492
1532
|
});
|
|
1493
1533
|
}
|
|
1494
1534
|
|
|
@@ -1498,13 +1538,13 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1498
1538
|
}, {
|
|
1499
1539
|
key: "addUsersToTeam",
|
|
1500
1540
|
value: function addUsersToTeam() {
|
|
1501
|
-
var
|
|
1502
|
-
for (var
|
|
1503
|
-
args[
|
|
1541
|
+
var _this38 = this;
|
|
1542
|
+
for (var _len29 = arguments.length, args = new Array(_len29), _key29 = 0; _key29 < _len29; _key29++) {
|
|
1543
|
+
args[_key29] = arguments[_key29];
|
|
1504
1544
|
}
|
|
1505
1545
|
return this.measurePerformance('addUsersToTeam', function () {
|
|
1506
|
-
var
|
|
1507
|
-
return (
|
|
1546
|
+
var _this38$_publicApiCli;
|
|
1547
|
+
return (_this38$_publicApiCli = _this38._publicApiClient).addUsersToTeam.apply(_this38$_publicApiCli, args);
|
|
1508
1548
|
});
|
|
1509
1549
|
}
|
|
1510
1550
|
|
|
@@ -1514,13 +1554,13 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1514
1554
|
}, {
|
|
1515
1555
|
key: "removeTeamMemberships",
|
|
1516
1556
|
value: function removeTeamMemberships() {
|
|
1517
|
-
var
|
|
1518
|
-
for (var
|
|
1519
|
-
args[
|
|
1557
|
+
var _this39 = this;
|
|
1558
|
+
for (var _len30 = arguments.length, args = new Array(_len30), _key30 = 0; _key30 < _len30; _key30++) {
|
|
1559
|
+
args[_key30] = arguments[_key30];
|
|
1520
1560
|
}
|
|
1521
1561
|
return this.measurePerformance('removeTeamMemberships', function () {
|
|
1522
|
-
var
|
|
1523
|
-
return (
|
|
1562
|
+
var _this39$_publicApiCli;
|
|
1563
|
+
return (_this39$_publicApiCli = _this39._publicApiClient).removeTeamMemberships.apply(_this39$_publicApiCli, args);
|
|
1524
1564
|
});
|
|
1525
1565
|
}
|
|
1526
1566
|
|
|
@@ -1530,37 +1570,37 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1530
1570
|
}, {
|
|
1531
1571
|
key: "restoreTeam",
|
|
1532
1572
|
value: function restoreTeam() {
|
|
1533
|
-
var
|
|
1534
|
-
for (var
|
|
1535
|
-
args[
|
|
1573
|
+
var _this40 = this;
|
|
1574
|
+
for (var _len31 = arguments.length, args = new Array(_len31), _key31 = 0; _key31 < _len31; _key31++) {
|
|
1575
|
+
args[_key31] = arguments[_key31];
|
|
1536
1576
|
}
|
|
1537
1577
|
return this.measurePerformance('restoreTeam', function () {
|
|
1538
|
-
var
|
|
1539
|
-
return (
|
|
1578
|
+
var _this40$_publicApiCli;
|
|
1579
|
+
return (_this40$_publicApiCli = _this40._publicApiClient).restoreTeam.apply(_this40$_publicApiCli, args);
|
|
1540
1580
|
});
|
|
1541
1581
|
}
|
|
1542
1582
|
}, {
|
|
1543
1583
|
key: "getRecommendedProducts",
|
|
1544
1584
|
value: function getRecommendedProducts() {
|
|
1545
|
-
var
|
|
1546
|
-
for (var
|
|
1547
|
-
args[
|
|
1585
|
+
var _this41 = this;
|
|
1586
|
+
for (var _len32 = arguments.length, args = new Array(_len32), _key32 = 0; _key32 < _len32; _key32++) {
|
|
1587
|
+
args[_key32] = arguments[_key32];
|
|
1548
1588
|
}
|
|
1549
1589
|
return this.measurePerformance('getRecommendedProducts', function () {
|
|
1550
|
-
var
|
|
1551
|
-
return (
|
|
1590
|
+
var _this41$_invitationsC;
|
|
1591
|
+
return (_this41$_invitationsC = _this41._invitationsClient).getProductRecommendations.apply(_this41$_invitationsC, args);
|
|
1552
1592
|
});
|
|
1553
1593
|
}
|
|
1554
1594
|
}, {
|
|
1555
1595
|
key: "joinOrRequestDefaultAccessToProductsBulk",
|
|
1556
1596
|
value: function joinOrRequestDefaultAccessToProductsBulk() {
|
|
1557
|
-
var
|
|
1558
|
-
for (var
|
|
1559
|
-
args[
|
|
1597
|
+
var _this42 = this;
|
|
1598
|
+
for (var _len33 = arguments.length, args = new Array(_len33), _key33 = 0; _key33 < _len33; _key33++) {
|
|
1599
|
+
args[_key33] = arguments[_key33];
|
|
1560
1600
|
}
|
|
1561
1601
|
return this.measurePerformance('joinOrRequestDefaultAccessToProductsBulk', function () {
|
|
1562
|
-
var
|
|
1563
|
-
return (
|
|
1602
|
+
var _this42$_invitationsC;
|
|
1603
|
+
return (_this42$_invitationsC = _this42._invitationsClient).joinOrRequestDefaultAccessToProductsBulk.apply(_this42$_invitationsC, args);
|
|
1564
1604
|
});
|
|
1565
1605
|
}
|
|
1566
1606
|
|
|
@@ -1570,19 +1610,19 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1570
1610
|
}, {
|
|
1571
1611
|
key: "getWriteTeamMediaToken",
|
|
1572
1612
|
value: (function () {
|
|
1573
|
-
var _getWriteTeamMediaToken = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
1574
|
-
var
|
|
1575
|
-
return _regenerator.default.wrap(function
|
|
1576
|
-
while (1) switch (
|
|
1613
|
+
var _getWriteTeamMediaToken = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee42() {
|
|
1614
|
+
var _this43 = this;
|
|
1615
|
+
return _regenerator.default.wrap(function _callee42$(_context42) {
|
|
1616
|
+
while (1) switch (_context42.prev = _context42.next) {
|
|
1577
1617
|
case 0:
|
|
1578
|
-
return
|
|
1579
|
-
return
|
|
1618
|
+
return _context42.abrupt("return", this.measurePerformance('getWriteTeamMediaToken', function () {
|
|
1619
|
+
return _this43._legionClient.getWriteMediaToken();
|
|
1580
1620
|
}));
|
|
1581
1621
|
case 1:
|
|
1582
1622
|
case "end":
|
|
1583
|
-
return
|
|
1623
|
+
return _context42.stop();
|
|
1584
1624
|
}
|
|
1585
|
-
},
|
|
1625
|
+
}, _callee42, this);
|
|
1586
1626
|
}));
|
|
1587
1627
|
function getWriteTeamMediaToken() {
|
|
1588
1628
|
return _getWriteTeamMediaToken.apply(this, arguments);
|
|
@@ -1596,27 +1636,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1596
1636
|
}, {
|
|
1597
1637
|
key: "getReadMediaToken",
|
|
1598
1638
|
value: (function () {
|
|
1599
|
-
var _getReadMediaToken = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
1600
|
-
var
|
|
1601
|
-
var
|
|
1639
|
+
var _getReadMediaToken = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee43() {
|
|
1640
|
+
var _this44 = this;
|
|
1641
|
+
var _len34,
|
|
1602
1642
|
args,
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
return _regenerator.default.wrap(function
|
|
1606
|
-
while (1) switch (
|
|
1643
|
+
_key34,
|
|
1644
|
+
_args43 = arguments;
|
|
1645
|
+
return _regenerator.default.wrap(function _callee43$(_context43) {
|
|
1646
|
+
while (1) switch (_context43.prev = _context43.next) {
|
|
1607
1647
|
case 0:
|
|
1608
|
-
for (
|
|
1609
|
-
args[
|
|
1648
|
+
for (_len34 = _args43.length, args = new Array(_len34), _key34 = 0; _key34 < _len34; _key34++) {
|
|
1649
|
+
args[_key34] = _args43[_key34];
|
|
1610
1650
|
}
|
|
1611
|
-
return
|
|
1612
|
-
var
|
|
1613
|
-
return (
|
|
1651
|
+
return _context43.abrupt("return", this.measurePerformance('getReadMediaToken', function () {
|
|
1652
|
+
var _this44$_userPreferen;
|
|
1653
|
+
return (_this44$_userPreferen = _this44._userPreferencesClient).getReadMediaToken.apply(_this44$_userPreferen, args);
|
|
1614
1654
|
}));
|
|
1615
1655
|
case 2:
|
|
1616
1656
|
case "end":
|
|
1617
|
-
return
|
|
1657
|
+
return _context43.stop();
|
|
1618
1658
|
}
|
|
1619
|
-
},
|
|
1659
|
+
}, _callee43, this);
|
|
1620
1660
|
}));
|
|
1621
1661
|
function getReadMediaToken() {
|
|
1622
1662
|
return _getReadMediaToken.apply(this, arguments);
|
|
@@ -1630,39 +1670,13 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1630
1670
|
}, {
|
|
1631
1671
|
key: "getWriteUserMediaToken",
|
|
1632
1672
|
value: (function () {
|
|
1633
|
-
var _getWriteUserMediaToken = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
1634
|
-
var _this44 = this;
|
|
1635
|
-
return _regenerator.default.wrap(function _callee43$(_context43) {
|
|
1636
|
-
while (1) switch (_context43.prev = _context43.next) {
|
|
1637
|
-
case 0:
|
|
1638
|
-
return _context43.abrupt("return", this.measurePerformance('getWriteUserMediaToken', function () {
|
|
1639
|
-
return _this44._userPreferencesClient.getWriteMediaToken();
|
|
1640
|
-
}));
|
|
1641
|
-
case 1:
|
|
1642
|
-
case "end":
|
|
1643
|
-
return _context43.stop();
|
|
1644
|
-
}
|
|
1645
|
-
}, _callee43, this);
|
|
1646
|
-
}));
|
|
1647
|
-
function getWriteUserMediaToken() {
|
|
1648
|
-
return _getWriteUserMediaToken.apply(this, arguments);
|
|
1649
|
-
}
|
|
1650
|
-
return getWriteUserMediaToken;
|
|
1651
|
-
}()
|
|
1652
|
-
/**
|
|
1653
|
-
* Update header image for a user
|
|
1654
|
-
*/
|
|
1655
|
-
)
|
|
1656
|
-
}, {
|
|
1657
|
-
key: "updateUserHeaderImage",
|
|
1658
|
-
value: (function () {
|
|
1659
|
-
var _updateUserHeaderImage = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee44(headerImageId) {
|
|
1673
|
+
var _getWriteUserMediaToken = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee44() {
|
|
1660
1674
|
var _this45 = this;
|
|
1661
1675
|
return _regenerator.default.wrap(function _callee44$(_context44) {
|
|
1662
1676
|
while (1) switch (_context44.prev = _context44.next) {
|
|
1663
1677
|
case 0:
|
|
1664
|
-
return _context44.abrupt("return", this.measurePerformance('
|
|
1665
|
-
return _this45._userPreferencesClient.
|
|
1678
|
+
return _context44.abrupt("return", this.measurePerformance('getWriteUserMediaToken', function () {
|
|
1679
|
+
return _this45._userPreferencesClient.getWriteMediaToken();
|
|
1666
1680
|
}));
|
|
1667
1681
|
case 1:
|
|
1668
1682
|
case "end":
|
|
@@ -1670,53 +1684,45 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1670
1684
|
}
|
|
1671
1685
|
}, _callee44, this);
|
|
1672
1686
|
}));
|
|
1673
|
-
function
|
|
1674
|
-
return
|
|
1687
|
+
function getWriteUserMediaToken() {
|
|
1688
|
+
return _getWriteUserMediaToken.apply(this, arguments);
|
|
1675
1689
|
}
|
|
1676
|
-
return
|
|
1690
|
+
return getWriteUserMediaToken;
|
|
1677
1691
|
}()
|
|
1678
1692
|
/**
|
|
1679
|
-
*
|
|
1693
|
+
* Update header image for a user
|
|
1680
1694
|
*/
|
|
1681
1695
|
)
|
|
1682
1696
|
}, {
|
|
1683
|
-
key: "
|
|
1697
|
+
key: "updateUserHeaderImage",
|
|
1684
1698
|
value: (function () {
|
|
1685
|
-
var
|
|
1699
|
+
var _updateUserHeaderImage = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee45(headerImageId) {
|
|
1686
1700
|
var _this46 = this;
|
|
1687
|
-
var _len34,
|
|
1688
|
-
args,
|
|
1689
|
-
_key34,
|
|
1690
|
-
_args45 = arguments;
|
|
1691
1701
|
return _regenerator.default.wrap(function _callee45$(_context45) {
|
|
1692
1702
|
while (1) switch (_context45.prev = _context45.next) {
|
|
1693
1703
|
case 0:
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
}
|
|
1697
|
-
return _context45.abrupt("return", this.measurePerformance('getUserContainers', function () {
|
|
1698
|
-
var _this46$_collaboratio;
|
|
1699
|
-
return (_this46$_collaboratio = _this46._collaborationGraphClient).getUserContainers.apply(_this46$_collaboratio, args);
|
|
1704
|
+
return _context45.abrupt("return", this.measurePerformance('updateUserHeaderImage', function () {
|
|
1705
|
+
return _this46._userPreferencesClient.updateUserHeaderImage(headerImageId);
|
|
1700
1706
|
}));
|
|
1701
|
-
case
|
|
1707
|
+
case 1:
|
|
1702
1708
|
case "end":
|
|
1703
1709
|
return _context45.stop();
|
|
1704
1710
|
}
|
|
1705
1711
|
}, _callee45, this);
|
|
1706
1712
|
}));
|
|
1707
|
-
function
|
|
1708
|
-
return
|
|
1713
|
+
function updateUserHeaderImage(_x13) {
|
|
1714
|
+
return _updateUserHeaderImage.apply(this, arguments);
|
|
1709
1715
|
}
|
|
1710
|
-
return
|
|
1716
|
+
return updateUserHeaderImage;
|
|
1711
1717
|
}()
|
|
1712
1718
|
/**
|
|
1713
|
-
* Fetch
|
|
1719
|
+
* Fetch user containers from collboration graph
|
|
1714
1720
|
*/
|
|
1715
1721
|
)
|
|
1716
1722
|
}, {
|
|
1717
|
-
key: "
|
|
1723
|
+
key: "getUserContainers",
|
|
1718
1724
|
value: (function () {
|
|
1719
|
-
var
|
|
1725
|
+
var _getUserContainers = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee46() {
|
|
1720
1726
|
var _this47 = this;
|
|
1721
1727
|
var _len35,
|
|
1722
1728
|
args,
|
|
@@ -1728,9 +1734,9 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1728
1734
|
for (_len35 = _args46.length, args = new Array(_len35), _key35 = 0; _key35 < _len35; _key35++) {
|
|
1729
1735
|
args[_key35] = _args46[_key35];
|
|
1730
1736
|
}
|
|
1731
|
-
return _context46.abrupt("return", this.measurePerformance('
|
|
1732
|
-
var _this47$
|
|
1733
|
-
return (_this47$
|
|
1737
|
+
return _context46.abrupt("return", this.measurePerformance('getUserContainers', function () {
|
|
1738
|
+
var _this47$_collaboratio;
|
|
1739
|
+
return (_this47$_collaboratio = _this47._collaborationGraphClient).getUserContainers.apply(_this47$_collaboratio, args);
|
|
1734
1740
|
}));
|
|
1735
1741
|
case 2:
|
|
1736
1742
|
case "end":
|
|
@@ -1738,19 +1744,19 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1738
1744
|
}
|
|
1739
1745
|
}, _callee46, this);
|
|
1740
1746
|
}));
|
|
1741
|
-
function
|
|
1742
|
-
return
|
|
1747
|
+
function getUserContainers() {
|
|
1748
|
+
return _getUserContainers.apply(this, arguments);
|
|
1743
1749
|
}
|
|
1744
|
-
return
|
|
1750
|
+
return getUserContainers;
|
|
1745
1751
|
}()
|
|
1746
1752
|
/**
|
|
1747
|
-
* Fetch
|
|
1753
|
+
* Fetch mutatability of external managed user fields
|
|
1748
1754
|
*/
|
|
1749
1755
|
)
|
|
1750
1756
|
}, {
|
|
1751
|
-
key: "
|
|
1757
|
+
key: "getUserManageConfig",
|
|
1752
1758
|
value: (function () {
|
|
1753
|
-
var
|
|
1759
|
+
var _getUserManageConfig = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee47() {
|
|
1754
1760
|
var _this48 = this;
|
|
1755
1761
|
var _len36,
|
|
1756
1762
|
args,
|
|
@@ -1762,9 +1768,9 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1762
1768
|
for (_len36 = _args47.length, args = new Array(_len36), _key36 = 0; _key36 < _len36; _key36++) {
|
|
1763
1769
|
args[_key36] = _args47[_key36];
|
|
1764
1770
|
}
|
|
1765
|
-
return _context47.abrupt("return", this.measurePerformance('
|
|
1771
|
+
return _context47.abrupt("return", this.measurePerformance('getUserManageConfig', function () {
|
|
1766
1772
|
var _this48$_identityClie;
|
|
1767
|
-
return (_this48$_identityClie = _this48._identityClient).
|
|
1773
|
+
return (_this48$_identityClie = _this48._identityClient).getUserManageConfig.apply(_this48$_identityClie, args);
|
|
1768
1774
|
}));
|
|
1769
1775
|
case 2:
|
|
1770
1776
|
case "end":
|
|
@@ -1772,19 +1778,19 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1772
1778
|
}
|
|
1773
1779
|
}, _callee47, this);
|
|
1774
1780
|
}));
|
|
1775
|
-
function
|
|
1776
|
-
return
|
|
1781
|
+
function getUserManageConfig() {
|
|
1782
|
+
return _getUserManageConfig.apply(this, arguments);
|
|
1777
1783
|
}
|
|
1778
|
-
return
|
|
1784
|
+
return getUserManageConfig;
|
|
1779
1785
|
}()
|
|
1780
1786
|
/**
|
|
1781
|
-
*
|
|
1787
|
+
* Fetch user avatar uploaded status
|
|
1782
1788
|
*/
|
|
1783
1789
|
)
|
|
1784
1790
|
}, {
|
|
1785
|
-
key: "
|
|
1791
|
+
key: "getMyAvatarUploadedStatus",
|
|
1786
1792
|
value: (function () {
|
|
1787
|
-
var
|
|
1793
|
+
var _getMyAvatarUploadedStatus = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee48() {
|
|
1788
1794
|
var _this49 = this;
|
|
1789
1795
|
var _len37,
|
|
1790
1796
|
args,
|
|
@@ -1796,9 +1802,9 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1796
1802
|
for (_len37 = _args48.length, args = new Array(_len37), _key37 = 0; _key37 < _len37; _key37++) {
|
|
1797
1803
|
args[_key37] = _args48[_key37];
|
|
1798
1804
|
}
|
|
1799
|
-
return _context48.abrupt("return", this.measurePerformance('
|
|
1805
|
+
return _context48.abrupt("return", this.measurePerformance('getMyAvatarUploadedStatus', function () {
|
|
1800
1806
|
var _this49$_identityClie;
|
|
1801
|
-
return (_this49$_identityClie = _this49._identityClient).
|
|
1807
|
+
return (_this49$_identityClie = _this49._identityClient).getMyAvatarUploadedStatus.apply(_this49$_identityClie, args);
|
|
1802
1808
|
}));
|
|
1803
1809
|
case 2:
|
|
1804
1810
|
case "end":
|
|
@@ -1806,15 +1812,19 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1806
1812
|
}
|
|
1807
1813
|
}, _callee48, this);
|
|
1808
1814
|
}));
|
|
1809
|
-
function
|
|
1810
|
-
return
|
|
1815
|
+
function getMyAvatarUploadedStatus() {
|
|
1816
|
+
return _getMyAvatarUploadedStatus.apply(this, arguments);
|
|
1811
1817
|
}
|
|
1812
|
-
return
|
|
1813
|
-
}()
|
|
1818
|
+
return getMyAvatarUploadedStatus;
|
|
1819
|
+
}()
|
|
1820
|
+
/**
|
|
1821
|
+
* Delete user avatar
|
|
1822
|
+
*/
|
|
1823
|
+
)
|
|
1814
1824
|
}, {
|
|
1815
|
-
key: "
|
|
1816
|
-
value: function () {
|
|
1817
|
-
var
|
|
1825
|
+
key: "deleteAvatar",
|
|
1826
|
+
value: (function () {
|
|
1827
|
+
var _deleteAvatar = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee49() {
|
|
1818
1828
|
var _this50 = this;
|
|
1819
1829
|
var _len38,
|
|
1820
1830
|
args,
|
|
@@ -1826,9 +1836,9 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1826
1836
|
for (_len38 = _args49.length, args = new Array(_len38), _key38 = 0; _key38 < _len38; _key38++) {
|
|
1827
1837
|
args[_key38] = _args49[_key38];
|
|
1828
1838
|
}
|
|
1829
|
-
return _context49.abrupt("return", this.measurePerformance('
|
|
1839
|
+
return _context49.abrupt("return", this.measurePerformance('deleteUserAvatar', function () {
|
|
1830
1840
|
var _this50$_identityClie;
|
|
1831
|
-
return (_this50$_identityClie = _this50._identityClient).
|
|
1841
|
+
return (_this50$_identityClie = _this50._identityClient).deleteAvatar.apply(_this50$_identityClie, args);
|
|
1832
1842
|
}));
|
|
1833
1843
|
case 2:
|
|
1834
1844
|
case "end":
|
|
@@ -1836,18 +1846,15 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1836
1846
|
}
|
|
1837
1847
|
}, _callee49, this);
|
|
1838
1848
|
}));
|
|
1839
|
-
function
|
|
1840
|
-
return
|
|
1849
|
+
function deleteAvatar() {
|
|
1850
|
+
return _deleteAvatar.apply(this, arguments);
|
|
1841
1851
|
}
|
|
1842
|
-
return
|
|
1843
|
-
}()
|
|
1844
|
-
/**
|
|
1845
|
-
* Fetch Team link icons
|
|
1846
|
-
*/
|
|
1852
|
+
return deleteAvatar;
|
|
1853
|
+
}())
|
|
1847
1854
|
}, {
|
|
1848
|
-
key: "
|
|
1849
|
-
value:
|
|
1850
|
-
var
|
|
1855
|
+
key: "fetchUserAvatarInfo",
|
|
1856
|
+
value: function () {
|
|
1857
|
+
var _fetchUserAvatarInfo = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee50() {
|
|
1851
1858
|
var _this51 = this;
|
|
1852
1859
|
var _len39,
|
|
1853
1860
|
args,
|
|
@@ -1859,9 +1866,9 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1859
1866
|
for (_len39 = _args50.length, args = new Array(_len39), _key39 = 0; _key39 < _len39; _key39++) {
|
|
1860
1867
|
args[_key39] = _args50[_key39];
|
|
1861
1868
|
}
|
|
1862
|
-
return _context50.abrupt("return", this.measurePerformance('
|
|
1863
|
-
var _this51$
|
|
1864
|
-
return (_this51$
|
|
1869
|
+
return _context50.abrupt("return", this.measurePerformance('fetchUserAvatarInfo', function () {
|
|
1870
|
+
var _this51$_identityClie;
|
|
1871
|
+
return (_this51$_identityClie = _this51._identityClient).fetchUserAvatarInfo.apply(_this51$_identityClie, args);
|
|
1865
1872
|
}));
|
|
1866
1873
|
case 2:
|
|
1867
1874
|
case "end":
|
|
@@ -1869,19 +1876,18 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1869
1876
|
}
|
|
1870
1877
|
}, _callee50, this);
|
|
1871
1878
|
}));
|
|
1872
|
-
function
|
|
1873
|
-
return
|
|
1879
|
+
function fetchUserAvatarInfo() {
|
|
1880
|
+
return _fetchUserAvatarInfo.apply(this, arguments);
|
|
1874
1881
|
}
|
|
1875
|
-
return
|
|
1882
|
+
return fetchUserAvatarInfo;
|
|
1876
1883
|
}()
|
|
1877
1884
|
/**
|
|
1878
|
-
* Fetch
|
|
1885
|
+
* Fetch Team link icons
|
|
1879
1886
|
*/
|
|
1880
|
-
)
|
|
1881
1887
|
}, {
|
|
1882
|
-
key: "
|
|
1888
|
+
key: "getTeamLinkIcons",
|
|
1883
1889
|
value: (function () {
|
|
1884
|
-
var
|
|
1890
|
+
var _getTeamLinkIcons = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee51() {
|
|
1885
1891
|
var _this52 = this;
|
|
1886
1892
|
var _len40,
|
|
1887
1893
|
args,
|
|
@@ -1893,9 +1899,9 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1893
1899
|
for (_len40 = _args51.length, args = new Array(_len40), _key40 = 0; _key40 < _len40; _key40++) {
|
|
1894
1900
|
args[_key40] = _args51[_key40];
|
|
1895
1901
|
}
|
|
1896
|
-
return _context51.abrupt("return", this.measurePerformance('
|
|
1902
|
+
return _context51.abrupt("return", this.measurePerformance('getTeamLinkIcons', function () {
|
|
1897
1903
|
var _this52$_objectResolv;
|
|
1898
|
-
return (_this52$_objectResolv = _this52._objectResolverClient).
|
|
1904
|
+
return (_this52$_objectResolv = _this52._objectResolverClient).getTeamLinkIcons.apply(_this52$_objectResolv, args);
|
|
1899
1905
|
}));
|
|
1900
1906
|
case 2:
|
|
1901
1907
|
case "end":
|
|
@@ -1903,19 +1909,19 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1903
1909
|
}
|
|
1904
1910
|
}, _callee51, this);
|
|
1905
1911
|
}));
|
|
1906
|
-
function
|
|
1907
|
-
return
|
|
1912
|
+
function getTeamLinkIcons() {
|
|
1913
|
+
return _getTeamLinkIcons.apply(this, arguments);
|
|
1908
1914
|
}
|
|
1909
|
-
return
|
|
1915
|
+
return getTeamLinkIcons;
|
|
1910
1916
|
}()
|
|
1911
1917
|
/**
|
|
1912
|
-
* Fetch
|
|
1918
|
+
* Fetch ARI from URL
|
|
1913
1919
|
*/
|
|
1914
1920
|
)
|
|
1915
1921
|
}, {
|
|
1916
|
-
key: "
|
|
1922
|
+
key: "getAriFromUrl",
|
|
1917
1923
|
value: (function () {
|
|
1918
|
-
var
|
|
1924
|
+
var _getAriFromUrl = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee52() {
|
|
1919
1925
|
var _this53 = this;
|
|
1920
1926
|
var _len41,
|
|
1921
1927
|
args,
|
|
@@ -1927,9 +1933,9 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1927
1933
|
for (_len41 = _args52.length, args = new Array(_len41), _key41 = 0; _key41 < _len41; _key41++) {
|
|
1928
1934
|
args[_key41] = _args52[_key41];
|
|
1929
1935
|
}
|
|
1930
|
-
return _context52.abrupt("return", this.measurePerformance('
|
|
1936
|
+
return _context52.abrupt("return", this.measurePerformance('getAriFromUrl', function () {
|
|
1931
1937
|
var _this53$_objectResolv;
|
|
1932
|
-
return (_this53$_objectResolv = _this53._objectResolverClient).
|
|
1938
|
+
return (_this53$_objectResolv = _this53._objectResolverClient).getAriFromUrl.apply(_this53$_objectResolv, args);
|
|
1933
1939
|
}));
|
|
1934
1940
|
case 2:
|
|
1935
1941
|
case "end":
|
|
@@ -1937,19 +1943,19 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1937
1943
|
}
|
|
1938
1944
|
}, _callee52, this);
|
|
1939
1945
|
}));
|
|
1940
|
-
function
|
|
1941
|
-
return
|
|
1946
|
+
function getAriFromUrl() {
|
|
1947
|
+
return _getAriFromUrl.apply(this, arguments);
|
|
1942
1948
|
}
|
|
1943
|
-
return
|
|
1949
|
+
return getAriFromUrl;
|
|
1944
1950
|
}()
|
|
1945
1951
|
/**
|
|
1946
|
-
* Fetch
|
|
1952
|
+
* Fetch web link title
|
|
1947
1953
|
*/
|
|
1948
1954
|
)
|
|
1949
1955
|
}, {
|
|
1950
|
-
key: "
|
|
1956
|
+
key: "getWebLinkTitle",
|
|
1951
1957
|
value: (function () {
|
|
1952
|
-
var
|
|
1958
|
+
var _getWebLinkTitle = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee53() {
|
|
1953
1959
|
var _this54 = this;
|
|
1954
1960
|
var _len42,
|
|
1955
1961
|
args,
|
|
@@ -1961,9 +1967,9 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1961
1967
|
for (_len42 = _args53.length, args = new Array(_len42), _key42 = 0; _key42 < _len42; _key42++) {
|
|
1962
1968
|
args[_key42] = _args53[_key42];
|
|
1963
1969
|
}
|
|
1964
|
-
return _context53.abrupt("return", this.measurePerformance('
|
|
1965
|
-
var _this54$
|
|
1966
|
-
return (_this54$
|
|
1970
|
+
return _context53.abrupt("return", this.measurePerformance('getWebLinkTitle', function () {
|
|
1971
|
+
var _this54$_objectResolv;
|
|
1972
|
+
return (_this54$_objectResolv = _this54._objectResolverClient).getWebLinkTitle.apply(_this54$_objectResolv, args);
|
|
1967
1973
|
}));
|
|
1968
1974
|
case 2:
|
|
1969
1975
|
case "end":
|
|
@@ -1971,19 +1977,19 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1971
1977
|
}
|
|
1972
1978
|
}, _callee53, this);
|
|
1973
1979
|
}));
|
|
1974
|
-
function
|
|
1975
|
-
return
|
|
1980
|
+
function getWebLinkTitle() {
|
|
1981
|
+
return _getWebLinkTitle.apply(this, arguments);
|
|
1976
1982
|
}
|
|
1977
|
-
return
|
|
1983
|
+
return getWebLinkTitle;
|
|
1978
1984
|
}()
|
|
1979
1985
|
/**
|
|
1980
|
-
*
|
|
1986
|
+
* Fetch team in slack details
|
|
1981
1987
|
*/
|
|
1982
1988
|
)
|
|
1983
1989
|
}, {
|
|
1984
|
-
key: "
|
|
1990
|
+
key: "getTeamInSlack",
|
|
1985
1991
|
value: (function () {
|
|
1986
|
-
var
|
|
1992
|
+
var _getTeamInSlack = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee54() {
|
|
1987
1993
|
var _this55 = this;
|
|
1988
1994
|
var _len43,
|
|
1989
1995
|
args,
|
|
@@ -1995,9 +2001,9 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
1995
2001
|
for (_len43 = _args54.length, args = new Array(_len43), _key43 = 0; _key43 < _len43; _key43++) {
|
|
1996
2002
|
args[_key43] = _args54[_key43];
|
|
1997
2003
|
}
|
|
1998
|
-
return _context54.abrupt("return", this.measurePerformance('
|
|
2004
|
+
return _context54.abrupt("return", this.measurePerformance('getTeamInSlack', function () {
|
|
1999
2005
|
var _this55$_teamsInSlack;
|
|
2000
|
-
return (_this55$_teamsInSlack = _this55._teamsInSlackClient).
|
|
2006
|
+
return (_this55$_teamsInSlack = _this55._teamsInSlackClient).getTeamInSlack.apply(_this55$_teamsInSlack, args);
|
|
2001
2007
|
}));
|
|
2002
2008
|
case 2:
|
|
2003
2009
|
case "end":
|
|
@@ -2005,19 +2011,19 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2005
2011
|
}
|
|
2006
2012
|
}, _callee54, this);
|
|
2007
2013
|
}));
|
|
2008
|
-
function
|
|
2009
|
-
return
|
|
2014
|
+
function getTeamInSlack() {
|
|
2015
|
+
return _getTeamInSlack.apply(this, arguments);
|
|
2010
2016
|
}
|
|
2011
|
-
return
|
|
2017
|
+
return getTeamInSlack;
|
|
2012
2018
|
}()
|
|
2013
2019
|
/**
|
|
2014
|
-
*
|
|
2020
|
+
* Delete team in slack
|
|
2015
2021
|
*/
|
|
2016
2022
|
)
|
|
2017
2023
|
}, {
|
|
2018
|
-
key: "
|
|
2024
|
+
key: "disconnectTeamInSlack",
|
|
2019
2025
|
value: (function () {
|
|
2020
|
-
var
|
|
2026
|
+
var _disconnectTeamInSlack = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee55() {
|
|
2021
2027
|
var _this56 = this;
|
|
2022
2028
|
var _len44,
|
|
2023
2029
|
args,
|
|
@@ -2029,9 +2035,9 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2029
2035
|
for (_len44 = _args55.length, args = new Array(_len44), _key44 = 0; _key44 < _len44; _key44++) {
|
|
2030
2036
|
args[_key44] = _args55[_key44];
|
|
2031
2037
|
}
|
|
2032
|
-
return _context55.abrupt("return", this.measurePerformance('
|
|
2038
|
+
return _context55.abrupt("return", this.measurePerformance('disconnectTeamInSlack', function () {
|
|
2033
2039
|
var _this56$_teamsInSlack;
|
|
2034
|
-
return (_this56$_teamsInSlack = _this56._teamsInSlackClient).
|
|
2040
|
+
return (_this56$_teamsInSlack = _this56._teamsInSlackClient).disconnectTeamInSlack.apply(_this56$_teamsInSlack, args);
|
|
2035
2041
|
}));
|
|
2036
2042
|
case 2:
|
|
2037
2043
|
case "end":
|
|
@@ -2039,19 +2045,19 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2039
2045
|
}
|
|
2040
2046
|
}, _callee55, this);
|
|
2041
2047
|
}));
|
|
2042
|
-
function
|
|
2043
|
-
return
|
|
2048
|
+
function disconnectTeamInSlack() {
|
|
2049
|
+
return _disconnectTeamInSlack.apply(this, arguments);
|
|
2044
2050
|
}
|
|
2045
|
-
return
|
|
2051
|
+
return disconnectTeamInSlack;
|
|
2046
2052
|
}()
|
|
2047
2053
|
/**
|
|
2048
|
-
* Update
|
|
2054
|
+
* Update team in slack
|
|
2049
2055
|
*/
|
|
2050
2056
|
)
|
|
2051
2057
|
}, {
|
|
2052
|
-
key: "
|
|
2058
|
+
key: "updateTeamInSlack",
|
|
2053
2059
|
value: (function () {
|
|
2054
|
-
var
|
|
2060
|
+
var _updateTeamInSlack = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee56() {
|
|
2055
2061
|
var _this57 = this;
|
|
2056
2062
|
var _len45,
|
|
2057
2063
|
args,
|
|
@@ -2063,9 +2069,9 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2063
2069
|
for (_len45 = _args56.length, args = new Array(_len45), _key45 = 0; _key45 < _len45; _key45++) {
|
|
2064
2070
|
args[_key45] = _args56[_key45];
|
|
2065
2071
|
}
|
|
2066
|
-
return _context56.abrupt("return", this.measurePerformance('
|
|
2067
|
-
var _this57$
|
|
2068
|
-
return (_this57$
|
|
2072
|
+
return _context56.abrupt("return", this.measurePerformance('updateTeamInSlack', function () {
|
|
2073
|
+
var _this57$_teamsInSlack;
|
|
2074
|
+
return (_this57$_teamsInSlack = _this57._teamsInSlackClient).updateTeamInSlack.apply(_this57$_teamsInSlack, args);
|
|
2069
2075
|
}));
|
|
2070
2076
|
case 2:
|
|
2071
2077
|
case "end":
|
|
@@ -2073,15 +2079,19 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2073
2079
|
}
|
|
2074
2080
|
}, _callee56, this);
|
|
2075
2081
|
}));
|
|
2076
|
-
function
|
|
2077
|
-
return
|
|
2082
|
+
function updateTeamInSlack() {
|
|
2083
|
+
return _updateTeamInSlack.apply(this, arguments);
|
|
2078
2084
|
}
|
|
2079
|
-
return
|
|
2080
|
-
}()
|
|
2085
|
+
return updateTeamInSlack;
|
|
2086
|
+
}()
|
|
2087
|
+
/**
|
|
2088
|
+
* Update user details
|
|
2089
|
+
*/
|
|
2090
|
+
)
|
|
2081
2091
|
}, {
|
|
2082
|
-
key: "
|
|
2083
|
-
value: function () {
|
|
2084
|
-
var
|
|
2092
|
+
key: "updateUser",
|
|
2093
|
+
value: (function () {
|
|
2094
|
+
var _updateUser = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee57() {
|
|
2085
2095
|
var _this58 = this;
|
|
2086
2096
|
var _len46,
|
|
2087
2097
|
args,
|
|
@@ -2093,9 +2103,9 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2093
2103
|
for (_len46 = _args57.length, args = new Array(_len46), _key46 = 0; _key46 < _len46; _key46++) {
|
|
2094
2104
|
args[_key46] = _args57[_key46];
|
|
2095
2105
|
}
|
|
2096
|
-
return _context57.abrupt("return", this.measurePerformance('
|
|
2106
|
+
return _context57.abrupt("return", this.measurePerformance('updateUser', function () {
|
|
2097
2107
|
var _this58$_identityClie;
|
|
2098
|
-
return (_this58$_identityClie = _this58._identityClient).
|
|
2108
|
+
return (_this58$_identityClie = _this58._identityClient).updateUser.apply(_this58$_identityClie, args);
|
|
2099
2109
|
}));
|
|
2100
2110
|
case 2:
|
|
2101
2111
|
case "end":
|
|
@@ -2103,6 +2113,36 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2103
2113
|
}
|
|
2104
2114
|
}, _callee57, this);
|
|
2105
2115
|
}));
|
|
2116
|
+
function updateUser() {
|
|
2117
|
+
return _updateUser.apply(this, arguments);
|
|
2118
|
+
}
|
|
2119
|
+
return updateUser;
|
|
2120
|
+
}())
|
|
2121
|
+
}, {
|
|
2122
|
+
key: "updateUserAvatar",
|
|
2123
|
+
value: function () {
|
|
2124
|
+
var _updateUserAvatar = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee58() {
|
|
2125
|
+
var _this59 = this;
|
|
2126
|
+
var _len47,
|
|
2127
|
+
args,
|
|
2128
|
+
_key47,
|
|
2129
|
+
_args58 = arguments;
|
|
2130
|
+
return _regenerator.default.wrap(function _callee58$(_context58) {
|
|
2131
|
+
while (1) switch (_context58.prev = _context58.next) {
|
|
2132
|
+
case 0:
|
|
2133
|
+
for (_len47 = _args58.length, args = new Array(_len47), _key47 = 0; _key47 < _len47; _key47++) {
|
|
2134
|
+
args[_key47] = _args58[_key47];
|
|
2135
|
+
}
|
|
2136
|
+
return _context58.abrupt("return", this.measurePerformance('updateUserAvatar', function () {
|
|
2137
|
+
var _this59$_identityClie;
|
|
2138
|
+
return (_this59$_identityClie = _this59._identityClient).updateUserAvatar.apply(_this59$_identityClie, args);
|
|
2139
|
+
}));
|
|
2140
|
+
case 2:
|
|
2141
|
+
case "end":
|
|
2142
|
+
return _context58.stop();
|
|
2143
|
+
}
|
|
2144
|
+
}, _callee58, this);
|
|
2145
|
+
}));
|
|
2106
2146
|
function updateUserAvatar() {
|
|
2107
2147
|
return _updateUserAvatar.apply(this, arguments);
|
|
2108
2148
|
}
|
|
@@ -2111,18 +2151,18 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2111
2151
|
}, {
|
|
2112
2152
|
key: "addTeamWatcher",
|
|
2113
2153
|
value: function () {
|
|
2114
|
-
var _addTeamWatcher = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
2154
|
+
var _addTeamWatcher = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee59() {
|
|
2115
2155
|
var _this$_teamCentralCli;
|
|
2116
|
-
var
|
|
2117
|
-
return _regenerator.default.wrap(function
|
|
2118
|
-
while (1) switch (
|
|
2156
|
+
var _args59 = arguments;
|
|
2157
|
+
return _regenerator.default.wrap(function _callee59$(_context59) {
|
|
2158
|
+
while (1) switch (_context59.prev = _context59.next) {
|
|
2119
2159
|
case 0:
|
|
2120
|
-
return
|
|
2160
|
+
return _context59.abrupt("return", (_this$_teamCentralCli = this._teamCentralClient).addTeamWatcher.apply(_this$_teamCentralCli, _args59));
|
|
2121
2161
|
case 1:
|
|
2122
2162
|
case "end":
|
|
2123
|
-
return
|
|
2163
|
+
return _context59.stop();
|
|
2124
2164
|
}
|
|
2125
|
-
},
|
|
2165
|
+
}, _callee59, this);
|
|
2126
2166
|
}));
|
|
2127
2167
|
function addTeamWatcher() {
|
|
2128
2168
|
return _addTeamWatcher.apply(this, arguments);
|
|
@@ -2132,18 +2172,18 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2132
2172
|
}, {
|
|
2133
2173
|
key: "removeTeamWatcher",
|
|
2134
2174
|
value: function () {
|
|
2135
|
-
var _removeTeamWatcher = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
2175
|
+
var _removeTeamWatcher = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee60() {
|
|
2136
2176
|
var _this$_teamCentralCli2;
|
|
2137
|
-
var
|
|
2138
|
-
return _regenerator.default.wrap(function
|
|
2139
|
-
while (1) switch (
|
|
2177
|
+
var _args60 = arguments;
|
|
2178
|
+
return _regenerator.default.wrap(function _callee60$(_context60) {
|
|
2179
|
+
while (1) switch (_context60.prev = _context60.next) {
|
|
2140
2180
|
case 0:
|
|
2141
|
-
return
|
|
2181
|
+
return _context60.abrupt("return", (_this$_teamCentralCli2 = this._teamCentralClient).removeTeamWatcher.apply(_this$_teamCentralCli2, _args60));
|
|
2142
2182
|
case 1:
|
|
2143
2183
|
case "end":
|
|
2144
|
-
return
|
|
2184
|
+
return _context60.stop();
|
|
2145
2185
|
}
|
|
2146
|
-
},
|
|
2186
|
+
}, _callee60, this);
|
|
2147
2187
|
}));
|
|
2148
2188
|
function removeTeamWatcher() {
|
|
2149
2189
|
return _removeTeamWatcher.apply(this, arguments);
|
|
@@ -2153,18 +2193,18 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2153
2193
|
}, {
|
|
2154
2194
|
key: "deleteKudos",
|
|
2155
2195
|
value: function () {
|
|
2156
|
-
var _deleteKudos = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
2196
|
+
var _deleteKudos = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee61() {
|
|
2157
2197
|
var _this$_teamCentralCli3;
|
|
2158
|
-
var
|
|
2159
|
-
return _regenerator.default.wrap(function
|
|
2160
|
-
while (1) switch (
|
|
2198
|
+
var _args61 = arguments;
|
|
2199
|
+
return _regenerator.default.wrap(function _callee61$(_context61) {
|
|
2200
|
+
while (1) switch (_context61.prev = _context61.next) {
|
|
2161
2201
|
case 0:
|
|
2162
|
-
return
|
|
2202
|
+
return _context61.abrupt("return", (_this$_teamCentralCli3 = this._teamCentralClient).deleteKudos.apply(_this$_teamCentralCli3, _args61));
|
|
2163
2203
|
case 1:
|
|
2164
2204
|
case "end":
|
|
2165
|
-
return
|
|
2205
|
+
return _context61.stop();
|
|
2166
2206
|
}
|
|
2167
|
-
},
|
|
2207
|
+
}, _callee61, this);
|
|
2168
2208
|
}));
|
|
2169
2209
|
function deleteKudos() {
|
|
2170
2210
|
return _deleteKudos.apply(this, arguments);
|
|
@@ -2174,18 +2214,18 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2174
2214
|
}, {
|
|
2175
2215
|
key: "queryTagList",
|
|
2176
2216
|
value: function () {
|
|
2177
|
-
var _queryTagList = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
2217
|
+
var _queryTagList = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee62() {
|
|
2178
2218
|
var _this$_teamCentralCli4;
|
|
2179
|
-
var
|
|
2180
|
-
return _regenerator.default.wrap(function
|
|
2181
|
-
while (1) switch (
|
|
2219
|
+
var _args62 = arguments;
|
|
2220
|
+
return _regenerator.default.wrap(function _callee62$(_context62) {
|
|
2221
|
+
while (1) switch (_context62.prev = _context62.next) {
|
|
2182
2222
|
case 0:
|
|
2183
|
-
return
|
|
2223
|
+
return _context62.abrupt("return", (_this$_teamCentralCli4 = this._teamCentralClient).queryTagList.apply(_this$_teamCentralCli4, _args62));
|
|
2184
2224
|
case 1:
|
|
2185
2225
|
case "end":
|
|
2186
|
-
return
|
|
2226
|
+
return _context62.stop();
|
|
2187
2227
|
}
|
|
2188
|
-
},
|
|
2228
|
+
}, _callee62, this);
|
|
2189
2229
|
}));
|
|
2190
2230
|
function queryTagList() {
|
|
2191
2231
|
return _queryTagList.apply(this, arguments);
|
|
@@ -2195,18 +2235,18 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2195
2235
|
}, {
|
|
2196
2236
|
key: "createTag",
|
|
2197
2237
|
value: function () {
|
|
2198
|
-
var _createTag = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
2238
|
+
var _createTag = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee63() {
|
|
2199
2239
|
var _this$_teamCentralCli5;
|
|
2200
|
-
var
|
|
2201
|
-
return _regenerator.default.wrap(function
|
|
2202
|
-
while (1) switch (
|
|
2240
|
+
var _args63 = arguments;
|
|
2241
|
+
return _regenerator.default.wrap(function _callee63$(_context63) {
|
|
2242
|
+
while (1) switch (_context63.prev = _context63.next) {
|
|
2203
2243
|
case 0:
|
|
2204
|
-
return
|
|
2244
|
+
return _context63.abrupt("return", (_this$_teamCentralCli5 = this._teamCentralClient).createTag.apply(_this$_teamCentralCli5, _args63));
|
|
2205
2245
|
case 1:
|
|
2206
2246
|
case "end":
|
|
2207
|
-
return
|
|
2247
|
+
return _context63.stop();
|
|
2208
2248
|
}
|
|
2209
|
-
},
|
|
2249
|
+
}, _callee63, this);
|
|
2210
2250
|
}));
|
|
2211
2251
|
function createTag() {
|
|
2212
2252
|
return _createTag.apply(this, arguments);
|
|
@@ -2216,18 +2256,18 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2216
2256
|
}, {
|
|
2217
2257
|
key: "createHelpPointer",
|
|
2218
2258
|
value: function () {
|
|
2219
|
-
var _createHelpPointer = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
2259
|
+
var _createHelpPointer = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee64() {
|
|
2220
2260
|
var _this$_teamCentralCli6;
|
|
2221
|
-
var
|
|
2222
|
-
return _regenerator.default.wrap(function
|
|
2223
|
-
while (1) switch (
|
|
2261
|
+
var _args64 = arguments;
|
|
2262
|
+
return _regenerator.default.wrap(function _callee64$(_context64) {
|
|
2263
|
+
while (1) switch (_context64.prev = _context64.next) {
|
|
2224
2264
|
case 0:
|
|
2225
|
-
return
|
|
2265
|
+
return _context64.abrupt("return", (_this$_teamCentralCli6 = this._teamCentralClient).createHelpPointer.apply(_this$_teamCentralCli6, _args64));
|
|
2226
2266
|
case 1:
|
|
2227
2267
|
case "end":
|
|
2228
|
-
return
|
|
2268
|
+
return _context64.stop();
|
|
2229
2269
|
}
|
|
2230
|
-
},
|
|
2270
|
+
}, _callee64, this);
|
|
2231
2271
|
}));
|
|
2232
2272
|
function createHelpPointer() {
|
|
2233
2273
|
return _createHelpPointer.apply(this, arguments);
|
|
@@ -2237,18 +2277,18 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2237
2277
|
}, {
|
|
2238
2278
|
key: "updateHelpPointer",
|
|
2239
2279
|
value: function () {
|
|
2240
|
-
var _updateHelpPointer = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
2280
|
+
var _updateHelpPointer = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee65() {
|
|
2241
2281
|
var _this$_teamCentralCli7;
|
|
2242
|
-
var
|
|
2243
|
-
return _regenerator.default.wrap(function
|
|
2244
|
-
while (1) switch (
|
|
2282
|
+
var _args65 = arguments;
|
|
2283
|
+
return _regenerator.default.wrap(function _callee65$(_context65) {
|
|
2284
|
+
while (1) switch (_context65.prev = _context65.next) {
|
|
2245
2285
|
case 0:
|
|
2246
|
-
return
|
|
2286
|
+
return _context65.abrupt("return", (_this$_teamCentralCli7 = this._teamCentralClient).updateHelpPointer.apply(_this$_teamCentralCli7, _args65));
|
|
2247
2287
|
case 1:
|
|
2248
2288
|
case "end":
|
|
2249
|
-
return
|
|
2289
|
+
return _context65.stop();
|
|
2250
2290
|
}
|
|
2251
|
-
},
|
|
2291
|
+
}, _callee65, this);
|
|
2252
2292
|
}));
|
|
2253
2293
|
function updateHelpPointer() {
|
|
2254
2294
|
return _updateHelpPointer.apply(this, arguments);
|
|
@@ -2258,18 +2298,18 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2258
2298
|
}, {
|
|
2259
2299
|
key: "deleteHelpPointer",
|
|
2260
2300
|
value: function () {
|
|
2261
|
-
var _deleteHelpPointer = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
2301
|
+
var _deleteHelpPointer = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee66() {
|
|
2262
2302
|
var _this$_teamCentralCli8;
|
|
2263
|
-
var
|
|
2264
|
-
return _regenerator.default.wrap(function
|
|
2265
|
-
while (1) switch (
|
|
2303
|
+
var _args66 = arguments;
|
|
2304
|
+
return _regenerator.default.wrap(function _callee66$(_context66) {
|
|
2305
|
+
while (1) switch (_context66.prev = _context66.next) {
|
|
2266
2306
|
case 0:
|
|
2267
|
-
return
|
|
2307
|
+
return _context66.abrupt("return", (_this$_teamCentralCli8 = this._teamCentralClient).deleteHelpPointer.apply(_this$_teamCentralCli8, _args66));
|
|
2268
2308
|
case 1:
|
|
2269
2309
|
case "end":
|
|
2270
|
-
return
|
|
2310
|
+
return _context66.stop();
|
|
2271
2311
|
}
|
|
2272
|
-
},
|
|
2312
|
+
}, _callee66, this);
|
|
2273
2313
|
}));
|
|
2274
2314
|
function deleteHelpPointer() {
|
|
2275
2315
|
return _deleteHelpPointer.apply(this, arguments);
|
|
@@ -2279,27 +2319,27 @@ var TeamsClient = exports.TeamsClient = /*#__PURE__*/function () {
|
|
|
2279
2319
|
}, {
|
|
2280
2320
|
key: "getUserTenure",
|
|
2281
2321
|
value: function () {
|
|
2282
|
-
var _getUserTenure = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function
|
|
2283
|
-
var
|
|
2284
|
-
var
|
|
2322
|
+
var _getUserTenure = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee67() {
|
|
2323
|
+
var _this60 = this;
|
|
2324
|
+
var _len48,
|
|
2285
2325
|
args,
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
return _regenerator.default.wrap(function
|
|
2289
|
-
while (1) switch (
|
|
2326
|
+
_key48,
|
|
2327
|
+
_args67 = arguments;
|
|
2328
|
+
return _regenerator.default.wrap(function _callee67$(_context67) {
|
|
2329
|
+
while (1) switch (_context67.prev = _context67.next) {
|
|
2290
2330
|
case 0:
|
|
2291
|
-
for (
|
|
2292
|
-
args[
|
|
2331
|
+
for (_len48 = _args67.length, args = new Array(_len48), _key48 = 0; _key48 < _len48; _key48++) {
|
|
2332
|
+
args[_key48] = _args67[_key48];
|
|
2293
2333
|
}
|
|
2294
|
-
return
|
|
2295
|
-
var
|
|
2296
|
-
return (
|
|
2334
|
+
return _context67.abrupt("return", this.measurePerformance('getUserTenure', function () {
|
|
2335
|
+
var _this60$_replinesClie;
|
|
2336
|
+
return (_this60$_replinesClie = _this60._replinesClient).getUserTenure.apply(_this60$_replinesClie, args);
|
|
2297
2337
|
}));
|
|
2298
2338
|
case 2:
|
|
2299
2339
|
case "end":
|
|
2300
|
-
return
|
|
2340
|
+
return _context67.stop();
|
|
2301
2341
|
}
|
|
2302
|
-
},
|
|
2342
|
+
}, _callee67, this);
|
|
2303
2343
|
}));
|
|
2304
2344
|
function getUserTenure() {
|
|
2305
2345
|
return _getUserTenure.apply(this, arguments);
|